/* Base styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background-color: #0e0e0e;
    color: #8e44ad;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 0.5em;
    color: #8e44ad;
}

p {
    color: #cccccc;
    font-size: 1rem;
}

a {
    color: #8e44ad;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c39bd3;
}

/* Layout helpers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-dark {
    background-color: #111111;
}

.section-light {
    background-color: #1a1a1a;
}

.center-text {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: #1e1e1e;
    border: 1px solid #292929;
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; /* center text horizontally */
    display: flex;
    flex-direction: column;
    justify-content: center; /* center content vertically (if needed) */
    align-items: center; 
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(142, 68, 173, 0.3);
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #8e44ad;
    color: #ffffff;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
}

.button:hover {
    background-color: #a569bd;
}

/* Testimonials */
.testimonial {
    font-style: italic;
    border-left: 4px solid #8e44ad;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    color: #dddddd;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.svg-shadow {
    filter: drop-shadow(0 10px 20px rgba(155, 92, 255, 0.6));
    max-width: 100%;
    height: auto;
  }
  

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Marquee Section */
.marquee-section {
    position: relative;
    background-color: #000;
    padding: 0;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

/* Marquee Text */
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.marquee-inner {
    display: inline-block;
    padding-left: 0;
    animation: marquee 24s linear infinite;
    font-size: 7rem;
    font-weight: bold;
    -webkit-text-stroke: 2px #9b5cff; /* Grit purple accent */
    color: transparent;
    letter-spacing: 0.1em;
}

.marquee-inner span {
    display: inline-block;
    padding: 0 2rem;
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

/* Contact Button */
.contact-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.contact-button a {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, #9b5cff 0%, #7b3cff 100%);
    color: #fff;
    border-radius: 3rem;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(155, 92, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.contact-button a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(155, 92, 255, 0.8);
}

/* Optional Pulse Background */
.contact-button a::before {
    content: "";
    position: absolute;
    width: 160%;
    height: 160%;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, rgba(155, 92, 255, 0.2) 40%, transparent 70%);
    transform: translate(-50%, -50%) scale(0.8);
    border-radius: 50%;
    animation: pulse 12ss infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}
.expandable-card {
    background-color: #1e1e1e;
    border: 1px solid #292929;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
}

.summary {
    font-size: 1.1rem;
    color: #bbbbbb;
    font-style: italic;
    margin-bottom: 1rem;
}

.card-content {
    display: none;
    margin-top: 1rem;
    color: #cccccc;
    line-height: 1.8;
}

.card-content ul {
    margin: 1rem 0;
    padding-left: 1.2rem;
}

.card-content li {
    margin-bottom: 0.5rem;
}

.read-more-btn {
    margin-top: 1rem;
    background-color: #8e44ad;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #a569bd;
}

/* Horizontal Card Layout */
.horizontal-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #1a1a1a;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(128, 0, 128, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f0f0f0;
}

.horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(128, 0, 128, 0.4);
}

/* Left Side */
.card-content-left {
    flex: 3;
    padding-right: 2rem;
}

.card-content-left h3 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
    color: #d8b4f8;
}

.card-content-left .subtitle {
    color: #aaa;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.case-study-section {
    margin-bottom: 1rem;
}

.case-study-section h4 {
    font-size: 1rem;
    color: #f8f8f8;
    margin-bottom: 0.5rem;
}

.case-study-section p {
    font-size: 0.9rem;
    color: #ccc;
}

.case-study-section ul {
    list-style-type: disc;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: #ccc;
}

.technical-innovation {
    border-radius: 8px;
    padding: 0.8rem;
}

/* Right Side (Results) */
.card-content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background-color: #292929;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    min-width: 200px;
}

.card-content-right h4 {
    color: #d8b4f8;
    margin-bottom: 0.5rem;
}

.result-item {
    background-color: #1f1f1f;
    border-radius: 8px;
    padding: 0.8rem;
    transition: background-color 0.3s ease;
}

.result-item:hover {
    background-color: #3a3a3a;
}

.result-item h3 {
    font-size: 1.5rem;
    color: #f0f0f0;
    margin: 0;
}

.result-item p {
    font-size: 0.8rem;
    color: #bbb;
    margin-top: 0.3rem;
}

/* Responsive */
@media (max-width: 800px) {
    .horizontal-card {
        flex-direction: column;
    }

    .card-content-left {
        padding-right: 0;
    }

    .card-content-right {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        margin-top: 1rem;
    }

    .result-item {
        flex: 1 1 45%;
        margin-bottom: 0.5rem;
    }
}
/* Fix for lists inside horizontal card */
.success-story-card ul {
    text-align: left;
}

/* Success Story Card Refinement */
.success-story-card {
    display: flex;
    justify-content: space-between;
    background-color: #1a1a1a;
    padding: 32px;
    margin-bottom: 32px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    flex-wrap: wrap;
}

.success-left, .success-right {
    flex: 1 1 45%;
    color: #f0f0f0;
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
}

.success-left h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.success-left .subheadline {
    font-size: 16px;
    color: #a0a0a0;
    margin-bottom: 16px;
}

.success-left h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0 8px;
    color: #ffffff;
}

.success-left p {
    font-size: 15px;
    line-height: 1.6;
    color: #d0d0d0;
}

.success-left ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #d0d0d0;
}

.success-right {
    background-color: #242424;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.success-right h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

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

.result-grid div {
    font-size: 15px;
    color: #d0d0d0;
    text-align: center;
}

.result-grid strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #9b5cff;
    margin-bottom: 4px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .success-story-card {
        flex-direction: column;
    }
    .success-left, .success-right {
        flex: 1 1 100%;
    }
    .result-grid {
        grid-template-columns: 1fr 1fr;
    }
}






/* ================================
   EXPERTISE PAGE SPECIFIC STYLES
   ================================ */

/* Namespace all styles under .expertise-page to avoid conflicts */
.expertise-page {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

/* ================================
   LAYOUT COMPONENTS
   ================================ */

/* Container */
.expertise-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Sections */
.expertise-section {
    padding: 8rem 0;
}

.expertise-section--dark {
    background-color: #111111;
}

.expertise-section--light {
    background-color: #1a1a1a;
}

.expertise-section--center {
    text-align: center;
}

/* ================================
   TYPOGRAPHY
   ================================ */

.expertise-page h1,
.expertise-page h2,
.expertise-page h3,
.expertise-page h4 {
    font-weight: 700;
    margin-bottom: 0.5em;
    color: #ffffff;
}

.expertise-page p {
    color: #cccccc;
    font-size: 1rem;
}

.expertise-page a {
    color: #8e44ad;
    text-decoration: none;
    transition: color 0.3s ease;
}

.expertise-page a:hover {
    color: #c39bd3;
}

/* ================================
   GRID LAYOUTS
   ================================ */

.expertise-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* ================================
   CARD COMPONENTS
   ================================ */

/* Basic Card */
.expertise-card {
    background-color: #1e1e1e;
    border: 1px solid #292929;
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(142, 68, 173, 0.3);
}

.expertise-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: #cccccc;
}

/* Success Story Cards */
.expertise-success-story {
    display: flex;
    justify-content: space-between;
    background-color: #1a1a1a;
    padding: 32px;
    margin-bottom: 32px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    flex-wrap: wrap;
}

.expertise-success-story:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(128, 0, 128, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-success-story__left,
.expertise-success-story__right {
    flex: 1 1 45%;
    color: #f0f0f0;
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
}

.expertise-success-story__left h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.expertise-success-story__subheadline {
    font-size: 16px;
    color: #a0a0a0;
    margin-bottom: 16px;
}

.expertise-success-story__left h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0 8px;
    color: #ffffff;
}

.expertise-success-story__left p {
    font-size: 15px;
    line-height: 1.6;
    color: #d0d0d0;
}

.expertise-success-story__left ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #d0d0d0;
    text-align: left;
}

/* Center align "Our Solution" text specifically */
.expertise-success-story__left h4:contains("Our Solution"),
.expertise-success-story__left h4[data-section="solution"] {
    text-align: center;
}

.expertise-success-story__left p + ul {
    text-align: center;
    list-style: none;
    padding-left: 0;
}

.expertise-success-story__left p + ul li {
    text-align: center;
}

.expertise-success-story__right {
    background-color: #242424;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expertise-success-story__right h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

/* Results Grid */
.expertise-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.expertise-results-grid__item {
    font-size: 15px;
    color: #d0d0d0;
    text-align: center;
}

.expertise-results-grid__item strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #9b5cff;
    margin-bottom: 4px;
}

/* Expandable Cards */
.expertise-expandable-card {
    background-color: #1e1e1e;
    border: 1px solid #292929;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
}

.expertise-expandable-card__summary {
    font-size: 1.1rem;
    color: #bbbbbb;
    font-style: italic;
    margin-bottom: 1rem;
}

.expertise-expandable-card__content {
    display: none;
    margin-top: 1rem;
    color: #cccccc;
    line-height: 1.8;
}

.expertise-expandable-card__content ul {
    margin: 1rem 0;
    padding-left: 1.2rem;
}

.expertise-expandable-card__content li {
    margin-bottom: 0.5rem;
}

/* ================================
   BUTTONS
   ================================ */

.expertise-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #8e44ad;
    color: #ffffff !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.2;
}

.expertise-button:hover {
    background-color: #a569bd;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(142, 68, 173, 0.4);
}

.expertise-button:visited {
    color: #ffffff !important;
}

.expertise-button:active {
    color: #ffffff !important;
}

.expertise-button--read-more {
    margin-top: 1rem;
    background-color: #8e44ad;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.expertise-button--read-more:hover {
    background-color: #a569bd;
}

/* ================================
   TESTIMONIALS
   ================================ */

.expertise-testimonial {
    font-style: italic;
    border-left: 4px solid #8e44ad;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    color: #dddddd;
}

/* ================================
   SPECIAL EFFECTS
   ================================ */

.expertise-svg-shadow {
    filter: drop-shadow(0 10px 20px rgba(155, 92, 255, 0.6));
    max-width: 100%;
    height: auto;
}

/* ================================
   ANIMATIONS
   ================================ */

.expertise-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: expertiseFadeInUp 0.8s ease forwards;
}

@keyframes expertiseFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   MARQUEE SECTION
   ================================ */

.expertise-marquee-section {
    position: relative;
    background-color: #000;
    padding: 0;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.expertise-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.expertise-marquee__inner {
    display: inline-block;
    padding-left: 0;
    animation: expertiseMarquee 24s linear infinite;
    font-size: 7rem;
    font-weight: bold;
    -webkit-text-stroke: 2px #9b5cff;
    color: transparent;
    letter-spacing: 0.1em;
}

.expertise-marquee__inner span {
    display: inline-block;
    padding: 0 2rem;
}

@keyframes expertiseMarquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

.expertise-contact-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.expertise-contact-button a {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, #9b5cff 0%, #7b3cff 100%);
    color: #fff;
    border-radius: 3rem;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(155, 92, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-contact-button a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(155, 92, 255, 0.8);
}

.expertise-contact-button a::before {
    content: "";
    position: absolute;
    width: 160%;
    height: 160%;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, rgba(155, 92, 255, 0.2) 40%, transparent 70%);
    transform: translate(-50%, -50%) scale(0.8);
    border-radius: 50%;
    animation: expertisePulse 12s infinite;
    z-index: -1;
}

@keyframes expertisePulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 800px) {
    .expertise-success-story {
        flex-direction: column;
    }
    
    .expertise-success-story__left,
    .expertise-success-story__right {
        flex: 1 1 100%;
    }
    
    .expertise-results-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .expertise-marquee__inner {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .expertise-container {
        padding: 2rem 1rem;
    }
    
    .expertise-section {
        padding: 2rem 0;
    }
    
    .expertise-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .expertise-card {
        padding: 1.5rem;
    }
    
    .expertise-success-story {
        padding: 24px;
    }
    
    .expertise-results-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .expertise-marquee__inner {
        font-size: 2.5rem;
    }
    
    .expertise-contact-button a {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Mobile Navigation Toggler */
.mobile-nav-toggler {
    display: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 15px;
  }
  
  .mobile-nav-toggler svg {
    width: 28px;
    height: 28px;
    color: #333;
  }
  
  /* Show mobile toggler on small screens */
  @media (max-width: 991px) {
    .mobile-nav-toggler {
      display: block;
    }
    
    .main-menu {
      display: none;
    }
  }
  
  /* Mobile Menu Styles */
  .mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 9999 !important;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .mobile-menu.active {
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
  
  .close-btn {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
  }
  
  .close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
  }
  
  .close-icon {
    color: #333;
    font-size: 18px;
  }
  
  .menu-box {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 320px !important;
    height: 100vh !important;
    background: #fff !important;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2) !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s ease !important;
    overflow-y: auto;
  }
  
  .mobile-menu.active .menu-box {
    transform: translateX(0) !important;
  }
  
  .nav-logo {
    padding: 30px 25px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
  }
  
  .nav-logo a {
    display: inline-block;
  }
  
  .nav-logo img {
    max-width: 150px;
    height: auto;
  }
  
  .menu-outer {
    padding: 0;
  }
  
  .mobile-navigation {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .mobile-navigation > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .mobile-navigation > li > a {
    display: block;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
  }
  
  .mobile-navigation > li > a:hover {
    color: #333;
    background: #f0f0f0;
  }
  
  /* Mobile Dropdown Styles */
  .mobile-dropdown > a {
    position: relative;
  }
  
  .mobile-dropdown > a::after {
    content: '▼';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
  }
  
  .mobile-dropdown.active > a::after {
    transform: translateY(-50%) rotate(180deg);
  }
  
  .mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .mobile-dropdown.active .mobile-submenu {
    max-height: 300px;
  }
  
  .mobile-submenu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-submenu li:last-child {
    border-bottom: none;
  }
  
  .mobile-submenu li a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
  }
  
  .mobile-submenu li a:hover {
    color: #8e44ad;
    background: rgba(142, 68, 173, 0.1);
  }
  
  /* Responsive */
  @media (max-width: 480px) {
    .menu-box {
      width: 280px !important;
    }
  }
  
  @media (max-width: 360px) {
    .menu-box {
      width: 85% !important;
    }
  }
  
  /* Prevent body scroll when mobile menu is active */
  body.mobile-menu-open {
    overflow: hidden;
  }

  /* Desktop Navigation Styles */
.main-header {
    position: relative;
    z-index: 999;
  }
  
  .header-lower {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Main Navigation */
  .main-menu .navigation {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .main-menu .navigation > li {
    position: relative;
    margin: 0 15px;
  }
  
  .main-menu .navigation > li > a.nav-btn {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 6px;
  }
  
  /* Remove any pseudo-elements that might add plus signs */
  .main-menu .navigation > li > a.nav-btn::before,
  .main-menu .navigation > li > a.nav-btn::after {
    display: none !important;
    content: none !important;
  }
  
  .main-menu .navigation > li > a.nav-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }
  
  /* Dropdown Styles */
  .main-menu .navigation > li.dropdown {
    position: relative;
  }
  
  /* Dropdown Menu */
  .main-menu .navigation > li .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #1a1a2e;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .main-menu .navigation > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* Dropdown Items */
  .main-menu .navigation > li .dropdown-menu li {
    margin: 0;
  }
  
  .main-menu .navigation > li .dropdown-menu li a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .main-menu .navigation > li .dropdown-menu li:last-child a {
    border-bottom: none;
  }
  
  .main-menu .navigation > li .dropdown-menu li a:hover {
    color: #8e44ad;
    background: rgba(0, 0, 0, 0.3);
  }
  
  /* Logo Styles */
  .logo-box .logo a img {
    filter: brightness(1.2);
    transition: all 0.3s ease;
  }
  
  .logo-box .logo a:hover img {
    filter: brightness(1.4);
    transform: scale(1.05);
  }
  
  /* Hide mobile elements on desktop */
  @media (min-width: 992px) {
    .mobile-nav-toggler {
      display: none !important;
    }
    
    .main-menu {
      display: block !important;
    }
  }
  
  /* Responsive Navigation */
  @media (max-width: 1200px) {
    .main-menu .navigation > li {
      margin: 0 10px;
    }
    
    .main-menu .navigation > li > a.nav-btn {
      padding: 12px 15px;
      font-size: 15px;
    }
  }
  
  @media (max-width: 991px) {
    .main-menu {
      display: none;
    }
    
    .mobile-nav-toggler {
      display: block;
    }
  }
  
  /* Active State */
  .main-menu .navigation > li.current > a.nav-btn,
  .main-menu .navigation > li.active > a.nav-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }
  
  /* Smooth Scrolling Enhancement */
  html {
    scroll-behavior: smooth;
  }
  
  /* Additional Dropdown Animation */
  .main-menu .navigation > li .dropdown-menu li {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  
  .main-menu .navigation > li:hover .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
  }
  
  .main-menu .navigation > li:hover .dropdown-menu li:nth-child(1) { transition-delay: 0.1s; }
  .main-menu .navigation > li:hover .dropdown-menu li:nth-child(2) { transition-delay: 0.15s; }
  .main-menu .navigation > li:hover .dropdown-menu li:nth-child(3) { transition-delay: 0.2s; }
  .main-menu .navigation > li:hover .dropdown-menu li:nth-child(4) { transition-delay: 0.25s; }

  /* ================================
   PURPLE SECTION HEADERS ONLY - GLOBAL
   ================================ */

/* Section Headers (h2) - Main section titles */
section h2,
.section h2,
.expertise-section h2,
.expertise-container h2,
.container h2,
.section--dark h2,
.section--light h2,
.expertise-section--dark h2,
.expertise-section--light h2 {
    color: #8e44ad !important;
    font-weight: 700;
    margin-bottom: 0.5em;
}

/* Specific section header selectors for different page layouts */
.expertise-page .expertise-container h2,
.expertise-page section h2 {
    color: #8e44ad !important;
}

/* Contact section headers only */
#contact h2,
.contact-info h2,
.contact-form h2 {
    color: #8e44ad !important;
}

/* Section headers in main content areas */
.auto-container h2,
.inner-container h2 {
    color: #8e44ad !important;
}

/* Override only h2 elements that are section headers */
h2:not(.card h2):not(.testimonial h2):not(.footer h2):not(.header h2) {
    color: #8e44ad !important;
}

/* Specific section header classes if you have them */
.section-title,
.section-heading,
.expertise-section-title {
    color: #8e44ad !important;
}


/* ================================
   HERO SECTION ONLY COLOR CHANGES
   ================================ */

/* Hero Background - Dark Navy Purple (First section only) */
.expertise-section--dark:first-of-type {
    background-color: #2d2a3d !important;
}

/* Alternative: Target by specific position */
/*
section:first-child.expertise-section--dark {
    background-color: #6a4c93 !important;
}
*/

/* Alternative: Create specific hero class */
/*
.expertise-section--hero {
    background-color: #6a4c93 !important;
}


/* Reduce empty space in expertise hero section */
.expertise-section {
    padding-top: 100px !important;
    padding-bottom: 50px !important;
    min-height: auto !important;
 }
 
 .expertise-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
 }
 
 .expertise-section h1 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
 }
 
 .expertise-section p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
 }
