/* ============================================
   SMARTQ E-CONNECT - Master Stylesheet
   ============================================
   1.  CSS Custom Properties
   2.  CSS Reset
   3.  Base Typography
   4.  Utility Classes
   5.  Layout Helpers
   6.  Header & Navigation
   7.  Mobile Menu
   8.  Hero Sections
   9.  Section Styles
   10. Cards
   11. Stats Counter
   12. Buttons & CTAs
   13. Forms
   14. Footer
   15. Back to Top
   16. Page: Home
   17. Page: About
   18. Page: Alliances
   19. Page: Services
   20. Page: Franchise
   21. Page: Careers
   22. Page: Contact
   23. Media Queries
   ============================================ */

/* 1. CSS Custom Properties
   ============================================ */
:root {
    --color-primary: #0A2463;
    --color-primary-light: #0E3082;
    --color-primary-dark: #061A4A;
    --color-accent: #E31E2D;
    --color-accent-hover: #C4111F;
    --color-highlight: #FFC300;
    --color-highlight-hover: #E6AF00;
    --color-light-gray: #C8C8C8;
    --color-medium-gray: #6B7280;
    --color-dark: #0D1B2A;
    --color-white: #FFFFFF;
    --color-off-white: #F5F7FA;
    --color-bg-alt: #EEF1F6;

    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Lato', sans-serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    --container-max: 1200px;
    --container-padding: 1.5rem;
    --nav-height: 90px;
    --nav-height-scrolled: 100px;

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-nav: 0 2px 10px rgba(0, 0, 0, 0.08);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 2. CSS Reset
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
    width: 100%;
}

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

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

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Skip to content (accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* 3. Base Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 { font-size: 3rem; margin-bottom: var(--space-lg); }
h2 { font-size: 2.25rem; margin-bottom: var(--space-lg); }
h3 { font-size: 1.5rem; margin-bottom: var(--space-md); font-weight: 600; }
h4 { font-size: 1.25rem; margin-bottom: var(--space-sm); font-weight: 600; }

p {
    margin-bottom: var(--space-md);
    color: var(--color-dark);
    line-height: 1.7;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-medium-gray);
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

/* 4. Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-highlight { color: var(--color-highlight); }
.text-white { color: var(--color-white); }
.text-gray { color: var(--color-medium-gray); }

/* Brand accent - "Smart" in SmartQ */
.brand-smart {
    color: #ffffff;
    font-weight: inherit;
}

.bg-primary { background-color: var(--color-primary); }
.bg-accent { background-color: var(--color-accent); }
.bg-white { background-color: var(--color-white); }
.bg-off-white { background-color: var(--color-off-white); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 5. Layout Helpers
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-2xl) 0;
}

.section--alt {
    background-color: var(--color-off-white);
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

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

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 6. Header & Navigation
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    z-index: 1000;
    transition: height var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.main-header::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 36, 99, 0.95) 0%,
        rgba(20, 50, 120, 0.92) 25%,
        rgba(10, 36, 99, 0.95) 50%,
        rgba(25, 58, 138, 0.92) 75%,
        rgba(10, 36, 99, 0.95) 100%
    );
    background-size: 300% 300%;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.main-header.scrolled::before {
    opacity: 1;
    animation: navGradientShift 8s ease infinite;
}

.main-header.scrolled {
    height: var(--nav-height-scrolled);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

@keyframes navGradientShift {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 100% 25%; }
    50%  { background-position: 100% 50%; }
    75%  { background-position: 0% 75%; }
    100% { background-position: 0% 50%; }
}

/* Animated Dot Pattern on Scrolled Nav */
.main-header::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 24px 24px, 36px 36px;
    background-position: 0px 0px, 12px 12px;
    transition: opacity 0.6s ease;
    z-index: -1;
    pointer-events: none;
}

.main-header.scrolled::after {
    opacity: 1;
    animation: navDotsDrift 12s linear infinite;
}

@keyframes navDotsDrift {
    0%   { background-position: 0px 0px, 12px 12px; }
    25%  { background-position: 6px -8px, 18px 4px; }
    50%  { background-position: 12px 0px, 24px 12px; }
    75%  { background-position: 6px 8px, 18px 20px; }
    100% { background-position: 0px 0px, 12px 12px; }
}

/* Page-Specific Dot Theming */
body.page-about .main-header::after {
    background-image:
        radial-gradient(circle, rgba(167,139,250,0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(196,181,253,0.10) 1px, transparent 1px);
}

body.page-services .main-header::after {
    background-image:
        radial-gradient(circle, rgba(45,212,191,0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(94,234,212,0.10) 1px, transparent 1px);
}

body.page-franchise .main-header::after {
    background-image:
        radial-gradient(circle, rgba(196,181,253,0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(167,139,250,0.10) 1px, transparent 1px);
}

body.page-careers .main-header::after {
    background-image:
        radial-gradient(circle, rgba(94,234,212,0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(45,212,191,0.10) 1px, transparent 1px);
}

body.page-alliances .main-header::after {
    background-image:
        radial-gradient(circle, rgba(129,140,248,0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(165,180,252,0.10) 1px, transparent 1px);
}

body.page-contact .main-header::after {
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.14) 1px, transparent 1px),
        radial-gradient(circle, rgba(200,220,255,0.10) 1px, transparent 1px);
}

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

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform var(--transition-base);
}

.logo-link:hover {
    transform: scale(1.03);
}

.logo-link:hover .logo-img {
    filter: brightness(1.08);
}

.logo-img {
    height: 78px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all var(--transition-base);
}

.main-header.scrolled .logo-img {
    height: 88px;
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0.9rem;
    border-radius: var(--border-radius-sm);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0) translateY(0);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-highlight), var(--color-accent));
    border-radius: 3px;
    transition: none;
    pointer-events: none;
    box-shadow: 0 0 6px rgba(255, 195, 0, 0.4);
}

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

.nav-link:hover::after {
    animation: navBarBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.nav-link.active {
    color: var(--color-white);
}

.nav-link.active::after {
    transform: translateX(-50%) scaleX(1) translateY(0);
    box-shadow: 0 0 8px rgba(255, 195, 0, 0.5);
}

@keyframes navBarBounce {
    0%   { transform: translateX(-50%) scaleX(0) translateY(6px); }
    50%  { transform: translateX(-50%) scaleX(1.1) translateY(-3px); }
    70%  { transform: translateX(-50%) scaleX(0.95) translateY(1px); }
    100% { transform: translateX(-50%) scaleX(1) translateY(0); }
}

.nav-link--cta {
    background: linear-gradient(135deg, var(--color-accent), #ff4757);
    color: var(--color-white) !important;
    border-radius: var(--border-radius-md);
    padding: 0.55rem 1.4rem;
    box-shadow: 0 3px 12px rgba(227, 30, 45, 0.3);
}

.nav-link--cta::before,
.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: linear-gradient(135deg, var(--color-accent-hover), var(--color-accent));
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 45, 0.4);
}

/* Floating Login / Register CTA
   ============================================ */
.floating-login {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #0052d4, #4364f7, #6fb1fc);
    background-size: 300% 300%;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 82, 212, 0.4), 0 2px 8px rgba(0,0,0,0.15);
    overflow: hidden;
    animation: floatingGradient 4s ease infinite;
    transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-login__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    border: 2px solid rgba(99, 179, 237, 0.5);
    animation: floatingPulseRing 2.5s ease-out infinite;
    pointer-events: none;
}

.floating-login__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.floating-login__text {
    display: flex;
    flex-direction: column;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    padding-right: 0;
    white-space: nowrap;
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease 0.1s,
                padding-right 0.4s ease;
}

.floating-login__label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

.floating-login__tagline {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.3;
    margin-top: 1px;
}

.floating-login:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 82, 212, 0.55), 0 4px 12px rgba(0,0,0,0.2);
}

.floating-login:hover .floating-login__text {
    max-width: 260px;
    opacity: 1;
    padding-right: 1.3rem;
}

.floating-login:hover .floating-login__icon {
    animation: floatingIconBounce 0.5s ease;
}

.floating-login:active {
    transform: translateY(-50%) scale(0.97);
}

/* Floating CTA - Shimmer on hover */
.floating-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.floating-login:hover::before {
    left: 100%;
}

@keyframes floatingGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatingPulseRing {
    0%   { transform: scale(1); opacity: 0.6; }
    70%  { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(1.15); opacity: 0; }
}

@keyframes floatingIconBounce {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.2); }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Mobile: reposition to bottom-right corner, always expanded */
@media (max-width: 768px) {
    .floating-login {
        top: auto;
        bottom: 5.5rem;
        right: 1rem;
        transform: none;
    }

    .floating-login:hover {
        transform: scale(1.05);
    }

    .floating-login:active {
        transform: scale(0.97);
    }

    .floating-login__icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .floating-login__text {
        max-width: 260px;
        opacity: 1;
        padding-right: 1.1rem;
    }

    .floating-login__label {
        font-size: 0.82rem;
    }

    .floating-login__tagline {
        font-size: 0.62rem;
    }
}

/* 7. Mobile Menu
   ============================================ */
.mobile-menu-btn {
    display: none;
    padding: 0.5rem;
    z-index: 1010;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

/* Animated hamburger icon */
.hamburger {
    width: 26px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger__line {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger__line:nth-child(1) {
    transform: translateY(8.75px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger__line:nth-child(3) {
    transform: translateY(-8.75px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.mobile-overlay.active {
    visibility: visible;
    pointer-events: auto;
}

/* Animated background */
.mobile-overlay__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #050E27 0%, #0A2463 40%, #0E3082 70%, #0D1B2A 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-overlay.active .mobile-overlay__bg {
    opacity: 1;
}

/* Menu content container */
.mobile-menu-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 5rem 2rem 2rem;
    gap: 2rem;
}

/* Mobile logo */
.mobile-menu-logo {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.15s;
}

.mobile-overlay.active .mobile-menu-logo {
    opacity: 1;
    transform: translateY(0);
}

/* Nav list with staggered animation */
.mobile-overlay .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 320px;
}

.mobile-overlay .nav-list li {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-overlay.active .nav-list li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-overlay.active .nav-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-overlay.active .nav-list li:nth-child(2) { transition-delay: 0.15s; }
.mobile-overlay.active .nav-list li:nth-child(3) { transition-delay: 0.2s; }
.mobile-overlay.active .nav-list li:nth-child(4) { transition-delay: 0.25s; }
.mobile-overlay.active .nav-list li:nth-child(5) { transition-delay: 0.3s; }
.mobile-overlay.active .nav-list li:nth-child(6) { transition-delay: 0.35s; }
.mobile-overlay.active .nav-list li:nth-child(7) { transition-delay: 0.4s; }

.mobile-overlay .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-overlay .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 195, 0, 0.6);
    transition: color 0.3s ease;
}

.mobile-overlay .nav-link:hover,
.mobile-overlay .nav-link.active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
}

.mobile-overlay .nav-link:hover i,
.mobile-overlay .nav-link.active i {
    color: var(--color-highlight);
}

.mobile-overlay .nav-link::after {
    display: none;
}

.mobile-overlay .nav-link--cta {
    background: linear-gradient(135deg, var(--color-highlight), #E6AF00);
    color: var(--color-primary-dark) !important;
    margin-top: var(--space-md);
    border: none;
    border-radius: var(--border-radius-md);
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 195, 0, 0.3);
}

.mobile-overlay .nav-link--cta i {
    color: var(--color-primary-dark);
}

.mobile-overlay .nav-link--cta:hover {
    background: linear-gradient(135deg, #FFE066, var(--color-highlight));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 195, 0, 0.4);
}

/* Close button */
.mobile-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.2s;
}

.mobile-overlay.active .mobile-close-btn {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.mobile-close-btn:hover {
    background: rgba(227, 30, 45, 0.2);
    border-color: rgba(227, 30, 45, 0.4);
    transform: rotate(90deg) scale(1.1);
}

/* Mobile menu footer */
.mobile-menu-footer {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.45s;
}

.mobile-overlay.active .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-footer p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.mobile-menu-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

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

/* 8. Hero Sections
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + var(--space-xl)) var(--container-padding) var(--space-xl);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Home hero gradient */
.hero--home {
    background: linear-gradient(135deg, #0A2463 0%, #0E3082 40%, #162F65 70%, #0D1B2A 100%);
}

.hero--home::before {
    background:
        radial-gradient(circle at 20% 50%, rgba(227, 30, 45, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 195, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(14, 48, 130, 0.3) 0%, transparent 50%);
}

/* Page hero (shorter) */
.hero--page {
    min-height: 45vh;
    background: linear-gradient(135deg, #0A2463 0%, #0E3082 50%, #0D1B2A 100%);
}

.hero--page::before {
    background: radial-gradient(circle at 30% 50%, rgba(255, 195, 0, 0.08) 0%, transparent 50%);
}

/* Geometric pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(30deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%),
        linear-gradient(150deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%),
        linear-gradient(30deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%),
        linear-gradient(150deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: var(--space-lg);
    line-height: 1.15;
}

.hero h1 span {
    color: var(--color-highlight);
}

.hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    justify-content: center;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

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

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* Floating shapes decoration (legacy) */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    animation: float 8s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--color-highlight);
    top: -50px;
    right: -80px;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    bottom: 10%;
    left: -60px;
    animation-delay: 2s;
}

.hero-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    background: var(--color-white);
    top: 40%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ============================================
   CONTEXT-AWARE PAGE HERO ANIMATIONS
   ============================================ */

.hero-anim {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

/* Shared keyframes */
@keyframes heroOrbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

@keyframes heroDrift {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-15px) translateX(8px); }
    75% { transform: translateY(10px) translateX(-5px); }
}

/* ---------- ABOUT: Orbiting Constellation ----------
   Theme: Community, team, organization
   Visual: Concentric orbit rings with glowing nodes */

.hero--about {
    background: linear-gradient(135deg, #0A2463 0%, #151B54 40%, #1B1464 65%, #0D1B2A 100%);
}

.hero--about::before {
    background:
        radial-gradient(circle at 25% 45%, rgba(108, 92, 231, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 55%, rgba(255, 195, 0, 0.07) 0%, transparent 45%);
}

.hero--about .hero-shapes::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1.5px solid rgba(255, 195, 0, 0.06);
    border-radius: 50%;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
    animation: heroOrbit 35s linear infinite;
}

.hero--about .hero-shapes::after {
    content: '';
    position: absolute;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(227, 30, 45, 0.06);
    border-radius: 50%;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
    animation: heroOrbit 22s linear infinite reverse;
}

.hero--about .hero-shape:nth-child(1) {
    width: 12px;
    height: 12px;
    background: var(--color-highlight);
    top: 50%;
    left: 65%;
    right: auto;
    bottom: auto;
    opacity: 0.8;
    box-shadow: 0 0 25px rgba(255, 195, 0, 0.5), 0 0 60px rgba(255, 195, 0, 0.15);
    animation: heroAboutNode1 35s linear infinite;
}

.hero--about .hero-shape:nth-child(2) {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    top: 50%;
    left: 65%;
    right: auto;
    bottom: auto;
    opacity: 0.7;
    box-shadow: 0 0 20px rgba(227, 30, 45, 0.4), 0 0 50px rgba(227, 30, 45, 0.1);
    animation: heroAboutNode2 22s linear infinite reverse;
}

.hero--about .hero-anim--1 {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15), transparent 70%);
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
    animation: heroBreathe 4s ease-in-out infinite;
}

.hero--about .hero-anim--2 {
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
    animation: heroOrbit 15s linear infinite;
    background: transparent;
}

.hero--about .hero-anim--3 {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    top: 50%;
    left: 65%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: heroAboutNode3 15s linear infinite;
}

@keyframes heroAboutNode1 {
    from { transform: rotate(0deg) translateX(190px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(190px) rotate(-360deg); }
}

@keyframes heroAboutNode2 {
    from { transform: rotate(0deg) translateX(115px) rotate(0deg); }
    to { transform: rotate(-360deg) translateX(115px) rotate(360deg); }
}

@keyframes heroAboutNode3 {
    from { transform: rotate(0deg) translateX(60px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(60px) rotate(-360deg); }
}

/* ---------- SERVICES: Digital Matrix ----------
   Theme: Technology, variety, comprehensive
   Visual: Floating hexagons, scan line, grid pattern */

.hero--services {
    background: linear-gradient(135deg, #0A2463 0%, #0E3082 30%, #0B4D6E 65%, #0D1B2A 100%);
}

.hero--services::before {
    background:
        radial-gradient(circle at 70% 35%, rgba(0, 188, 212, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 25% 65%, rgba(14, 48, 130, 0.15) 0%, transparent 50%);
}

.hero--services .hero-shapes::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 188, 212, 0.12) 20%, rgba(255, 195, 0, 0.08) 50%, rgba(0, 188, 212, 0.12) 80%, transparent 100%);
    top: 0;
    left: 0;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.1);
    animation: heroScanLine 5s ease-in-out infinite;
}

.hero--services .hero-shapes::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle, rgba(0, 188, 212, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: heroGridPulse 8s ease-in-out infinite;
}

.hero--services .hero-shape:nth-child(1) {
    width: 100px;
    height: 100px;
    background: transparent;
    border: 1.5px solid rgba(0, 188, 212, 0.07);
    top: 20%;
    right: 12%;
    left: auto;
    bottom: auto;
    opacity: 1;
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: heroHexFloat 10s ease-in-out infinite;
}

.hero--services .hero-shape:nth-child(2) {
    width: 65px;
    height: 65px;
    background: transparent;
    border: 1px solid rgba(255, 195, 0, 0.06);
    top: 60%;
    left: 8%;
    right: auto;
    bottom: auto;
    opacity: 1;
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: heroHexFloat 12s ease-in-out 3s infinite;
}

.hero--services .hero-anim--1 {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    top: 40%;
    left: 22%;
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: heroHexFloat 9s ease-in-out 1.5s infinite;
}

.hero--services .hero-anim--2 {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(0, 188, 212, 0.2), transparent);
    top: 15%;
    right: 30%;
    border-radius: 2px;
    animation: heroDataStream 3s ease-in-out infinite;
}

.hero--services .hero-anim--3 {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(255, 195, 0, 0.15), transparent);
    top: 55%;
    right: 25%;
    border-radius: 2px;
    animation: heroDataStream 4s ease-in-out 1.5s infinite;
}

@keyframes heroScanLine {
    0% { top: -2%; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { top: 102%; opacity: 0; }
}

@keyframes heroGridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes heroHexFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(-20px) rotate(30deg); opacity: 0.9; }
}

@keyframes heroDataStream {
    0% { transform: translateY(0); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { transform: translateY(120px); opacity: 0; }
}

/* ---------- FRANCHISE: Expansion Ripples ----------
   Theme: Growth, opportunity, expansion
   Visual: Concentric expanding rings, pulsing beacon */

.hero--franchise {
    background: linear-gradient(135deg, #0A2463 0%, #0E3082 35%, #2D1B69 65%, #0D1B2A 100%);
}

.hero--franchise::before {
    background:
        radial-gradient(circle at 70% 50%, rgba(255, 195, 0, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 30% 60%, rgba(227, 30, 45, 0.05) 0%, transparent 40%);
}

.hero--franchise .hero-shapes::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border: 2px solid rgba(255, 195, 0, 0.08);
    border-radius: 50%;
    top: 50%;
    right: 15%;
    transform: translate(50%, -50%) scale(0.3);
    animation: heroRippleExpand 4s ease-out infinite;
}

.hero--franchise .hero-shapes::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border: 2px solid rgba(255, 195, 0, 0.06);
    border-radius: 50%;
    top: 50%;
    right: 15%;
    transform: translate(50%, -50%) scale(0.3);
    animation: heroRippleExpand 4s ease-out 1.3s infinite;
}

.hero--franchise .hero-shape:nth-child(1) {
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, var(--color-highlight), rgba(255, 195, 0, 0.3));
    top: 50%;
    right: 15%;
    left: auto;
    bottom: auto;
    opacity: 1;
    transform: translate(50%, -50%);
    box-shadow: 0 0 35px rgba(255, 195, 0, 0.4), 0 0 70px rgba(255, 195, 0, 0.15);
    animation: heroFranchisePulse 3s ease-in-out infinite;
}

.hero--franchise .hero-shape:nth-child(2) {
    width: 180px;
    height: 180px;
    background: transparent;
    border: 1px dashed rgba(255, 195, 0, 0.04);
    top: 50%;
    right: 15%;
    left: auto;
    bottom: auto;
    opacity: 1;
    transform: translate(50%, -50%);
    animation: heroOrbitFranchise 20s linear infinite;
}

.hero--franchise .hero-anim--1 {
    width: 250px;
    height: 250px;
    border: 1.5px solid rgba(227, 30, 45, 0.05);
    top: 50%;
    right: 15%;
    transform: translate(50%, -50%) scale(0.3);
    animation: heroRippleExpand 4s ease-out 2.6s infinite;
    background: transparent;
}

.hero--franchise .hero-anim--2 {
    width: 6px;
    height: 6px;
    background: rgba(255, 195, 0, 0.5);
    top: 50%;
    right: 15%;
    box-shadow: 0 0 12px rgba(255, 195, 0, 0.3);
    animation: heroFranchiseNode1 20s linear infinite;
    transform: translate(50%, -50%);
}

.hero--franchise .hero-anim--3 {
    width: 4px;
    height: 4px;
    background: rgba(227, 30, 45, 0.4);
    top: 50%;
    right: 15%;
    box-shadow: 0 0 10px rgba(227, 30, 45, 0.25);
    animation: heroFranchiseNode2 20s linear infinite;
    transform: translate(50%, -50%);
}

@keyframes heroRippleExpand {
    0% { transform: translate(50%, -50%) scale(0.3); opacity: 0.7; }
    100% { transform: translate(50%, -50%) scale(2.5); opacity: 0; }
}

@keyframes heroFranchisePulse {
    0%, 100% { box-shadow: 0 0 25px rgba(255, 195, 0, 0.3); transform: translate(50%, -50%) scale(1); }
    50% { box-shadow: 0 0 50px rgba(255, 195, 0, 0.6); transform: translate(50%, -50%) scale(1.2); }
}

@keyframes heroOrbitFranchise {
    from { transform: translate(50%, -50%) rotate(0deg); }
    to { transform: translate(50%, -50%) rotate(-360deg); }
}

@keyframes heroFranchiseNode1 {
    from { transform: translate(50%, -50%) rotate(0deg) translateX(90px); }
    to { transform: translate(50%, -50%) rotate(-360deg) translateX(90px); }
}

@keyframes heroFranchiseNode2 {
    from { transform: translate(50%, -50%) rotate(180deg) translateX(90px); }
    to { transform: translate(50%, -50%) rotate(-180deg) translateX(90px); }
}

/* ---------- CAREERS: Rising Aspirations ----------
   Theme: Growth, aspiration, opportunity
   Visual: Rising luminous bars, ascending particles */

.hero--careers {
    background: linear-gradient(135deg, #0A2463 0%, #0B3D5C 40%, #0A4C5C 65%, #0D1B2A 100%);
}

.hero--careers::before {
    background:
        radial-gradient(circle at 20% 75%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 80% 25%, rgba(14, 48, 130, 0.12) 0%, transparent 50%);
}

.hero--careers .hero-shapes::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12%;
    width: 2px;
    height: 0;
    background: linear-gradient(to top, rgba(16, 185, 129, 0.25), transparent);
    border-radius: 1px;
    animation: heroBarRise 4s ease-out infinite;
}

.hero--careers .hero-shapes::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 18%;
    width: 2px;
    height: 0;
    background: linear-gradient(to top, rgba(255, 195, 0, 0.2), transparent);
    border-radius: 1px;
    animation: heroBarRise 4s ease-out 1.3s infinite;
}

.hero--careers .hero-shape:nth-child(1) {
    width: 6px;
    height: 6px;
    background: rgba(16, 185, 129, 0.6);
    top: auto;
    bottom: 10%;
    left: 22%;
    right: auto;
    opacity: 0;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
    animation: heroParticleAscend 6s ease-out infinite;
}

.hero--careers .hero-shape:nth-child(2) {
    width: 4px;
    height: 4px;
    background: rgba(255, 195, 0, 0.5);
    top: auto;
    bottom: 15%;
    left: auto;
    right: 28%;
    opacity: 0;
    box-shadow: 0 0 10px rgba(255, 195, 0, 0.3);
    animation: heroParticleAscend 7s ease-out 2s infinite;
}

.hero--careers .hero-anim--1 {
    bottom: 0;
    left: 35%;
    width: 2px;
    height: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.12), transparent);
    border-radius: 1px;
    animation: heroBarRise 4s ease-out 2.6s infinite;
}

.hero--careers .hero-anim--2 {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.4);
    bottom: 20%;
    left: 45%;
    top: auto;
    opacity: 0;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    animation: heroParticleAscend 5s ease-out 1s infinite;
}

.hero--careers .hero-anim--3 {
    bottom: 0;
    right: 35%;
    width: 2px;
    height: 0;
    background: linear-gradient(to top, rgba(16, 185, 129, 0.15), transparent);
    border-radius: 1px;
    animation: heroBarRise 4.5s ease-out 0.8s infinite;
}

@keyframes heroBarRise {
    0% { height: 0; opacity: 0; }
    15% { opacity: 0.8; }
    70% { opacity: 0.6; }
    100% { height: 65%; opacity: 0; }
}

@keyframes heroParticleAscend {
    0% { opacity: 0; transform: translateY(0); }
    15% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-250px); }
}

/* ---------- ALLIANCES: Connected Network ----------
   Theme: Partnership, collaboration, strength
   Visual: Interlocking rings, pulsing connection nodes */

.hero--alliances {
    background: linear-gradient(135deg, #0A2463 0%, #0E3082 35%, #1A237E 60%, #0D1B2A 100%);
}

.hero--alliances::before {
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 195, 0, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(227, 30, 45, 0.05) 0%, transparent 40%);
}

.hero--alliances .hero-shapes::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 195, 0, 0.06);
    border-radius: 50%;
    top: 35%;
    right: 20%;
    animation: heroAllianceFloat1 7s ease-in-out infinite;
}

.hero--alliances .hero-shapes::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(227, 30, 45, 0.06);
    border-radius: 50%;
    top: 35%;
    right: 12%;
    animation: heroAllianceFloat2 7s ease-in-out infinite;
}

.hero--alliances .hero-shape:nth-child(1) {
    width: 130px;
    height: 130px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.04);
    top: 25%;
    left: 8%;
    right: auto;
    bottom: auto;
    opacity: 1;
    animation: heroAlliancePulse 5s ease-in-out infinite;
}

.hero--alliances .hero-shape:nth-child(2) {
    width: 90px;
    height: 90px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.03);
    top: 55%;
    left: 18%;
    right: auto;
    bottom: auto;
    opacity: 1;
    animation: heroAlliancePulse 6s ease-in-out 1.5s infinite;
}

.hero--alliances .hero-anim--1 {
    width: 8px;
    height: 8px;
    background: rgba(255, 195, 0, 0.5);
    top: 42%;
    right: 17%;
    box-shadow: 0 0 15px rgba(255, 195, 0, 0.3);
    animation: heroAllianceDot 4s ease-in-out infinite;
}

.hero--alliances .hero-anim--2 {
    width: 6px;
    height: 6px;
    background: rgba(227, 30, 45, 0.4);
    top: 38%;
    right: 22%;
    box-shadow: 0 0 12px rgba(227, 30, 45, 0.25);
    animation: heroAllianceDot 5s ease-in-out 2s infinite;
}

.hero--alliances .hero-anim--3 {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    top: 48%;
    left: 14%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    animation: heroAllianceDot 4.5s ease-in-out 1s infinite;
}

@keyframes heroAllianceFloat1 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-12px) translateX(8px); }
}

@keyframes heroAllianceFloat2 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(10px) translateX(-6px); }
}

@keyframes heroAlliancePulse {
    0%, 100% { transform: scale(1); border-color: rgba(255, 255, 255, 0.04); }
    50% { transform: scale(1.06); border-color: rgba(255, 195, 0, 0.07); }
}

@keyframes heroAllianceDot {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.3); }
}

/* ---------- CONTACT: Signal Waves ----------
   Theme: Communication, connection, reaching out
   Visual: Radiating signal pulses, beacon, message shapes */

.hero--contact {
    background: linear-gradient(135deg, #0A2463 0%, #0E3082 35%, #14305A 65%, #0D1B2A 100%);
}

.hero--contact::before {
    background:
        radial-gradient(circle at 72% 50%, rgba(255, 195, 0, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 28% 50%, rgba(14, 48, 130, 0.12) 0%, transparent 50%);
}

.hero--contact .hero-shapes::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 195, 0, 0.08);
    border-radius: 50%;
    top: 50%;
    right: 18%;
    transform: translate(0, -50%) scale(0.4);
    animation: heroSignalWave 3.5s ease-out infinite;
}

.hero--contact .hero-shapes::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 195, 0, 0.06);
    border-radius: 50%;
    top: 50%;
    right: 18%;
    transform: translate(0, -50%) scale(0.4);
    animation: heroSignalWave 3.5s ease-out 1.2s infinite;
}

.hero--contact .hero-shape:nth-child(1) {
    width: 200px;
    height: 200px;
    background: transparent;
    border: 1.5px solid rgba(227, 30, 45, 0.05);
    top: 50%;
    right: 18%;
    left: auto;
    bottom: auto;
    opacity: 1;
    transform: translate(0, -50%) scale(0.4);
    animation: heroSignalWave 3.5s ease-out 2.4s infinite;
}

.hero--contact .hero-shape:nth-child(2) {
    width: 14px;
    height: 14px;
    background: var(--color-highlight);
    top: 50%;
    right: calc(18% + 93px);
    left: auto;
    bottom: auto;
    opacity: 0.8;
    transform: translateY(-50%);
    box-shadow: 0 0 30px rgba(255, 195, 0, 0.4), 0 0 60px rgba(255, 195, 0, 0.15);
    animation: heroBeaconPulse 2s ease-in-out infinite;
}

.hero--contact .hero-anim--1 {
    width: 40px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px 8px 8px 2px;
    top: 30%;
    left: 10%;
    animation: heroDrift 8s ease-in-out infinite;
    background: transparent;
}

.hero--contact .hero-anim--2 {
    width: 30px;
    height: 22px;
    border: 1px solid rgba(255, 195, 0, 0.04);
    border-radius: 6px 6px 2px 6px;
    top: 65%;
    left: 20%;
    animation: heroDrift 10s ease-in-out 3s infinite;
    background: transparent;
}

.hero--contact .hero-anim--3 {
    width: 6px;
    height: 6px;
    background: rgba(255, 195, 0, 0.3);
    top: 40%;
    left: 30%;
    box-shadow: 0 0 10px rgba(255, 195, 0, 0.15);
    animation: heroDrift 6s ease-in-out 1.5s infinite;
}

@keyframes heroSignalWave {
    0% { transform: translate(0, -50%) scale(0.4); opacity: 0.7; }
    100% { transform: translate(0, -50%) scale(2.5); opacity: 0; }
}

@keyframes heroBeaconPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 195, 0, 0.3); transform: translateY(-50%) scale(1); }
    50% { box-shadow: 0 0 45px rgba(255, 195, 0, 0.6); transform: translateY(-50%) scale(1.15); }
}

/* Page hero responsive adjustments */
@media (max-width: 768px) {
    .hero--about .hero-shapes::before { width: 250px; height: 250px; left: 50%; }
    .hero--about .hero-shapes::after { width: 150px; height: 150px; left: 50%; }
    .hero--about .hero-shape:nth-child(1),
    .hero--about .hero-shape:nth-child(2),
    .hero--about .hero-anim--1,
    .hero--about .hero-anim--2,
    .hero--about .hero-anim--3 { left: 50%; }

    @keyframes heroAboutNode1 {
        from { transform: rotate(0deg) translateX(125px) rotate(0deg); }
        to { transform: rotate(360deg) translateX(125px) rotate(-360deg); }
    }
    @keyframes heroAboutNode2 {
        from { transform: rotate(0deg) translateX(75px) rotate(0deg); }
        to { transform: rotate(-360deg) translateX(75px) rotate(360deg); }
    }
    @keyframes heroAboutNode3 {
        from { transform: rotate(0deg) translateX(40px) rotate(0deg); }
        to { transform: rotate(360deg) translateX(40px) rotate(-360deg); }
    }

    .hero--services .hero-shape:nth-child(1) { width: 70px; height: 70px; }
    .hero--services .hero-shape:nth-child(2) { width: 45px; height: 45px; }
    .hero--services .hero-anim--1 { width: 35px; height: 35px; }

    .hero--franchise .hero-shapes::before,
    .hero--franchise .hero-shapes::after,
    .hero--franchise .hero-anim--1 { width: 180px; height: 180px; right: 10%; }
    .hero--franchise .hero-shape:nth-child(1) { right: 10%; }
    .hero--franchise .hero-shape:nth-child(2) { width: 130px; height: 130px; right: 10%; }
    .hero--franchise .hero-anim--2,
    .hero--franchise .hero-anim--3 { right: 10%; }

    .hero--contact .hero-shapes::before,
    .hero--contact .hero-shapes::after,
    .hero--contact .hero-shape:nth-child(1) { width: 150px; height: 150px; right: 10%; }
    .hero--contact .hero-shape:nth-child(2) { right: calc(10% + 68px); }
}

@media (max-width: 576px) {
    .hero--about .hero-shapes::before { width: 200px; height: 200px; }
    .hero--about .hero-shapes::after { width: 120px; height: 120px; }
    .hero--about .hero-anim--2 { width: 80px; height: 80px; }

    .hero--services .hero-anim--2,
    .hero--services .hero-anim--3 { display: none; }

    .hero--careers .hero-anim--3 { display: none; }

    .hero--alliances .hero-anim--2,
    .hero--alliances .hero-anim--3 { display: none; }

    .hero--contact .hero-anim--1,
    .hero--contact .hero-anim--2 { display: none; }
}

/* ============================================
   CINEMATIC HERO - Advanced Animations
   ============================================ */
.hero--cinematic {
    background: linear-gradient(135deg, #050E27 0%, #0A2463 30%, #0E3082 60%, #0D1B2A 100%);
    padding-bottom: 2rem;
}

.hero--cinematic::before {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(227, 30, 45, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 195, 0, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(14, 48, 130, 0.25) 0%, transparent 50%);
    animation: heroBgShift 15s ease-in-out infinite alternate;
}

@keyframes heroBgShift {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Particle canvas */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Animated gradient orbs */
.hero-orbs {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: orbAppear 2s ease-out forwards;
}

.hero-orb--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(227, 30, 45, 0.2), transparent 70%);
    top: -10%;
    right: -5%;
    animation: orbFloat1 20s ease-in-out infinite;
    animation-delay: 0.5s;
    opacity: 1;
}

.hero-orb--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.15), transparent 70%);
    bottom: -5%;
    left: -10%;
    animation: orbFloat2 18s ease-in-out infinite;
    animation-delay: 1s;
    opacity: 1;
}

.hero-orb--3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(14, 48, 130, 0.3), transparent 70%);
    top: 50%;
    left: 40%;
    animation: orbFloat3 22s ease-in-out infinite;
    animation-delay: 1.5s;
    opacity: 1;
}

.hero-orb--4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 70%);
    top: 20%;
    left: 15%;
    animation: orbFloat1 25s ease-in-out infinite reverse;
    animation-delay: 2s;
    opacity: 1;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.05); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.9); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-40px, -50px); }
}

/* Grid overlay */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Cinematic hero content */
.hero-content--cinematic {
    max-width: 900px;
    z-index: 5;
}

/* Tagline badges */
.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.hero-tagline__badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    animation: badgeGlow 4s ease-in-out infinite;
}

.hero-tagline__badge:nth-child(1) { animation-delay: 0s; }
.hero-tagline__badge:nth-child(3) { animation-delay: 1.3s; }
.hero-tagline__badge:nth-child(5) { animation-delay: 2.6s; }

@keyframes badgeGlow {
    0%, 100% { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.08); }
    50% { border-color: rgba(255, 195, 0, 0.3); background: rgba(255, 195, 0, 0.08); }
}

.hero-tagline__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 195, 0, 0.6);
}

/* Hero brand name */
.hero-brand {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.hero-brand .brand-smart {
    color: #ffffff;
    font-weight: 800;
}

/* Hero title lines */
.hero-title-line {
    display: block;
}

.hero--cinematic h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-title-line--highlight span {
    background: linear-gradient(135deg, var(--color-highlight), #FFE066);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service Showcase Carousel */
.hero-services-showcase {
    max-width: 480px;
    margin: 0 auto var(--space-xl);
    position: relative;
}

.hero-showcase__track {
    position: relative;
    height: 72px;
    overflow: hidden;
}

.hero-showcase__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.hero-showcase__slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.hero-showcase__slide.exit-up {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
}

.hero-showcase__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.hero-showcase__slide[data-color="accent"] .hero-showcase__icon {
    background: rgba(227, 30, 45, 0.2);
    color: #ff6b7a;
}

.hero-showcase__slide[data-color="highlight"] .hero-showcase__icon {
    background: rgba(255, 195, 0, 0.2);
    color: var(--color-highlight);
}

.hero-showcase__slide[data-color="primary"] .hero-showcase__icon {
    background: rgba(100, 140, 255, 0.2);
    color: #8EB4FF;
}

.hero-showcase__info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.hero-showcase__label {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-showcase__desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Progress bar */
.hero-showcase__progress {
    margin-top: 0.75rem;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.hero-showcase__progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-highlight));
    border-radius: 3px;
    transition: width 0.1s linear;
}

/* Glowing CTA */
.btn--glow {
    position: relative;
    overflow: hidden;
}

.btn--glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-accent), var(--color-highlight), var(--color-accent));
    background-size: 200% 200%;
    border-radius: inherit;
    z-index: -1;
    animation: glowRotate 3s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

@keyframes glowRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating service icons */
.hero-floating-icons {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-float-icon {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

.hero-float-icon--1 {
    top: 18%;
    left: 8%;
    animation: floatIcon 12s ease-in-out infinite;
    animation-delay: 0s;
}

.hero-float-icon--2 {
    top: 25%;
    right: 10%;
    animation: floatIcon 14s ease-in-out infinite;
    animation-delay: 2s;
}

.hero-float-icon--3 {
    bottom: 25%;
    left: 5%;
    animation: floatIcon 10s ease-in-out infinite;
    animation-delay: 4s;
}

.hero-float-icon--4 {
    bottom: 15%;
    right: 8%;
    animation: floatIcon 16s ease-in-out infinite;
    animation-delay: 1s;
}

.hero-float-icon--5 {
    top: 55%;
    left: 12%;
    animation: floatIcon 13s ease-in-out infinite;
    animation-delay: 3s;
}

.hero-float-icon--6 {
    top: 40%;
    right: 6%;
    animation: floatIcon 11s ease-in-out infinite;
    animation-delay: 5s;
}

@keyframes floatIcon {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(15px, -20px) rotate(5deg); opacity: 0.6; }
    50% { transform: translate(-10px, -35px) rotate(-3deg); opacity: 0.4; }
    75% { transform: translate(20px, -15px) rotate(8deg); opacity: 0.7; }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 5;
    animation: scrollFade 3s ease-in-out infinite;
}

.hero-scroll-indicator span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-scroll-indicator__mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator__wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

@keyframes scrollFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Cinematic hero responsive */
@media (max-width: 992px) {
    .hero--cinematic h1 {
        font-size: 2.8rem;
    }

    .hero-float-icon--5,
    .hero-float-icon--6 {
        display: none;
    }

    .hero-floating-icons .hero-float-icon {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero--cinematic h1 {
        font-size: 2.2rem;
    }

    .hero-tagline {
        gap: 0.5rem;
    }

    .hero-tagline__badge {
        font-size: 0.85rem;
        padding: 0.3rem 0.85rem;
    }

    .hero-showcase__track {
        height: 68px;
    }

    .hero-showcase__slide {
        padding: 0.75rem 1rem;
    }

    .hero-showcase__icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-showcase__label {
        font-size: 0.85rem;
    }

    .hero-floating-icons {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero--cinematic h1 {
        font-size: 1.8rem;
    }

    .hero-tagline__dot {
        display: none;
    }

    .hero-tagline {
        flex-direction: column;
        gap: 0.4rem;
    }
}

/* 9. Section Styles
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: var(--space-sm) auto 0;
    border-radius: 2px;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    text-align: center;
    font-size: 1.05rem;
    color: var(--color-medium-gray);
    line-height: 1.8;
}

/* Two-column content layout */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.content-split--reverse {
    direction: rtl;
}

.content-split--reverse > * {
    direction: ltr;
}

.content-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-bg-alt) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-image i {
    font-size: 4rem;
    color: var(--color-light-gray);
}

/* 10. Cards
   ============================================ */
.card {
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.card-icon--primary {
    background: rgba(10, 36, 99, 0.08);
    color: var(--color-primary);
}

.card-icon--accent {
    background: rgba(227, 30, 45, 0.08);
    color: var(--color-accent);
}

.card-icon--highlight {
    background: rgba(255, 195, 0, 0.12);
    color: #B8860B;
}

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

.card:hover .card-icon--accent {
    background: var(--color-accent);
    color: var(--color-white);
}

.card:hover .card-icon--highlight {
    background: var(--color-highlight);
    color: var(--color-primary);
}

.card h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.card p {
    color: var(--color-medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.card--bordered {
    border-left: 4px solid var(--color-accent);
}

.card--bordered:nth-child(2) { border-left-color: var(--color-highlight); }
.card--bordered:nth-child(3) { border-left-color: var(--color-primary); }
.card--bordered:nth-child(4) { border-left-color: var(--color-accent); }
.card--bordered:nth-child(5) { border-left-color: var(--color-highlight); }

/* 11. Stats Counter
   ============================================ */
.stats-section {
    background: var(--color-off-white);
    padding: var(--space-xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.stat-item {
    padding: var(--space-lg);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 1rem;
    color: var(--color-medium-gray);
    font-weight: 500;
}

/* 12. Buttons & CTAs
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    border: 2px solid transparent;
    transition: all var(--transition-base);
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 45, 0.3);
}

.btn-secondary {
    background: var(--color-highlight);
    color: var(--color-primary);
    border-color: var(--color-highlight);
}

.btn-secondary:hover {
    background: var(--color-highlight-hover);
    border-color: var(--color-highlight-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 195, 0, 0.3);
}

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

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* CTA Banner Section */
.cta-banner {
    padding: var(--space-xl) 0;
    text-align: center;
}

.cta-banner--red {
    background: linear-gradient(135deg, var(--color-accent) 0%, #c4111f 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner--navy {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

/* CTA Animated Dot Particles */
.cta-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.cta-dot {
    position: absolute;
    border-radius: 50%;
    will-change: transform, opacity;
}

.cta-dot--blue {
    background: rgba(74, 144, 217, 0.9);
    box-shadow: 0 0 8px rgba(74, 144, 217, 0.6), 0 0 20px rgba(74, 144, 217, 0.3);
}

.cta-dot--yellow {
    background: rgba(255, 195, 0, 0.9);
    box-shadow: 0 0 8px rgba(255, 195, 0, 0.6), 0 0 20px rgba(255, 195, 0, 0.3);
}

/* Dot sizes & positions — scattered across the banner */
.cta-dot--1  { width: 5px; height: 5px; top: 12%; left: 5%;  }
.cta-dot--2  { width: 4px; height: 4px; top: 75%; left: 10%; }
.cta-dot--3  { width: 6px; height: 6px; top: 20%; left: 22%; }
.cta-dot--4  { width: 3px; height: 3px; top: 60%; left: 18%; }
.cta-dot--5  { width: 5px; height: 5px; top: 35%; left: 35%; }
.cta-dot--6  { width: 4px; height: 4px; top: 80%; left: 30%; }
.cta-dot--7  { width: 3px; height: 3px; top: 15%; left: 50%; }
.cta-dot--8  { width: 6px; height: 6px; top: 70%; left: 48%; }
.cta-dot--9  { width: 4px; height: 4px; top: 25%; left: 65%; }
.cta-dot--10 { width: 5px; height: 5px; top: 82%; left: 62%; }
.cta-dot--11 { width: 3px; height: 3px; top: 10%; left: 78%; }
.cta-dot--12 { width: 5px; height: 5px; top: 55%; left: 80%; }
.cta-dot--13 { width: 4px; height: 4px; top: 30%; left: 90%; }
.cta-dot--14 { width: 6px; height: 6px; top: 85%; left: 88%; }
.cta-dot--15 { width: 3px; height: 3px; top: 45%; left: 95%; }
.cta-dot--16 { width: 5px; height: 5px; top: 65%; left: 3%;  }

/* Blinking animation */
@keyframes ctaDotBlink {
    0%, 100% { opacity: 0.15; transform: scale(0.8); }
    50%      { opacity: 1;    transform: scale(1.3); }
}

/* Float upward animation */
@keyframes ctaDotFloat {
    0%   { transform: translateY(0) translateX(0) scale(0.8); opacity: 0.2; }
    25%  { opacity: 1; transform: translateY(-15px) translateX(8px) scale(1.2); }
    50%  { opacity: 0.6; transform: translateY(-30px) translateX(-5px) scale(1); }
    75%  { opacity: 1; transform: translateY(-18px) translateX(12px) scale(1.3); }
    100% { transform: translateY(0) translateX(0) scale(0.8); opacity: 0.2; }
}

/* Drift sideways animation */
@keyframes ctaDotDrift {
    0%   { transform: translateX(0) scale(1); opacity: 0.3; }
    30%  { transform: translateX(25px) scale(1.2); opacity: 1; }
    60%  { transform: translateX(-15px) scale(0.9); opacity: 0.5; }
    100% { transform: translateX(0) scale(1); opacity: 0.3; }
}

/* Assign animations — mix of blink, float, and drift */
.cta-dot--1  { animation: ctaDotBlink 2.4s ease-in-out infinite; }
.cta-dot--2  { animation: ctaDotFloat 5.5s ease-in-out infinite 0.3s; }
.cta-dot--3  { animation: ctaDotDrift 6s ease-in-out infinite 0.8s; }
.cta-dot--4  { animation: ctaDotBlink 1.8s ease-in-out infinite 0.5s; }
.cta-dot--5  { animation: ctaDotFloat 7s ease-in-out infinite 1.2s; }
.cta-dot--6  { animation: ctaDotBlink 2.8s ease-in-out infinite 0.2s; }
.cta-dot--7  { animation: ctaDotDrift 5s ease-in-out infinite 1.5s; }
.cta-dot--8  { animation: ctaDotFloat 6.5s ease-in-out infinite 0.7s; }
.cta-dot--9  { animation: ctaDotBlink 2s ease-in-out infinite 1s; }
.cta-dot--10 { animation: ctaDotDrift 7.5s ease-in-out infinite 0.4s; }
.cta-dot--11 { animation: ctaDotBlink 3s ease-in-out infinite 1.8s; }
.cta-dot--12 { animation: ctaDotFloat 5.8s ease-in-out infinite 0.6s; }
.cta-dot--13 { animation: ctaDotDrift 6.2s ease-in-out infinite 1.3s; }
.cta-dot--14 { animation: ctaDotBlink 2.2s ease-in-out infinite 0.9s; }
.cta-dot--15 { animation: ctaDotFloat 4.8s ease-in-out infinite 2s; }
.cta-dot--16 { animation: ctaDotDrift 5.2s ease-in-out infinite 0.1s; }

.cta-banner h2 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-banner h2::after {
    display: none;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

/* 13. Forms
   ============================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
    font-size: 0.95rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    color: var(--color-dark);
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: var(--color-accent);
}

.form-error {
    color: var(--color-accent);
    font-size: 0.85rem;
    margin-top: var(--space-xs);
    display: none;
}

.form-error.visible {
    display: block;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: #059669;
}

.toast i {
    font-size: 1.25rem;
}

/* 14. Footer
   ============================================ */
.main-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-2xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-img {
    height: 60px;
    width: auto;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

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

.footer-heading {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    position: relative;
}

.footer-heading::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--color-highlight);
    margin-top: var(--space-sm);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--color-highlight);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--color-highlight);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-initiatives {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-sm) auto;
    max-width: 720px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    flex-wrap: wrap;
}

.footer-initiatives img {
    height: 48px;
    width: auto;
    max-width: 155px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.88);
    padding: 6px 12px;
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.footer-initiatives img:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

.footer-bottom {
    padding: var(--space-md) 0 var(--space-lg);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-credit {
    color: #ffffff;
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.footer-credit-link {
    color: var(--color-highlight);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.footer-credit-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--color-highlight), #ffffff);
    border-radius: 1px;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-credit-link:hover {
    color: #ffffff;
}

.footer-credit-link:hover::after {
    width: 100%;
}

/* 15. Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

/* 16. Page: Home
   ============================================ */
.home-about {
    padding: var(--space-2xl) 0;
}

/* Who We Are - Animated Illustration */
.about-illustration {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(10, 36, 99, 0.04) 0%, rgba(14, 48, 130, 0.08) 100%);
}

.about-illustration__bg {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #162F65 60%, var(--color-primary-dark) 100%);
    box-shadow:
        0 20px 60px rgba(10, 36, 99, 0.35),
        inset 0 -8px 30px rgba(0, 0, 0, 0.2),
        inset 0 8px 20px rgba(255, 255, 255, 0.05);
}

.about-illustration__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), #ff4757);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 8px 30px rgba(227, 30, 45, 0.4);
    animation: centerPulse 3s ease-in-out infinite;
}

.about-illustration__center i {
    font-size: 1.8rem;
    color: var(--color-white);
}

@keyframes centerPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.08); }
}

/* Orbiting nodes */
.about-illustration__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

.about-illustration__node {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 6;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.about-illustration__node:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.about-illustration__node i {
    font-size: 1.2rem;
    color: var(--color-primary);
}

.about-illustration__orbit--1 .about-illustration__node {
    top: -26px;
    left: -26px;
    animation: orbit1 12s linear infinite;
}

.about-illustration__orbit--2 .about-illustration__node {
    top: -26px;
    left: -26px;
    animation: orbit2 12s linear infinite;
}

.about-illustration__orbit--3 .about-illustration__node {
    top: -26px;
    left: -26px;
    animation: orbit3 12s linear infinite;
}

.about-illustration__orbit--4 .about-illustration__node {
    top: -26px;
    left: -26px;
    animation: orbit4 12s linear infinite;
}

.about-illustration__orbit--2 .about-illustration__node i { color: var(--color-accent); }
.about-illustration__orbit--3 .about-illustration__node i { color: #B8860B; }
.about-illustration__orbit--4 .about-illustration__node i { color: var(--color-primary-light); }

@keyframes orbit1 {
    0%   { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

@keyframes orbit2 {
    0%   { transform: rotate(90deg) translateX(120px) rotate(-90deg); }
    100% { transform: rotate(450deg) translateX(120px) rotate(-450deg); }
}

@keyframes orbit3 {
    0%   { transform: rotate(180deg) translateX(120px) rotate(-180deg); }
    100% { transform: rotate(540deg) translateX(120px) rotate(-540deg); }
}

@keyframes orbit4 {
    0%   { transform: rotate(270deg) translateX(120px) rotate(-270deg); }
    100% { transform: rotate(630deg) translateX(120px) rotate(-630deg); }
}

/* Pulse rings */
.about-illustration__pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 2px solid rgba(255, 195, 0, 0.2);
    animation: pulseRing 4s ease-out infinite;
    z-index: 2;
}

.about-illustration__pulse--2 {
    width: 180px;
    height: 180px;
    border-color: rgba(227, 30, 45, 0.15);
    animation-delay: 2s;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-illustration {
        max-width: 320px;
    }

    .about-illustration__center {
        width: 64px;
        height: 64px;
    }

    .about-illustration__center i {
        font-size: 1.4rem;
    }

    .about-illustration__node {
        width: 44px;
        height: 44px;
    }

    .about-illustration__node i {
        font-size: 1rem;
    }

    @keyframes orbit1 {
        0%   { transform: rotate(0deg) translateX(90px) rotate(0deg); }
        100% { transform: rotate(360deg) translateX(90px) rotate(-360deg); }
    }

    @keyframes orbit2 {
        0%   { transform: rotate(90deg) translateX(90px) rotate(-90deg); }
        100% { transform: rotate(450deg) translateX(90px) rotate(-450deg); }
    }

    @keyframes orbit3 {
        0%   { transform: rotate(180deg) translateX(90px) rotate(-180deg); }
        100% { transform: rotate(540deg) translateX(90px) rotate(-540deg); }
    }

    @keyframes orbit4 {
        0%   { transform: rotate(270deg) translateX(90px) rotate(-270deg); }
        100% { transform: rotate(630deg) translateX(90px) rotate(-630deg); }
    }

    .about-illustration__pulse {
        width: 180px;
        height: 180px;
    }

    .about-illustration__pulse--2 {
        width: 140px;
        height: 140px;
    }
}

.home-services {
    padding: var(--space-2xl) 0;
}

.service-card-mini {
    text-align: center;
    padding: var(--space-lg);
}

.service-card-mini .card-icon {
    width: 72px;
    height: 72px;
    font-size: 1.75rem;
    margin: 0 auto var(--space-md);
    border-radius: var(--border-radius-lg);
}

.service-card-mini h3 {
    font-size: 1.05rem;
    margin-bottom: var(--space-sm);
}

.service-card-mini p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Franchise teaser section */
.franchise-teaser {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.franchise-teaser::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.1), transparent 70%);
    border-radius: 50%;
}

.franchise-teaser h2 {
    color: var(--color-white);
}

.franchise-teaser h2::after {
    background: var(--color-highlight);
}

.franchise-teaser p {
    color: rgba(255, 255, 255, 0.8);
}

.franchise-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.franchise-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.franchise-benefit-item i {
    color: var(--color-highlight);
    margin-top: 4px;
    flex-shrink: 0;
}

/* Partner Illustration - Animated */
.partner-illustration {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 420px;
    margin: 0 auto;
    border-radius: var(--border-radius-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

/* Hexagon grid background */
.partner-illustration__hex-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.partner-illustration__hex {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 195, 0, 0.04);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hexFade 6s ease-in-out infinite;
}

.partner-illustration__hex:nth-child(1) { top: 5%; left: 10%; animation-delay: 0s; }
.partner-illustration__hex:nth-child(2) { top: 8%; right: 15%; animation-delay: 1s; background: rgba(227, 30, 45, 0.04); }
.partner-illustration__hex:nth-child(3) { top: 40%; left: 2%; animation-delay: 2s; }
.partner-illustration__hex:nth-child(4) { top: 35%; right: 5%; animation-delay: 0.5s; background: rgba(227, 30, 45, 0.04); }
.partner-illustration__hex:nth-child(5) { bottom: 15%; left: 15%; animation-delay: 3s; }
.partner-illustration__hex:nth-child(6) { bottom: 8%; right: 10%; animation-delay: 1.5s; background: rgba(255, 255, 255, 0.03); }
.partner-illustration__hex:nth-child(7) { top: 20%; left: 40%; width: 60px; height: 60px; animation-delay: 2.5s; background: rgba(255, 255, 255, 0.03); }

@keyframes hexFade {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Central handshake icon */
.partner-illustration__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-highlight), #E6AF00);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow:
        0 0 40px rgba(255, 195, 0, 0.4),
        0 0 80px rgba(255, 195, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    animation: partnerCenterGlow 3s ease-in-out infinite;
}

.partner-illustration__center i {
    font-size: 2rem;
    color: var(--color-primary-dark);
}

@keyframes partnerCenterGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(255, 195, 0, 0.4), 0 0 80px rgba(255, 195, 0, 0.15); transform: translate(-50%, -50%) scale(1); }
    50% { box-shadow: 0 0 60px rgba(255, 195, 0, 0.5), 0 0 120px rgba(255, 195, 0, 0.2); transform: translate(-50%, -50%) scale(1.06); }
}

/* Concentric rings */
.partner-illustration__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 195, 0, 0.12);
    z-index: 3;
    animation: ringExpand 8s linear infinite;
}

.partner-illustration__ring--1 {
    width: 160px;
    height: 160px;
    margin-top: -80px;
    margin-left: -80px;
    border-color: rgba(255, 195, 0, 0.15);
    animation: ringSpin 20s linear infinite;
    border-style: dashed;
}

.partner-illustration__ring--2 {
    width: 240px;
    height: 240px;
    margin-top: -120px;
    margin-left: -120px;
    border-color: rgba(255, 255, 255, 0.08);
    animation: ringSpin 30s linear infinite reverse;
    border-style: dotted;
}

.partner-illustration__ring--3 {
    width: 320px;
    height: 320px;
    margin-top: -160px;
    margin-left: -160px;
    border-color: rgba(227, 30, 45, 0.08);
    animation: ringSpin 25s linear infinite;
    border-style: dashed;
}

@keyframes ringSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Corner feature icons */
.partner-illustration__icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8;
    animation: iconFloat 5s ease-in-out infinite;
    backdrop-filter: blur(8px);
}

.partner-illustration__icon i {
    font-size: 1.1rem;
}

.partner-illustration__icon--1 {
    top: 12%;
    left: 12%;
    background: rgba(255, 195, 0, 0.15);
    border: 1px solid rgba(255, 195, 0, 0.25);
    animation-delay: 0s;
}
.partner-illustration__icon--1 i { color: var(--color-highlight); }

.partner-illustration__icon--2 {
    top: 12%;
    right: 12%;
    background: rgba(227, 30, 45, 0.15);
    border: 1px solid rgba(227, 30, 45, 0.25);
    animation-delay: 1.2s;
}
.partner-illustration__icon--2 i { color: var(--color-accent); }

.partner-illustration__icon--3 {
    bottom: 12%;
    left: 12%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation-delay: 2.4s;
}
.partner-illustration__icon--3 i { color: var(--color-white); }

.partner-illustration__icon--4 {
    bottom: 12%;
    right: 12%;
    background: rgba(255, 195, 0, 0.12);
    border: 1px solid rgba(255, 195, 0, 0.2);
    animation-delay: 3.6s;
}
.partner-illustration__icon--4 i { color: var(--color-highlight); }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Floating particles */
.partner-illustration__particle {
    position: absolute;
    border-radius: 50%;
    z-index: 5;
    animation: particleDrift 8s ease-in-out infinite;
}

.partner-illustration__particle--1 {
    width: 6px;
    height: 6px;
    background: var(--color-highlight);
    top: 25%;
    left: 35%;
    animation-delay: 0s;
    opacity: 0.7;
}

.partner-illustration__particle--2 {
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    top: 30%;
    right: 25%;
    animation-delay: 1.5s;
    opacity: 0.6;
}

.partner-illustration__particle--3 {
    width: 5px;
    height: 5px;
    background: var(--color-white);
    bottom: 30%;
    left: 30%;
    animation-delay: 3s;
    opacity: 0.5;
}

.partner-illustration__particle--4 {
    width: 3px;
    height: 3px;
    background: var(--color-highlight);
    bottom: 25%;
    right: 35%;
    animation-delay: 4.5s;
    opacity: 0.8;
}

.partner-illustration__particle--5 {
    width: 5px;
    height: 5px;
    background: var(--color-white);
    top: 50%;
    left: 18%;
    animation-delay: 2s;
    opacity: 0.4;
}

@keyframes particleDrift {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    25% { transform: translate(10px, -15px); opacity: 0.8; }
    50% { transform: translate(-5px, -25px); opacity: 0.5; }
    75% { transform: translate(15px, -10px); opacity: 0.9; }
}

/* Partner illustration responsive */
@media (max-width: 992px) {
    .partner-illustration {
        max-width: 320px;
    }

    .partner-illustration__center {
        width: 72px;
        height: 72px;
    }

    .partner-illustration__center i {
        font-size: 1.6rem;
    }

    .partner-illustration__icon {
        width: 42px;
        height: 42px;
    }

    .partner-illustration__icon i {
        font-size: 0.95rem;
    }

    .partner-illustration__ring--1 {
        width: 120px;
        height: 120px;
        margin-top: -60px;
        margin-left: -60px;
    }

    .partner-illustration__ring--2 {
        width: 180px;
        height: 180px;
        margin-top: -90px;
        margin-left: -90px;
    }

    .partner-illustration__ring--3 {
        width: 240px;
        height: 240px;
        margin-top: -120px;
        margin-left: -120px;
    }
}

/* ============================================
   Page Illustrations - Team / Franchise / Career
   ============================================ */

/* --- Shared illustration base --- */
.team-illustration,
.franchise-illustration,
.career-illustration {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 400px;
    margin: 0 auto;
}

.team-illustration__bg,
.franchise-illustration__bg,
.career-illustration__bg {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    opacity: 0.12;
    animation: illustBgPulse 6s ease-in-out infinite alternate;
}

.team-illustration__bg {
    background: radial-gradient(circle, rgba(10, 36, 99, 0.5), transparent 70%);
}

.franchise-illustration__bg {
    background: radial-gradient(circle, rgba(255, 195, 0, 0.4), transparent 70%);
}

.career-illustration__bg {
    background: radial-gradient(circle, rgba(227, 30, 45, 0.35), transparent 70%);
}

@keyframes illustBgPulse {
    0% { transform: scale(0.95); opacity: 0.08; }
    100% { transform: scale(1.1); opacity: 0.16; }
}

/* --- Center icon --- */
.team-illustration__center,
.franchise-illustration__center,
.career-illustration__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.team-illustration__center {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.franchise-illustration__center {
    background: linear-gradient(135deg, var(--color-highlight), #FFE066);
}

.career-illustration__center {
    background: linear-gradient(135deg, var(--color-accent), #ff6b6b);
}

.team-illustration__center i,
.franchise-illustration__center i,
.career-illustration__center i {
    font-size: 1.8rem;
    color: var(--color-white);
}

.franchise-illustration__center i {
    color: var(--color-primary-dark);
}

/* --- Orbiting nodes --- */
.team-illustration__orbit,
.franchise-illustration__orbit,
.career-illustration__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

.team-illustration__orbit--1 { animation: pgOrbit1 12s linear infinite; }
.team-illustration__orbit--2 { animation: pgOrbit2 12s linear infinite; }
.team-illustration__orbit--3 { animation: pgOrbit3 12s linear infinite; }
.team-illustration__orbit--4 { animation: pgOrbit4 12s linear infinite; }

.franchise-illustration__orbit--1 { animation: pgOrbit1 14s linear infinite; }
.franchise-illustration__orbit--2 { animation: pgOrbit2 14s linear infinite; }
.franchise-illustration__orbit--3 { animation: pgOrbit3 14s linear infinite; }
.franchise-illustration__orbit--4 { animation: pgOrbit4 14s linear infinite; }

.career-illustration__orbit--1 { animation: pgOrbit1 11s linear infinite; }
.career-illustration__orbit--2 { animation: pgOrbit2 11s linear infinite; }
.career-illustration__orbit--3 { animation: pgOrbit3 11s linear infinite; }
.career-illustration__orbit--4 { animation: pgOrbit4 11s linear infinite; }

@keyframes pgOrbit1 {
    0%   { transform: rotate(0deg) translateX(130px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(130px) rotate(-360deg); }
}

@keyframes pgOrbit2 {
    0%   { transform: rotate(90deg) translateX(130px) rotate(-90deg); }
    100% { transform: rotate(450deg) translateX(130px) rotate(-450deg); }
}

@keyframes pgOrbit3 {
    0%   { transform: rotate(180deg) translateX(130px) rotate(-180deg); }
    100% { transform: rotate(540deg) translateX(130px) rotate(-540deg); }
}

@keyframes pgOrbit4 {
    0%   { transform: rotate(270deg) translateX(130px) rotate(-270deg); }
    100% { transform: rotate(630deg) translateX(130px) rotate(-630deg); }
}

.team-illustration__node,
.franchise-illustration__node,
.career-illustration__node {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -24px;
    left: -24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.team-illustration__node {
    background: var(--color-white);
    border: 2px solid rgba(10, 36, 99, 0.15);
}

.franchise-illustration__node {
    background: var(--color-white);
    border: 2px solid rgba(255, 195, 0, 0.25);
}

.career-illustration__node {
    background: var(--color-white);
    border: 2px solid rgba(227, 30, 45, 0.15);
}

.team-illustration__node i {
    font-size: 1rem;
    color: var(--color-primary);
}

.franchise-illustration__node i {
    font-size: 1rem;
    color: var(--color-highlight-hover);
}

.career-illustration__node i {
    font-size: 1rem;
    color: var(--color-accent);
}

/* --- Rings --- */
.team-illustration__ring,
.franchise-illustration__ring,
.career-illustration__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1.5px dashed;
    animation: illustRingSpin 25s linear infinite;
}

.team-illustration__ring--1,
.franchise-illustration__ring--1,
.career-illustration__ring--1 {
    width: 200px;
    height: 200px;
    margin-top: -100px;
    margin-left: -100px;
}

.team-illustration__ring--2,
.franchise-illustration__ring--2,
.career-illustration__ring--2 {
    width: 280px;
    height: 280px;
    margin-top: -140px;
    margin-left: -140px;
    animation-direction: reverse;
    animation-duration: 35s;
}

.team-illustration__ring--1 { border-color: rgba(10, 36, 99, 0.1); }
.team-illustration__ring--2 { border-color: rgba(10, 36, 99, 0.06); }
.franchise-illustration__ring--1 { border-color: rgba(255, 195, 0, 0.15); }
.franchise-illustration__ring--2 { border-color: rgba(255, 195, 0, 0.08); }
.career-illustration__ring--1 { border-color: rgba(227, 30, 45, 0.1); }
.career-illustration__ring--2 { border-color: rgba(227, 30, 45, 0.06); }

@keyframes illustRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Pulse rings --- */
.team-illustration__pulse,
.franchise-illustration__pulse,
.career-illustration__pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid;
    transform: translate(-50%, -50%);
    animation: illustPulseRing 3.5s ease-out infinite;
}

.team-illustration__pulse { border-color: rgba(10, 36, 99, 0.2); }
.franchise-illustration__pulse { border-color: rgba(255, 195, 0, 0.25); }
.career-illustration__pulse { border-color: rgba(227, 30, 45, 0.2); }

.team-illustration__pulse--2,
.franchise-illustration__pulse--2,
.career-illustration__pulse--2 {
    width: 120px;
    height: 120px;
    animation-delay: 1.5s;
}

.team-illustration__pulse--2 { border-color: rgba(227, 30, 45, 0.15); }
.franchise-illustration__pulse--2 { border-color: rgba(10, 36, 99, 0.12); }
.career-illustration__pulse--2 { border-color: rgba(255, 195, 0, 0.15); }

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

/* Page illustrations responsive */
@media (max-width: 992px) {
    .team-illustration,
    .franchise-illustration,
    .career-illustration {
        max-width: 300px;
    }

    .team-illustration__center,
    .franchise-illustration__center,
    .career-illustration__center {
        width: 64px;
        height: 64px;
    }

    .team-illustration__center i,
    .franchise-illustration__center i,
    .career-illustration__center i {
        font-size: 1.4rem;
    }

    .team-illustration__node,
    .franchise-illustration__node,
    .career-illustration__node {
        width: 40px;
        height: 40px;
        top: -20px;
        left: -20px;
    }

    .team-illustration__node i,
    .franchise-illustration__node i,
    .career-illustration__node i {
        font-size: 0.85rem;
    }

    @keyframes pgOrbit1 {
        0%   { transform: rotate(0deg) translateX(95px) rotate(0deg); }
        100% { transform: rotate(360deg) translateX(95px) rotate(-360deg); }
    }

    @keyframes pgOrbit2 {
        0%   { transform: rotate(90deg) translateX(95px) rotate(-90deg); }
        100% { transform: rotate(450deg) translateX(95px) rotate(-450deg); }
    }

    @keyframes pgOrbit3 {
        0%   { transform: rotate(180deg) translateX(95px) rotate(-180deg); }
        100% { transform: rotate(540deg) translateX(95px) rotate(-540deg); }
    }

    @keyframes pgOrbit4 {
        0%   { transform: rotate(270deg) translateX(95px) rotate(-270deg); }
        100% { transform: rotate(630deg) translateX(95px) rotate(-630deg); }
    }

    .team-illustration__ring--1,
    .franchise-illustration__ring--1,
    .career-illustration__ring--1 {
        width: 150px;
        height: 150px;
        margin-top: -75px;
        margin-left: -75px;
    }

    .team-illustration__ring--2,
    .franchise-illustration__ring--2,
    .career-illustration__ring--2 {
        width: 210px;
        height: 210px;
        margin-top: -105px;
        margin-left: -105px;
    }
}

/* 17. Page: About
   ============================================ */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.vm-card {
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.vm-card--vision::before {
    background: var(--color-highlight);
}

.vm-card--mission::before {
    background: var(--color-accent);
}

.vm-card .vm-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.vm-card--vision .vm-icon {
    color: var(--color-highlight);
}

.vm-card--mission .vm-icon {
    color: var(--color-accent);
}

.vm-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.mission-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-medium-gray);
    line-height: 1.6;
}

.mission-list i {
    color: var(--color-accent);
    margin-top: 5px;
    flex-shrink: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.values-grid .card:nth-child(4),
.values-grid .card:nth-child(5) {
    max-width: 100%;
}

/* 18. Page: Alliances
   ============================================ */
.alliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.alliance-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border-top: 4px solid transparent;
}

.alliance-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--color-accent);
}

.alliance-card:nth-child(2):hover { border-top-color: var(--color-highlight); }
.alliance-card:nth-child(3):hover { border-top-color: var(--color-primary); }
.alliance-card:nth-child(4):hover { border-top-color: var(--color-highlight); }
.alliance-card:nth-child(5):hover { border-top-color: var(--color-accent); }
.alliance-card:nth-child(6):hover { border-top-color: var(--color-primary); }

.alliance-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--space-lg);
    background: rgba(10, 36, 99, 0.06);
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.alliance-card:hover .alliance-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.alliance-card:nth-child(2) .alliance-icon { color: var(--color-accent); background: rgba(227, 30, 45, 0.06); }
.alliance-card:nth-child(2):hover .alliance-icon { background: var(--color-accent); color: var(--color-white); }
.alliance-card:nth-child(4) .alliance-icon { color: #B8860B; background: rgba(255, 195, 0, 0.1); }
.alliance-card:nth-child(4):hover .alliance-icon { background: var(--color-highlight); color: var(--color-primary); }

/* 18b. Partner Logo Grid
   ============================================ */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-lg);
}

.partner-card {
    background: var(--color-white);
    border: 1px solid #e8e8e8;
    border-radius: var(--border-radius-md);
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 140px;
    transition: all var(--transition-base);
    cursor: default;
}

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

.partner-card img {
    max-width: 160px;
    max-height: 90px;
    object-fit: contain;
    transition: all var(--transition-base);
}

.partner-card:hover img {
    filter: brightness(1.15) saturate(1.3);
    transform: scale(1.05);
}

.partner-card .partner-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-medium-gray);
    text-align: center;
    line-height: 1.3;
    transition: color var(--transition-base);
}

.partner-card:hover .partner-name {
    color: var(--color-primary);
}

.partner-card .partner-initial {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.partner-card:hover .partner-initial {
    background: linear-gradient(135deg, var(--color-accent), #ff4757);
}

/* 18c. Disclaimer Section
   ============================================ */
.disclaimer-section {
    padding-bottom: 0;
}

.disclaimer-box {
    background: var(--color-off-white);
    border: 1px solid #dde1e8;
    border-left: 4px solid var(--color-primary);
    border-radius: var(--border-radius-md);
    padding: var(--space-xl);
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.disclaimer-header i {
    font-size: 1.4rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.disclaimer-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.disclaimer-content p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--color-medium-gray);
    margin-bottom: var(--space-md);
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}

.disclaimer-content strong {
    color: var(--color-dark);
    font-weight: 700;
}

/* 19. Page: Services
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Service Card - Futuristic Tech Theme */
.service-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

/* ---- Futuristic Banner ---- */
.service-banner {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Tech dot-grid overlay */
.service-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 18px 18px;
    z-index: 1;
    opacity: 0.7;
}

/* Glowing ring behind icon */
.service-banner::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.15), inset 0 0 30px rgba(255, 255, 255, 0.08);
    z-index: 1;
    animation: pulse-ring 3s ease-in-out infinite;
}

/* Main icon */
.service-banner > i {
    font-size: 3rem;
    color: #fff;
    position: relative;
    z-index: 3;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.2);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    animation: icon-float 4s ease-in-out infinite;
    transition: transform 0.4s ease, text-shadow 0.4s ease;
}

.service-card:hover .service-banner > i {
    transform: scale(1.2);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.7), 0 0 60px rgba(255, 255, 255, 0.35);
}

/* ---- Decorative Shapes (Futuristic Geometry) ---- */
.service-banner .shape {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

/* Shape 1 - Rotating ring (top-right) */
.service-banner .shape-1 {
    width: 90px;
    height: 90px;
    top: -20px;
    right: -15px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    animation: rotate-slow 15s linear infinite;
}

.service-banner .shape-1::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Shape 2 - Rotating diamond (bottom-left) */
.service-banner .shape-2 {
    width: 40px;
    height: 40px;
    bottom: 15px;
    left: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transform: rotate(45deg);
    animation: rotate-reverse 12s linear infinite;
}

.service-banner .shape-2::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 2px;
}

/* Shape 3 - Orbiting dot cluster (left area) */
.service-banner .shape-3 {
    width: 6px;
    height: 6px;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
    animation: orbit 8s linear infinite;
}

.service-banner .shape-3::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    top: -18px;
    left: 12px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

.service-banner .shape-3::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 10px;
    left: -15px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
}

/* ---- Scan-line sweep effect on hover ---- */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    z-index: 4;
    transition: none;
}

.service-card:hover::before {
    animation: scan-sweep 0.8s ease-out forwards;
}

/* ---- Keyframe Animations ---- */
@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

@keyframes orbit {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(12px) translateY(-8px); }
    50% { transform: translateX(0) translateY(-14px); }
    75% { transform: translateX(-10px) translateY(-6px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes scan-sweep {
    from { left: -100%; }
    to { left: 100%; }
}

/* ---- Service Card Body ---- */
.service-body {
    padding: var(--space-lg);
    flex: 1;
}

.service-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.service-body p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-medium-gray);
    margin: 0;
}

/* ---- Theme Gradients (Dark Futuristic) ---- */
/* Online Services - Blue */
.service-card[data-theme="blue"] .service-banner {
    background: linear-gradient(135deg, #0D1B3E 0%, #1565C0 40%, #1E88E5 100%);
}
.service-card[data-theme="blue"] .service-body h3 { color: #1565C0; }
.service-card[data-theme="blue"]:hover {
    box-shadow: 0 25px 50px rgba(21, 101, 192, 0.2);
}

/* Bank Loan - Green */
.service-card[data-theme="green"] .service-banner {
    background: linear-gradient(135deg, #0A2E12 0%, #2E7D32 40%, #43A047 100%);
}
.service-card[data-theme="green"] .service-body h3 { color: #2E7D32; }
.service-card[data-theme="green"]:hover {
    box-shadow: 0 25px 50px rgba(46, 125, 50, 0.2);
}

/* Insurance - Indigo */
.service-card[data-theme="indigo"] .service-banner {
    background: linear-gradient(135deg, #0E1444 0%, #283593 40%, #3F51B5 100%);
}
.service-card[data-theme="indigo"] .service-body h3 { color: #283593; }
.service-card[data-theme="indigo"]:hover {
    box-shadow: 0 25px 50px rgba(40, 53, 147, 0.2);
}

/* Tax Management - Teal */
.service-card[data-theme="teal"] .service-banner {
    background: linear-gradient(135deg, #002E27 0%, #00695C 40%, #00897B 100%);
}
.service-card[data-theme="teal"] .service-body h3 { color: #00695C; }
.service-card[data-theme="teal"]:hover {
    box-shadow: 0 25px 50px rgba(0, 105, 92, 0.2);
}

/* Registration - Deep Orange */
.service-card[data-theme="orange"] .service-banner {
    background: linear-gradient(135deg, #3E1500 0%, #E65100 40%, #F4511E 100%);
}
.service-card[data-theme="orange"] .service-body h3 { color: #E65100; }
.service-card[data-theme="orange"]:hover {
    box-shadow: 0 25px 50px rgba(230, 81, 0, 0.2);
}

/* Travel - Sky Blue */
.service-card[data-theme="sky"] .service-banner {
    background: linear-gradient(135deg, #01304A 0%, #0277BD 40%, #0288D1 100%);
}
.service-card[data-theme="sky"] .service-body h3 { color: #0277BD; }
.service-card[data-theme="sky"]:hover {
    box-shadow: 0 25px 50px rgba(2, 119, 189, 0.2);
}

/* Education - Purple */
.service-card[data-theme="purple"] .service-banner {
    background: linear-gradient(135deg, #1A0533 0%, #6A1B9A 40%, #8E24AA 100%);
}
.service-card[data-theme="purple"] .service-body h3 { color: #6A1B9A; }
.service-card[data-theme="purple"]:hover {
    box-shadow: 0 25px 50px rgba(106, 27, 154, 0.2);
}

/* Job Consultancy - Slate */
.service-card[data-theme="slate"] .service-banner {
    background: linear-gradient(135deg, #111D23 0%, #37474F 40%, #546E7A 100%);
}
.service-card[data-theme="slate"] .service-body h3 { color: #37474F; }
.service-card[data-theme="slate"]:hover {
    box-shadow: 0 25px 50px rgba(55, 71, 79, 0.2);
}

/* Solar - Amber */
.service-card[data-theme="amber"] .service-banner {
    background: linear-gradient(135deg, #3E2800 0%, #E65100 40%, #FFA000 100%);
}
.service-card[data-theme="amber"] .service-body h3 { color: #E65100; }
.service-card[data-theme="amber"]:hover {
    box-shadow: 0 25px 50px rgba(245, 127, 23, 0.2);
}

/* Electronics - Cyan */
.service-card[data-theme="cyan"] .service-banner {
    background: linear-gradient(135deg, #001F22 0%, #006064 40%, #00838F 100%);
}
.service-card[data-theme="cyan"] .service-body h3 { color: #006064; }
.service-card[data-theme="cyan"]:hover {
    box-shadow: 0 25px 50px rgba(0, 96, 100, 0.2);
}

/* Data Recovery - Red */
.service-card[data-theme="red"] .service-banner {
    background: linear-gradient(135deg, #2D0A0A 0%, #B71C1C 40%, #D32F2F 100%);
}
.service-card[data-theme="red"] .service-body h3 { color: #B71C1C; }
.service-card[data-theme="red"]:hover {
    box-shadow: 0 25px 50px rgba(183, 28, 28, 0.2);
}

/* Web & Software Dev - Violet */
.service-card[data-theme="violet"] .service-banner {
    background: linear-gradient(135deg, #1A0033 0%, #4A148C 40%, #7B1FA2 100%);
}
.service-card[data-theme="violet"] .service-body h3 { color: #4A148C; }
.service-card[data-theme="violet"]:hover {
    box-shadow: 0 25px 50px rgba(74, 20, 140, 0.2);
}

/* 20. Page: Franchise
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.benefit-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
}

.benefit-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 36, 99, 0.08);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto var(--space-md);
}

/* Timeline steps */
.timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    max-width: 900px;
    margin: var(--space-xl) auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: var(--color-light-gray);
    z-index: 0;
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 var(--space-md);
}

.timeline-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto var(--space-md);
    box-shadow: 0 4px 15px rgba(10, 36, 99, 0.3);
    position: relative;
}

.timeline-step:nth-child(2) .timeline-icon {
    background: var(--color-accent);
    box-shadow: 0 4px 15px rgba(227, 30, 45, 0.3);
}

.timeline-step:nth-child(3) .timeline-icon {
    background: var(--color-highlight);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(255, 195, 0, 0.3);
}

.timeline-step h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.timeline-step p {
    font-size: 0.9rem;
    color: var(--color-medium-gray);
    margin-bottom: 0;
}

/* 21. Page: Careers
   ============================================ */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.offering-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.offering-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto var(--space-md);
    background: rgba(10, 36, 99, 0.06);
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.offering-card:hover .offering-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.positions-section {
    text-align: center;
    padding: var(--space-2xl) 0;
}

/* 22. Page: Contact
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
    align-items: flex-start;
}

.contact-info-card {
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.15), transparent 70%);
    border-radius: 50%;
}

.contact-info-card h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-info-item i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-highlight);
}

.contact-info-item h4 {
    color: var(--color-white);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.inquiry-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.inquiry-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.inquiry-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto var(--space-md);
    background: rgba(10, 36, 99, 0.06);
    color: var(--color-primary);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--color-bg-alt);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-medium-gray);
    font-size: 1.1rem;
}

/* 23. Media Queries
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .main-nav { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }

    .logo-img {
        height: 68px;
    }

    .main-header.scrolled .logo-img {
        height: 58px;
    }

    .grid-3, .alliance-grid, .services-grid, .values-grid, .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .content-split--reverse { direction: ltr; }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero p {
        font-size: 1.05rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.85rem; }

    .franchise-benefits {
        grid-template-columns: 1fr;
    }

    .timeline {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .timeline::before {
        top: 0;
        bottom: 0;
        left: 40px;
        right: auto;
        width: 3px;
        height: 100%;
    }

    .timeline-step {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: var(--space-lg);
        padding: 0;
    }

    .timeline-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        flex-shrink: 0;
        margin: 0;
    }

    .inquiry-cards {
        grid-template-columns: 1fr;
    }

    .partner-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-2xl: 3.5rem;
        --space-xl: 2rem;
        --nav-height: 80px;
        --nav-height-scrolled: 72px;
    }

    .logo-img {
        height: 60px;
        max-height: calc(var(--nav-height) - 20px);
    }

    .main-header.scrolled .logo-img {
        height: 52px;
    }

    .mobile-close-btn {
        top: 1rem;
        right: 1rem;
    }

    .mobile-menu-content {
        padding: 4.5rem 1.5rem 1.5rem;
        gap: 1.5rem;
    }

    .mobile-overlay .nav-link {
        font-size: 1.05rem;
        padding: 0.8rem 1rem;
    }

    .hero {
        min-height: 85vh;
        padding-top: calc(var(--nav-height) + var(--space-lg));
    }

    .hero--page {
        min-height: 35vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.25rem; }

    .stat-number {
        font-size: 2.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .stat-item {
        padding: var(--space-md);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .service-banner {
        height: 150px;
    }

    .service-banner > i {
        font-size: 2.5rem;
    }

    .service-banner::after {
        width: 80px;
        height: 80px;
    }

    .service-card::before {
        height: 150px;
    }

    .service-banner .shape-1 {
        width: 70px;
        height: 70px;
    }
}

/* Small mobile */
@media (max-width: 576px) {
    :root {
        --nav-height: 64px;
        --nav-height-scrolled: 60px;
    }

    .logo-img {
        height: 44px;
    }

    .main-header.scrolled .logo-img {
        height: 40px;
    }

    .grid-2, .grid-3, .grid-4,
    .alliance-grid, .services-grid, .values-grid,
    .benefits-grid, .offerings-grid, .inquiry-cards {
        grid-template-columns: 1fr;
    }

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

    .partner-card {
        min-height: 120px;
        padding: var(--space-md) 0.75rem;
    }

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

    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

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

    .mobile-menu-content {
        padding: 4rem 1.25rem 1.25rem;
        gap: 1.25rem;
    }

    .mobile-overlay .nav-link {
        font-size: 1rem;
        padding: 0.75rem 0.85rem;
        gap: 0.7rem;
    }

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

    .mobile-menu-logo img {
        height: 110px !important;
    }
}

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

/* Accessibility - reduced motion */
@media (prefers-reduced-motion: reduce) {
    .service-banner > i,
    .service-banner::after,
    .service-banner .shape-1,
    .service-banner .shape-2,
    .service-banner .shape-3 {
        animation: none;
    }

    .service-card:hover::before {
        animation: none;
    }
}
