/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, Roboto, Helvetica, sans-serif;
    line-height: 1.6;
    color: #181818;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


/* Utility Classes */
.text-black { color: #181818; }
.text-gray { color: #666; }
.text-white { color: #fff; }

.min-h-screen {
    min-height: 100vh;
}

.bg-white {
    background-color: #fff;
}

.overflow-hidden {
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh; /* slightly less than 100vh for consistency */
    background: linear-gradient(to bottom right, #f9fafb, #fff);
    display: flex;
    align-items: center;   /* vertical centering */
    justify-content: center;
    padding: 80px 0;       /* uniform top/bottom spacing */
}



/* Navigation */
.navbar {
  display: flex;
  align-items: center;
  justify-content: center; /* center container horizontally */
  background: #ffffff;
  border-bottom: 1px solid #E0E0E0;
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-left {
  margin-right: auto; /* keep logo stuck to the left */
}

.nav-center {
  display: flex;
  gap: 24px;          /* space between links */
  justify-content: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #181818;
    white-space: nowrap;
}

.logo-image {
    width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .logo-image {
        width: 150px;
        height: auto;
        margin: 0 auto 16px auto;
        display: block;
        margin-top: -1.5rem;
    }
    .logo-dark {
        margin-top: 0 !important; /* Fix dark mode positioning without affecting light mode */
    }
    .mobile-menu.open .logo-image {
        display: block;
        margin-bottom: 16px;
    }
    .mobile-menu .logo-image {
        display: block;
        margin: 0 auto 16px auto;
    }
}


.mobile-menu-button {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #181818;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-button.open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}



.nav-menu.active {
    display: flex;
}

.nav-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-menu {
  display: none;
  align-items: center;
  border-radius: 100px;
  border: 1px solid #E0E0E0;
  background: #fff;
  margin-left: 0 auto; /* adjust as needed */
  backdrop-filter: blur(30px);
  overflow: hidden;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    display: none;
    flex-direction: column;
    gap: 8px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
    display: flex;
}

.mobile-nav-item {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    color: #181818;
    font-weight: 500;
    font-size: 18px;
    border-radius: 12px;
    transition: background-color 0.2s;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background-color: #f9fafb;
}

@media (min-width: 768px) {
    .navbar {
        padding: 16px 48px;
    }

    .mobile-menu-button {
        display: none;
    }

    .nav-menu {
        display: flex;
    }

    .mobile-menu {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .navbar {
        padding: 16px 96px;
    }
}

.nav-item {
    display: flex;
    padding: 18px;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #181818;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    border-bottom: 4px solid transparent; /* reserve space so layout doesn’t jump */
}

@media (min-width: 1024px) {
    .nav-item {
        padding: 16px 24px;
        font-size: 18px;
    }
}

.nav-item:hover {
   border-bottom: 4px solid #ddd; /* optional subtle hover line */
}

.nav-item.active {
    border-bottom: 4px solid #181818; 
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 0 24px;
    text-align: center;
}
/* Contact page hero - lift it slightly upward */
.contact-hero {
    margin-top: -50px;   /* adjust smaller value to move higher */
    padding-top: 40px;  /* reduce padding compared to others */
}

.hero-container {
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;   /* ✅ ensures hero text is always centered */
    align-items: center;  /* ✅ prevents it sticking left */
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px 8px 6px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    margin: 0 auto;
}

.tag-icon {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-icon svg {
    width: 20px;
    height: 20px;
}

.hero-tag span {
    font-weight: 500;
    color: #181818;
    font-size: 16px;
}

.hero-title {
    font-size: 34px;
    font-weight: 500;
    line-height: 1.1;
    color: #181818;
    margin: 0;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 64px;
    }
}

.hero-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 1024px) {
    .hero-description {
        font-size: 24px;
    }
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    background: #181818;
    color: white;
    border: none;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin: 0 auto;
}

.hero-btn:hover {
    background: #374151;
}

.hero-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
    stroke: white;
}

/* Industries Section */
.section-header {
    text-align: center;
    width: 100%;
}

.section-description {
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
    color: #181818;
    max-width: 756px;
    margin: auto;
}

.section-description .highlight {
    color: #666;
}

@media (min-width: 1024px) {
    .section-description {
        font-size: 32px;
    }
}
.desktop-layout {
    display: none;
    gap: 1.5rem;
    position: relative;
    justify-content: center;
}

@media (min-width: 1024px) {
    .desktop-layout {
        display: flex;
    }
}

.card-column {
    width: 12rem;
    margin-top: -8.25rem;
}

.card-column.offset-1 {
    margin-top: 0rem;
}

.card-column.offset-2 {    
    margin-top: 8.75rem;
}

.card-column-flex {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.card-column-flex.gap-small {
    gap: 0.75rem;
}

/* Card Styles */
.stats-card {
    position: relative;            
    border-radius: 1.5rem;
    height: 22.25rem;            
    overflow: hidden;
    background-image: url('./images/Wrap.png');
    background-size: cover;
    background-position: center;
}



.stats-content {
    padding: 1.5rem;
    margin-top: 5rem;
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 1rem;
}

.stats-text {
    color: #000000;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
}

.gray-card {
    background-color: #4b5563;
    border-radius: 1.5rem;
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 7.5rem;
}

.gray-card-text {
    color: white;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    line-height: 1.5;
}

.mobile-app-card {            
    position: relative;            
    border-radius: 1.5rem;
    height: 22.75rem;
    overflow: hidden;
    background-image: url('https://api.builder.io/api/v1/image/assets/TEMP/2a9b00064b30f1cf4c9716fa708f77501f7b1718?width=416');
    background-size: cover;
    background-position: center;
}

.mobile-app-title {            
    position: absolute;        
    top: 1.5rem;        
    left: 1.5rem;
    color: white;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.4;
}

.services-card {
    background-color: #000000;
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 14.25rem;
}

.services-title {
    text-align: center;
    padding-top: 2rem;
    color: white;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.services-button {
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 auto 2rem;
}

.services-button:hover {            
    background-color: rgba(255, 255, 255, 0.3);
}

.healthcare-card {
    position: relative;        
    border-radius: 1.5rem;
    height: 22.75rem;
    overflow: hidden;
    background-image: url('https://api.builder.io/api/v1/image/assets/TEMP/e3c84694c7827b3521038f77270db63badf87a3e?width=416');
    background-size: cover;
    background-position: center;
}

.healthcare-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    color: #000000;
    font-weight: 500;
    font-size: 1rem;
}

.finance-card {
    position: relative;
    border-radius: 1.5rem;
    height: 22.75rem;
    overflow: hidden;
    background-image: url('./images/f.png');
    background-size: cover;
    background-position: center;
}

.finance-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-weight: 500;
    font-size: 1rem;
}

.orange-card {
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 7.5rem;
    background-color: #000000;
}

.orange-card-text {            
    color: white;
    font-weight: 500;
    font-size: 1.25rem;
    text-align: center;
    line-height: 1.5;
}

/* Services Section */
.services-section {
    padding: 128px 24px;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px 8px 6px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    margin-bottom: 32px;
}

.services-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 32px;
}

.service-category {
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    color: #181818;
    margin: 0 0 16px 0;
}

.service-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.section-footer {
    text-align: center;
    margin-top: 80px;
}

.explore-btn {
    background: #181818;
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.explore-btn:hover {
    background: #374151;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}


/* Blogs Section */
.blogs-section {
    padding: 128px 24px;
}

.blogs-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blogs-row {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

@media (min-width: 1024px) {
    .blogs-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.blog-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
    transition: box-shadow 0.2s;
}

.blog-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.blog-title {
    font-size: 24px;
    font-weight: 600;
    color: #181818;
    margin: 0;
}

.blog-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.link-icon {
    width: 16px;
    height: 16px;
    background: #666;
    border-radius: 2px;
}

.blog-category {
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 16px 0;
}

.blog-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.blog-detail-section {
    padding: 4rem 1rem;
    background: #fff;
}

.blog-detail-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #181818;
}

.blog-detail-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.blog-detail-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.blog-detail-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #181818;
}

.blog-detail-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #181818;
}

.blog-detail-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.blog-detail-content ul {
    padding-left: 1.2rem;
}

.blog-detail-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.blog-read-btn {
    display: inline-block;
    white-space: nowrap;       /* keeps text on one line */
    padding: 10px 24px;
    background-color: #181818; /* black button */
    color: #ffffff; /* white text */
    border: none;
    border-radius: 9999px;     /* pill shape */
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease;
}

.blog-read-btn:hover {
    background-color: #374151; /* dark gray hover */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-detail-title {
        font-size: 1.6rem;
    }
}

/* Testimonials Section */

.testimonials {
    padding: 136px 0;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

.testimonials-title {
    font-size: 64px;
    font-weight: 500;
    line-height: normal;
    color: #181818;
    max-width: 641px;
}

.testimonials-title .highlight {
    color: #666;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
}

.testimonial-card {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    position: relative;
}

.quote-mark {
    color: #E4E4E4;
    font-size: 140px;
    font-weight: 700;
    position: absolute;
}

.testimonial-avatar {
    width: 124px;
    height: 124px;
    border-radius: 24px;
    border: 4px solid #fff;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-content {
    background: #fff;
    border: 1px solid #DCDCDC;
    border-radius: 24px 24px 24px 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
}

.testimonial-content p {
    color: #666;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 24px;
}

.author-info h4 {
    color: #23272E;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 4px;
}

.author-info span {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}


/* Footer */
.footer {
    background-color: #111;
    color: white;
    padding: 60px 20px;
    font-family: sans-serif;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-left {
    flex: 1 1 300px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 10px;
}

.footer-description {
    margin: 15px 0;
    font-size: 15px;
}

.newsletter {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.newsletter input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #1a1a1a;
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 16px;
}

.newsletter button {
    flex: 1;
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    background-color: #6f2ca9;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.newsletter button:hover {
    background-color: #5a32a3;
}

.newsletter-disclaimer {
    font-size: 12px;
    color: #aaa;
    margin-top: 10px;
}

.footer-column {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-column a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    color: white;
}

/* Comprehensive Mobile Responsiveness */
@media (max-width: 768px) {
    /* Typography adjustments */
    .hero-title {
        font-size: 36px;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 18px;
        padding: 0 16px;
    }

    .industries-text {
        font-size: 20px;
        padding: 0 16px;
    }

    /* Grid layouts */
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blogs-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .testimonials-grid {
        gap: 30px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
  .hero-section {
    padding: 40px 0;   /* reduce spacing */
    min-height: auto;  /* let height adapt naturally */
  }

  .hero-content {
    margin-top: -20px; /* pull up slightly under nav */
  }
    /* Section padding adjustments */
    .industries-section,
    .services-section,
    .blogs-section,
    .testimonials-section {
        padding: 64px 16px;
    }

    .footer {
        padding: 64px 16px;
    }

    /* Industry cards */
    .industry-card {
        height: 200px;
        padding: 24px;
    }

    .industry-card.gray-small,
    .industry-card.orange-small {
        height: 120px;
    }

    /* Service cards */
    .service-image {
        height: 200px;
    }
    .service-detail-header {
        flex-direction: column;   /* stack heading and button */
        align-items: flex-start;  /* align left */
        gap: 8px;                 /* small spacing between them */
    }

    .service-detail-link {
        margin-top: 4px;          /* extra space below heading */
    }

    .service-content {
        padding: 24px;
    }


  .blogs-section {
    padding-left: 16px;
    padding-right: 16px;
    margin: 10px; /* adjust to prevent overflow */
  }

  .blogs-row {
    padding-right: 16px;  /* match left spacing */
    padding-left: 16px;   /* keep left spacing */
  }

  .blog-card {
    width: 100%;
    margin: 0 auto;       /* keeps card centered */
  }

  .blog-detail-card {
    padding-right:  16px; /* match left spacing */
    margin-left: -30px; /* adjust to prevent overflow */
}

    .testimonial-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonial-author {
        display: flex;
        flex-direction: column; /* stack image and text */
        align-items: center;    /* center both horizontally */
        text-align: center;     /* center text */
    }

    .testimonial-author img {
        margin-bottom: 10px; /* space between image and text */
    }

    .testimonial-author .author-info h4,
    .testimonial-author .author-info span {
        text-align: center;
    }

    /* Newsletter form */
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .newsletter-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-container {
        gap: 24px;
    }

    .industries-text {
        font-size: 18px;
    }

    .section-title-about {
        font-size: 32px;
    }

    .cta-title {
        font-size: 36px;
    }

    .map-title {
        font-size: 36px;
    }

    /* Reduce padding further */
    .industries-section,
    .services-section,
    .blogs-section,
    .testimonials-section {
        padding: 48px 12px;
    }

    .footer {
        padding: 48px 12px;
    }

    /* Card adjustments */
    .industry-card {
        padding: 16px;
        height: 160px;
    }

    .service-content,
    .blog-card,
    .blog-detail-card {
        padding: 20px;
    }
    .testimonials-header{
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .testimonials-grid {
        gap: 30px;
        display: inline;
    }
    
    .testimonial-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .quote-mark {
        display: none;
    }

    .contact-form-card {
        padding: 24px;
    }
}

/* Page-specific styles for other pages */
.page-nav .nav-item.active {
    border-bottom: 4px solid #181818;
}

/* Services page specific */
.services-nav .nav-item[href="services.html"] {
    border-bottom: 4px solid #181818;
}

/* Blogs page specific */
.blogs-nav .nav-item[href="blogs.html"] {
    border-bottom: 4px solid #181818;
}

/* About page specific */
.about-nav .nav-item[href="about.html"] {
    border-bottom: 4px solid #181818;
}

/* Contact page specific */
.contact-nav .nav-item[href="contact.html"] {
    border-bottom: 4px solid #181818;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 20px;
    color: #181818;
    margin-bottom: 12px;
    font-weight: 400;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
    color: #181818;
    background: white;
    transition: border-color 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #a3a3a3;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #181818;
}

.form-textarea {
    min-height: 180px;
    resize: vertical;
}

.form-button {
    width: 100%;
    background: #181818;
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-button:hover {
    background: #374151;
}

/* Page-specific Hero Backgrounds */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(243, 244, 246, 0.7);
}

/* Responsive Navigation Improvements */
@media (max-width: 767px) {
    .navbar {
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
    }

    .logo-container {
        padding: 8px 16px;
    }

    .logo-text {
        font-size: 20px;
    }

    .mobile-menu {
        left: 16px;
        right: 16px;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 8px 12px;
    }

    .logo-container {
        padding: 6px 12px;
        gap: 8px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-icon-main {
        width: 24px;
        height: 24px;
    }

    .mobile-menu {
        left: 12px;
        right: 12px;
    }

    .mobile-nav-item {
        padding: 12px 16px;
        font-size: 16px;
    }
}

.services-detail-section {
    padding: 128px 24px;
}

.services-detail-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

.service-detail-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.service-detail-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-detail-content {
    padding: 32px;
}

.service-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.service-detail-title {
    font-size: 28px;
    font-weight: 600;
    color: #181818;
    margin: 0;
}

.service-detail-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.service-detail-category {
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 16px 0;
}

.service-detail-description {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.cta-section {
    padding: 128px 24px;
    background: #f9fafb;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    font-weight: 600;
    color: #181818;
    margin: 0 0 24px 0;
    line-height: 1.1;
}

.cta-description {
    font-size: 20px;
    color: #666;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 32px;
    background: #181818;
    color: white;
    border: none;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background: #374151;
}

/* Blogs Page Styles */
.blogs-detail-section {
    padding: 128px 24px;
}

.blogs-detail-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .blogs-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.blog-detail-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
    transition: box-shadow 0.2s;
}

.blog-detail-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.blog-detail-title {
    font-size: 24px;
    font-weight: 600;
    color: #181818;
    margin: 0;
}

.blog-detail-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.blog-detail-category {
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 16px 0;
}

.blog-detail-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* About Page Specific Styles */

.hero-logo-overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 80px;
    z-index: 5;
}

.hero-logo-img {
    width: 176px;
    height: 48px;
    object-contain: cover;
    opacity: 0.8;
}

.about-welcome {
    margin: 32px 0;
}

.welcome-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.welcome-text {
    font-size: 48px;
    font-weight: 500;
    color: #666;
    margin: 0;
}

@media (min-width: 1024px) {
    .welcome-text {
        font-size: 64px;
    }
}

.welcome-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-icon {
    width: 64px;
    height: 64px;
    background: #181818;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-square {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 4px;
    transform: rotate(45deg);
}

.brand-name {
    font-size: 48px;
    font-weight: 500;
    color: #181818;
}

@media (min-width: 1024px) {
    .brand-name {
        font-size: 64px;
    }
}

.about-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 24px;
    line-height: 1.4;
    text-align: center;
}

@media (min-width: 1024px) {
    .about-description {
        font-size: 32px;
    }
}

.values-section,
.team-section,
.contact-section {
    padding: 128px 24px;
}

.section-header-about {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 80px;
}

@media (min-width: 1024px) {
    .section-header-about {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.section-title-cta {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .section-title-cta {
        flex-direction: row;
        align-items: flex-end;
    }
}

.section-title-about {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

@media (min-width: 1024px) {
    .section-title-about {
        font-size: 64px;
    }
}

.section-cta-btn {
    background: #181818;
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-cta-btn:hover {
    background: #374151;
}

.values-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.value-item {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    min-height: 124px;
}

.value-icon {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 320px;
    padding: 22px 32px 22px 0;
}

.value-name {
    font-size: 24px;
    font-weight: 500;
    color: #666;
}

.value-content {
    flex: 1;
    padding: 22px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.value-subtitle {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.value-description {
    color: #181818;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    align-items: end;
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.team-member {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-member.top-offset {
    margin-bottom: 100px;
}

.team-member.bottom-offset {
    margin-bottom: -150px;
}

.team-photo {
    width: 100%;
    height: 209px;
    object-fit: cover;
}

.team-photo.left-rounded {
    border-radius: 100px 0 0 100px;
}

.team-photo.top-rounded {
    border-radius: 100px 100px 0 0;
}

.team-photo.bottom-rounded {
    border-radius: 0 0 100px 100px;
}

.team-photo.right-rounded {
    border-radius: 0 100px 100px 0;
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 146px;
}

.team-name {
    font-size: 24px;
    font-weight: 500;
    color: #181818;
    margin: 0;
}

.team-role {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-role span {
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

/* LinkedIn icon styling */
.linkedin-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;   /* slightly larger for visibility */
    height: 24px;
    background: transparent; /* remove background so theme color shows */
    color: #666; /* default dark theme color */
    font-size: 20px;
    transition: color 0.3s ease;
}

body.dark-theme .linkedin-icon a {
    color: #ffffff; /* white for dark theme */
}

.linkedin-icon a:hover {
    color: #0A66C2; /* LinkedIn blue on hover */
}


.contact-form-container {
    position: relative;
    background: #181818;
    border-radius: 32px;
    padding: 80px;
    overflow: hidden;
    max-width: 640px;
    margin: 0 auto;
}

.contact-form-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4), transparent);
}

.contact-form-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.name-input,
.email-input {
    background: #374151;
    border: 1px solid #666;
    color: #9ca3af;
}

.message-input {
    background: #181818;
    border: 1px solid #666;
    color: #9ca3af;
}

.footer-logo-img {
    width: 148px;
    height: 35px;
    object-fit: contain;
}

/* Contact Page Specific Styles */

.contact-main-section {
    position: relative;
    z-index: 10;
    display: flex;
    margin-top: 3rem;
    justify-content: center;
    padding: 0 24px 128px;
}

.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 56px;
    max-width: 900px;
    width: 100%;
}

@media (min-width: 1024px) {
    .contact-layout {
        flex-direction: row;
        gap: 56px;
    }
}

.contact-form-card {
    flex: 1;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 32px;
    padding: 32px;
}

.contact-info-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 1024px) {
    .contact-info-section {
        width: 280px;
    }
}

.contact-info-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin-bottom: auto;
    border-radius: 32px;
    padding: 32px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info-title {
    font-size: 20px;
    font-weight: 400;
    color: #181818;
    margin: 0;
}

.contact-info-text {
    color: #a3a3a3;
    font-size: 16px;
    line-height: 1.375;
    margin: 0;
}

.map-section {
    position: relative;
    height: 500px;
    background: #f3f4f6;
}

.map-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(-1deg, #fff 12.58%, rgba(35, 42, 57, 0.00) 100.1%), url('https://api.builder.io/api/v1/image/assets/TEMP/9a81c96a4ecf64753ada8ed22b933b65d7a9bbc8?width=3184');
    background-size: cover;
    background-position: center;
    background-color: #ffffff;   /* white background */
    filter: brightness(100%) invert(0); /* ensures it's not darkened */
}

.map-content {
    position: relative;
    z-index: 10;
    display: inline;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 136px;
    padding-left: 24px;
    padding-right: 24px;
}

.map-title {
    font-size: 48px;
    font-weight: 500;
    color: #181818;
    text-align: center;
    margin: 0;
}

@media (min-width: 1024px) {
    .map-title {
        font-size: 64px;
    }
}

.location-pin {
    position: absolute;
    bottom: 170px;
    right: 100px;
    background: #181818;
    border-radius: 32px;
    padding: 24px;
    max-width: 424px;
}

@media (max-width: 1024px) {
    .location-pin {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 80px;
        margin-left: auto;
        margin-right: auto;
    }
}

.pin-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pin-image {
    width: 102px;
    height: 102px;
    border-radius: 18px;
    object-fit: cover;
}

.pin-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pin-title {
    font-size: 24px;
    font-weight: 500;
    color: white;
    margin: 0;
}

.pin-address {
    color: #a3a3a3;
    font-size: 16px;
    line-height: 1.375;
    margin: 0;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .nav-menu-services,
    .nav-menu-about,
    .nav-menu-contact {
        flex-direction: column;
        gap: 8px;
        padding: 16px;
    }

    .nav-logo-services,
    .nav-logo-about,
    .nav-logo-contact {
        border-radius: 9999px;
        border: 1px solid #e5e7eb;
    }

    .services-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-title {
        font-size: 1.125rem; /* smaller text for mobile */
        line-height: 1.3;
        white-space: normal; /* allow wrapping */
        overflow-wrap: break-word; /* break long words */
        word-break: break-word; /* ensure breaking in narrow view */
    }

    /* Optional: make the header container adjust too */
    .service-detail-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .blogs-detail-grid {
        grid-template-columns: 1fr;
    }

    .blog-detail-link {
        display: inline-flex;
        align-items: center;
        gap: 8px; /* same spacing as 2nd block */
        white-space: nowrap; /* prevent wrapping */
    }

    .blog-detail-link svg {
        flex-shrink: 0; /* keep icon size fixed */
    }

    .value-item {
        flex-direction: column;
    }

    .value-icon {
        width: 100%;
        padding: 16px 0;
    }

    .value-content {
        padding: 16px 0;
    }

    .team-grid {
        grid-template-columns: 1fr !important; /* one column */
        gap: 24px; /* add spacing between members */
    }

    .team-info {
        max-width: 100%; /* so names and roles span full width */
    }

    .team-photo {
        height: auto; /* let height adjust naturally */
        border-radius: 16px; /* softer corners for mobile */
    }
    .team-photo {
        border-radius: 0; /* reset first */
    }

    /* Odd team members → left rounded */
    .team-member:nth-child(odd) .team-photo {
        border-radius: 100px 0 0 100px;
    }

    /* Even team members → right rounded */
    .team-member:nth-child(even) .team-photo {
        border-radius: 0 100px 100px 0;
    }

     /* Remove large offsets on mobile to stop overlap */
    .team-member.top-offset,
    .team-member.bottom-offset {
        margin-bottom: 0;
        margin-top: 0;
    }

    /* Make all images auto-height and smaller for mobile */
    .team-photo {
        height: auto;
        max-height: 300px; /* reduce height */
        object-fit: cover;
    }
    
    .linkedin-icon a {
        width: 32px; /* slightly bigger on mobile */
        height: 32px;
        font-size: 22px;
    }

    .contact-form-container {
        padding: 40px 24px;
    }

    .contact-hero {
        margin-top: 0;
        padding-top: 40px;
    }

    .contact-layout {
        flex-direction: column;
    }

    .contact-info-section {
        width: 100%;
    }
}
/* Blog Card Responsive Fix - Even Spacing on Mobile */

@media (max-width: 768px) {
    /* Blog Section Container */
    .blogs-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .blogs-detail-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    /* Blog Grid Container */
    .blogs-detail-grid {
        margin: 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .blogs-row {
        padding: 0;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    /* Individual Blog Cards */
    .blog-detail-card {
        margin: 0 !important;
        padding: 24px;
        width: 100%;
        box-sizing: border-box;
        /* Remove the problematic negative margin */
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .blog-card {
        margin: 0;
        width: 100%;
        box-sizing: border-sizing;
        padding: 24px;
    }
}

/* Extra small screens - phones */
@media (max-width: 480px) {
    .blogs-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .blogs-detail-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .blog-detail-card,
    .blog-card {
        padding: 20px;
    }
}

/* Default state - show light logo, hide dark logo */
.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

/* If you also want to support manual dark mode toggle (optional) */
body.dark-mode .logo-light,
body.dark-theme .logo-light {
    display: none;
}

body.dark-mode .logo-dark,
body.dark-theme .logo-dark {
    display: block;
}
        /* FAQ Section Styles */
        .faq-section {
            padding: 128px 24px;
            background: #fff;
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .section-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 18px 8px 6px;
            background: white;
            border: 1px solid #e5e7eb;
            border-radius: 9999px;
            backdrop-filter: blur(12px);
            margin-bottom: 32px;
        }

        .section-tag span {
            font-weight: 500;
            color: #181818;
            font-size: 16px;
        }

        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            margin-bottom: 16px;
            background: white;
            overflow: hidden;
            transition: box-shadow 0.2s ease;
        }

        .faq-item:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .faq-question {
            width: 100%;
            padding: 24px 32px;
            background: none;
            border: none;
            text-align: left;
            font-size: 18px;
            font-weight: 500;
            color: #181818;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: color 0.2s ease;
        }

        .faq-question:hover {
            color: #666;
        }

        .faq-icon {
            width: 24px;
            height: 24px;
            transition: transform 0.3s ease;
            flex-shrink: 0;
            margin-left: 16px;
        }

        .faq-item.active .faq-icon {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            background: #f9fafb;
        }

        .faq-item.active .faq-answer {
            display: block;
            max-height: 300px;
            padding: 0 32px 24px;
        }

        .faq-answer-content {
            color: #666;
            font-size: 16px;
            line-height: 1.6;
            padding-top: 8px;
        }

        /* Mobile responsiveness */
        @media (max-width: 768px) {
            .faq-section {
                padding: 64px 16px;
            }

            .faq-question {
                padding: 20px 24px;
                font-size: 16px;
            }

            .faq-item.active .faq-answer {
                padding: 0 24px 20px;
            }

            .faq-icon {
                width: 20px;
                height: 20px;
            }
        }

        @media (max-width: 480px) {
            .faq-question {
                padding: 16px 20px;
                font-size: 15px;
            }

            .faq-item.active .faq-answer {
                padding: 0 20px 16px;
            }

            .section-header {
                margin-bottom: 48px;
            }
        }
        
@media (prefers-color-scheme: dark) {
/* Dark Mode Root Variables */
:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #666666;
    --border-color: #333333;
    --card-bg: #1f1f1f;
    --hero-bg: #0a0a0a;
}

/* Base Dark Mode Styles */
body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.logo-light {
    display: none;
}
    
.logo-dark {
    display: block;
}

/* Navigation Dark Mode */
.navbar {
    background: rgba(15, 15, 15, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
}

.nav-item {
    color: var(--text-primary);
}

.nav-item:hover {
    border-bottom: 4px solid #555;
}

.nav-item.active {
    border-bottom: 4px solid var(--text-primary);
}

.nav-menu {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.mobile-menu {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.mobile-nav-item {
    color: var(--text-primary);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background-color: var(--bg-tertiary);
}

.mobile-menu-button {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.hamburger-line {
    background: var(--text-primary);
}

/* Hero Section Dark Mode */
.hero-section {
    background: linear-gradient(to bottom right, var(--hero-bg), var(--bg-primary));
}

.hero-tag {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.hero-tag span {
    color: var(--text-primary);
}

.hero-title {
    color: var(--text-primary);
}

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

.hero-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.hero-btn:hover {
    background: var(--text-secondary);
}

/* Industries Section Dark Mode */
.stats-card {
    /* Keep the background image but add dark overlay */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('./images/Wrap.png');
}

.stats-number {
    color: var(--text-primary);
}

.stats-text {
    color: var(--text-primary);
}

.gray-card {
    background-color: var(--bg-tertiary);
}

.gray-card-text {
    color: var(--text-primary);
}

.services-card {
    background-color: var(--bg-secondary);
}

.services-button {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.orange-card {
    background-color: var(--bg-secondary);
}

.orange-card-text {
    color: var(--text-primary);
}

/* Services Section Dark Mode */
.services-section {
    background: var(--bg-secondary);
}

.section-tag {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

.section-tag span {
    color: var(--text-primary);
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.service-title {
    color: var(--text-primary);
}

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

.explore-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.explore-btn:hover {
    background: var(--text-secondary);
}

/* Fix for service detail "Read More" buttons */
.service-detail-link,
.service-detail-link .blog-read-btn {
    background: var(--text-primary) !important;
    color: var(--bg-primary) !important;
    border: none !important;
}

.service-detail-link:hover,
.service-detail-link .blog-read-btn:hover {
    background: var(--text-secondary) !important;
    color: var(--bg-primary) !important;
}

/* Blogs Section Dark Mode */
.blogs-section {
    background: var(--bg-primary);
}

.blog-card,
.blog-detail-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.blog-title,
.blog-detail-title {
    color: var(--text-primary);
}

.blog-description,
.blog-detail-description {
    color: var(--text-secondary);
}

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

.blog-read-btn {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.blog-read-btn:hover {
    background-color: var(--text-secondary);
}

/* Testimonials Section Dark Mode */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-title {
    color: var(--text-primary);
}

.testimonials-title .highlight {
    color: var(--text-secondary);
}

.quote-mark {
    color: #333;
}

.testimonial-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.testimonial-content p {
    color: var(--text-secondary);
}

.author-info h4 {
    color: var(--text-primary);
}

.author-info span {
    color: var(--text-secondary);
}

/* Footer Dark Mode */
.footer {
    background-color: #000;
    color: var(--text-primary);
}

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

.newsletter input[type="email"] {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.newsletter input[type="email"]::placeholder {
    color: var(--text-muted);
}

.newsletter button {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.newsletter button:hover {
    background-color: var(--text-secondary);
}

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

.footer-column h3 {
    color: var(--text-primary);
}

.footer-column a {
    color: var(--text-secondary);
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Modal Dark Mode */
.modal {
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.close-btn {
    color: var(--text-primary);
}

/* Form Elements Dark Mode */
.form-label {
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--text-primary);
}

.form-button {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.form-button:hover {
    background: var(--text-secondary);
}

/* Services Detail Page Dark Mode */
.services-detail-section {
    background: var(--bg-primary);
}

.service-detail-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.service-detail-title {
    color: var(--text-primary);
}

.service-detail-description {
    color: var(--text-secondary);
}

.service-detail-link {
    color: var(--bg-primary) !important;
    background: var(--text-primary) !important;
    padding: 10px 24px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: background-color 0.2s ease !important;
}

.service-detail-link:hover {
    background: var(--text-secondary) !important;
    color: var(--bg-primary) !important;
}

/* CTA Section Dark Mode */
.cta-section {
    background: var(--bg-secondary);
}

.cta-title {
    color: var(--text-primary);
}

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

.cta-button {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.cta-button:hover {
    background: var(--text-secondary);
}

/* About Page Dark Mode */
.welcome-text {
    color: var(--text-secondary);
}

.brand-name {
    color: var(--text-primary);
}

.about-description {
    color: var(--text-primary);
}

.values-section,
.team-section,
.contact-section {
    background: var(--bg-primary);
}

.section-title-about {
    color: var(--text-primary);
}

.section-cta-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.section-cta-btn:hover {
    background: var(--text-secondary);
}

.value-item {
    border-bottom: 1px solid var(--border-color);
}

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

.value-content {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}

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

.value-description {
    color: var(--text-primary);
}

.team-name {
    color: var(--text-primary);
}

.team-role span {
    color: var(--text-secondary);
}

/* LinkedIn icon dark mode */
.linkedin-icon a {
    color: var(--text-secondary);
}

.linkedin-icon a:hover {
    color: #0A66C2;
}

/* Contact Page Dark Mode */
.contact-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.contact-info-icon {
    border: 1px solid var(--border-color);
}

.contact-info-title {
    color: var(--text-primary);
}

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

.map-section {
    background: var(--bg-primary);
}

.map-title {
    color: var(--text-primary);
}

.location-pin {
    background: var(--bg-secondary);
}

.pin-title {
    color: var(--text-primary);
}

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

/* Contact form specific dark mode */
.contact-form-container {
    background: var(--bg-secondary);
}

.name-input,
.email-input {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.message-input {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

/* Blog detail content dark mode */
.blog-detail-content h2,
.blog-detail-content h3 {
    color: var(--text-primary);
}

.blog-detail-content p,
.blog-detail-content li {
    color: var(--text-secondary);
}

/* Ensure all text inputs and textareas have proper dark styling */
input[type="text"],
input[type="email"],
textarea {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: var(--text-muted) !important;
}

/* Ensure buttons maintain visibility in dark mode */
button {
    border: none;
    transition: all 0.2s ease;
}

/* Fix any remaining white backgrounds */
.bg-white {
    background-color: var(--bg-primary) !important;
}

.text-black {
    color: var(--text-primary) !important;
}

/* Special handling for images that might need dark mode adjustments */
.service-image {
    border-radius: 16px 16px 0 0;
    opacity: 0.9; /* Slightly reduce brightness for dark theme */
}

/* Ensure proper contrast for all interactive elements */
a {
    color: var(--text-primary);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--text-secondary);
}

/* Override any remaining light theme colors */
.text-gray {
    color: var(--text-secondary) !important;
}

.text-white {
    color: var(--text-primary) !important;
}
/* FAQ Section Dark Mode */
.faq-section {
    background: var(--bg-primary);
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.faq-question {
    color: var(--text-primary);
}

.faq-question:hover {
    color: var(--text-secondary);
}

.faq-icon {
    color: var(--text-primary);
}

.faq-answer {
    background: var(--bg-secondary);
}

.faq-answer-content {
    color: var(--text-secondary);
}

/* Override any remaining light theme colors */
.text-gray {
    color: var(--text-secondary) !important;
}

.text-white {
    color: var(--text-primary) !important;
}
}
