/* Font Face Declarations */
@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-Regular.otf?v=1.0.3') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-Italic.otf?v=1.0.3') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-Light.otf?v=1.0.3') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-LightItalic.otf?v=1.0.3') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-Medium.otf?v=1.0.3') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-MediumItalic.otf?v=1.0.3') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-Bold.otf?v=1.0.3') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-BoldItalic.otf?v=1.0.3') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-Black.otf?v=1.0.3') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../assets/fonts/Satoshi-BlackItalic.otf?v=1.0.3') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

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

:root {
    --primary-blue: #1941D4;
    --primary-black: #151516;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e9ecef;
}

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Base styles (mobile first) */
.container {
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-black);
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.082), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-black) 0%, #000000 50%, var(--primary-blue) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.4);
    color: var(--white);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
    transition: transform 0.1s ease;
}

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

.btn-secondary:hover {
    background-color: #0f2bb8;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-black);
}

/* Header */
.header {
    background-color: var(--white);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0.5rem auto 1rem auto;
    border-radius: 0.5rem;
    max-width: calc(100% - 2rem);
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-img {
    height: 2rem;
    margin-top: 0.5rem;
    width: auto;
    max-width: 160px;
}

.nav {
    display: none;
}

/* Hide mobile nav on desktop */
.mobile-nav {
    display: none;
}

/* Mobile Navigation - Show on mobile */
@media (max-width: 767px) {
    .nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-blue);
}

.nav-list a:focus {
    outline: none;
}

/* Modern Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

    .dropdown-toggle::after {
        content: '';
        width: 12px;
        height: 12px;
        background-image: url('../assets/images/Dropdown arrow.svg?v=1.0.3');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: all 0.3s ease;
        margin-left: 0.3rem;
        display: inline-block;
        vertical-align: middle;
        position: relative;
        top:2px;
    }

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-15px) scale(0.95);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-width: 280px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    list-style: none;
    padding: 0.75rem 0;
 
    margin: 0;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown:hover .dropdown-menu::before {
    opacity: 1;
}

.dropdown-menu li {
    margin: 0;
    position: relative;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, var(--primary-blue), #60a5fa);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.dropdown-menu a:hover::before {
    width: 100%;
}

.dropdown-menu a:hover {
    color: var(--white);
    padding-left: 1.5rem;
    transform: translateX(2px);
}

.dropdown-menu a::after {
    content: '→';
    position: absolute;
    right: 1.25rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
}

.dropdown-menu a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li:first-child a {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.dropdown-menu li:last-child a {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Nested Submenu Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-submenu-toggle::after {
    content: '';
    width: 12px;
    height: 12px;
    background-image: url('../assets/images/Dropdown arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) invert(1); /* Makes the arrow white for dark backgrounds */
}

.dropdown-submenu:hover .dropdown-submenu-toggle::after {
    transform: rotate(90deg);
    opacity: 1;
}

.dropdown-submenu-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-width: 220px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-left: 8px;
}

.dropdown-submenu:hover .dropdown-submenu-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}


.dropdown-submenu-menu li {
    margin: 0;
    position: relative;
}

.dropdown-submenu-menu a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-submenu-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, var(--primary-blue), #60a5fa);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.dropdown-submenu-menu a:hover::before {
    width: 100%;
}

.dropdown-submenu-menu a:hover {
    color: var(--white);
    padding-left: 1.75rem;
    transform: translateX(3px);
}

.dropdown-submenu-menu a::after {
    content: '→';
    position: absolute;
    right: 1.25rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8rem;
}

.dropdown-submenu-menu a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.dropdown-submenu-menu li:last-child a {
    border-bottom: none;
}

.cta-button {
    display: none;
    background-color: var(--primary-black);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 0.25rem;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Show CTA button on desktop */
@media (min-width: 768px) {
    .cta-button {
        display: block;
    }
    
    a.cta-button {
        display: inline-block;
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.4s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--primary-black) 0%, #000000 50%, var(--primary-blue) 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 15px rgba(59, 130, 246, 0.3);
    color: var(--white);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(-1px) scale(1.01);
    transition: transform 0.1s ease;
}

/* CTA Button as Link */
a.cta-button {
    text-decoration: none;
    color: var(--white);
    display: none; /* Inherit the base display: none */
}

a.cta-button:hover {
    text-decoration: none;
    color: var(--white);
}

a.cta-button:focus {
    outline: none;
    text-decoration: none;
    color: var(--white);
}

a.cta-button:active {
    text-decoration: none;
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
    display: none;
}

/* Show mobile menu toggle on mobile */
@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background-color: var(--primary-black);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
        position: relative;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-radius: 0.5rem;
        z-index: 1001;
        display: block;
        overflow: visible;
    }
    
    .mobile-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .cta-button {
        display: none !important;
    }
    
    a.cta-button {
        display: none !important;
    }
    
    .mobile-nav-list {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        list-style: none;
    }
    
    .mobile-nav-list li {
        margin: 0;
        padding: 0;
    }
    
    .mobile-nav-list a {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-list a:hover {
        background-color: var(--light-gray);
        color: var(--primary-blue);
    }
    
    .mobile-nav-list a:focus {
        outline: none;
    }
    
    /* Mobile Dropdown Styles */
    .mobile-dropdown-menu {
        display: none;
        list-style: none;
        margin: 0;
        padding: 0;
        background-color: var(--light-gray);
    }
    
    .mobile-dropdown-menu.active {
        display: block;
    }
    
    .mobile-dropdown-menu li {
        margin: 0;
        padding: 0;
    }
    
    .mobile-dropdown-menu a {
        display: block;
        padding: 0.75rem 2rem;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 400;
        transition: all 0.3s ease;
        background-color: var(--light-gray);
    }
    
    .mobile-dropdown-menu a:hover {
        background-color: var(--white);
        color: var(--primary-blue);
    }
    
    /* Mobile Dropdown Toggle Arrow */
    .mobile-dropdown-toggle::after {
        content: '';
        width: 12px;
        height: 12px;
        background-image: url('../assets/images/Dropdown arrow.svg?v=1.0.3');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: all 0.3s ease;
        margin-left: 0.5rem;
        display: inline-block;
        vertical-align: middle;
    }
    
    .mobile-dropdown.active .mobile-dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    /* Mobile Submenu Styles */
    .mobile-submenu-menu {
        display: none;
        list-style: none;
        margin: 0;
        padding: 0;
        background-color: var(--white);
    }
    
    .mobile-submenu-menu.active {
        display: block;
    }
    
    .mobile-submenu-menu li {
        margin: 0;
        padding: 0;
    }
    
    .mobile-submenu-menu a {
        display: block;
        padding: 0.5rem 3rem;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 400;
        transition: all 0.3s ease;
        background-color: var(--white);
    }
    
    .mobile-submenu-menu a:hover {
        background-color: var(--light-gray);
        color: var(--primary-blue);
    }
    
    /* Mobile Submenu Toggle Arrow */
    .mobile-submenu-toggle::after {
        content: '';
        width: 12px;
        height: 12px;
        background-image: url('../assets/images/Dropdown arrow.svg?v=1.0.3');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: all 0.3s ease;
        margin-left: 0.5rem;
        display: inline-block;
        vertical-align: middle;
    }
    
    .mobile-submenu.active .mobile-submenu-toggle::after {
        transform: rotate(180deg);
    }
    
    /* Hide desktop dropdowns on mobile - use mobile menu instead */
    .dropdown-menu {
        display: none !important;
    }
    
    .dropdown-submenu-menu {
        display: none !important;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Old mobile submenu styles removed - using separate mobile menu */
    
    /* Mobile hero section adjustments */
    .hero-title {
        font-size: 2.7rem !important;
        margin-top: 7rem !important;
        line-height: 1 !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-top: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        margin-bottom: 2rem !important;
        align-items: center !important;
        justify-content: center !important;
        display: flex !important;
    }
    
    .hero-buttons .btn {
        min-width: auto !important;
        width: 80% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        margin-bottom: 1rem !important;
    }
    
    .trust-badges p {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .clients-logos {
        max-width: 100% !important;
    }

    /* Mobile trust card adjustments */
    .trust-card {
        margin-top: 0.5rem !important;
        max-width: 280px;
        position: relative !important;
        transform: none !important;
        left: auto !important;
        opacity: 1 !important;
        z-index: 1 !important;
        padding: 1rem;
    }
    
    /* More specific mobile override for gap */
    .trust-section .trust-content .trust-cards .trust-card {
        margin-top: 0.5rem !important;
    }
    
    .trust-section .trust-content .trust-cards .trust-card.active {
        margin-top: 0.5rem !important;
    }
    
    .trust-card h3 {
        font-size: 0.5rem !important;
        font-weight: 500 !important;
    }
    
    .trust-icon {
        font-size: 1rem !important;
        width: 1.5rem !important;
        height: 1.5rem !important;
    }
    
    .trust-cards {
        height: auto;
    
        max-width: 100%;
        position: relative;
    }
    
    .trust-card.active {
        transform: none !important;
        width: 100% !important;
        max-width: 280px !important;
        position: relative !important;
        left: auto !important;
    }
    
    
    .trust-card.top,
    .trust-card.bottom {
        display: none;
    }
    
    /* Mobile hero bottom bar sliding animation */
    .bottom-features {
        flex-direction: row !important;
        gap: 0 !important;
        white-space: nowrap;
        animation: slideFeatures 12s linear infinite;
        width: 200%;
    }
    
    .feature-item {
        flex-shrink: 0;
        width: 50%;
        padding: 0 1rem;
        justify-content: center !important;
    }
    
    /* Show duplicate items on mobile */
    .mobile-duplicate {
        display: flex !important;
    }
    
    @keyframes slideFeatures {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
    
    /* Mobile About Section Heading Optimizations */
    .partner-section .section-title {
        font-size: 2.3rem !important;
        margin-top: 2.5rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.1 !important;
        letter-spacing: -0.01em !important;
        padding: 0 1rem !important;
    }
    
    /* Hide line breaks in section title on mobile */
    .partner-section .section-title br {
        display: none !important;
    }
    
    .partner-section .section-subtitle {
        font-size: 1.2rem !important;
        line-height: 1.1 !important;
        margin-bottom: 2rem !important;
        font-weight: 500 !important;
        padding: 0 1.5rem !important;
        max-width: 100% !important;
    }
    
    /* Hide line breaks in section subtitle on mobile */
    .partner-section .section-subtitle br {
        display: none !important;
    }
    
    /* Mobile Scrolling Text Section Optimizations */
    .scrolling-text {
        font-size: 2.5rem !important;
        animation: scroll 15s linear infinite !important;
        letter-spacing: -0.02em !important;
    }
    
    .scrolling-text span {
        margin-right: 2.5rem !important;
    }
    
    /* Mobile Services Section Heading Optimizations */
    .services-section .section-title {
        font-size: 2.3rem !important;
        line-height: 1.1 !important;
        letter-spacing: -0.01em !important;
    }
    
    /* Mobile Hero Background Overlay Optimizations */
    .hero::before {
        opacity: 0.3 !important;
        background-size: contain !important;
        background-position: center center !important;
        animation: none !important;
        transform: none !important;
    }
    
    /* Ensure overlay is visible on mobile */
    .hero::before {
        display: block !important;
        visibility: visible !important;
    }
    
    /* Move mobile header up */
    .header {
        margin: 0rem auto 1rem auto !important;
    }
    
    /* Mobile Trust Section Heading Optimizations */
    .trust-section .trust-title {
        font-size: 2.3rem !important;
        line-height: 1.1 !important;
        letter-spacing: -0.01em !important;
    }
    
    .trust-section .trust-subtitle {
        font-size: 1.2rem !important;
        line-height: 1.1 !important;
        font-weight: 500 !important;
        padding: 0 1.5rem !important;
    }
    
    /* Increase font size for active cards on mobile */
    .trust-section .trust-card.active h3 {
        font-size: 1.4rem !important;
        font-weight: 600 !important;
    }
    
 
    
    .testimonials-section .section-subtitle br {
        display: none !important;
    }
    
    /* Reduce section spacing for mobile */
    .partner-section,
    .services-section,
    .trust-section,
    .testimonials-section,
    .faq-section {
        padding: 2rem 0 !important;
    }
    
    .scrolling-text-section {
        margin-top: 2rem !important;
        padding: 1.5rem 0 !important;
    }
    
    .testimonials-section {
        margin-top: 2rem !important;
    }
    
    .section-title {
        margin-top: 2rem !important;
    }
    
    /* Reduce trust section top space for mobile */
    .trust-section {
        margin-top: 3rem !important;
    }
}

/* Hero Section */
.hero {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/Hero Background Overlay.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    animation: overlayFadeIn 2s ease-out 0.5s forwards, overlayFloat 8s ease-in-out 3s infinite;
}

@keyframes overlayFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.1) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes overlayFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}


.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    animation: contentSlideUp 1.5s ease-out 1s both;
}

@keyframes contentSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
margin-top: 7rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 0.8;
    letter-spacing: -0.1rem;
    text-align: center;
}

.hero-title .line1,
.hero-title .line2,
.hero-title .line3 {
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
    line-height: 1.1;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-buttons .btn {
    min-width: 200px;
}

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

.trust-badges p {
    font-size: 0.875rem;
    margin-bottom: -2rem;
    margin-top: 4rem;
    opacity: 0.8;
}

.client-logos {
    margin-top: 0rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clients-logos {
    max-width: 50%;
    height: auto;
    margin-bottom: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.clients-logos:hover {
    opacity: 1;
}

.hero-bottom-bar {
    background-color: var(--primary-black);
    padding: 1rem 0;
    margin-top: 1.5rem;
    margin-bottom: -30px;
}

.bottom-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--white);
}

/* Hide duplicate items on desktop */
.mobile-duplicate {
    display: none;
}

.bullet-signal {
    position: relative;
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: 50%;
    animation: signal-pulse 2s infinite;
}

.feature-item:nth-child(1) .bullet-signal {
    animation-delay: 0s;
}

.feature-item:nth-child(2) .bullet-signal {
    animation-delay: 0.3s;
}

.feature-item:nth-child(3) .bullet-signal {
    animation-delay: 0.6s;
}

.bullet-signal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: signal-ripple 2s infinite;
}

.bullet-signal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: signal-ripple 2s infinite 0.5s;
}

@keyframes signal-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes signal-ripple {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3);
    }
}

/* Partner Section */
.partner-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.partner-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-card {
    padding: .5rem;
    border-radius: 0 !important;
    text-align: left;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.blue-card {
    background-color: var(--primary-blue);
    color: var(--white);
}

.black-card {
    background-color: var(--primary-black);
    color: var(--white);
}

.card-title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 0;
    margin-top: -1rem;
    color: var(--white);
    text-align: left;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: rem 0;
    flex-grow: 1;
}

.problem-icon {
    width: 180px;
    height: 180px;
    opacity: 1;
    border-radius: 0;
    background: none;
    border: none;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.problem-icon:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.card-description {
    font-size: 1.125rem;
    line-height: 0.9rem;
    color: var(--white);
    margin-bottom: -1rem;
    
    opacity: 0.9;
    text-align: left;
    margin-top: 0;
    position: relative;
}

.card-description::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: -2.5rem;
    right: -2.5rem;
    width: calc(100% + 5rem);
    height: 1px;
    background-color: var(--white);
    opacity: 0.3;
}

/* Scrolling Text Section */
.scrolling-text-section {
    background-color: var(--primary-black);
    padding: 2rem 0;
    margin-top: 5rem;
    overflow: hidden;
    position: relative;
}

.scrolling-text-container {
    width: 100%;
    overflow: hidden;
}

.scrolling-text {
    display: flex;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--white);
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.scrolling-text span {
    margin-right: 4rem;
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-top: 4rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1;
    opacity: 0.8;
}

/* Partner Section */
.partner-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.partner-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.partner-card {
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.blue-card {
    background-color: var(--primary-blue);
}

.black-card {
    background-color: var(--primary-black);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 0;
}

.card-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: var(--white);
}

.partner-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.partner-card p {
    opacity: 0.9;
    line-height: 1.2;
    margin-bottom: -1rem;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: var(--white);
    color: var(--primary-black);
}

.services-section .section-title {
    color: var(--primary-black);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card {
    padding: 2.5rem;
    border-radius: 0;
    text-align: left;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, background-image 0.3s ease;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    background-image: none;
    background-color: var(--primary-black);
    transform: none;
    text-decoration: none;
    color: inherit;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: none;
    background-color: var(--primary-blue);
    background-image: url('../assets/images/Problem iocn 1.svg');
    background-size: 200px 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        background-size: 200px 200px;
        opacity: 0.8;
    }
    50% {
        background-size: 220px 220px;
        opacity: 1;
    }
}

/* Services section cards - all black by default */
.services-section .service-card {
    background-color: var(--primary-black) !important;
    transform: none !important;
    box-shadow: none !important;
}

.services-section .service-card:hover {
    background-color: var(--primary-blue) !important;
    transform: none !important;
    box-shadow: none !important;
}

.services-section .service-card:focus {
    outline: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.services-section .service-card:active {
    outline: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Remove right border from last column cards */
.service-card:nth-child(3n) {
    border-right: none;
}

/* Remove bottom border from last row cards */
.service-card:nth-child(n+4) {
    border-bottom: none;
}

.service-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--white);
}

.service-card h3 {
    font-size: 1.7rem;
    margin-bottom: 0rem;
    margin-top: 9rem;
    color: var(--white);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.service-card p {
    opacity: 0.9;
    font-size: 1rem;
    color: var(--white);
    line-height: 1.4;
    max-width: 75%;
    margin-top: .5rem;
    margin-bottom: 0rem;
    position: relative;
    z-index: 2;
}

/* Trust Section */
.trust-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0f2bb8 100%);
    color: var(--white);
    margin-top: 6rem;
}

.trust-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    text-align: center;
}

.trust-text {
    flex: 1;
    padding-left: 0;
    order: 2;
}

.trust-title {
    font-size: 2.5rem !important;
    font-weight: 600 !important;
    margin-top: 2rem !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 1.5rem !important;
    color: var(--white) !important;
    text-align: center !important;
}

.trust-subtitle {
    font-size: 1.125rem !important;
    line-height: 1.2 !important;
    opacity: 0.8 !important;
    color: var(--white) !important;
    text-align: center !important;
    max-width: 400px;
    margin: 0 auto;
}

.trust-section .section-title,
.trust-section .section-subtitle {
    color: var(--white);
}

.trust-cards {
    flex: 1;
    position: relative;
    height: 300px;
    max-width: 350px;
    padding-right: 0;
    margin: 0 auto;
    order: 1;
}

.trust-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: var(--white);
    text-align: center;
    color: var(--primary-black);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 6rem;
    position: absolute;
    width: 100%;
    max-width: 320px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 1;
    z-index: 2;
    animation: none !important;
    pointer-events: none;
}


/* Card Animation States */
.trust-card.top {
    transform: translateX(-50%) translateY(-50px) scale(0.95);
    z-index: 1;
    opacity: 0.8;
}

.trust-card.active {
    transform: translateX(-50%) translateY(0) scale(1.05);
    z-index: 3;
    background-color: var(--primary-black);
    color: var(--white);
    opacity: 1;
    width: 120%;
    max-width: 380px;
    padding: 1.75rem;
}

.trust-card.active h3 {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
}

.trust-card.bottom {
    transform: translateX(-50%) translateY(50px) scale(0.95);
    z-index: 1;
    opacity: 0.8;
}

.trust-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.trust-card h3 {
    font-size: 1rem !important;
    font-weight: 500;
    margin: 0;
}

/* Emoji icons don't need SVG styling */

.trust-card h3 {
    font-size: 1rem;
    margin-bottom: 0;
}

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

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    margin-top: 8rem;
    background-color: var(--white);
    color: var(--primary-black);
}

.testimonials-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    background-color: var(--primary-black);
    border-radius: 0rem;
    padding: 3rem 2rem;
    position: relative;
}

.testimonials-section .container::before,
.testimonials-section .container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 1;
    pointer-events: none;
}

.testimonials-section .container::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-black), transparent);
}

.testimonials-section .container::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-black), transparent);
}

.testimonial-badge {
    display: block;
    background-color: var(--white);
    color: var(--primary-black);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.testimonial-badge strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.testimonials-section .section-title {
    color: var(--white);
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    margin-top: 0;
}

.testimonials-section .section-subtitle {
    color: var(--white);
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.4;
    opacity: 0.9;
    margin-bottom: 3rem;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    max-width: 500px;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.testimonial-card.white-card {
    background-color: var(--white);
    color: var(--text-dark);
}

.testimonial-card.blue-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0f2bb8 100%);
    color: var(--white);
}

.stars {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.testimonial-card p {
    font-style: normal;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-align: center;
    position: relative;
    font-size: 1.125rem;
    margin-bottom: 0rem;
}

.testimonial-card p::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.testimonial-card.white-card p::after {
    background-color: rgba(0, 0, 0, 0.2);
}

.testimonial-author {
    font-weight: 600;
    text-align: left;
    margin-top: 1.5rem;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-author .author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.testimonial-author .author-info span {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: -0.5rem;
    margin-bottom: -1rem;
}

.stars {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: #ffd700;
    margin-left: auto;
    margin-top: 0.5rem;
    margin-bottom: -1rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: var(--white);
    margin-top: 0rem;
}

.faq-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.faq-section .section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

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

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background-color: var(--white);
    border: none;
    text-align: left;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: var(--primary-black);
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-item.active .faq-question {
    background-color: var(--primary-black);
    color: var(--white);
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
    color: var(--primary-black);
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--primary-black);
    position: relative;
}

.faq-answer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 3rem 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem 1rem 0 0;
    margin: 2rem 1rem 0;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-logo p {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    padding-right: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-description {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
    flex: 1;
    justify-content: space-between;
}

.footer-column h4 {
    display: none;
}

.footer-column:last-child {
    text-align: left;
}

.footer-column:last-child ul {
    text-align: left;
}

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

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

.footer-column ul li a {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.footer-column ul li a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-column ul li a:focus {
    outline: none;
    text-decoration: none;
}

.footer-column ul li a:active {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

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

.footer-bottom p {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Desktop and up - ensure side-by-side layout */
@media (min-width: 1024px) {
    .trust-content {
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    
    .trust-cards {
        order: 0 !important;
        padding-right: 2rem;
    }
    
    .trust-text {
        order: 0 !important;
        padding-left: 4rem;
    }
    
    .trust-title {
        text-align: left !important;
    }
    
    .trust-subtitle {
        text-align: left !important;
        margin: 0 !important;
    }
    
    .trust-card.active h3 {
        font-size: 1.4rem !important;
        font-weight: 600 !important;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .container {
        max-width: 750px;
        padding: 0 2rem;
    }
    
    .header {
        margin: 0rem auto 0rem auto;
        max-width: 1000px;
    }

    .nav {
        display: block;
    }

    .cta-button {
        display: block;
    }
    
    a.cta-button {
        display: inline-block;
    }

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

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .logo-img {
        height: 2rem;
        max-width: 250px;
    }

    .bottom-features {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .feature-item {
        justify-content: flex-start;
    }
    
    .client-logos {
        margin-top: 2rem;
    }
    
    .clients-logos {
        max-width: 45%;
    }

    .section-title {
        font-size: 3rem;
    }

    .section-subtitle {
        font-size: 1.25rem;
    }

    .scrolling-text {
        font-size: 3.5rem;
    }

    .partner-cards {
        flex-direction: row;
        gap: 2rem;
    }

    .partner-card {
        min-height: 450px;
        padding: 3rem;
    }

    .card-title {
        font-size: 3.5rem;
    }

    .problem-icon {
        width: 200px;
        height: 200px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .trust-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .trust-title {
        font-size: 2rem;
        line-height: 1.2;
        letter-spacing: normal;
    }
    
    .trust-cards {
        max-width: 100%;
        order: 1;
        padding-right: 0;
        align-items: center;
        margin: 0 auto;
    }
    
    .trust-text {
        order: 2;
        padding-left: 0;
    }

    .testimonials-grid {
        flex-direction: row;
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-links {
        flex-direction: row;
        gap: 1rem;
    }
}

/* Desktop and up */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }

    .section-title {
        font-size: 3.5rem;
    }
    
    .footer-links {
        justify-content: flex-end;
        gap: 3rem;
        margin-top: 1.5rem;
    }
    
    .footer-column {
        text-align: left;
    }
    
    .footer-column ul {
        text-align: left;
    }

    .section-subtitle {
        font-size: 1.25rem;
    }

    .scrolling-text {
        font-size: 4rem;
    }

    .partner-card {
        min-height: 500px;
        padding: 3.5rem;
    }

    .card-title {
        font-size: 4rem;
    }

    .problem-icon {
        width: 220px;
        height: 220px;
    }
}

/* Large desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Remove focus outline from mobile menu toggle */
.mobile-menu-toggle:focus {
    outline: none;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Additional Interactive Styles */
.testimonial-card.active {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card {
    cursor: pointer;
}

.service-card:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.trust-card:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.testimonial-card:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background-color: var(--primary-black);
    transform: translateY(-2px);
}

/* Form styles (for future use) */
input.error,
textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Improved mobile touch targets */
@media (max-width: 767px) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .faq-question {
        min-height: 44px;
    }
    
    .trust-card,
    .service-card,
    .testimonial-card {
        min-height: 44px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #0000ff;
        --primary-black: #000000;
        --text-dark: #000000;
        --text-light: #333333;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Contact Page Specific Styles */
.contact-page .hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0f2bb8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-form-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-header .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-header .section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 400;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding-right: 2rem;
}

.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1.5rem;
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), #0f2bb8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 65, 212, 0.3);
}

.contact-details h3 {
    color: var(--primary-black);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.contact-details p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-form-container {
    background: linear-gradient(135deg, var(--primary-blue), #0f2bb8);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(25, 65, 212, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0.8));
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    background-color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 56px;
    font-size: 1rem;
    font-family: inherit;
}

.custom-dropdown-trigger:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 1);
}

.custom-dropdown-trigger.active {
    border-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    background-color: var(--white);
}

.selected-text {
    flex: 1;
    text-align: left;
}

.dropdown-arrow {
    color: var(--text-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.custom-dropdown-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--text-dark);
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.25rem;
}

.custom-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-option {
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    font-size: 1rem;
}

.custom-dropdown-option:last-child {
    border-bottom: none;
}

.custom-dropdown-option:hover {
    background-color: rgba(25, 65, 212, 0.1);
    color: var(--primary-blue);
}

.custom-dropdown-option.selected {
    background-color: rgba(25, 65, 212, 0.15);
    color: var(--primary-blue);
    font-weight: 600;
}

/* Legacy select styles for fallback */
.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Better mobile support */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.why-choose-section {
    padding: 6rem 0;
    background-color: var(--white);
}

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

.why-choose-card {
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.why-choose-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.why-choose-card p {
    color: var(--white);
    opacity: 0.9;
    line-height: 1.6;
}

/* Mobile Responsive for Contact Page */
@media (max-width: 767px) {
    .contact-form-section {
        padding: 2rem 0;
    }
    
    .contact-header {
        margin-bottom: 1.5rem;
    }
    
    .contact-header .section-title {
        font-size: 2.25rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .contact-form-container {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        padding-bottom: 1.25rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .contact-details h3 {
        font-size: 1.125rem;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
    
    /* Mobile Custom Dropdown Improvements */
    .custom-dropdown-trigger {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1.25rem 1.5rem;
        min-height: 56px; /* Better touch target */
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .custom-dropdown-menu {
        max-height: 250px; /* Smaller on mobile */
        border-radius: 8px;
    }
    
    .custom-dropdown-option {
        padding: 1.25rem 1.5rem;
        font-size: 16px;
        min-height: 48px; /* Better touch target */
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .dropdown-arrow {
        width: 18px;
        height: 18px;
    }
    
    /* Mobile Form Select Improvements (fallback) */
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1.25rem 1.5rem;
        min-height: 56px; /* Better touch target */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
        background-size: 1.25em 1.25em;
        background-position: right 1rem center;
        padding-right: 3rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 56px; /* Better touch target */
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Ensure dropdown options are readable on mobile */
    .form-group select option {
        padding: 0.5rem;
        font-size: 16px;
        background-color: var(--white);
        color: var(--text-dark);
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .contact-form-container {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1.2fr;
        gap: 6rem;
    }
}

/* Personal Tax Page Specific Styles */

/* Personal tax page hero background with document icon */
.personal-tax-page .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/Problem iocn 1.svg');
    background-size: 600px 600px;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
    animation: heroIconFloat 6s ease-in-out infinite, heroIconRotate 12s linear infinite;
    will-change: transform;
    transform-origin: center center;
}

@keyframes heroIconFloat {
    0% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-20px) scale(1.05);
    }
    50% {
        transform: translateY(-10px) scale(1);
    }
    75% {
        transform: translateY(-25px) scale(1.05);
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}

@keyframes heroIconRotate {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(3deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-3deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Custom Hero Content Settings for Personal Tax Page */
.personal-tax-page .hero-content {
    margin-bottom: 5rem; /* Custom bottom margin for hero content */
    margin-top: 5rem;
}

.personal-tax-page .hero-title {
    margin-bottom: 0rem; /* Custom bottom margin for hero title */
    margin-top: 8rem;
}

.personal-tax-page .hero-subtitle {
    margin-bottom: 2rem; /* Custom bottom margin for hero subtitle */
}

.personal-tax-page .hero-buttons {
    margin-bottom: 6rem; /* Custom bottom margin for hero buttons */
}

/* Introductory Paragraph Section */
.intro-section {
    background-color: var(--primary-black);
    padding: 5rem 0;
    text-align: center;
}

.intro-text {
    color: var(--white);
    font-size: 2rem;
    line-height: 1.1;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    margin-top: 5rem;
    margin-bottom: 5rem;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.intro-text.animate {
    opacity: 0.9;
    transform: translateY(0);
}
/* Personal Services Section */
.personal-services-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.personal-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.personal-service-card {
    padding: 2.5rem;
    text-align: left;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    outline: none;
    border-radius: 0;
}

.personal-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.personal-service-card.blue-card {
    background-color: var(--primary-black);
    color: var(--white);
}

.personal-service-card.black-card {
    background-color: var(--primary-black);
    color: var(--white);
}

.personal-service-card:hover {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
}

.personal-service-card:focus {
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.personal-service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 600;
}

.personal-service-card p {
    opacity: 0.9;
    font-size: 1rem;
    color: var(--white);
    line-height: 1.5;
    margin: 0;
}

/* What Sets Us Apart Section */
.what-sets-apart-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.apart-features {
    display: flex;
    flex-direction: row;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.apart-feature-card {
    flex: 1;
    padding: 0rem 0rem;
    border-radius: 0;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    position: relative;
}

.apart-feature-card.blue-card {
    background-color: var(--primary-blue);
    color: var(--white);
}

.apart-feature-card.black-card {
    background-color: #000000;
    color: var(--white);
}

.apart-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.apart-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--white);
    line-height: 1;
    position: relative;
    padding-bottom: 1rem;
    margin-top: -1rem;
}

.apart-feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.apart-icon {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
}

.feature-icon {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes the SVG white */
}

.apart-feature-card:first-child .feature-icon {
    width: 280px;
    height: 200px;
    filter: none;
}

.apart-feature-card p {
    opacity: 0.9;
    font-size: 0.95rem;
    color: var(--white);
    line-height: 1.1;
    margin: 0;
    margin-top: auto;
}

/* Final CTA Section */
.final-cta-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 6rem auto 0;
}

.final-cta-section .container {
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/Personal tax background overlay 01.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
}


.cta-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-top: 4rem;
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--white);
}

.cta-buttons .btn {
    background-color: #000000;
    color: var(--white);
    border: 2px solid #4A90E2;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 3rem;
}

.cta-buttons .btn:hover {
    background-color: #333333;
    border-color: #5BA0F2;
    transform: translateY(-2px);
}

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

.cta-buttons .btn {
    min-width: 200px;
}

/* Primary Button as Link */
a.btn.btn-primary {
    text-decoration: none;
    color: var(--white);
    display: inline-block;
}

a.btn.btn-primary:hover {
    text-decoration: none;
    color: var(--white);
}

a.btn.btn-primary:focus {
    outline: none;
    text-decoration: none;
    color: var(--white);
}

a.btn.btn-primary:active {
    text-decoration: none;
    color: var(--white);
}

/* Responsive Design for Personal Tax Page */
@media (min-width: 768px) {
    .personal-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .personal-service-card:nth-child(2n) {
        border-right: none;
    }
    
    .personal-service-card:nth-child(n+3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .personal-service-card:nth-child(n+5) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .personal-service-card:nth-child(n+7) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .personal-service-card:nth-child(n+9) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .personal-service-card:nth-child(n+11) {
        border-bottom: none;
    }
    
    .apart-features {
        flex-direction: row;
        gap: 0;
    }
    
    .apart-feature-card {
        flex: 1;
        min-height: 350px;
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 150px;
        height: 150px;
    }
    
    .apart-feature-card:first-child .feature-icon {
        width: 250px !important;
        height: 150px !important;
    }
    
    .cta-title {
        font-size: 3rem;
    }
    
    .cta-subtitle {
        font-size: 1.25rem;
    }
    
    .two-container-content {
        gap: 3rem;
    }
    
    .content-title {
        font-size: 2.25rem;
    }
    
    .icon-container {
        max-width: 450px;
        height: 450px;
    }
    
    /* Tablet Hero Icon Size */
    .personal-tax-page .hero::before {
        background-size: 500px 500px;
    }
}

@media (min-width: 1024px) {
    .personal-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .personal-service-card {
        padding: 3rem;
        min-height: 250px;
    }
    
    .personal-service-card h3 {
        font-size: 2rem;
    }
    
    .personal-service-card p {
        font-size: 1.125rem;
    }
    
    .apart-feature-card {
        padding: 3rem;
    }
    
    .apart-feature-card h3 {
        font-size: 1.75rem;
    }
    
    .apart-feature-card p {
        font-size: 1.125rem;
    }
    
    .apart-feature-card:first-child .feature-icon {
        width: 400px;
        height: 280px;
    }
    
    .cta-title {
        font-size: 3.5rem;
    }
}

/* Business Tax Page Styles */
.business-tax-page .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/Problem iocn 1.svg');
    background-size: 600px 600px;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
    animation: heroIconFloat 6s ease-in-out infinite, heroIconRotate 12s linear infinite;
    will-change: transform;
    transform-origin: center center;
}

.business-services-section {
    background-color: var(--primary-black);
    padding: 5rem 0;
    text-align: center;
}

.business-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.business-service-card {
    background-color: var(--primary-blue);
    padding: 2.5rem 2rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.business-service-card.black-card {
    background-color: var(--primary-black);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.business-service-card.blue-card {
    background-color: var(--primary-blue);
}

.business-service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.3;
}

.business-service-card p {
    opacity: 0.9;
    font-size: 0.95rem;
    color: var(--white);
    line-height: 1.5;
    flex-grow: 1;
}

.specialized-filings-section {
    background-color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.specialized-filings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.specialized-filing-card {
    background-color: var(--primary-blue);
    padding: 2.5rem 2rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.specialized-filing-card.black-card {
    background-color: var(--primary-black);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.specialized-filing-card.blue-card {
    background-color: var(--primary-blue);
}

.specialized-filing-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
}

.specialized-filing-card p {
    opacity: 0.9;
    font-size: 1.2rem;
    color: var(--white);
    line-height: 1.2;
    flex-grow: 1;
}

/* Audit Service Page Icon Customizations */
.personal-tax-page .apart-feature-card .feature-icon {
    filter: none; /* Remove filter for PNG icons */
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
}

/* Business Tax Page Hero Customizations */
.business-tax-page .hero-content {
    margin-bottom: 5rem;
    margin-top: 5rem;
}

.business-tax-page .hero-title {
    margin-bottom: 3rem;
}

.business-tax-page .hero-subtitle {
    margin-bottom: 4rem;
}

.business-tax-page .hero-buttons {
    margin-bottom: 6rem;
}

/* Mobile adjustments for business tax page */
@media (max-width: 767px) {
    .specialized-filings-section {
        padding: 3rem 0;
    }
    
    .specialized-filings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .specialized-filing-card {
        padding: 2rem 1.5rem;
        min-height: 180px;
    }
    
    .specialized-filing-card h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .specialized-filing-card p {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .specialized-filings-section .section-title {
        font-size: 2.1rem !important;
        line-height: 1 !important;
        letter-spacing: -0.01em !important;
        max-width: 90%;
        text-align: center;
        margin: 0 auto;
    }
    
    .specialized-filings-section .section-subtitle {
        font-size: 1.2rem !important;
        line-height: 1.1 !important;
        font-weight: 500 !important;
        margin-top: 1rem !important;
        max-width: 80%;
    }
}

/* Mobile adjustments for personal tax page */
@media (max-width: 767px) {
    .intro-section {
        padding: 2.5rem 0;
    }
    
    .intro-text {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        padding: 0 1.5rem !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
        max-width: 100% !important;
    }
    
    .personal-services-section {
        padding: 3rem 0;
    }
    
   
    .personal-services-section .section-subtitle br {
        display: none;
    }
    
    .personal-services-section .section-title {
        font-size: 2.1rem !important;
        line-height: 1 !important;
        letter-spacing: -0.01em !important;
        max-width: 90%;
    text-align: center;
    margin: 0 auto;
    }
    
    .personal-services-section .section-subtitle {
         font-size: 1.2rem !important;
        line-height: 1.1 !important;
        font-weight: 500 !important;
        margin-top: 1rem !important;
        max-width: 80%;
    }
    
    .what-sets-apart-section .section-title {
        font-size: 2.1rem !important;
        line-height: 1 !important;
        letter-spacing: -0.01em !important;
        max-width: 90%;
        text-align: center;
        margin: 0 auto;
    }
    
    .what-sets-apart-section .section-subtitle {
        font-size: 1.2rem !important;
        line-height: 1.1 !important;
        font-weight: 500 !important;
        margin-top: 1rem !important;
        max-width: 80%;
    }
    
    .personal-service-card {
        padding: 2rem;
        min-height: 180px;
    }
    
    .personal-service-card h3 {
        font-size: 1.5rem;
    }
    
    .personal-service-card p {
        font-size: 0.9rem;
    }
    
    .what-sets-apart-section {
        padding: 3rem 0;
    }
    
    .apart-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .apart-feature-card {
        padding: 2rem;
        min-height: 300px;
        text-align: center;
    }
    
    .apart-feature-card h3 {
        font-size: 1.35rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .feature-icon {
        width: 120px;
        height: 120px;
    }
    
    .apart-feature-card:first-child .feature-icon {
        width: 280px;
        height: 200px;
    }
    
    .apart-feature-card:nth-child(2) .feature-icon,
    .apart-feature-card:nth-child(3) .feature-icon {
        margin-bottom: 3rem;
    }
    
    .apart-feature-card p {
        font-size: 1.2rem;
    }
    
    .final-cta-section {
        padding: 3rem 0;
        margin: 4rem auto 0;
        max-width: 90%;
        margin-left: auto;
        line-height: 1.1;
        margin-right: auto;
        position: relative;
        overflow: hidden;
    }
    
    .final-cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('../assets/images/Personal tax background overlay 01.svg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 1;
        z-index: 1;
    }
    
    .final-cta-section .cta-title br {
        display: none;
    }
    
    .final-cta-section .cta-subtitle {
        max-width: 80%;
        margin: 0 auto;
        margin-bottom: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .two-container-section {
        padding: 3rem 0;
    }
    
    .two-container-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .content-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .content-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .content-features li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .icon-container {
        max-width: 400px;
        height: 400px;
    }
    
    /* Mobile Hero Customizations */
    .personal-tax-page .hero {
        padding: 1.5rem 0 2rem;
        min-height: 70vh;
    }
    
    .personal-tax-page .hero-content {
        margin-bottom: 2rem;
        margin-top: 2rem;
    }
    
    .personal-tax-page .hero-title {
        font-size: 2.8rem !important;
        margin-bottom: 1rem !important;
        margin-top: 8rem !important;
        line-height: 1 !important;
        letter-spacing: -0.05rem !important;
    }
    
    .personal-tax-page .hero-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 2rem !important;
        margin-top: 1rem !important;
        line-height: 1.1 !important;
        padding: 0 1rem;
    }
    
    .personal-tax-page .hero-buttons {
        margin-bottom: 2rem !important;
        margin-top: 1rem !important;
    }
    
    .personal-tax-page .hero-buttons .btn {
        width: 90% !important;
        max-width: 300px !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
    }
    
    /* Mobile Hero Icon Size and Position */
    .personal-tax-page .hero::before {
        background-size: 300px 300px !important;
        background-position: center center !important;
        opacity: 0.1 !important;
        top: 70% !important;
    }
    
    /* Mobile Hero Container */
    .personal-tax-page .hero .container {
        padding: 0 1rem;
    }
}
