:root {
    --bg-color: #ffffff;
    --bg-secondary: #f9fafb;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent-primary: #4f46e5;
    /* Indigo */
    --accent-secondary: #10b981;
    /* Emerald */
    --accent-glow: rgba(79, 70, 229, 0.15);
    /* Softer glow for light mode */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --border-color: rgba(0, 0, 0, 0.08);
    --max-width: 1200px;
    --header-height: 90px;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
    --card-bg: #ffffff;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --section-bg-alt: #f3f4f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* TypographyUtils */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #4338ca);
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.25);
}

.btn-outline {
    background: transparent;
    border: 1px solid #d1d5db;
    /* gray-300 */
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(79, 70, 229, 0.05);
    color: var(--accent-primary);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-text {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-text:hover {
    color: #4338ca;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo-img {
    height: 75px;
    /* Significantly increased from 45px */
    width: auto;
}

/* Footer Logo Adjustment */
.footer .logo-img {
    height: 60px;
    /* Increased from 40px */
    filter: brightness(0) invert(1);
    /* Make logo white for dark footer */
    opacity: 0.9;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--accent-primary);
}

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

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-item:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.dropdown-content a:not(.btn):not(.service-card):hover {
    background: var(--bg-secondary);
    color: var(--accent-primary);
    padding-left: 25px;
    /* slight slide effect */
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 120px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, 0.08), transparent 40%),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.08), transparent 40%),
        linear-gradient(to bottom, #ffffff, #f9fafb);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Features */
.features-section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.feature-card:hover {
    background: white;
    transform: translateY(-5px);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 12px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Services */
.services-section {
    padding: 100px 0;
    background: var(--section-bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.service-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.service-list {
    margin-bottom: 30px;
}

.service-list li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.service-list li::before {
    content: "•";
    color: var(--accent-primary);
    font-weight: bold;
    display: inline-block;
    width: 15px;
}

/* CTA */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(79, 70, 229, 0.05) 100%);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.2rem;
}

/* Footer - Keep Footer Dark for contrast or make it light? 
 * Usually footers look good dark even in light themes. 
 * I'll keep it dark but update border/text colors slightly for clarity.*/
.footer {
    padding: 80px 0 30px;
    background: #111827;
    /* Dark charcoal */
    border-top: 1px solid var(--border-color);
    color: #f3f4f6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer .logo {
    color: white;
    /* Force white logo in dark footer */
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: white;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #9ca3af;
    /* gray-400 */
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
}

.footer-col p {
    color: #9ca3af;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: #9ca3af;
    font-weight: 600;
}

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

.footer-bottom p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .header-container {
        padding: 0 20px;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        display: none;
    }

    .nav-item.active .dropdown-content {
        display: block;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Reputation Section Styles */
.reputation-list {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    opacity: 0.8;
}

.client-name {
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 0 10px;
}

.client-name:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -15px;
    color: var(--accent-primary);
    opacity: 0.5;
}

.cta-btn-wrapper {
    margin-top: 50px;
}

/* --- NEW HERO STYLES --- */
.hero {
    min-height: 90vh;
    /* Make it full screen-ish */
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    /* Adjust padding */
    background: radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.05), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.05), transparent 50%),
        linear-gradient(180deg, #fff 0%, #f9fafb 100%);
    overflow: visible;
    /* allow floating elements to slightly overflow if needed */
}

/* Hero V3 Base Styles */
.hero-v3 {
    position: relative;
    padding: 150px 0 100px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
    min-height: auto;
}

.hero-v3-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-v3-text {
    position: relative;
    z-index: 2;
    padding-right: 20px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.hero-v3-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-v3-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 90%;
}

.hero-v3-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-v3-visual {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

/* Floating Cards for V3 */
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 3;
    animation: float 5s ease-in-out infinite;
}

.fc-1 {
    top: 15%;
    right: -20px;
    animation-delay: 0s;
}

.fc-2 {
    bottom: 20%;
    left: -40px;
    animation-delay: 1.5s;
}

.fc-icon {
    width: 44px;
    height: 44px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.fc-text h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
    color: var(--text-primary);
    font-weight: 700;
}

.fc-text span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Responsive V3 */
@media (max-width: 992px) {
    .hero-v3 {
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero-v3-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-v3-text {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-v3-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-v3-btns {
        justify-content: center;
    }

    .float-card {
        display: none;
    }

    .hero-v3-title {
        font-size: 2.5rem;
    }
}

/* Linux Page Specific Hero Background */
.hero-v3.linux-hero {
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
        linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #eff6ff 100%);
    /* A specialized techy green-blue tinge */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 1;
        /* Text first on mobile */
    }

    .hero-visual {
        order: 2;
        margin-top: 40px;
        display: none;
        /* Hide visual on very small screens if it's too complex, or keep */
    }

    .hero-actions,
    .hero-stats {
        justify-content: center;
    }

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

@media (min-width: 969px) {
    .hero-visual {
        display: block;
    }
}

/* Hero Text Side */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--accent-primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.6);
    transform: translateY(-2px);
}

.btn-play {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-primary);
    transition: 0.3s;
}

.btn-play:hover {
    color: var(--accent-primary);
}

.play-icon {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--accent-primary);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(0, 0, 0, 0.1);
}

/* Hero Visual Side (Glassmorphism Tech) */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-stack {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    /* Fixed height for composition */
}

/* Main Dashboard Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    /* Light Glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.main-dashboard {
    position: absolute;
    width: 400px;
    height: 260px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    padding: 20px;
    background: rgba(255, 255, 255, 0.85);
    /* Slightly more opaque for readability */
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
}

.header-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #fee2e2;
    border: 1px solid #f87171;
}

.yellow {
    background: #fef3c7;
    border: 1px solid #fbbf24;
}

.green {
    background: #d1fae5;
    border: 1px solid #34d399;
}

.header-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #9ca3af;
}

/* Metrics mockup */
.metric-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.metric {
    flex: 1;
}

.metric .label {
    font-size: 0.75rem;
    color: #6b7280;
    display: block;
    margin-bottom: 5px;
}

.bar-bg {
    width: 100%;
    height: 6px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--accent-primary);
    border-radius: 4px;
}

/* Terminal mockup */
.log-terminal {
    background: #1f2937;
    /* Dark for contrast */
    border-radius: 8px;
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #e5e7eb;
}

.log-line {
    margin-bottom: 4px;
    display: flex;
    gap: 8px;
}

.cmd {
    color: #6b7280;
    user-select: none;
}

.cmd-text {
    color: #d1d5db;
}

.success {
    color: #34d399;
}

.info {
    color: #60a5fa;
}

/* Floating Badges */
.float-badge {
    position: absolute;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.03);
    animation: float 6s ease-in-out infinite;
}

.badge-security {
    top: 30px;
    left: 20px;
    animation-delay: 0s;
}

.badge-speed {
    bottom: 40px;
    right: 0px;
    animation-delay: 2s;
}

.badge-icon-box {
    width: 36px;
    height: 36px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.badge-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}


/* --- HERO IMAGE STYLES --- */
.hero-image-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.15);
    background: white;
    /* Fallback */
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: float-main 8s ease-in-out infinite;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    /* Slight zoom for cleaner edges */
}

@keyframes float-main {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(0.5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Update Glass Stack to handle image properly */
.glass-stack {
    perspective: 1000px;
    /* Add depth perspective */
}

/* --- TRUST & EXCELLENCE SECTION --- */
.trust-section {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-content {
    flex: 1;
    min-width: 300px;
}

.trust-content h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.trust-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
}

.trust-badges {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f9fafb;
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: white;
    border-color: rgba(0, 0, 0, 0.1);
}

.platform-logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.google-logo {
    color: #4285F4;
}

.trustpilot-logo {
    color: #00b67a;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.score {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.stars {
    color: #f59e0b;
    /* Amber for stars */
    font-size: 0.9rem;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .trust-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .trust-content p {
        margin: 0 auto;
    }

    .trust-badges {
        justify-content: center;
    }
}

/* --- REDESIGNED CENTERED HERO --- */
.centered-hero {
    position: relative;
    text-align: center;
    padding: 120px 0 100px;
    background: url('images/hero-bg.jpg') no-repeat center center;
    /* Use generated abstract BG */
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%);
    z-index: 1;
}

.hero-container-center {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge-pill {
    background: white;
    border: 1px solid rgba(79, 70, 229, 0.2);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.1);
    color: var(--accent-primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: fadedown 0.8s ease-out;
}

.hero-title-center {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    animation: fadeup 0.8s ease-out 0.2s backwards;
}

.hero-subtitle-center {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 50px;
    line-height: 1.6;
    animation: fadeup 0.8s ease-out 0.4s backwards;
}

.hero-actions-center {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    animation: fadeup 0.8s ease-out 0.6s backwards;
}

.btn-xl {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    color: var(--accent-primary);
}

.hero-trust-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeup 0.8s ease-out 0.8s backwards;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes fadedown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeup {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (max-width: 768px) {
    .hero-title-center {
        font-size: 3rem;
    }

    .hero-actions-center {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn-xl {
        width: 100%;
        text-align: center;
    }
}

/* --- CASE STUDY SECTION --- */
.case-study-section {
    padding: 80px 0;
    background: #f9fafb;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #e5e7eb;
}

.case-content {
    padding: 30px;
}

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.case-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.case-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.case-stat {
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: var(--accent-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- REDESIGNED PILLARS SECTION --- */
.pillars-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.pillars-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.pillar-card {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.pillar-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

.pillar-card:hover::after {
    transform: scaleX(1);
}

.pillar-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(243, 244, 246, 1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: 0.3s;
}

.pillar-card:hover .pillar-icon-wrapper {
    background: var(--accent-primary);
    color: white;
    transform: rotateY(180deg);
}

.pillar-card:hover .pillar-icon-wrapper .icon-content {
    transform: rotateY(180deg);
    /* Counter rotate so emoji isn't backwards */
    display: block;
}

.pillar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.pillar-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
    width: 100%;
}

.pillar-list {
    list-style: none;
    width: 100%;
}

.pillar-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.check-icon {
    color: var(--accent-secondary);
    font-weight: bold;
    background: rgba(16, 185, 129, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}


/* --- EXPERTISE TABS SECTION --- */
.expertise-section {
    padding: 100px 0;
    background: #f3f4f6;
}

.tabs-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tabs-header {
    display: flex;
    background: #f9fafb;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tab-btn {
    flex: 1;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tab-btn:hover {
    background: rgba(0, 0, 0, 0.02);
    color: var(--accent-primary);
}

.tab-btn.active {
    color: var(--accent-primary);
    background: white;
    border-bottom-color: var(--accent-primary);
}

.tab-icon {
    font-size: 1.4rem;
}

.tab-body {
    padding: 50px;
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: fadeEffect 0.5s;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Tab Content Layout */
.panel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.panel-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.panel-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

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

.tech-card {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.tech-card:hover {
    background: white;
    border-color: var(--accent-primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.tech-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 1.2rem;
}

.tech-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.tech-details span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.panel-image {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.panel-visual-content {
    text-align: center;
}

.visual-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    display: block;
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 900px) {
    .tabs-header {
        flex-direction: column;
    }

    .panel-grid {
        grid-template-columns: 1fr;
    }

    .panel-image {
        height: 200px;
        margin-top: 30px;
    }
}

/* --- REDESIGNED SUCCESS STORIES --- */
.case-study-section {
    background: white;
    padding: 80px 0;
    position: relative;
}

.case-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

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

.case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.case-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.case-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    /* Reduced margin */
}

/* New: Stat Badge Floating over Image or top of content */
.stat-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.case-industry {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-title {
    font-size: 1.35rem;
    margin: 15px 0 10px;
    line-height: 1.4;
    color: var(--text-primary);
}

.case-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.learn-more-link {
    font-weight: 600;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
    margin-top: auto;
}

.learn-more-link:hover {
    color: var(--accent-primary);
    gap: 10px;
}

/* Industries List */
.industries-container {
    background: #f8fafc;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 20px;
}

.industries-header {
    margin-bottom: 30px;
}

.industries-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.industries-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.industry-pill {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: 0.3s;
    cursor: default;
}

.industry-pill:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* --- HERO V3 (Modern Split) --- */
.hero-v3 {
    position: relative;
    padding: 120px 0 100px;
    background: #ffffff;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 40%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
}

.hero-v3-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-v3-text {
    max-width: 600px;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-primary);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-v3-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-v3-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-v3-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-v3-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
}

.h3-stat-item strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.h3-stat-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Visual Side */
.hero-v3-visual {
    position: relative;
    perspective: 1000px;
}

.hero-main-img {
    width: 110%;
    /* Slightly oversize to break grid */
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
    animation: float-v3 6s ease-in-out infinite;
    transform: rotateY(-5deg) rotateX(2deg);
    border-radius: 20px;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 3;
    animation: float-v3 5s ease-in-out infinite reverse;
}

.fc-1 {
    top: 20%;
    left: -30px;
}

.fc-2 {
    bottom: 15%;
    right: 20px;
    animation-delay: 1s;
}

.fc-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.fc-icon svg {
    width: 100%;
    height: 100%;
}

.fc-text h4 {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-primary);
}

.fc-text span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

@keyframes float-v3 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 991px) {
    .hero-v3-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-v3-text {
        margin: 0 auto;
    }

    .hero-v3-btns {
        justify-content: center;
    }

    .hero-v3-stats {
        justify-content: center;
    }

    .hero-main-img {
        width: 100%;
        transform: none;
        margin-top: 40px;
    }

    .float-card {
        display: none;
    }

    /* Hide floaters on mobile for cleaner look */
}

/* --- TESTIMONIALS & REPUTATION SECTION --- */
.reputation-section {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
}

.reputation-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.reputation-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

.quote-icon {
    font-size: 3rem;
    color: rgba(79, 70, 229, 0.1);
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: serif;
}

.client-feedback {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.client-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Trusted By Strip */
.trusted-by-strip {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 50px;
    text-align: center;
}

.trusted-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 30px;
    display: block;
    font-weight: 600;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    opacity: 0.6;
}

.client-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: 0.3s;
}

.client-logo-text:hover {
    color: var(--accent-primary);
    opacity: 1;
}

/* --- SERVICE PAGE STYLES --- */
.service-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero h1 {
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

/* Feature Grid for Service Pages */
.feature-list-section {
    padding: 80px 0;
    background: white;
}

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

.s-feature-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.s-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.s-feature-text h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.s-feature-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing / Plans Simple */
.plans-section {
    padding: 100px 0;
    background: #f9fafb;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: 0.3s;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.plan-card.featured {
    border: 2px solid var(--accent-primary);
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-name {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.plan-features li i {
    color: var(--accent-secondary);
}

/* Legal Page Styles */
.legal-content {
    max-width: 800px;
    margin: 80px auto;
    padding: 20px 20px;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--text-primary);
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

/* --- MEGA MENU STYLES --- */
.nav-item.mega-menu-item {
    position: static;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 998;
    padding: 0;
}

.nav-item.mega-menu-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 40px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.mega-column h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent-primary);
    margin-bottom: 20px;
    font-weight: 700;
    padding-left: 12px;
}

.mega-column a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: 0.2s;
    text-decoration: none;
}

.mega-column a:hover {
    background: #f8fafc;
    transform: translateX(5px);
}

.mega-column a:hover .nav-text span {
    color: var(--accent-primary);
}

.nav-icon {
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.nav-text {
    display: flex;
    flex-direction: column;
}

.nav-text span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.nav-text small {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Mobile Responsive Adjustments for Mega Menu */
@media (max-width: 900px) {
    .nav-item.mega-menu-item {
        position: relative;
    }

    .mega-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        /* Hidden by default on mobile, handled by JS toggle */
    }

    .nav-item.mega-menu-item.active .mega-dropdown {
        display: block;
    }

    .mega-grid {
        grid-template-columns: 1fr;
        padding: 10px 20px;
        gap: 20px;
    }

    .mega-column {
        margin-bottom: 10px;
    }
}

/* --- CLIENT LOGO STYLES --- */
/* --- CLIENT LOGO STYLES --- */
.trusted-by-strip {
    text-align: center;
    padding: 50px 0;
    margin-top: 80px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.5));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.trusted-label {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--accent-primary);
    background: rgba(79, 70, 229, 0.08);
    padding: 8px 16px;
    border-radius: 50px;
    letter-spacing: 1.2px;
    margin-bottom: 40px;
    font-weight: 700;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

/* --- LOGO SLIDER STYLES --- */
.logo-slider {
    height: 80px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    /* Use mask-image for a perfect fade on any background */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Pseudo-elements removed as mask-image handles the fade better */

.logo-slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    align-items: center;
    width: calc(250px * 16);
    /* Estimate 250px width per logo unit including gap */
}

.logo-slide-track:hover {
    animation-play-state: paused;
}

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

    100% {
        transform: translateX(calc(-250px * 8));
        /* Move half the track (8 items) */
    }
}

.client-logo {
    height: 35px;
    /* Smaller size as requested */
    width: auto;
    margin: 0 40px;
    /* Spacing between logos */
    object-fit: contain;
    filter: brightness(0);
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* --- REDESIGNED EXPERTISE SECTION --- */
.expertise-section {
    padding: 120px 0;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.05) 0px, transparent 50%),
        linear-gradient(#f8fafc, #f1f5f9);
    position: relative;
    overflow: hidden;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    /* Force bigger cards */
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

/* Card Theming Variables */
.card-accent-blue {
    --accent-color: #3b82f6;
    --accent-light: #eff6ff;
}

.card-accent-indigo {
    --accent-color: #6366f1;
    --accent-light: #eef2ff;
}

.card-accent-purple {
    --accent-color: #a855f7;
    --accent-light: #f3e8ff;
}

.card-accent-emerald {
    --accent-color: #10b981;
    --accent-light: #ecfdf5;
}

.expert-card {
    background: white;
    padding: 50px;
    /* More breathing room */
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.expert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0);
}

/* Glow Effect */
.card-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    filter: blur(90px);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.expert-card:hover .card-glow {
    opacity: 0.12;
}

.expert-card:hover::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-color), transparent);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.expert-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.icon-wrapper {
    width: 72px;
    height: 72px;
    background: var(--accent-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    flex-shrink: 0;
}

.expert-card:hover .icon-wrapper {
    background: var(--accent-color);
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.expert-icon {
    font-size: 2rem;
    color: var(--accent-color);
    transition: 0.3s ease;
}

.expert-card:hover .expert-icon {
    color: white;
}

.header-text {
    display: flex;
    flex-direction: column;
}

.expert-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.expert-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 5px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.8;
}

.expert-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

/* Feature Details List */
.expert-details-block {
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    background: rgba(248, 250, 252, 0.5);
    /* Very subtle background */
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.details-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    font-weight: 700;
    opacity: 0.9;
}

.expert-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 column list items inside the card */
    gap: 12px 20px;
    padding: 0;
    list-style: none;
}

.expert-feature-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.expert-feature-list li .check {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 0.9rem;
    margin-top: 2px;
    /* optical alignment */
}

/* Mobile responsive fix for inner grid */
@media (max-width: 600px) {
    .expert-feature-list {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on small screens */
    }
}

.expert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
    /* Push link down */
    position: relative;
    z-index: 1;
}

.expert-tag {
    background: white;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    /* Bigger touch targets */
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    transition: 0.3s;
}

.expert-card:hover .expert-tag {
    background: var(--accent-light);
    color: var(--accent-color);
    border-color: transparent;
}

.expert-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.95rem;
    margin-top: auto;
    /* Push to bottom */
    position: relative;
    z-index: 1;
    opacity: 0.8;
    transition: 0.3s;
}

.expert-link:hover {
    opacity: 1;
    transform: translateX(5px);
}

/* Stats Section Floating Strip */
.stats-strip {
    margin-top: 100px;
    padding: 50px 60px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 900px) {
    .stats-strip {
        grid-template-columns: 1fr 1fr;
        padding: 40px 20px;
        gap: 40px 20px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
        /* simple stack on mobile or 2x2 grid without lines */
    }

    .stat-item:nth-child(odd)::after {
        display: block;
        /* keep lines for 2x2 if desired, or just remove all */
    }
}

/* --- COMPLIANCE & TRUST SECTION --- */
.compliance-section {
    padding: 100px 0;
    background: linear-gradient(170deg, #1e1b4b 0%, #4f46e5 100%);
    /* Deep Indigo to Vibrant Brand Indigo */
    color: white;
    position: relative;
    overflow: hidden;
}

/* Background mesh for security feel */
.compliance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

.compliance-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.compliance-header h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.compliance-header p {
    color: #94a3b8;
    /* Slate 400 */
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.compliance-card {
    background: rgba(18, 14, 55, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Dark Vibrant Indigo Glass */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.compliance-card:hover {
    background: white;
    transform: translateY(-10px) scale(1.02);
    border-color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

.comp-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    transition: 0.3s ease;
}

.compliance-card:hover .comp-icon-box {
    background: rgba(56, 189, 248, 0.1);
    transform: scale(1.1);
}

.comp-text h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.compliance-card:hover .comp-text h3 {
    color: var(--text-primary);
}

.comp-text p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.compliance-card:hover .comp-text p {
    color: var(--text-secondary);
}

/* Trust Guarantees Strip */
.trust-guarantees {
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
    /* Slate 200 */
    font-weight: 500;
    font-size: 1rem;
}

.g-icon {
    font-size: 1.2rem;
}

.guarantee-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .trust-guarantees {
        flex-direction: column;
        border-radius: 20px;
        align-items: flex-start;
        gap: 20px;
    }

    .guarantee-divider {
        display: none;
    }

    .guarantee-item {
        width: 100%;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

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

/* --- FAQ SECTION STYLES --- */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

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

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

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

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

.faq-toggle-icon {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    padding-right: 20px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Active State */
.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--accent-primary);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* arbitrarily large height */
    transition: max-height 0.35s ease-in;
}

/* --- SPLIT SECTION STYLES --- */
.split-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
    /* Light background for contrast */
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.split-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

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

.info-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.1);
    /* fallback if var not available */
    color: var(--accent-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-grid {
        grid-template-columns: 1fr;
    }
}

/* Premium Feature Section - Redesigned Affordable cPanel Section */
/* Premium Feature Section - Dark Theme Redesign */
.premium-feature-section {
    padding: 100px 0;
    position: relative;
    background: #0f172a;
    /* Slate 900 - Dark Background */
    overflow: hidden;
    color: white;
}

.premium-feature-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 50%, rgba(255, 108, 44, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.premium-container {
    padding: 0 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Force Image Left, Text Right Layout via Order */
.premium-content {
    order: 2;
}

.premium-visual {
    order: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.premium-content h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
    /* Solid white for readability on dark */
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: white;
    line-height: 1.2;
}

.premium-content .lead-text {
    font-size: 1.15rem;
    color: #94a3b8;
    /* Slate 400 */
    margin-bottom: 35px;
    line-height: 1.7;
    max-width: 95%;
}

.premium-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.premium-info-card {
    background: rgba(30, 41, 59, 0.6);
    /* Slate 800/60 */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.premium-info-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 1);
    border-color: rgba(255, 108, 44, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.premium-info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FF6C2C 0%, #FF9800 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(255, 108, 44, 0.4);
}

.premium-info-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.premium-info-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
    /* Slate 300 */
    line-height: 1.5;
    margin: 0;
}

.premium-visual-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
    /* Stronger shadow for dark mode */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Thin light border instead of thick white */
    animation: fadeInScale 1s ease-out;
}

/* Dark Mode Adjustments */
.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 108, 44, 0.15);
    /* Orange tint */
    color: #FF6C2C;
    /* Bright Orange */
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 108, 44, 0.3);
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    /* High opacity white */
    backdrop-filter: none;
    padding: 10px 18px;
    border-radius: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #111827;
    /* Force dark text */
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
    white-space: nowrap;
}

.fb-1 {
    top: -20px;
    left: -20px;
    animation-delay: 0s;
}

.fb-2 {
    bottom: -20px;
    right: -20px;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 968px) {
    .premium-feature-section {
        padding: 60px 0;
    }

    .premium-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .premium-content {
        order: 1;
        /* Reset to natural order on mobile if preferred, or keep explicit 1 */
    }

    .premium-visual {
        order: 0;
        /* Image on top */
        margin-bottom: 20px;
    }

    .premium-content h2 {
        font-size: 2.25rem;
    }

    .premium-feature-section::before {
        background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    }
}

/* --- PREMIUM TECH SECTION (GCP Redesign) --- */
.tech-section-premium {
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.tech-section-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(66, 133, 244, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(52, 168, 83, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.premium-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.premium-tech-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.premium-tech-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4285F4, #34A853);
    opacity: 0;
    transition: 0.3s;
}

.premium-tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(66, 133, 244, 0.15);
    border-color: rgba(66, 133, 244, 0.2);
    background: white;
}

.premium-tech-card:hover::after {
    opacity: 1;
}

.pt-icon-wrapper {
    width: 70px;
    height: 70px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.4s ease;
    border: 1px solid #f1f5f9;
}

.premium-tech-card:hover .pt-icon-wrapper {
    background: rgba(66, 133, 244, 0.1);
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(66, 133, 244, 0.2);
}

.premium-tech-card img {
    height: 35px;
    width: auto;
    transition: 0.3s;
}

.pt-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.pt-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Stacks Redesign */
.stacks-container {
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
}

.stacks-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.stack-capsule {
    background: #f8fafc;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
    cursor: default;
}

.stack-capsule:hover {
    background: white;
    border-color: #4285F4;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.15);
}

.stack-capsule img {
    height: 24px;
    width: auto;
    filter: grayscale(0.2);
    transition: 0.3s;
}

.stack-capsule:hover img {
    filter: grayscale(0);
    transform: scale(1.1);
}

.stack-name {
    font-weight: 600;
    color: #475569;
    font-size: 0.95rem;
}

.stack-capsule:hover .stack-name {
    color: #0f172a;
}

/* --- NEW MEGA MENU STYLES --- */
.mega-menu-item {
    position: static !important;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Smoother shadow */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    padding: 40px 0;
    display: block;
}

.nav-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
}

.mega-column {
    display: flex;
    flex-direction: column;
}

.column-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(79, 70, 229, 0.1);
}

.column-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.icon-circle {
    width: 36px;
    height: 36px;
    background: rgba(79, 70, 229, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.mega-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    /* Slightly more padding */
    border-radius: 12px;
    /* Rounded corners */
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.mega-link:hover {
    background: rgba(249, 250, 251, 1);
    border-color: rgba(0, 0, 0, 0.03);
    transform: translateX(5px);
}

.link-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* More subtle border */
    border-radius: 8px;
    color: var(--text-secondary);
    transition: 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.mega-link:hover .link-icon {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.link-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.link-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.link-desc {
    font-size: 0.75rem;
    color: var(--text-light);
    /* Lighter text for description */
    font-weight: 400;
}

.mega-link:hover .link-title {
    color: var(--accent-primary);
}

/* Adjust dropdown arrow */
.nav-link span,
.nav-link svg {
    margin-left: 6px;
    font-size: 0.8em;
    opacity: 0.7;
    transition: transform 0.3s;
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

@media (max-width: 1200px) {
    .mega-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* --- SVG Icon Fixes --- */
.hero-tag svg,
.badge-icon svg,
.stat-badge svg,
.industry-pill svg,
.check-icon svg,
.check svg {
    vertical-align: text-bottom;
    margin-right: 6px;
}

.fc-icon svg,
.pillar-icon-wrapper svg,
.expert-icon svg,
.comp-icon svg,
.g-icon svg {
    width: 60%;
    height: 60%;
    filter: drop-shadow(0 4px 6px rgba(79, 70, 229, 0.2));
    /* Add glow to icons */
}

/* Specific sizing */
.expert-icon,
.comp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Adjust pillar icon wrapper since it was font-size based */
.pillar-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.expert-icon svg {
    width: 40px;
    height: 40px;
}

/* Gradient Stroke Support */
svg {
    overflow: visible;
}

/* --- NEW 4-COLUMN MENU FIXES --- */

/* Wide Dropdown for the split menus */
.wide-dropdown {
    min-width: 340px !important;
    /* Make it wider for the rich links */
    padding: 15px !important;
}

/* Ensure mega-link styles work inside wide-dropdown */
.wide-dropdown .mega-link-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wide-dropdown .mega-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}

.wide-dropdown .mega-link:hover {
    background: var(--bg-secondary);
}

.wide-dropdown .link-icon {
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.wide-dropdown .mega-link:hover .link-icon {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.wide-dropdown .link-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wide-dropdown .link-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.wide-dropdown .mega-link:hover .link-title {
    color: var(--accent-primary);
}

.wide-dropdown .link-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Adjust nav gap to fit more items */
.nav-list {
    gap: 20px;
    /* Reduced from 30px */
}

/* Adjust link padding */
.nav-link {
    font-size: 0.9rem;
    /* Slightly smaller to fit */
}

@media (max-width: 1400px) {
    .nav-list {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.85rem;
    }
}

/* --- DROPDOWN GRID UPDATE --- */

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Default single column */
    gap: 30px;
}

@media (min-width: 992px) {
    .dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on desktop */
    }
}

.dropdown-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

/* Ensure wide dropdown fits columns */
.wide-dropdown {
    padding: 25px !important;
}

/* Adjust mega link for tighter lists */
.mega-link {
    padding: 8px !important;
    /* Reduce padding slightly */
}

/* Override inline styles from header.php if needed via class */
.wide-dropdown-lg {
    min-width: 600px !important;
}

/* --- MEGA MENU FULL WIDTH FIX --- */
@media (min-width: 992px) {

    /* 1. Ensure header is positioning context */
    .header {
        position: fixed;
    }

    /* 2. Default nav-items static for full-width children */
    .nav-item {
        position: static;
    }

    /* 3. Restore relative positioning for standard dropdowns (Company menu) */
    .nav-item.dropdown {
        position: relative;
    }

    /* 4. Full width styling for mega menus */
    .wide-dropdown {
        left: 0 !important;
        width: 100% !important;
        border-radius: 0 0 8px 8px !important;
        padding: 25px 0 !important;
        margin-top: 0 !important;
        top: 100% !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* 5. Center content within the full width strip */
    .wide-dropdown .dropdown-grid {
        max-width: 1200px;
        /* Matches site container */
        margin: 0 auto;
        padding: 0 20px;
    }
}

/* --- MEGA SERVICE GRID STYLES (Support Plans) --- */
.mega-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.service-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: white;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.08);
    border-color: rgba(79, 70, 229, 0.2);
    transform: translateY(-3px);
}

.service-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

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

.service-card:hover .service-icon {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 15px -3px rgba(79, 70, 229, 0.3);
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.service-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s;
    line-height: 1.3;
    display: block;
}

.service-card:hover .service-title {
    color: var(--accent-primary);
}

.service-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 400;
    display: block;
}

/* Responsive adjustment for the service grid */
@media (max-width: 992px) {
    .mega-service-grid {
        grid-template-columns: 1fr;
    }
}

/* --- NEW PREMIUM FOOTER STYLES --- */
.footer {
    background: #0f172a;
    /* Slate 900 */
    color: #e2e8f0;
    /* Slate 200 */
    padding: 60px 0 30px;
    font-size: 0.9rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.brand-col {
    padding-right: 10px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 38px;
    /* Slightly smaller */
    width: auto;
    filter: none !important;
    opacity: 1 !important;
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item .icon {
    font-size: 1rem;
    opacity: 0.7;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--accent-primary);
}

.footer h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.footer-menu a:hover {
    color: white;
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #94a3b8;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
    border-color: var(--accent-primary);
}

/* Redesigned Trust Badges Section */
.footer-trust {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Keep divider but subtle */
    padding: 30px 0;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Equal columns */
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    justify-content: center;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.trust-item svg {
    /* Ensure svg colors are passed through or explicitly set if preferred */
    width: 24px;
    height: 24px;
}

.trust-divider {
    display: none;
    /* No longer needed with grid cards */
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-legal a:hover {
    color: #94a3b8;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .brand-col {
        grid-column: span 2;
        padding-right: 0;
        text-align: center;
    }

    .footer-contact,
    .social-links,
    .footer-menu {
        align-items: center;
        /* Center flex items if applicable or just text align */
    }

    .footer-contact {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-trust {
        grid-template-columns: 1fr 1fr;
        /* Switch to 2 columns */
    }

    .trust-item:last-child {
        grid-column: span 2;
        /* Full width for last item if 3 items */
    }
}

@media (max-width: 576px) {
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .brand-col {
        grid-column: span 1;
    }

    .footer-trust {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 15px;
    }

    .trust-item:last-child {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

/* --- BUTTON FIX --- */
/* Ensure the button text in dropdowns is white */
.mega-menu-item .btn-primary,
.dropdown-intro-col .btn-primary {
    color: white !important;
}

/* --- MOBILE MEGA MENU FIXES --- */
@media (max-width: 991px) {

    /* Reset Wide Dropdown for mobile */
    .wide-dropdown {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 15px 15px 15px !important;
        background: transparent !important;
        display: none;
        /* Hidden by default, toggled via JS usually or hover */
        margin-top: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Make sure active dropdowns display */
    .nav-item.active .wide-dropdown,
    .nav-item:hover .wide-dropdown {
        display: block;
    }

    /* Stack the layout */
    .dropdown-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 !important;
    }

    /* Intro Column mobile adjustments */
    .dropdown-intro-col {
        padding: 15px;
        background: rgba(79, 70, 229, 0.05);
        /* Highlight slightly */
        border-radius: 12px;
        margin-bottom: 5px;
        text-align: center;
    }

    .dropdown-intro-col .dropdown-header {
        justify-content: center;
    }

    /* Service Grid Mobile */
    .mega-service-grid {
        grid-template-columns: 1fr !important;
        /* Force 1 column */
        gap: 10px;
    }

    /* Cards smaller on mobile */
    .service-card {
        padding: 15px;
        gap: 15px;
        align-items: center;
    }

    .service-icon {
        width: 40px;
        height: 40px;
    }

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

    .service-title {
        font-size: 1rem;
    }

    .service-desc {
        font-size: 0.85rem;
    }

    /* Hide decorative elements if needed or adjust spacing */
    .header .container {
        /* Ensure container has proper padding on mobile */
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* --- REFINED MOBILE MENU FIXES --- */
@media (max-width: 992px) {

    /* 1. Ensure the Nav Menu Container is scrollable and correct width */
    .nav-menu {
        width: 100%;
        /* Full width on mobile/tablet */
        max-width: 100%;
        padding: 80px 20px 40px;
        /* Top padding for close button space */
        overflow-y: auto;
        /* Enable scrolling for long menus */
        display: block !important;
        /* Override flex */
        right: -100%;
        /* Hidden by default */
        position: fixed;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
        /* Slide in */
    }

    /* 2. Reset Nav Items */
    .nav-list {
        display: block;
        /* Vertical list */
        width: 100%;
        padding-bottom: 50px;
        /* Space at bottom */
    }

    .nav-item {
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        /* Separator */
    }

    .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-primary);
        width: 100%;
    }

    /* 3. Handle Dropdowns (Standard & Wide) */
    .dropdown-content,
    .wide-dropdown {
        position: static !important;
        float: none !important;
        display: none;
        /* Hidden by default */
        width: 100% !important;
        box-shadow: none !important;
        background: #f9fafb !important;
        /* Light gray bg for nested area */
        border: none !important;
        padding: 0 15px 20px !important;
        margin: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        border-radius: 8px !important;
        margin-bottom: 15px !important;
    }

    /* Show when active */
    .nav-item.active .dropdown-content,
    .nav-item.active .wide-dropdown {
        display: block !important;
    }

    /* 4. Formatting Inner Content for Mobile */
    .dropdown-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .dropdown-intro-col {
        text-align: center;
        padding: 15px;
        background: white;
        border-radius: 8px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .dropdown-intro-col .dropdown-header {
        justify-content: center;
        color: var(--accent-primary);
    }

    .mega-service-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        /* Single column cards */
        gap: 15px !important;
    }

    /* Force Row Layout for Mobile Cards */
    .service-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        background: white !important;
        padding: 15px !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        text-align: left !important;
    }

    .service-icon {
        flex-shrink: 0 !important;
        width: 42px !important;
        height: 42px !important;
    }

    .service-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .service-info {
        flex: 1 !important;
        min-width: 0 !important;
        gap: 2px !important;
    }

    .service-title {
        font-size: 1rem !important;
        font-weight: 600 !important;
        margin-bottom: 2px !important;
        display: block !important;
    }

    .service-desc {
        font-size: 0.85rem !important;
        display: block !important;
        line-height: 1.3 !important;
    }

    .nav-item.active .nav-link svg {
        transform: rotate(180deg);
        color: var(--accent-primary);
    }
}

/* Case Study Banner Images */
.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- GENERIC CARDS & PRICING --- */
.pricing-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-card {
    padding: 30px;
    border-radius: 16px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Added for standardized management pages */
.tech-pill {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: 0.3s;
    display: inline-block;
}

.tech-pill:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.cat-icon {
    width: 40px;
    height: 40px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

/* Specific override to reduce header spacing in Success Stories section */
.case-wrapper .section-header {
    margin-bottom: 30px;
    /* Reduced from 60px */
}

/* --- MOBILE RESPONSIVE REFACTORING (New Classes) --- */

/* Index: Expertise Section */
.expertise-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.expertise-header {
    text-align: center;
    margin-bottom: 70px;
}

.expertise-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-primary);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.expertise-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.expertise-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.expertise-card {
    background: white;
    border-radius: 24px;
    padding: 45px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Index: Stats Strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 50px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(79, 70, 229, 0.02));
    border-radius: 24px;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

/* Index: Compliance Section */
.compliance-section-styled {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}


/* Careers: General Styles */
.career-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #f1f5f9;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.career-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.job-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.job-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(99, 102, 241, 0.06);
    color: #6366f1;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-desc {
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.job-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid #f1f5f9;
    margin-top: 20px;
}

.meta-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item svg {
    color: #6366f1;
}

.careers-hero-img-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.careers-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.careers-hero-img-container:hover .careers-hero-img {
    transform: scale(1.03);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(15, 23, 42, 0.8) 100%);
}

/* Careers: Perks Section */
.perks-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 100px 0;
}

.perks-header {
    text-align: center;
    margin-bottom: 60px;
}

.perks-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.perks-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.perks-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.trust-badge-card-indigo {
    flex: 1 1 300px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s;
}

.trust-badge-card-indigo:hover {
    transform: translateY(-10px);
    border-color: #6366f1;
}

.trust-badge-icon-indigo {
    width: 64px;
    height: 64px;
    background: #6366f1;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 25px 0;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

/* Careers: CTA Section */
.cta-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    border-top: 1px solid #f1f5f9;
}


/* --- GLOBAL MOBILE MEDIA QUERIES --- */

/* Tablet & Smaller (Max 1024px) */
@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

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

/* Mobile (Max 768px) */
@media (max-width: 768px) {

    /* Global Container */
    .container {
        padding: 0 20px !important;
    }

    /* Typography Scaling */
    h1,
    .hero-v3-title {
        font-size: 2.5rem !important;
        /* Scale down hero titles */
    }

    h2,
    .expertise-title,
    .perks-title {
        font-size: 2rem !important;
    }

    .hero-v3-subtitle,
    .expertise-subtitle,
    .perks-subtitle {
        font-size: 1rem !important;
    }

    /* Section Padding */
    .expertise-section,
    .compliance-section-styled,
    .perks-section,
    .cta-section {
        padding: 60px 0 !important;
    }

    /* Grids to Single Column */
    .expertise-grid,
    .perks-grid,
    .stats-strip {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .trust-badge-card-indigo {
        padding: 30px !important;
    }

    /* Expertise Cards on Mobile */
    .expertise-card {
        padding: 30px !important;
        min-height: auto !important;
    }

    /* Career Cards */
    .career-card {
        padding: 25px !important;
    }

    .career-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .job-title {
        font-size: 1.35rem;
    }

    .job-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* Careers Hero Image */
    .careers-hero-img-container {
        height: 300px !important;
        /* Smaller height for mobile */
    }

    /* Buttons Full Width on Mobile */
    .hero-v3-btns {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-v3-btns .btn {
        width: 100%;
        justify-content: center;
    }

    /* Trust Badges - Stack them */
    .trust-badges {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Float Cards Hide on Mobile to save space/confusion */
    .float-card {
        display: none !important;
    }

    /* Header/Nav Adjustments were handled in previous CSS block */
}

@media (max-width: 480px) {

    h1,
    .hero-v3-title {
        font-size: 2rem !important;
    }

    .stats-strip {
        padding: 30px !important;
    }
}

/* --- CLOUD MANAGEMENT PAGES RESPONSIVENESS --- */

/* Hero Visual Responsive */
.hero-visual-responsive {
    position: relative;
    height: 400px;
    width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Trust Badges Grid */
.trust-badges-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Stats Excellence Section */
.stats-excellence-section {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    padding: 40px 0;
}

.stats-excellence-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* Mobile Overrides for Cloud Pages */
@media (max-width: 768px) {
    .hero-visual-responsive {
        width: 100% !important;
        height: 350px !important;
        transform: scale(0.9);
    }

    .stats-excellence-container {
        flex-direction: column;
        gap: 30px !important;
    }

    /* Hide the vertical divider in stats excellence on mobile */
    .stats-excellence-container>div[style*="height: 60px"],
    .section .container>div[style*="display: flex"]>div[style*="width: 1px"] {
        display: none !important;
    }

    .trust-badges-grid {
        flex-direction: column;
        align-items: center;
    }

    .trust-badges-grid>div {
        width: 100% !important;
        max-width: 100% !important;
        flex: auto !important;
    }

    /* General Grid fixes for Cloud pages */
    /* Target grids defined with inline styles if possible or generic selectors */
    .section .container>div[style*="grid-template-columns"],
    section .container>div[style*="grid-template-columns"],
    .container>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .plans-grid {
        flex-direction: column !important;
    }

    .plan-card {
        max-width: 100% !important;
    }

    .hero-v3-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-v3-btns .btn {
        width: 100%;
    }

    /* Force clamp massive inline font sizes on mobile */
    section .container h2[style*="font-size"],
    section .container h1[style*="font-size"] {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
}

/* =========================================
   Responsive Grid Utilities (Security & Solutions)
   ========================================= */
.responsive-grid-sidebar {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.responsive-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.responsive-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

/* Tablet Breakpoint */
@media (max-width: 992px) {
    .responsive-grid-sidebar {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .responsive-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Breakpoint */
@media (max-width: 600px) {
    .responsive-grid-4 {
        grid-template-columns: 1fr;
    }

    .responsive-grid-2 {
        grid-template-columns: 1fr;
    }

    .responsive-grid-3 {
        grid-template-columns: 1fr;
    }
}

.responsive-grid-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
    justify-content: center;
    gap: 40px;
}

.process-step-grid {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 600px) {
    .process-step-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
}

/* Responsive Grid for Logos/Small Items */
.responsive-grid-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

@media (max-width: 480px) {
    .responsive-grid-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Professional Compliance Bar */
.compliance-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0;
    margin-top: 50px;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
}

.compliance-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.compliance-item:last-child {
    border-right: none;
}

.compliance-badge-icon {
    width: 2rem;
    height: 2rem;
    color: #4f46e5;
    margin-right: 12px;
    opacity: 1;
}

.compliance-text h6 {
    color: #e0e0e0;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.compliance-text small {
    color: #888;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

@media (max-width: 768px) {
    .compliance-grid {
        grid-template-columns: 1fr 1fr;
    }

    .compliance-item {
        border-right: none;
        margin-bottom: 20px;
        justify-content: flex-start;
    }
}

/* Desktop Layout Overrides for Dropdowns */
@media (min-width: 993px) {
    .dropdown-layout-full {
        display: block !important;
    }

    .dropdown-layout-sidebar {
        display: grid !important;
        grid-template-columns: 280px 1fr !important;
        gap: 40px !important;
    }

    .mega-grid-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Desktop Dropdown Visibility Fix */
@media (min-width: 993px) {

    .nav-item:hover .dropdown-content,
    .nav-item:hover .wide-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: block;
    }

    .wide-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        background: white;
        border-bottom: 1px solid var(--border-color);
        border-top: 1px solid var(--border-color);
        padding: 40px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        z-index: 1000;
    }

    .wide-dropdown .dropdown-grid {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 40px;
    }
}

/* Ensure consistent service card layout in dropdowns */
.dropdown-content .service-card,
.wide-dropdown .service-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 20px !important;
}

.dropdown-content .service-icon,
.wide-dropdown .service-icon {
    flex-shrink: 0 !important;
    width: 48px !important;
    height: 48px !important;
}

.dropdown-content .service-icon svg,
.wide-dropdown .service-icon svg {
    width: 24px !important;
    height: 24px !important;
}

.dropdown-content .service-info,
.wide-dropdown .service-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.dropdown-content .service-title,
.wide-dropdown .service-title {
    display: block !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.dropdown-content .service-desc,
.wide-dropdown .service-desc {
    display: block !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
}

/* Ensure mobile menu links are clickable */
@media (max-width: 992px) {
    .nav-link {
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .nav-item {
        position: relative !important;
        z-index: 1 !important;
    }
}

/* ==========================================
   MOBILE NAVIGATION (Redesigned)
   ========================================== */

/* Hide Desktop Menu on Mobile */
@media (max-width: 992px) {
    .nav-menu {
        display: none !important;
    }
}

/* Mobile Drawer Styles */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    /* Slide from right */
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: #ffffff;
    z-index: 2000;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Smooth eased slide */
    display: flex;
    flex-direction: column;
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-logo {
    height: 40px;
    width: auto;
}

.mobile-close-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.mobile-close-btn:hover {
    color: #ef4444;
}

.mobile-nav-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

/* Scrollbar styling */
.mobile-nav-content::-webkit-scrollbar {
    width: 4px;
}

.mobile-nav-content::-webkit-scrollbar-thumb {
    background-color: #e2e8f0;
    border-radius: 4px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f8fafc;
}

.mobile-nav-link-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    background: white;
    transition: background 0.2s;
}

.mobile-nav-link-toggle:hover {
    background: #f8fafc;
}

.mobile-nav-link-toggle .arrow {
    font-size: 0.8rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.mobile-nav-item.active .mobile-nav-link-toggle .arrow {
    transform: rotate(180deg);
    color: #4f46e5;
}

.mobile-nav-item.active .mobile-nav-link-toggle {
    color: #4f46e5;
}

.mobile-sub-menu {
    max-height: 0;
    overflow: hidden;
    background: #f8fafc;
    transition: max-height 0.4s ease-out;
    /* Smooth height anim */
}

.mobile-nav-item.active .mobile-sub-menu {
    max-height: 1000px;
    /* Arbitrary large height */
    transition: max-height 0.6s ease-in;
}

.mobile-sub-link {
    display: block;
    padding: 12px 20px 12px 30px;
    color: #475569;
    font-size: 0.95rem;
    border-left: 2px solid transparent;
}

.mobile-sub-link:hover {
    color: #4f46e5;
    background: #f1f5f9;
    border-left-color: #4f46e5;
}

.mobile-nav-footer {
    padding: 20px;
    border-top: 1px solid #f1f5f9;
}

/* Mobile Menu Z-Index Fix */
.mobile-nav-overlay {
    z-index: 999998 !important;
}

.mobile-nav-drawer {
    z-index: 999999 !important;
}

/* SUPER FORCE HIDE old menu on mobile to prevent conflicts */
@media screen and (max-width: 992px) {

    nav.nav-menu,
    .nav-menu,
    .desktop-nav {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        pointer-events: none !important;
    }
}

/* Ensure hamburger is visible on mobile */
@media screen and (max-width: 992px) {
    .mobile-menu-btn {
        display: block !important;
        z-index: 1005 !important;
        /* Ensure it's clickable initially */
    }
}

/* FIX: Hide Mobile Drawer/Overlay on Desktop */
@media screen and (min-width: 993px) {

    .mobile-nav-drawer,
    .mobile-nav-overlay {
        display: none !important;
    }
}

/* FIX: Ensure overlay doesn't block clicks when hidden */
.mobile-nav-overlay {
    pointer-events: none !important;
}

.mobile-nav-overlay.active {
    pointer-events: auto !important;
}

/* COMPACT FOOTER ON MOBILE */
@media screen and (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 columns side-by-side */
        gap: 20px 15px;
        /* compact gap */
    }

    /* Brand Column: Full Width & Centered */
    .footer-col.brand-col {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        /* subtle divider */
        padding-bottom: 20px;
    }

    .footer-col.brand-col .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }

    .footer-desc {
        display: none;
        /* Hide description to save space */
    }

    .footer-contact {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
        margin-bottom: 15px;
    }

    .social-links {
        justify-content: center;
    }

    /* Compact Links */
    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 15px;
        color: #ffffff;
    }

    .footer-menu li {
        margin-bottom: 8px;
    }

    .footer-menu a {
        font-size: 0.85rem;
    }

    /* Legal/Bottom Footer */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-top: 30px;
        padding-top: 20px;
    }
}

/* COMPLIANCE BAR CENTER ALIGNMENT (Mobile) */
@media screen and (max-width: 768px) {
    .compliance-bar {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .compliance-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2x2 Grid */
        gap: 15px;
    }

    .compliance-item {
        display: flex;
        flex-direction: column;
        /* Stack Icon + Text */
        align-items: center;
        text-align: center;
        justify-content: center;
        border-right: none !important;
        /* Remove vertical dividers */
        padding: 15px 10px;
        background: rgba(255, 255, 255, 0.03);
        /* Optional: subtle card bg */
        border-radius: 8px;
    }

    .compliance-badge-icon {
        margin-right: 0 !important;
        margin-bottom: 8px;
        width: 24px;
        height: 24px;
    }

    .compliance-text h6 {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }

    .compliance-text small {
        font-size: 0.65rem;
        opacity: 0.7;
    }
}

/* ==========================================
   ECOSYSTEM SECTION V2 (Grid Redesign)
   ========================================== */

.ecosystem-section-v2 {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
}

.ecosystem-section-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(at 10% 10%, rgba(79, 70, 229, 0.05) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(56, 189, 248, 0.05) 0px, transparent 50%);
    pointer-events: none;
}

.ecosystem-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
}

.ecosystem-card-v2 {
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.card-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-primary), #6366f1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ecosystem-card-v2:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.05),
        0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: rgba(79, 70, 229, 0.3);
}

.ecosystem-card-v2:hover .card-gradient-bg {
    opacity: 1;
}

/* Featured Card Styling */
.ecosystem-card-v2.featured {
    border-color: rgba(79, 70, 229, 0.4);
    box-shadow:
        0 10px 15px -3px rgba(79, 70, 229, 0.05),
        0 4px 6px -2px rgba(79, 70, 229, 0.025);
    background: linear-gradient(180deg, #ffffff 0%, #fefeff 100%);
    z-index: 1;
}

.ecosystem-card-v2.featured .card-gradient-bg {
    opacity: 1;
    height: 100%;
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.eco-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.eco-icon-box {
    width: 60px;
    height: 60px;
    background: #f0fdfa;
    /* Fallback */
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.ecosystem-card-v2:hover .eco-icon-box {
    background: var(--accent-primary);
    color: white;
    transform: rotate(-5deg) scale(1.1);
}

.eco-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.eco-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.eco-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 35px;
}

.eco-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-check {
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.eco-feature-item svg {
    width: 12px;
    height: 12px;
}

.eco-feature-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.eco-feature-item span {
    display: block;
    color: #64748b;
    font-size: 0.85rem;
}

.eco-link {
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 10px;
    background: rgba(79, 70, 229, 0.05);
    transition: all 0.3s ease;
    margin-top: auto;
}

.eco-link:hover {
    background: var(--accent-primary);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .ecosystem-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ecosystem-card-v2.featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .ecosystem-grid-v2 {
        grid-template-columns: 1fr;
    }

    .ecosystem-card-v2.featured {
        grid-column: auto;
    }

    .ecosystem-section-v2 {
        padding: 60px 0;
    }
}