/* ==========================================================================
   Prowise Advisory - Corporate Website Styles
   ========================================================================== */

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

:root {
    /* Brand Colors */
    --color-teal: #4DB8C4;
    --color-deep-teal: #3DA3B0;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-charcoal: #2A3A45;
    --color-slate: #6E7C89;
    --color-light-bg: #F5F7FA;
    --color-border: #E5E5E5;
    --color-gold: #D4AF37;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-charcoal);
    background-color: var(--color-white);
    overflow-x: hidden;
    padding-top: 70px; /* Space for fixed navbar */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--color-charcoal);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

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

a:hover {
    color: var(--color-deep-teal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

/* Override for inline images */
a img,
span img {
    display: inline-block;
}

/* Container */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
        padding: 0 4rem;
    }
}

/* Navigation */
.navbar {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0.5rem var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

@media (min-width: 1400px) {
    .nav-container {
        max-width: 1400px;
        padding: 0.5rem 3rem;
    }
}

@media (min-width: 1600px) {
    .nav-container {
        max-width: 1500px;
        padding: 0.5rem 4rem;
    }
}

.nav-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.nav-logo img {
    height: 51px;
    width: auto;
    max-width: 210px;
    display: block;
    object-fit: contain;
}

.nav-tagline {
    font-size: 0.9rem;
    color: var(--color-teal);
    line-height: 1.2;
    font-style: italic;
    font-weight: 600;
    white-space: nowrap;
    padding-left: 1rem;
    border-left: 2px solid var(--color-teal);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-link {
    color: var(--color-charcoal);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--color-light-bg);
    color: var(--color-teal);
}

.nav-special {
    background-color: var(--color-teal);
    color: var(--color-white) !important;
    white-space: nowrap;
}

.nav-special:hover {
    background-color: var(--color-deep-teal);
}

/* Login Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-charcoal);
    color: var(--color-white) !important;
}

.nav-login:hover {
    background-color: var(--color-teal);
}

.dropdown-menu {
    display: block;
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    min-width: 200px;
    padding: 0.5rem 0;
    z-index: 1000;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
}

/* Mega Menu Styles */
.mega-menu-item {
    position: relative;
}

.mega-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--color-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 2rem;
    min-width: 900px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.mega-menu-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.mega-menu-column h4 {
    color: var(--color-charcoal);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-teal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-menu-column h4 i {
    color: var(--color-teal);
    font-size: 1rem;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column ul li {
    margin-bottom: 0.5rem;
}

.mega-menu-column ul li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    color: var(--color-slate);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.mega-menu-column ul li a:hover {
    background: rgba(77, 184, 196, 0.1);
    color: var(--color-teal);
    transform: translateX(5px);
}

.mega-menu-column ul li a i {
    color: var(--color-teal);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    opacity: 0.8;
}

.mega-menu-column ul li a:hover i {
    opacity: 1;
}

/* Mega menu nested category styling */
.mega-menu-column ul li.mega-menu-category {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    padding: 0.5rem 1rem;
    color: var(--color-deep-teal);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-menu-column ul li.mega-menu-category i {
    color: var(--color-teal);
    font-size: 1rem;
}

.mega-menu-column ul li.mega-menu-nested a {
    padding-left: 2.5rem;
    font-size: 0.9rem;
    position: relative;
}

.mega-menu-column ul li.mega-menu-nested a:before {
    content: '→';
    position: absolute;
    left: 1rem;
    color: var(--color-teal);
    opacity: 0.4;
    font-size: 0.75rem;
}

.mega-menu-column ul li.mega-menu-nested a:hover:before {
    opacity: 1;
}

.nav-link .fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.mega-menu-item:hover .nav-link .fa-chevron-down {
    transform: rotate(180deg);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--color-charcoal);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: var(--color-light-bg);
    color: var(--color-teal);
}

.dropdown-menu li a i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-charcoal);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.hero-title-wrapper {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--color-teal);
    display: inline-block;
    width: auto;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 2.5rem;
    color: var(--color-teal);
    font-family: var(--font-display);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.75rem;
    color: var(--color-white);
    font-style: italic;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
}

.hero-description {
    font-size: 1.25rem;
    max-width: 850px;
    margin: 0 auto var(--spacing-md);
    color: var(--color-white);
    font-weight: 400;
    line-height: 1.8;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

/* Floating CRM Login Button */
.floating-crm-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-crm-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.floating-crm-btn i {
    font-size: 24px;
    margin-bottom: 2px;
}

.floating-crm-btn span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.floating-crm-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid #667eea;
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-crm-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-crm-btn i {
        font-size: 20px;
    }
    
    .floating-crm-btn span {
        font-size: 10px;
    }
}


.hero-scroll a {
    color: var(--color-teal);
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-deep-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-charcoal);
}

.btn-crm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--color-white);
    border: 2px solid #667eea;
    position: relative;
    overflow: hidden;
}

.btn-crm::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-crm:hover::before {
    left: 0;
}

.btn-crm:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    border-color: #764ba2;
}

.btn-crm i {
    margin-right: 8px;
}


.btn-light {
    background-color: var(--color-white);
    color: var(--color-teal);
}

.btn-light:hover {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.btn-full {
    width: 100%;
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--color-teal), var(--color-deep-teal));
    margin: 0 auto var(--spacing-sm);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-slate);
}

/* About Section */
.about-section {
    background-color: var(--color-white);
}

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

.about-card {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    border-radius: 50%;
    color: var(--color-white);
    font-size: 2rem;
}

/* Stats Section */
.stats-section {
    margin-top: var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    padding: var(--spacing-lg);
    border-radius: 12px;
    color: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--color-white);
}

.stat-label {
    font-size: 1.125rem;
    margin-top: 0.5rem;
    opacity: 1;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mission Vision Values */
.mission-section {
    background-color: var(--color-light-bg);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.mvv-card {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-top: 4px solid var(--color-teal);
}

.mvv-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-light-bg);
    border-radius: 50%;
    color: var(--color-teal);
    font-size: 1.75rem;
}

.values-list {
    list-style: none;
    text-align: left;
}

.values-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.values-list i {
    color: var(--color-teal);
}

/* Services Section */
.services-section {
    background-color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.service-card {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--color-teal);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--color-deep-teal);
}

.service-card-featured {
    border-left-width: 6px;
    background: linear-gradient(135deg, rgba(77, 184, 196, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.service-card-featured .service-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.view-details {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-teal);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.view-details i {
    transition: transform 0.3s ease;
}

.service-card:hover .view-details i {
    transform: translateX(5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    border-radius: 12px;
    color: var(--color-white);
    font-size: 1.75rem;
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
}

.service-features {
    list-style: none;
    margin-top: var(--spacing-sm);
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-slate);
}

.service-features i {
    color: var(--color-teal);
}

/* Main Service Categories */
.main-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.main-service-category {
    background: linear-gradient(135deg, #ffffff 0%, #fafcfd 100%);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid rgba(77, 184, 196, 0.15);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.main-service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-deep-teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.main-service-category:hover::before {
    transform: scaleX(1);
}

.main-service-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(77, 184, 196, 0.2);
    border-color: var(--color-teal);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9fa 100%);
}

.main-service-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.main-service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(77, 184, 196, 0.15), rgba(13, 115, 119, 0.08));
    border-radius: 16px;
    color: var(--color-teal);
    font-size: 2rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(77, 184, 196, 0.15);
}

.main-service-category:hover .main-service-icon {
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(77, 184, 196, 0.3);
}

.main-service-category h3 {
    font-size: 1.5rem;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.main-service-tagline {
    color: var(--color-slate);
    font-size: 0.875rem;
    line-height: 1.5;
    min-height: 42px;
}

.sub-services {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 1.25rem;
    flex-grow: 1;
    padding: 0;
}

.sub-service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(247, 250, 252, 0.6) 100%);
    border-radius: 8px;
    color: var(--color-charcoal);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid rgba(77, 184, 196, 0.15);
    border-left: 3px solid transparent;
}

.sub-service-item:hover {
    background: linear-gradient(90deg, rgba(77, 184, 196, 0.08) 0%, rgba(77, 184, 196, 0.12) 100%);
    border-color: var(--color-teal);
    border-left-color: var(--color-teal);
    transform: translateX(5px);
    color: var(--color-deep-teal);
    box-shadow: 0 3px 12px rgba(77, 184, 196, 0.2);
}

.sub-service-item i {
    color: var(--color-teal);
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.85;
    transition: var(--transition);
}

.sub-service-item:hover i {
    opacity: 1;
    transform: scale(1.15);
}

.sub-service-item span {
    flex-grow: 1;
    line-height: 1.5;
}

/* Risk Advisory nested sub-services */
.sub-service-category {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(77, 184, 196, 0.06), rgba(77, 184, 196, 0.02));
    border-radius: 10px;
    border: 1px solid rgba(77, 184, 196, 0.2);
    transition: var(--transition);
}

.sub-service-category:hover {
    background: linear-gradient(135deg, rgba(77, 184, 196, 0.10), rgba(77, 184, 196, 0.04));
    border-color: var(--color-teal);
    transform: translateX(2px);
}

.sub-service-category-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--color-deep-teal);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sub-service-category-header i {
    color: var(--color-teal);
    font-size: 1rem;
    flex-shrink: 0;
}

.sub-service-item-nested {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.5rem 0.75rem;
    padding-left: 1.75rem;
    background: transparent;
    border-radius: 6px;
    color: var(--color-charcoal);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
    font-size: 0.85rem;
    border-left: 2px solid transparent;
    position: relative;
    line-height: 1.4;
}

.sub-service-item-nested:before {
    content: '•';
    position: absolute;
    left: 0.85rem;
    color: var(--color-teal);
    opacity: 0.6;
    font-size: 1rem;
    font-weight: bold;
}

.sub-service-item-nested:hover {
    background: rgba(255, 255, 255, 0.8);
    border-left-color: var(--color-teal);
    transform: translateX(4px);
    color: var(--color-deep-teal);
}

.sub-service-item-nested:hover:before {
    opacity: 1;
    color: var(--color-deep-teal);
    transform: scale(1.2);
}

.sub-service-item-nested i {
    color: var(--color-teal);
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.75;
}

.sub-service-item-nested:hover i {
    opacity: 1;
    transform: scale(1.05);
}

.sub-service-item-nested span {
    flex-grow: 1;
}

/* Service Group Titles */
.service-group-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-deep-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--color-teal);
    display: flex;
    align-items: center;
}

.service-group-title:first-child {
    margin-top: 0;
}

.main-service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    align-self: stretch;
    margin-top: 1rem;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 12px rgba(77, 184, 196, 0.25);
}

.main-service-cta:hover {
    background: linear-gradient(135deg, var(--color-deep-teal), var(--color-teal));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 184, 196, 0.35);
}

.main-service-cta i {
    transition: transform 0.3s ease;
}

.main-service-cta:hover i {
    transform: translateX(5px);
}

/* Team Section */
.team-section {
    background-color: var(--color-light-bg);
}

.team-intro {
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-slate);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.team-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    height: 350px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-photo-placeholder {
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 3rem;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}

/* Individual photo positioning - minimal head space, half body visible */
.team-card:has(img[src*="jigar-salot"]) .team-photo img {
    object-position: center 8%;
}

.team-card:has(img[src*="devanan-palyekar"]) .team-photo img {
    object-position: center 10%;
}

.team-card:has(img[src*="viraj-ranade"]) .team-photo img {
    object-position: center 9%;
}

.team-card:has(img[src*="ruchita-parsekar"]) .team-photo img {
    object-position: center 8%;
}

/* Ensure other team members also look good */
.team-card:has(img[src*="samridhi-bhansali"]) .team-photo img {
    object-position: center 12%;
}

.team-card:has(img[src*="Fppm4iOx"]) .team-photo img {
    object-position: center 5%; /* Samridhi - new photo */
}

.team-card:has(img[src*="saurabh-bhansali"]) .team-photo img {
    object-position: center 12%;
}

.team-card:has(img[src*="shahruk-ghori"]) .team-photo img {
    object-position: center 10%;
}

.team-card:has(img[src*="prem-shah"]) .team-photo img {
    object-position: center 10%;
}

.team-info {
    padding: var(--spacing-md);
    text-align: center;
}

.team-title {
    color: var(--color-teal);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-description {
    color: var(--color-slate);
    margin-bottom: var(--spacing-sm);
}

.team-qualifications {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.qualification-badge,
.qual-badge {
    background-color: var(--color-teal);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Team Filter Buttons */
.team-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: white;
    border: 2px solid var(--color-teal);
    color: var(--color-teal);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: var(--color-teal);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 115, 119, 0.2);
}

.filter-btn.active {
    background: var(--color-teal);
    color: white;
    box-shadow: 0 4px 12px rgba(13, 115, 119, 0.3);
}

/* Team Department Badge */
.team-department {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #0d7377 0%, #14FFEC 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-department i {
    font-size: 0.9rem;
}

/* Team Experience Badge */
.team-experience-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(13, 115, 119, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Team Link Styling */
.team-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-image {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Individual photo positioning for local files */
.team-image img[src*="samridhi-bhansali"] {
    object-position: center 10%; /* Samridhi - Show more head */
}

.team-image img[src*="saurabh-bhansali"] {
    object-position: center 15%; /* Saurabh */
}

.team-image img[src*="devendra-raikwar"] {
    object-position: center 20%; /* Devendra - new photo */
}

.team-image img[src*="jigar-salot"] {
    object-position: center 20%; /* Jigar */
}

.team-image img[src*="ruchita-parsekar"] {
    object-position: center 25%; /* Ruchita */
}

.team-image img[src*="viraj-ranade"] {
    object-position: center 20%; /* Viraj */
}

.team-image img[src*="prem-shah"] {
    object-position: center 30%; /* Prem - Show full face */
}

.team-image img[src*="devanan-palyekar"] {
    object-position: center 20%; /* Devanan */
}

.team-image img[src*="shahruk-ghori"] {
    object-position: center 15%; /* Shahruk */
}

.team-image img[src*="sumit-bhinge"] {
    object-position: center 20%; /* Sumit */
}

.team-image img[src*="WQ55qNrE"] {
    object-position: center 20%; /* Sumit */
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13, 115, 119, 0.95), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

/* Team Contact Button */
.team-contact-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #0d7377 0%, #14FFEC 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(13, 115, 119, 0.2);
}

.team-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 115, 119, 0.3);
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-values {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.team-values h3 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

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

.value-item i {
    font-size: 2rem;
    color: var(--color-teal);
    margin-bottom: 0.5rem;
}

.value-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.value-item p {
    font-size: 0.875rem;
    color: var(--color-slate);
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--color-white);
}

.achievements-highlight {
    margin-bottom: var(--spacing-lg);
}

.achievement-banner {
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.achievement-text h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.achievement-text p {
    opacity: 0.9;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.portfolio-card {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.portfolio-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-light-bg);
    border-radius: 12px;
    color: var(--color-teal);
    font-size: 1.5rem;
}

.portfolio-stats {
    display: flex;
    justify-content: space-around;
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 2px solid var(--color-border);
}

.portfolio-stats span {
    text-align: center;
    font-size: 0.875rem;
}

.portfolio-stats strong {
    display: block;
    font-size: 1.25rem;
    color: var(--color-teal);
}

.industries-section {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.industries-section h3 {
    margin-bottom: var(--spacing-md);
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.industry-tag {
    background-color: var(--color-light-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.industry-tag:hover {
    background-color: var(--color-teal);
    color: var(--color-white);
    transform: translateY(-2px);
}

.industry-tag i {
    font-size: 1.125rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-charcoal), #1a252e);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(77, 184, 196, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info h3 {
    margin-bottom: var(--spacing-md);
}

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.25rem;
    color: var(--color-charcoal);
}

.contact-details p {
    color: var(--color-slate);
    margin-bottom: 0.25rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: var(--color-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-deep-teal);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    margin-bottom: var(--spacing-md);
}

/* Map Section */
.map-section {
    margin-top: var(--spacing-lg);
}

.map-section h3 {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-charcoal);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal);
}

/* Footer */
.footer {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-section h4 {
    color: var(--color-teal);
    margin-bottom: var(--spacing-sm);
}

.footer-logo {
    background: transparent;
}

.footer-logo img {
    max-width: 280px;
    height: auto;
    margin-bottom: var(--spacing-sm);
    display: block;
    background: transparent;
}

.footer-tagline {
    color: var(--color-teal);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--color-teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-links {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .main-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Mega Menu Responsive */
    .mega-menu {
        min-width: 700px;
        left: 0;
        transform: translateX(0) translateY(-10px);
    }
    
    .mega-menu-item:hover .mega-menu {
        transform: translateX(0) translateY(0);
    }
    
    .mega-menu-content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    body {
        padding-top: 60px; /* Match mobile navbar height */
    }
    
    .nav-logo img {
        height: 36px;
        max-width: 150px;
    }
    
    .nav-tagline {
        font-size: 0.75rem;
        padding-left: 0.75rem;
    }
    
    .nav-container {
        min-height: 60px;
    }
    
    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        padding: 120px var(--spacing-lg) var(--spacing-xl);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }
    
    /* Mobile Nav Items */
    .nav-menu li {
        margin: 0;
        padding: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.4s; }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.25rem;
        font-weight: 500;
        color: var(--color-charcoal);
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background-color: var(--color-gold);
        color: var(--color-white);
        transform: translateX(10px);
    }
    
    /* Mobile Dropdown */
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        background: var(--color-light-bg);
        border-radius: 8px;
        padding: 0.5rem;
        margin-top: 0.5rem;
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border-radius: 6px;
        display: block;
    }
    
    .dropdown-menu li a:hover {
        background-color: var(--color-white);
    }
    
    /* Navbar stays visible above menu */
    .navbar {
        z-index: 1000;
        position: fixed;
    }
    
    /* Team Filter Mobile Responsive */
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .team-department {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    
    .team-experience-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .team-contact-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    /* Mobile Mega Menu */
    .mega-menu-item {
        width: 100%;
    }
    
    .mega-menu {
        position: static;
        transform: none;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        box-shadow: none;
        padding: 0;
        background: var(--color-light-bg);
        border-radius: 12px;
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
    }
    
    .mega-menu-item.active .mega-menu {
        max-height: 3000px;
        padding: 1.5rem;
    }
    
    .mega-menu-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mega-menu-column {
        width: 100%;
        text-align: left;
        padding: 1rem;
        background: var(--color-white);
        border-radius: 8px;
    }
    
    .mega-menu-column h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        color: var(--color-gold);
    }
    
    .mega-menu-column ul li a {
        padding: 0.75rem 0.5rem;
        font-size: 0.95rem;
        display: block;
        border-radius: 6px;
        transition: all 0.2s ease;
    }
    
    .mega-menu-column ul li a:hover {
        background-color: var(--color-light-bg);
        padding-left: 1rem;
    }
    
    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mega-menu-column h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .mega-menu-column ul li a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .mega-menu-item:hover .mega-menu {
        transform: none;
    }
    
    /* Main Service Categories Mobile */
    .main-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .main-service-category {
        padding: 1.75rem 1.5rem;
    }
    
    .main-service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .main-service-category h3 {
        font-size: 1.25rem;
    }
    
    .main-service-tagline {
        font-size: 0.85rem;
    }
    
    .sub-service-item {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        padding: 0.75rem 2rem;
        background-color: var(--color-light-bg);
        margin: 0.25rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .achievement-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .nav-logo img {
        height: 65px;
        max-width: 240px;
    }
    
    .nav-tagline {
        font-size: 0.7rem;
        padding-left: 0;
        border-left: none;
    }
    
    .nav-container {
        min-height: 70px;
        padding: 0.5rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.125rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px;
}

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

/* Legal Pages Styles */
.legal-section {
    padding: 4rem 0;
    background-color: var(--color-white);
    min-height: calc(100vh - 200px);
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-border);
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.last-updated {
    color: var(--color-slate);
    font-size: 0.95rem;
    font-style: italic;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-intro {
    background: var(--color-light-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-teal);
    margin-bottom: 3rem;
}

.legal-intro p {
    font-size: 1.1rem;
    color: var(--color-charcoal);
    margin: 0;
}

.legal-section-block {
    margin-bottom: 3rem;
}

.legal-section-block h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-teal);
}

.legal-section-block h3 {
    font-size: 1.25rem;
    color: var(--color-teal);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section-block p {
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.legal-section-block ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--color-charcoal);
}

.legal-section-block ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.legal-section-block strong {
    color: var(--color-charcoal);
    font-weight: 600;
}

.contact-info {
    background: var(--color-light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--color-teal);
    font-weight: 500;
}

.legal-footer {
    background: var(--color-light-bg);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
}

.legal-footer p {
    font-size: 1.05rem;
    color: var(--color-charcoal);
    margin: 0.5rem 0;
}

.legal-notice {
    background: #FFF9E6;
    border: 2px solid #FFD700;
    border-radius: 8px;
}

.legal-notice p:first-child {
    color: #D97706;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section {
        padding: 2rem 0;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
    
    .legal-section-block h2 {
        font-size: 1.5rem;
    }
    
    .legal-section-block ul {
        margin-left: 1.5rem;
    }
}

/* Profile Pages Styles */
.profile-section {
    padding: 4rem 0;
    background-color: var(--color-light-bg);
    min-height: 100vh;
}

.back-button {
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-white);
    color: var(--color-charcoal);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-back:hover {
    background-color: var(--color-teal);
    color: var(--color-white);
    transform: translateX(-5px);
}

.profile-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.profile-photo-large {
    width: 300px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.profile-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Specific positioning for profile photos */
.profile-photo-large img[src*="Fppm4iOx"] {
    object-position: center 10%; /* Samridhi - Show more head */
}

.profile-photo-large img[src*="Uql9GgUt"] {
    object-position: center 20%;
}

.profile-photo-large img[src*="AbnVzCuX"] {
    object-position: center 20%; /* Devendra */
}

.profile-photo-large img[src*="WQ55qNrE"] {
    object-position: center 20%; /* Sumit */
}

.profile-intro h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.5rem;
    color: var(--color-teal);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.qualification-badge.large {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
}

.profile-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-charcoal);
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--color-teal);
}

.profile-content {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.profile-section-block {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}

.profile-section-block:last-child {
    border-bottom: none;
}

.profile-section-block h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-charcoal);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--color-teal);
    width: fit-content;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-charcoal);
}

.experience-timeline {
    position: relative;
    padding-left: 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-left: 0;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    bottom: -25px;
    width: 2px;
    background: var(--color-border);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding-top: 0.25rem;
}

.timeline-content h3 {
    color: var(--color-charcoal);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--color-slate);
    line-height: 1.8;
    font-size: 1.05rem;
}

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

.competency-card {
    padding: 2rem;
    background: var(--color-light-bg);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.competency-card:hover {
    border-color: var(--color-teal);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.competency-card i {
    font-size: 2.5rem;
    color: var(--color-teal);
    margin-bottom: 1rem;
}

.competency-card h3 {
    font-size: 1.25rem;
    color: var(--color-charcoal);
    margin-bottom: 0.75rem;
}

.competency-card p {
    color: var(--color-slate);
    font-size: 0.95rem;
}

.achievements-list {
    list-style: none;
    padding: 0;
}

.achievements-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--color-light-bg);
    border-radius: 8px;
    transition: var(--transition);
}

.achievements-list li:hover {
    background: rgba(77, 184, 196, 0.1);
}

.achievements-list i {
    color: var(--color-teal);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.qualifications-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.qualification-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--color-light-bg);
    border-radius: 12px;
}

.qual-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.qual-details h3 {
    font-size: 1.5rem;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.qual-details p {
    color: var(--color-slate);
}

.industries-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.industry-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-light-bg);
    border-radius: 25px;
    color: var(--color-charcoal);
    font-weight: 500;
    transition: var(--transition);
}

.industry-tag:hover {
    background: var(--color-teal);
    color: var(--color-white);
}

.industry-tag i {
    color: var(--color-teal);
}

.industry-tag:hover i {
    color: var(--color-white);
}

.profile-cta {
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    color: var(--color-white);
}

.profile-cta h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.profile-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Responsive Profile Pages */
@media (max-width: 1024px) {
    .profile-header {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
    
    .profile-photo-large {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .profile-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .profile-photo-large {
        margin: 0 auto;
        width: 200px;
        height: 200px;
    }
    
    .profile-intro h1 {
        font-size: 2rem;
    }
    
    .profile-content {
        padding: 2rem 1.5rem;
    }
    
    .timeline-item {
        padding-left: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .timeline-content {
        text-align: center;
    }
    
    .profile-section-block h2 {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* Make team cards clickable */
.team-card {
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Service Detail Pages */
.service-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-charcoal);
    background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    padding: 6rem 0 4rem;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(42, 58, 69, 0.50) 0%, rgba(26, 37, 46, 0.60) 100%);
    z-index: 0;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 1;
    z-index: 0;
}

/* Advisory Services - Risk Management & Consulting Theme */
body[data-service="advisory"] .service-hero {
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920&q=80');
}

/* Tax & Regulatory Compliances - Financial Workspace Theme */
body[data-service="tax"] .service-hero {
    background-image: url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?w=1920&q=80');
}

/* Fund Raising - Investment & VC Theme */
body[data-service="funding"] .service-hero {
    background-image: url('https://images.unsplash.com/photo-1551836022-deb4988cc6c0?w=1920&q=80');
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.service-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--color-white);
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.service-breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
}

.service-breadcrumb a:hover {
    color: var(--color-teal);
}

.service-breadcrumb i {
    font-size: 0.75rem;
}

.service-hero-content h1 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.service-hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Service Overview Section */
.service-overview {
    background-color: var(--color-white);
}

.overview-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.overview-text h2 {
    color: var(--color-charcoal);
    margin-bottom: 1.5rem;
}

.overview-text .lead-text {
    font-size: 1.2rem;
    color: var(--color-charcoal);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.overview-text p {
    color: var(--color-slate);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.key-benefits {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--color-light-bg);
    border-radius: 12px;
    border-left: 4px solid var(--color-teal);
}

.key-benefits h3 {
    color: var(--color-charcoal);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.key-benefits h3 i {
    color: var(--color-teal);
    font-size: 1.5rem;
}

.key-benefits ul {
    list-style: none;
}

.key-benefits li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-charcoal);
    font-weight: 500;
}

.key-benefits li i {
    color: var(--color-teal);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--color-teal);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.75rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.stat-label {
    color: var(--color-slate);
    font-weight: 600;
}

/* Core Services Section */
.core-services-section {
    background: var(--color-light-bg);
}

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

.core-service-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 5px solid var(--color-teal);
    text-decoration: none;
    color: inherit;
    display: block;
}

.core-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.core-service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    border-radius: 12px;
    color: var(--color-white);
    font-size: 2rem;
}

.core-service-card h3 {
    color: var(--color-charcoal);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.core-service-card p {
    color: var(--color-slate);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.core-service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.core-service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-slate);
}

.core-service-features i {
    color: var(--color-teal);
    font-size: 0.875rem;
}

.learn-more {
    color: var(--color-teal);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.learn-more i {
    transition: transform 0.3s ease;
}

.core-service-card:hover .learn-more i {
    transform: translateX(5px);
}

/* Service Offerings Grid (Tax & Funding Pages) */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.offering-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 5px solid var(--color-teal);
}

.offering-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.offering-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-teal), var(--color-deep-teal));
    border-radius: 12px;
    color: var(--color-white);
    font-size: 2rem;
}

.offering-card h3 {
    color: var(--color-charcoal);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.offering-card p {
    color: var(--color-slate);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.offering-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.offering-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-slate);
}

.offering-features i {
    color: var(--color-teal);
    font-size: 0.875rem;
}

/* Service Details Section */
.service-details {
    background: var(--color-white);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-charcoal);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: var(--color-teal);
    font-size: 2rem;
}

/* Approach Section */
.approach-section {
    background: var(--color-white);
}

.approach-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.approach-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--color-border);
}

.approach-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Methodology Section (Tax & Funding Pages) */
.methodology-section {
    background: var(--color-white);
}

.methodology-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.methodology-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--color-border);
}

.methodology-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-teal);
    font-family: var(--font-display);
    flex-shrink: 0;
    width: 80px;
    opacity: 0.3;
}

.step-content h3 {
    color: var(--color-charcoal);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.step-content p {
    color: var(--color-slate);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Industries Section */
.industries-section {
    background: var(--color-light-bg);
}

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

.industry-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.industry-card:hover {
    border-color: var(--color-teal);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.industry-card i {
    font-size: 3rem;
    color: var(--color-teal);
    margin-bottom: 1rem;
}

.industry-card h3 {
    color: var(--color-charcoal);
    font-size: 1.125rem;
}

/* Responsive Design for Service Pages */
@media (max-width: 992px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .core-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-hero-description {
        font-size: 1.1rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .approach-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        font-size: 2rem;
        width: auto;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(77, 184, 196, 0.2);
}

.view-profile {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.view-profile span {
    color: var(--color-teal);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.team-card:hover .view-profile span {
    gap: 1rem;
}

.team-card:hover .view-profile span i {
    transform: translateX(5px);
}