/* ============================================
   AVANTCERT - PREMIUM WEBSITE DESIGN
   Navy Blue + Orange | Apple-Inspired Aesthetics
   ============================================ */

/* ============================================
   CSS VARIABLES - DESIGN TOKENS
   ============================================ */
:root {
    /* Navy Blue Palette */
    --navy-dark: #001f3f;
    --navy-medium: #003366;
    --navy-light: #004080;
    --navy-lighter: #0059b3;

    /* Orange Palette */
    --orange-primary: #fd910b;
    --orange-accent: #fd910b;
    --orange-light: #fd910b;
    --orange-lighter: #fd910b;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Typography */
    --font-primary: 'Helvetica Neue', 'Helvetica', 'Arial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */
    --text-5xl: 3rem;
    /* 48px */
    --text-6xl: 3.75rem;
    /* 60px */

    /* Spacing Scale */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-5: 1.25rem;
    /* 20px */
    --space-6: 1.5rem;
    /* 24px */
    --space-8: 2rem;
    /* 32px */
    --space-10: 2.5rem;
    /* 40px */
    --space-12: 3rem;
    /* 48px */
    --space-16: 4rem;
    /* 64px */
    --space-20: 5rem;
    /* 80px */
    --space-24: 6rem;
    /* 96px */

    /* Border Radius */
    --radius-sm: 0.375rem;
    /* 6px */
    --radius-md: 0.5rem;
    /* 8px */
    --radius-lg: 0.75rem;
    /* 12px */
    --radius-xl: 1rem;
    /* 16px */
    --radius-2xl: 1.5rem;
    /* 24px */
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (min-width: 1536px) {
    .container {
        max-width: 1440px;
    }
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo img {
    height: 180px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    position: relative;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--space-2) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: var(--space-2);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--navy-dark);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 72px;
    overflow: hidden;
    background: var(--navy-dark);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.03);
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: var(--space-20) var(--space-6);
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: var(--text-xl);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-10);
    font-weight: 400;
}

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

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    z-index: 1000;
    /* Using a high z-index, assuming var(--z-fixed) is not defined */
    background-color: #25D366;
    /* WhatsApp green */
    color: var(--white);
    border-radius: var(--radius-full);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    /* For an icon */
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-base), background-color var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.05) translateY(-2px);
    background-color: #1DA851;
    /* Slightly darker green on hover */
}

/* Back-to-top button positioning adjustment (if it exists and conflicts) */
/* Assuming a back-to-top button might be positioned similarly,
   adjust its 'right' property if needed to avoid overlap with .whatsapp-float.
   For example, if .back-to-top is also 'right: var(--space-8);',
   you might change it to 'right: calc(var(--space-8) + 70px);' or similar.
   This is a placeholder as the back-to-top button styles are not provided. */

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--orange-primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(255, 107, 53, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #25D366;
    transform: translateY(-2px);
}

/* WhatsApp Button - Green Text */
.btn-whatsapp {
    background: white;
    color: #25D366;
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

.btn span {
    position: relative;
    z-index: 1;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: var(--space-20) 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

.stat-card {
    text-align: center;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-light);
}

.stat-number {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-base);
    color: var(--gray-600);
    font-weight: 500;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-16);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

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

.service-card {
    padding: var(--space-10);
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--orange-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--orange-light);
}

/* Service Icons */
.service-icon {
    width: 80px;
    height: 80px;
    background: var(--navy-dark);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-icon svg,
.service-icon i {
    width: 40px;
    height: 40px;
    color: var(--orange-primary);
    stroke-width: 2;
}

/* Lucide Icon Base Styles */
i[data-lucide] {
    display: inline-block;
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* Icon Styles */
.icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* Lucide Icon Styles */
i[data-lucide] {
    display: inline-block;
    width: 20px;
    height: 20px;
    stroke-width: 2;
    vertical-align: middle;
}

.icon-container i[data-lucide] {
    width: 48px;
    height: 48px;
}

.principle-icon i[data-lucide] {
    width: 24px;
    height: 24px;
    color: var(--orange-primary);
}

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

.step-icon i[data-lucide] {
    width: 32px;
    height: 32px;
}

.service-icon i[data-lucide] {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--space-4);
}

.service-card p {
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--orange-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: var(--space-3);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: var(--space-24) 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.feature-card {
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-light);
}

.feature-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--orange-primary);
    margin-bottom: var(--space-4);
}

.feature-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--space-3);
}

.feature-card p {
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.process-step {
    display: flex;
    gap: var(--space-6);
    align-items: flex-start;
}

.step-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: var(--navy-dark);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.step-icon svg {
    width: 36px;
    height: 36px;
}

.step-content h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--space-2);
}

.step-content p {
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: var(--space-24) 0;
    overflow: hidden;
    background: var(--navy-dark);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.05);
}

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

.cta-content h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-10);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PREMIUM SUPPORT SECTION
   ============================================ */
.premium-support-section {
    padding: var(--space-20) 0;
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
}

.premium-support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.03);
    pointer-events: none;
}

.premium-support-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: var(--space-16);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-2xl);
}

.premium-support-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.premium-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--orange-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-4);
}

.premium-support-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.premium-support-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: var(--space-2);
}

.premium-support-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.premium-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.premium-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--orange-primary);
    transform: translateY(-3px);
}

.premium-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--orange-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.premium-feature-icon svg,
.premium-feature-icon i {
    width: 24px;
    height: 24px;
}

.premium-feature-content h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-2);
}

.premium-feature-content p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.premium-support-cta {
    text-align: center;
    margin-top: var(--space-12);
    padding-top: var(--space-12);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-support-cta .btn {
    margin: 0 var(--space-2);
}

/* ============================================
   FOOTER - MODERN APPLE STYLE
   ============================================ */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 180px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 0.8;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.938rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--orange-primary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: var(--orange-primary);
    transform: translateY(-2px);
}

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

.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo img {
        height: 60px;
    }
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 60px;
    height: 60px;
    background: var(--orange-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
    animation: glow 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Glow animation for WhatsApp button */
@keyframes glow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(255, 107, 53, 0.8), 0 0 20px rgba(255, 107, 53, 0.5);
    }
}

/* Adjust WhatsApp button when back-to-top is visible */
.whatsapp-float.shift-left {
    right: calc(var(--space-8) + 72px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 56px;
    height: 56px;
    background: var(--navy-dark);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--text-4xl);
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .services-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--space-8);
        gap: var(--space-6);
        transition: left var(--transition-base);
        box-shadow: var(--shadow-xl);
    }

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

    .hamburger {
        display: flex;
    }

    /* Hide navbar buttons on mobile for perfect alignment */
    .nav-wrapper>div[style*="display: flex"] {
        display: none !important;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    .hero-content {
        padding: var(--space-8) var(--space-4) !important;
        max-width: 100% !important;
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .section-subtitle {
        font-size: var(--text-base);
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

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

    .process-step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .hero-content {
        padding: var(--space-6) var(--space-3) !important;
    }

    .stat-number {
        font-size: var(--text-3xl);
    }

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

/* ============================================
   COMPLIANCE FRAMEWORKS SECTION
   ============================================ */
.compliance-section {
    padding: var(--space-20) 0;
    background: var(--white);
    text-align: center;
}

.compliance-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-12);
    margin: var(--space-12) 0;
}

.compliance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    width: 120px;
}

.compliance-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--navy-dark);
    font-size: var(--text-lg);
    transition: all var(--transition-base);
    text-align: center;
    padding: var(--space-2);
    /* For long text like ISO 27001 */
}

/* Specific colors for placeholder "logos" to make them look distinct */
.compliance-item:nth-child(1) .compliance-circle {
    color: #4285F4;
    border-color: #4285F4;
    background: #e8f0fe;
}

.compliance-item:nth-child(2) .compliance-circle {
    color: #0F9D58;
    border-color: #0F9D58;
    background: #e6f4ea;
}

.compliance-item:nth-child(3) .compliance-circle {
    color: #DB4437;
    border-color: #DB4437;
    background: #fce8e6;
}

.compliance-item:nth-child(4) .compliance-circle {
    color: #F4B400;
    border-color: #F4B400;
    background: #fef7e0;
}

.compliance-item:nth-child(5) .compliance-circle {
    color: #ab47bc;
    border-color: #ab47bc;
    background: #f3e5f5;
}

.compliance-item:nth-child(6) .compliance-circle {
    color: #00acc1;
    border-color: #00acc1;
    background: #e0f7fa;
}

.compliance-item:nth-child(7) .compliance-circle {
    color: #3949ab;
    border-color: #3949ab;
    background: #e8eaf6;
}

.compliance-circle:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.compliance-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
}

.compliance-cta {
    margin-top: var(--space-10);
}

/* ============================================
   HERO SUPPORT PILL
   ============================================ */
.hero-support-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: var(--space-2) var(--space-2) var(--space-2) var(--space-6);
    border-radius: 60px;
    margin-bottom: var(--space-8);
    max-width: 100%;
    overflow-x: auto;
    /* In case of very small screens */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-support-text {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
}

.hero-support-icons {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.hero-pill-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--navy-dark);
    background: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Coloring specific icons to match branding, reusing colors from compliance section but scaled */
.hero-pill-icon.soc2 {
    color: #4285F4;
    background: #e8f0fe;
    border-color: #4285F4;
}

.hero-pill-icon.iso {
    color: #0F9D58;
    background: #e6f4ea;
    border-color: #0F9D58;
}

.hero-pill-icon.hipaa {
    color: #DB4437;
    background: #fce8e6;
    border-color: #DB4437;
}

.hero-pill-icon.gdpr {
    color: #F4B400;
    background: #fef7e0;
    border-color: #F4B400;
}

.hero-pill-icon.nist {
    color: #ab47bc;
    background: #f3e5f5;
    border-color: #ab47bc;
}

.hero-more-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    padding: var(--space-2) var(--space-4);
    border-radius: 20px;
    white-space: nowrap;
    transition: background var(--transition-base);
}

.hero-support-pill:hover .hero-more-badge {
    background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   CLIENT SCROLL SECTION
   ============================================ */
.client-scroll-section {
    padding: var(--space-12) 0;
    background: var(--white);
    overflow: hidden;
    /* Ensure content doesn't spill out */
}

.client-scroll-title {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: var(--space-8);
}

.scroll-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    /* Mask the overflow */
    padding: var(--space-4) 0;
}

.scroll-container::before,
.scroll-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.scroll-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.scroll-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.scroll-track {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    /* Space between logos */
    animation: scroll 40s linear infinite;
    /* Slow, continuous scroll */
    width: max-content;
    /* Ensure it wraps contents */
}

/* Pause animation on hover for user interaction */
.scroll-track:hover {
    animation-play-state: paused;
}

.client-logo {
    height: 60px;
    /* Premium fixed height */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all var(--transition-base);
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

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

    100% {
        transform: translateX(calc(-50% - var(--space-8)));
        /* Move half way (since we duplicate content) */
    }
}