/*

TemplateMo 567 Nomad Force

https://templatemo.com/tm-567-nomad-force

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #FFFFFF;
  --primary-color:                #F79521;
  --section-bg-color:             #efefef;
  --dark-color:                   #000000;
  --grey-color:                   #fcfeff;
  --text-secondary-white-color:   rgba(255, 255, 255, 0.98);
  --title-color:                  #565758;
  --p-color:                      #717275;
  --secondary-color: #333;
  --text-color: #333;
  --body-font-family:           'Noto Sans JP', sans-serif;

  --h1-font-size:               72px;
  --h2-font-size:               42px;
  --h3-font-size:               36px;
  --h4-font-size:               32px;
  --h5-font-size:               24px;
  --h6-font-size:               22px;
  --p-font-size:                1rem;
  --copyright-text-font-size:   14px;
  --custom-link-font-size:      12px;

  --font-weight-light:          300;
  --font-weight-normal:         400;
  --font-weight-bold:           700;
  --font-weight-black:          900;
}

body,
html {
  height: 100%;
}

body {
    background: var(--white-color);
    font-family: var(--body-font-family);    
    position: relative;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1,
h2 {
  font-weight: var(--font-weight-black);
}

h1 {
  font-size: 5rem;
  line-height: normal;
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
  letter-spacing: 0.5px;
}

.text-secondary-white-color {
  color: var(--text-secondary-white-color);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

::selection {
  background: var(--dark-color);
  color: var(--white-color);
}

.custom-underline {
  border-bottom: 2px solid var(--white-color);
  color: var(--white-color);
  padding-bottom: 4px;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  z-index: -100;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.overlay {
  background: linear-gradient(to top, #000, transparent 90%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-links {
  max-width: 230px;
}

.custom-link {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
}

.custom-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: currentColor;
}

.custom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.custom-link:hover,
.custom-link:hover::after {
  color: var(--white-color);
}

b,
strong {
  font-weight: var(--font-weight-black);
}


/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 992px) {
  .hero {
    height: 100vh;
  }

  .custom-video,
  .news-detail-image {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
  }

  .sticky-wrapper {
    position: relative;
    bottom: 76px;
  }
}

.heroText {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  text-align: center;
}

/*---------------------------------------
  ABOUT & TEAM MEMBERS               
-----------------------------------------*/
.about-image,
.team-image {
  width: 100%;
  height: 100%;
  max-height: 635px;
  min-height: 475px;
  object-fit: cover;
}

.team-thumb {
  background: var(--white-color);
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  padding: 22px 32px 32px 32px;
  border-radius: 2rem 0 0 0;
}

.carousel-control-next, 
.carousel-control-prev {
  top: auto;
  bottom: 2.5rem;
}

.carousel-control-prev {
  right: 4rem;
  left: auto;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
  background-color: var(--dark-color);
  background-size: 50% 50%;
  border-radius: 100px;
  width: 3rem;
  height: 3rem;
}

/*---------------------------------------
  PORTFOLIO               
-----------------------------------------*/
.portfolio-thumb {
  position: relative;
  overflow: hidden;
}

.portfolio-info {
  margin: 20px;
}

/*---------------------------------------
  NEWS & EVENTS               
-----------------------------------------*/

.news,
.related-news {
  background: var(--section-bg-color);
}

.news-thumb {
  position: relative;
}

.news-category {
  background: var(--white-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  padding: 4px 12px;
  display: inline-block;
  border-radius: 10px 0 10px 0;
}

.news-text-info {
  margin: 0 20px;
}

.news-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

.news-title-link {
  color: var(--title-color);
  display: inline-block;
}

.news-title-link:hover {
  color: var(--dark-color);
}

.portfolio-image,
.news-image {
  display: block;
  transition: transform 0.6s ease-out;
}

.news-image-hover {
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
  padding-bottom: 4px;
  height: 100%;
}

.news-image-hover::after {
  content: "";
  width: 0;
  height: 4px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: #198754;
}

.news-image-hover-warning::after {
  background: #ffc107;
}

.news-image-hover-primary::after {
  background: #0d6efd;
}

.news-image-hover-success::after {
  background: #198754;
}

.news-image-hover:hover::after {
  width: 100%;
  left: 0;
  right: auto;
  z-index: 9;
}

.image-popup:hover .portfolio-image,
.news-image-hover:hover .news-image {
  transform: scale(1.03);
}

.thumb-wrapper {
  display: block;
  max-width: fit-content;
  overflow: hidden;
  border-radius: 1rem;
}

.news-two-column {
  min-height: 199px;
  margin-bottom: 16px;
}

.news-two-column .news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-image,
.news-image-hover,
.news-image-hover-success {
  border-radius: 10px;
}



.social-share-link,
.social-share-link + span {
  color: rgba(255, 255, 255, 0.65);
}
/*---------------------------------------
  NEWS PAGE            
-----------------------------------------*/
.news-detail-title {
  font-size: 4rem;
}

.news-detail-title-desc {
  font-size: 2rem;
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/*---------------------------------------
  CONTACT              
-----------------------------------------*/
.contact-info {
  padding: 40px;
}

.contact-form .form-control {
  border-radius: 0;
  font-weight: var(--font-weight-normal);
  padding-top: 12px;
  padding-bottom: 12px;
}

.contact-form button[type='submit'] {
  background: var(--dark-color);
  border: none;
  border-radius: 100px;
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  padding: 16px;
  transition: all 0.6s ease-out;
}

.contact-form button[type='submit']:hover {
  background: var(--primary-color);
}

.form-label {
  color: var(--p-color);
  font-weight: var(--font-weight-bold);
}

.map-iframe {
  display: block;
}

/*---------------------------------------
  SITE FOOTER               
-----------------------------------------*/
.site-footer {
  background: var(--dark-color);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.site-footer .custom-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--p-font-size);
}

.site-footer .custom-link:hover,
.site-footer .social-icon-link:hover {
  color: var(--white-color);
}

.copyright-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--copyright-text-font-size);
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}

.social-icon-link:hover {
  color: var(--primary-color);
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/

@media screen and (min-width: 1600px) {
  .news-two-column {
    min-height: 232.5px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .team-thumb {
    left: 0;
    width: auto;
  }

  .news-two-column {
    height: auto !important;
    min-height: inherit;
  }

  .news .col-12 .news-two-column:first-child {
    margin-bottom: 38px;
  }
}
.navbar-brand {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 0;
  font-weight: var(--font-weight-black);
}

@media screen and (max-width: 767px) {
  .navbar-brand {
    color: var(--primary-color);
    font-size: 1.32rem;
    font-weight: var(--font-weight-black);
  }

  .news-detail-title {
    font-size: 1.4rem;
  }
  .news-detail-title-desc {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 360px) {
  .navbar-brand {
    color: var(--primary-color);
    font-size: 1.32rem;
    font-weight: var(--font-weight-black);
  }
  

  h1 {
    font-size: 2rem;
  }



  .heroText p {
    font-size: 14px;
  }

  .news-detail-title {
    font-size: 1.4rem;
  }

  .news-detail-title-desc {
    font-size: 0.85rem;
  }
}



.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  margin-right: 5rem;
  margin-bottom: 2rem;
  color: #fff;
}

.footer-section h3 {
  color: rgb(218, 218, 218);
  font-size: 24px;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  text-decoration: none;
}

.social-icons {
  display: flex;
  flex-direction: column;
}

.social-icons a {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: #fff;
  text-decoration: none;
}

.social-icons .material-icons {
  margin-right: 0.5rem;
  font-size: 24px;
}

.material-icons {
color: white;
}

.footer-bottom {
  text-align: center;
  /* margin-top: 2rem; */
  padding-top: 1rem;
  /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
}

#contact-form input,
#contact-form textarea{
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 20px;
  background-color: #3b3b3b;
  color: white;
}
#contact-form select {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 20px;
  background-color: #3b3b3b;
  color: rgb(133, 133, 133);
  appearance: none; /* Removes default browser styling */
  cursor: pointer;
}

/* Ensure dropdown arrow is visible */
#contact-form select:focus {
  outline: none;
  border: 2px solid #ffffff;
}

/* Style the options inside */
#contact-form select option {
  background-color: #3b3b3b;
  color: white;
}

#contact-form button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 20px;
  margin-top: 0.3rem;
}

.git-button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 1rem 3rem;
  border-radius: 20px;
  font-weight: var(--font-weight-bold);
  display: block;
  max-width: fit-content;
  float: left;
}

.git-button:hover {
  background-color: var(--primary-color);
  color: #000000;
  border: none;
  padding: 1rem 3rem;
  border-radius: 20px;
  font-weight: var(--font-weight-bold);
  display: blocl;
  max-width: fit-content;
  float: left;
}

@media screen and (max-width: 768px) {
  .footer-section {
    flex: 100%;
    margin-right: 0;
    }
    .git-button {
      margin: 2rem auto;
      display: block;
      max-width: fit-content;
    }
    .git-button:hover {
      margin: 2rem auto;
      display: block;
      max-width: fit-content;
    }
  }

.brands-section-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 40px 20px;
  text-align: center;
  overflow: hidden; /* Prevent horizontal scroll */
}

.brands-section {
  margin-bottom: 40px;
}

.brands-section h2 {
  margin: 0;
  font-size: 2rem;
}

.brands-section h2:first-child {
  color: #666;
}

.brands-section p {
  margin: 10px 0 0;
  color: #666;
  margin-left: auto;
  margin-right: auto;
}

#carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

#image-carousel {
  display: flex;
  width: max-content; /* Allow content to expand beyond viewport */
  animation: scroll 40s linear infinite;
  will-change: transform; /* Optimize animation performance */
}

#image-carousel img {
  width: 12rem;
  border-radius: 10px;
  /* height: 80px; */
  object-fit: contain;
  margin: 0 20px;
  flex-shrink: 0; /* Prevent images from shrinking */
  transition: filter 0.3s ease;
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%); /* Move by half the width (since we duplicated all images) */
  }
}

@media (max-width: 768px) {
  #hero-intro-section{
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .brands-section h2 {
      font-size: 1.5rem;
  }

  .footer-section ul,
  .footer-section h3,
  .footer-section .social-icon  {
        list-style: none;
        padding: 0;
        /* text-align: center; */
    }

    .social-icons {
      padding-left: 25%;
    }
  }
  
  #image-carousel img {
      width: 12rem;
      margin: 0 15px;
  }
  
  @keyframes scroll {
      100% {
          transform: translateX(-50%);
      }
  }


@media (max-width: 480px) {
  #image-carousel img {
      width: 8rem;
      margin: 0 10px;
  }
  .social-icons {
    padding: 0 1.2rem;
    /* align-items: center; */
  }
}

.gm-style .place-desc-large {
  width: 200px !important;
  display: inline-block !important;
  display: none !important;
}

.send-button{
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  NAVIGATION               
-----------------------------------------*/

.navbar {
  z-index: 9;
  right: 0;
  left: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}



.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 10px;
  padding-left: 10px;
}
.navbar-expand-lg .navbar-nav .nav-home {
  padding-right: 35px;
  padding-left: 10px;
}

.navbar-nav .nav-link::after {
  content: "\f140";
  font-family: bootstrap-icons;
  display: inline-block;
  margin-left: 10px;
  color: var(--primary-color);
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
}

.navbar-nav .nav-link:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-link {
  color: var(--p-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  position: relative;
}

.navbar-nav .nav-link {
  color: var(--p-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  position: relative;
}

  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link:hover  {
  color: var(--primary-color);
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-item.active .nav-link,
.nav-link:focus, 
.nav-link:hover {
  color: var(--dark-color);
}

.nav-link:focus {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

/* Style for the dropdown */
.navbar-nav li {
  position: relative;
}

.navbar-nav li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: max-content; /* Adjust width based on content */
  padding: 0.5rem 1rem; /* Ensure padding */
  z-index: 1000;
  font-family: var(--body-font-family);    
  font-weight: var(--font-weight-bold);
  font-size: 0.9rem;
  overflow: hidden; /* Fixes background overflow */
}

.navbar-nav li .dropdown a {
  display: block;
  padding: 15px 1rem; /* Ensures consistent padding */
  color: #7c7c7c;
  text-decoration: none;
  transition: background 0.3s ease-in-out;
  position: relative; 
  white-space: nowrap; /* Prevents wrapping */
  border-radius: 15px;
}
/* Add separator between items */
.navbar-nav li .dropdown a:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: #7c7c7c;
}

/* Add separator between items */
.navbar-nav li .dropdown a:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: #e9e9e9;
}

.navbar-nav li .dropdown a:hover {
  background: #eeeeee;
  color: var(--primary-color);
  border-radius: 15px;
}

/* Show dropdown on hover */
.navbar-nav li:hover .dropdown {
  display: block;
  border-radius: 15px;
}

.logo {
  height: 40px; /* Adjust as needed */
  width: auto; /* Maintain aspect ratio */
  margin-right: 10px;
}

@media screen and (max-width: 360px) {
  .logo {
    height: 40px; /* Adjust as needed */
    width: auto; /* Maintain aspect ratio */
    margin-right: 0;
  }
}

.navbar-nav .nav-link.active::after {
  opacity: 1;
  transform: translateY(0px);
}

/* Ensure focus state also shows the indicator */
.navbar-nav .nav-link:focus::after {
  opacity: 1;
  transform: translateY(0px);
}

.footer-section ul {
  list-style: none;
  padding-left: 1rem ;
}

.foo-padd {
padding-right: 3rem;
padding-left: 3rem;
}


.dropdown-toggle {
  display: none;
}

/* Positioning wrapper for each dropdown */
.dropdown-wrapper {
  position: relative;
}

/* Show dropdown on checkbox toggle instead of hover */
.dropdown-toggle:checked + .nav-link + .dropdown {
  display: block;
}

/* Overlay to simulate click-outside behavior */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  background: transparent;  /* Ensure there's no background color */
  border: none;              /* No borders */
  box-shadow: none;          /* No shadow */
  cursor: default;           /* Optional: makes it feel non-clickable */
}

/* Show overlay only when dropdown is active */
.dropdown-toggle:checked ~ .overlay {
  display: block;
}


/* 24/7 service box */
.service-247 {
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  border-radius: 1.5rem;
  margin: 1rem 3rem;
  overflow: auto;
}

.service-text {
  font-size: 1.2rem;
  margin: 0.5rem 3rem;
  line-height: 1.5;
}

.service-image {
  width: 5.2rem;
  height: 5.2rem;
  margin: 0.5rem 2rem 0.5rem 1rem;
}

@media screen and (max-width: 767px) {
    .service-text {
      font-size: 0.55rem;
      margin: 0.5rem 0.5rem;
      line-height: 1.5;
  }
  .service-image {
    margin: 0.5rem 1rem;
  }
}

@media screen and (max-width: 360px) {
    .service-text {
      font-size: 0.55rem;
      margin: 0.5rem 0.5rem;
      line-height: 1.5;
  }
  .service-image {
    margin: 0.5rem 1rem;
  }
}


/* Footer Contact us */

.contact-block {
  margin-bottom: 1rem;
}

.contact-block hr {
  margin: 0.5rem 0 0;
}

.contact-block h4 {
  /* padding-left: 1rem; */
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.contact-block a {
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: #c9c9c9;
  padding: 1rem 0 0 1rem;
}

.contact-block a:hover {
  color: var(--primary-color);
}

.imp-links a {
  display: inline;
}

.contact-block i {
  color: white;
}

.contact-block .material-icons {
  font-size: 1rem;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.hr-color hr{
  color: white;
}

.rnd-icon {
  color: white;
  vertical-align: middle;
  font-size: 1.3rem;
}

.quick-link-icons{
  color: rgb(90, 90, 90);
  vertical-align: middle;
  font-size: 1.15rem;
}

.learn-more {
  color: rgb(209, 209, 209);
  max-width: fit-content;
}

.learn-more:hover {
  color: var(--primary-color);
  max-width: fit-content;
}


/* Statistics Box */


.statistic {
  padding: 60px 20px;
}

.row-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.content-col {
  flex: 1 1 45%;
  padding: 20px;
  padding-left: 0;
}

.stats-col {
  flex: 1 1 45%;
  padding: 20px;
}

.statistic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px; /* one uniform gap value */
  justify-items: stretch; /* ensure boxes fill cells equally */
}

.statistic-box {
  background-color: #F6F5F4;
  width: 100%; /* fills grid cell */
  height: 180px;
  padding-top: 40px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin: 0; /* remove margin! */
}

.statistic-box p:nth-child(1) {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  padding: 0;
}

.statistic-box p:nth-child(2) {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0;
  padding: 0;
}

/* Responsive */
@media only screen and (max-width: 992px) {
  .row-stats {
    flex-direction: column;
  }

  .content-col,
  .stats-col {
    flex: 1 1 100%;
    padding: 10px 0;
  }

  .statistic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .statistic-box {
    max-width: 150px;
    height: 160px;
  }
}

@media only screen and (max-width: 576px) {
  .statistic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .statistic-box {
    max-width: 140px;
    height: 150px;
    padding: 2rem;
  }

  .statistic-box p:nth-child(1) {
    font-size: 32px;
  }

  .statistic-box p:nth-child(2) {
    font-size: 12px;
  }
}
