.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  z-index: 1000;
  height: var(--nav-height);
  margin: 0;
  padding: 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

.nav-logo {
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  height: 100%;
}

.nav-logo img {
  height: calc(var(--nav-height) - 30px);
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-branding {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-division {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.nav-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
  font-style: italic;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-menu li {
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  position: relative;
}

.nav-menu>li>a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0 5px;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-menu>li>a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-menu>li>a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-menu>li>a:hover::after {
  transform: scaleX(1);
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown .dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-color);
  min-width: 280px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  padding: 10px 0;
  border-radius: 0 0 4px 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-menu a {
  color: var(--white);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(49, 61, 75, 0.3);
  color: var(--white);
  padding-left: 20px;
}

.dropdown-section {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-section:last-child {
  border-bottom: none;
}

.dropdown-section h4 {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 3px solid var(--accent-blue);
}

.dropdown-section a {
  color: var(--white);
  padding: 8px 16px 8px 32px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  transition: background-color 0.2s ease;
  font-size: 0.95rem;
}

.dropdown-section a:hover {
  background-color: rgba(49, 61, 75, 0.3);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  padding: 5px;
  margin: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-toggle span:not(:last-child) {
  margin-bottom: 6px;
}

.stats-showcase .stats-grid .stat-item .stat-subtitle {
  font-weight: 600;
  opacity: 1;
  color: var(--deep-charcoal);
  font-style: normal;
}

.service-hero .hero-content h1.hero-title {
  font-size: 4.2rem !important;
  padding-bottom: 1rem;
}

.service-hero .hero-content p.hero-subtitle {
  font-size: 1.5rem;
}

.service-hero .hero-content {
  max-width: 900px !important;
}

.stats-showcase .stats-grid .stat-item .stat-number {
  font-size: 3rem;
}

.testimonial-section .section-title .title-accent {
  color: var(--white) !important;
  -webkit-text-fill-color: unset;
}

.testimonial-section .section-title {
  text-align: center;
  padding-bottom: 45px;
}


.section-header .section-title .title-main {
  color: var(--sky-blue) !important;
}

.section-header .section-title span {
  text-shadow: 6px 4px 5px #00000036;
}

.section-header .section-title .title-accent {
  background: unset !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

body .solutions-grid-section {
  background: #f1f0ee85 !important
}

.service-detail-features .detail-feature {
  font-size: 1.1rem !important;
  line-height: 1.6rem !important;
}

body .service-hero {
  margin-bottom: 0;
}




/* Mobile Menu */
@media (max-width: 768px) {
  .main-nav {
    height: var(--nav-height);
  }

  .nav-toggle {
    display: flex;
  }

  /* Hide contact button on mobile */
  .nav-cta {
    display: none;
  }

  /* Hide logo taglines on mobile */
  .nav-branding {
    display: none;
  }

  /* Make logo smaller on mobile */
  .nav-logo img {
    height: 26px !important;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 0;
    height: auto;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    height: auto;
    display: block;
  }

  .nav-menu>li>a {
    padding: 15px 12px;
    height: auto;
    justify-content: flex-start;
  }

  .nav-menu>li>a::after {
    display: none;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    min-width: 100%;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .dropdown.active>.dropdown-menu {
    display: block;
  }

  .nav-logo img {
    height: 22px !important;
  }
}

@media (max-width: 767px) {

  .service-hero .hero-content h1.hero-title {

    padding-bottom: 0;
  }

  .stats-showcase .stats-grid .stat-item .stat-number {
    font-size: 2.5rem;
  }

  .service-hero .hero-content p.hero-subtitle {
    font-size: 1rem;
  }


  .testimonial-section .section-title {
    padding-bottom: 15px;
  }

    .testimonial-section .testimonial-item {
      position: relative;
    }
  
    .testimonial-section .testimonial-items {
      height: auto;
    }

  .solutions-grid-section .solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .service-detail-features .detail-feature {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding: 0 12px;
  }

  .nav-menu>li>a {
    padding: 15px 12px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 8px;
  }

  .nav-menu>li>a,
  .dropdown-menu a,
  .dropdown-section a {
    font-size: 0.95rem;
  }

  .nav-logo-link {
    gap: 8px;
  }

  /* Even smaller logo on very small screens */
  .nav-logo img {
    height: 20px !important;
  }
}

/* Navigation-specific button styling */
.nav-cta .btn-outline {
  background: transparent !important;
  color: var(--white) !important;
  border: 2px solid var(--white) !important;
  transition: all 0.3s ease !important;
}

.nav-cta .btn-outline:hover {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  border-color: var(--white) !important;
  transform: translateY(-1px) !important;
}

.main-footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.footer-contact a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
  width: 20px;
  text-align: center;
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  color: var(--white);
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.footer-bottom p {
  color: var(--white);
}

@media(max-width:1199px) {
  .main-nav .nav-logo .nav-logo-link {
    max-width: 260px;
  }
}

@media (max-width: 768px) {
  .main-footer {
    padding: 40px 0 20px;
  }

  .main-footer .container {
    padding: 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: left;
  }

  .footer-logo {
    display: flex;
    justify-content: flex-start;
    order: 1;
  }

  .footer-logo img {
    height: 35px;
  }

  .footer-links {
    order: 2;
  }

  .footer-contact {
    order: 3;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .footer-contact p {
    justify-content: flex-start;
    margin-bottom: 12px;
    font-size: 0.95rem;
  }

  .footer-contact p i {
    margin-right: 8px;
  }

  .social-links {
    justify-content: flex-start;
    margin-top: 15px;
  }

  .footer-bottom {
    padding-top: 25px;
    margin-top: 20px;
    text-align: left;
  }

  .footer-bottom p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .main-footer {
    padding: 30px 0 15px;
  }

  .main-footer .container {
    padding: 0 16px;
  }

  .footer-content {
    gap: 25px;
  }

  .footer-logo img {
    height: 28px;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .footer-links ul {
    gap: 0;
  }

  .footer-links a {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
    align-items: flex-start;
  }

  .footer-contact p i {
    margin-top: 2px;
    flex-shrink: 0;
  }

  .social-links a {
    font-size: 1.3rem;
  }

  .footer-bottom {
    padding-top: 20px;
    margin-top: 15px;
    text-align: left;
  }

  .footer-bottom p {
    font-size: 0.85rem;
  }
}


