/* ============================================================================
   EPIGENETICS LIMITED - COMPLETE MAIN CSS
   @author: Sebastian Makoye
   @version: 1.0.0
   ============================================================================ */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set Maiandra GD as the default font for all elements */
* {
    font-family: 'Maiandra GD', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a202c;
    line-height: 1.6;
    overflow-x: hidden;
    background: #f8fafc;
}

/* ===== CSS VARIABLES ===== */
:root {
    --primary-dark: #0a192f;
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --secondary-light: #34d399;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --light: #f8fafc;
    --light-gray: #e2e8f0;
    --dark: #0f172a;
    --text: #475569;
    --text-light: #64748b;
    --white: #ffffff;
    --black: #000000;
    --gray: #6b7280;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    --gradient-primary: linear-gradient(135deg, #0a192f 0%, #1e3a8a 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-silver: linear-gradient(135deg, #9ca3af 0%, #d1d5db 100%);
    --gradient-diamond: linear-gradient(135deg, #06b6d4 0%, #a5f3fc 100%);
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
    --space-xxxl: 5rem;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --transition-normal: all 0.3s ease;
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Serif Pro', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xxl);
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1rem auto 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-normal);
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background: var(--gradient-secondary);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    border: 2px solid transparent;
}

.btn-light:hover {
    background: var(--white);
    border-color: var(--primary-light);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-success {
    background: var(--gradient-secondary);
    border: none;
}

.btn-outline-secondary {
    border: 2px solid var(--light-gray);
    color: var(--gray);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--light);
    border-color: var(--gray);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== ALERTS ===== */
.alert {
    padding: var(--space-md);
    border-radius: 8px;
    margin-bottom: var(--space-lg);
    border: 1px solid;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.emergency-contact {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
    text-decoration: none;
    color: var(--white);
}

.emergency-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 60px;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: var(--primary);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 1px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition-normal);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-link:hover:after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

/* Auth buttons visibility */
.auth-buttons.desktop-auth,
.auth-buttons.mobile-auth {
    display: none !important;
}

@media (max-width: 480px) {
    .auth-buttons.mobile-auth {
        display: flex !important;
    }
}

@media (min-width: 481px) {
    .auth-buttons.desktop-auth {
        display: flex !important;
    }
}

 /* ===== COMPACT SERVICE LIST POPUP - ALL 6 SERVICES WITH BUTTONS ===== */
    .paper-popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(3px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .paper-popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .paper-popup {
        position: relative;
        width: 90%;
        max-width: 400px;
        max-height: 85vh;
        overflow-y: auto;
        background: white;
        border-radius: 24px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
        transform: translateY(30px) scale(0.95);
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        border-top: 4px solid #1e3a8a;
    }
    
    .paper-popup.active {
        transform: translateY(0) scale(1);
    }
    
    /* Paper clip decoration */
    .paper-clip {
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%) rotate(5deg);
        width: 40px;
        height: 40px;
        background: #c0c0c0;
        border-radius: 50% 50% 0 0;
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
        z-index: 10;
        animation: clipWiggle 4s infinite;
    }
    
    .paper-clip:before {
        content: '';
        position: absolute;
        top: 4px;
        left: 4px;
        width: 32px;
        height: 32px;
        background: #e0e0e0;
        border-radius: 50%;
    }
    
    .paper-clip:after {
        content: '';
        position: absolute;
        top: 8px;
        left: 8px;
        width: 24px;
        height: 24px;
        background: #f5f5f5;
        border-radius: 50%;
    }
    
    @keyframes clipWiggle {
        0%, 100% { transform: translateX(-50%) rotate(5deg); }
        25% { transform: translateX(-50%) rotate(10deg) translateY(-2px); }
        75% { transform: translateX(-50%) rotate(0deg) translateY(-2px); }
    }
    
    /* Close button */
    .paper-popup-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(0, 0, 0, 0.05);
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        color: #666;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        z-index: 20;
        font-size: 1.2rem;
        font-weight: bold;
    }
    
    .paper-popup-close:hover {
        background: rgba(0, 0, 0, 0.1);
        transform: rotate(90deg);
        color: #1e3a8a;
    }
    
    /* Popup header */
    .paper-popup-header {
        padding: 30px 25px 15px;
        text-align: center;
    }
    
    .paper-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #1e3a8a10, #0a192f10);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 1.8rem;
        color: #1e3a8a;
        border: 2px dashed #1e3a8a30;
    }
    
    .paper-popup-header h3 {
        font-family: 'Source Serif Pro', serif;
        font-size: 1.5rem;
        font-weight: 700;
        color: #0a192f;
        margin-bottom: 8px;
    }
    
    .paper-popup-header p {
        font-size: 0.9rem;
        color: #475569;
        margin-bottom: 5px;
    }
    
    .highlight {
        color: #1e3a8a;
        font-weight: 600;
    }
    
    /* Service list - vertical stack */
    .service-list {
        padding: 10px 25px 20px;
    }
    
    .service-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid #e2e8f0;
        transition: all 0.2s ease;
    }
    
    .service-item:last-child {
        border-bottom: none;
    }
    
    .service-item:hover {
        background-color: #f8fafc;
        padding-left: 10px;
        padding-right: 10px;
        margin: 0 -10px;
        border-radius: 8px;
    }
    
    .service-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .service-info i {
        width: 24px;
        font-size: 1.1rem;
        color: #1e3a8a;
    }
    
    .service-info span {
        font-weight: 500;
        color: #0a192f;
        font-size: 0.95rem;
    }
    
    .service-btn {
        background: #1e3a8a;
        color: white;
        border: none;
        border-radius: 30px;
        padding: 6px 15px;
        font-size: 0.8rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
    }
    
    .service-btn:hover {
        background: #0a192f;
        transform: scale(1.05);
        color: white;
    }
    
    .service-btn i {
        font-size: 0.7rem;
    }
    
    /* Quick badge for popular service */
    .popular-badge {
        background: #ffd700;
        color: #0a192f;
        font-size: 0.7rem;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 30px;
        margin-left: 8px;
    }
    
    /* Popup footer */
    .paper-popup-footer {
        background: #f1f5f9;
        padding: 15px 25px 20px;
        border-top: 1px dashed #cbd5e1;
        text-align: center;
    }
    
    .footer-note {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        font-size: 0.8rem;
        color: #475569;
        margin-bottom: 12px;
    }
    
    .footer-note i {
        color: #1e3a8a;
    }
    
    .consult-link {
        background: white;
        color: #1e3a8a;
        border: 2px solid #1e3a8a;
        border-radius: 30px;
        padding: 10px 20px;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    
    .consult-link:hover {
        background: #1e3a8a;
        color: white;
    }
    
    /* Responsive */
    @media (max-width: 480px) {
        .paper-popup-header h3 {
            font-size: 1.3rem;
        }
        
        .service-info span {
            font-size: 0.85rem;
        }
        
        .service-btn {
            padding: 4px 12px;
            font-size: 0.75rem;
        }
        
        .popular-badge {
            display: none;
        }
    }

/* ===== MODAL OVERRIDES ===== */
.modal-backdrop {
    z-index: 1040;
}

.modal {
    z-index: 1050;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #0a192f 0%, #1e3a8a 100%);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero h1 .highlight {
    color: var(--secondary-light);
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-light);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FLOATING ELEMENTS ===== */
.floating-link {
    position: absolute;
    text-decoration: none;
    z-index: 10;
}

.floating-element {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-bounce);
    cursor: pointer;
    color: var(--primary);
    font-weight: 500;
}

.floating-element i {
    font-size: 1.2rem;
}

.floating-element:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
    background: var(--white);
}

.floating-1 { top: 20%; left: 5%; animation: float 6s ease-in-out infinite; }
.floating-2 { top: 43%; right: 5%; animation: float 7s ease-in-out infinite; animation-delay: 1s; }
.floating-3 { bottom: 15%; left: 5%; animation: float 8s ease-in-out infinite; animation-delay: 2s; }
.floating-4 { top: 20%; right: 5%; animation: float 9s ease-in-out infinite; animation-delay: 0.5s; }
.floating-5 { bottom: 43%; left: 5%; animation: float 7.5s ease-in-out infinite; animation-delay: 1.5s; }
.floating-6 { top: 75%; right: 5%; animation: float 8.5s ease-in-out infinite; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ===== FEATURE CARDS ===== */
.feature-cards-section {
    padding: 80px 0;
    background: var(--light);
    margin-top: -50px;
    position: relative;
    z-index: 100;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.feature-details p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.emergency-note {
    background: #fee2e2;
    padding: 0.5rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--danger);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.about-highlight {
    text-align: center;
    padding: 1rem;
    background: var(--light);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.about-highlight:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.about-highlight i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.about-highlight h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.about-highlight p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-normal);
}

.about-image img:hover {
    transform: scale(1.02);
}

/* ===== MISSION & VISION SECTION ===== */
.mission-vision-section {
    padding: 80px 0;
    background: var(--light);
}

.mission-vision-layout {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.mv-card {
    flex: 1;
    padding: 2rem;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.mv-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.mv-header i {
    font-size: 1.8rem;
}

.vision-card {
    border-left: 6px solid #1e3a8a;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.06), rgba(59, 130, 246, 0.06));
}

.vision-card i {
    color: #1e3a8a;
}

.mission-card {
    border-left: 6px solid #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(52, 211, 153, 0.06));
}

.mission-card i {
    color: #10b981;
}

/* ===== CORE VALUES SECTION ===== */
.core-values-section {
    padding: 80px 0;
    background: var(--white);
}

.core-values-horizontal {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.core-value-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.core-value-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.core-value-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.core-value-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

/* ===== SEASONAL GRID ===== */
.seasonal-grid {
    padding: 80px 0;
    background: var(--light);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.grid-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.grid-img {
    height: 200px;
    overflow: hidden;
}

.grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.grid-item:hover .grid-img img {
    transform: scale(1.1);
}

.grid-content {
    padding: 1.5rem;
}

.season-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-tag {
    display: inline-block;
    background: var(--light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 5px;
}

/* ===== CORPORATE SECTION ===== */
.corporate-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.corporate-section .section-title h2,
.corporate-section .section-title p {
    color: var(--white);
}

.corporate-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.corporate-stat {
    text-align: center;
}

.corporate-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-light);
}

.corporate-stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== PLANS SECTION ===== */
.plans-section {
    padding: 80px 0;
    background: var(--light);
}

.region-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.region-selector select {
    padding: 12px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-size: 1rem;
    min-width: 250px;
    cursor: pointer;
    background: var(--white);
}

.region-selector select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Plan Card Styles */
.plan-card {
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.plan-card .card-header.silver {
    background: var(--gradient-silver);
}

.plan-card .card-header.gold {
    background: var(--gradient-gold);
}

.plan-card .card-header.diamond {
    background: var(--gradient-diamond);
}

.plan-feature {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.plan-feature i {
    color: var(--success);
    margin-right: 8px;
    flex-shrink: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.contact-item:hover {
    transform: translateX(5px);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.contact-details h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-details p {
    margin-bottom: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== QUICK INFORMATION CARDS ===== */
.quick-info {
    margin-top: var(--space-xl);
    border-top: 2px solid var(--light-gray);
    padding-top: var(--space-xl);
}

.quick-info h4 {
    margin-bottom: var(--space-lg);
    color: var(--primary-dark);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.info-card {
    background: var(--light);
    padding: var(--space-md);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-card:first-child {
    border-left: 3px solid var(--secondary);
}

.info-card:nth-child(2) {
    border-left: 3px solid var(--primary);
}

.info-card:nth-child(3) {
    border-left: 3px solid var(--accent);
}

.info-card:nth-child(4) {
    border-left: 3px solid var(--secondary-dark);
}

.info-card > div {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: 5px;
}

.info-card > div i {
    color: var(--secondary);
}

.info-card strong {
    font-size: 0.9rem;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--text);
    margin: 0;
}

.emergency-notice {
    margin-top: var(--space-lg);
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-left: 4px solid #ef4444;
    padding: var(--space-md);
    border-radius: 8px;
}

.emergency-notice > div {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.emergency-notice i {
    color: #ef4444;
    font-size: 1.2rem;
}

.emergency-notice strong {
    color: #991b1b;
    font-size: 0.9rem;
}

.emergency-notice p {
    font-size: 0.85rem;
    color: #7f1d1d;
    margin: 2px 0 0 0;
}

/* ===== ARTICLES SECTION ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.article-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.article-meta i {
    margin-right: 0.25rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.7rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.developer-credit {
    margin-top: var(--space-sm);
    font-size: 0.8rem;
    opacity: 0.7;
}

.developer-credit strong {
    color: var(--secondary-light);
}

 /* ===== COMPACT SERVICE LIST POPUP - ALL 6 SERVICES WITH BUTTONS ===== */
    .paper-popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(3px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .paper-popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .paper-popup {
        position: relative;
        width: 90%;
        max-width: 400px;
        max-height: 85vh;
        overflow-y: auto;
        background: white;
        border-radius: 24px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
        transform: translateY(30px) scale(0.95);
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        border-top: 4px solid #1e3a8a;
    }
    
    .paper-popup.active {
        transform: translateY(0) scale(1);
    }
    
    /* Paper clip decoration */
    .paper-clip {
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%) rotate(5deg);
        width: 40px;
        height: 40px;
        background: #c0c0c0;
        border-radius: 50% 50% 0 0;
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
        z-index: 10;
        animation: clipWiggle 4s infinite;
    }
    
    .paper-clip:before {
        content: '';
        position: absolute;
        top: 4px;
        left: 4px;
        width: 32px;
        height: 32px;
        background: #e0e0e0;
        border-radius: 50%;
    }
    
    .paper-clip:after {
        content: '';
        position: absolute;
        top: 8px;
        left: 8px;
        width: 24px;
        height: 24px;
        background: #f5f5f5;
        border-radius: 50%;
    }
    
    @keyframes clipWiggle {
        0%, 100% { transform: translateX(-50%) rotate(5deg); }
        25% { transform: translateX(-50%) rotate(10deg) translateY(-2px); }
        75% { transform: translateX(-50%) rotate(0deg) translateY(-2px); }
    }
    
    /* Close button */
    .paper-popup-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(0, 0, 0, 0.05);
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        color: #666;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        z-index: 20;
        font-size: 1.2rem;
        font-weight: bold;
    }
    
    .paper-popup-close:hover {
        background: rgba(0, 0, 0, 0.1);
        transform: rotate(90deg);
        color: #1e3a8a;
    }
    
    /* Popup header */
    .paper-popup-header {
        padding: 30px 25px 15px;
        text-align: center;
    }
    
    .paper-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #1e3a8a10, #0a192f10);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 1.8rem;
        color: #1e3a8a;
        border: 2px dashed #1e3a8a30;
    }
    
    .paper-popup-header h3 {
        font-family: 'Source Serif Pro', serif;
        font-size: 1.5rem;
        font-weight: 700;
        color: #0a192f;
        margin-bottom: 8px;
    }
    
    .paper-popup-header p {
        font-size: 0.9rem;
        color: #475569;
        margin-bottom: 5px;
    }
    

.highlight {
    color: #1e3a8a;
    font-weight: 600;
}

.service-list {
    padding: 10px 25px 20px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    background-color: #f8fafc;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 -10px;
    border-radius: 8px;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-info i {
    width: 24px;
    font-size: 1.1rem;
    color: #1e3a8a;
}

.service-info span {
    font-weight: 500;
    color: #0a192f;
    font-size: 0.95rem;
}

.service-btn {
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 6px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.service-btn:hover {
    background: #0a192f;
    transform: scale(1.05);
    color: white;
}

.popular-badge {
    background: #ffd700;
    color: #0a192f;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 30px;
    margin-left: 8px;
}

.paper-popup-footer {
    background: #f1f5f9;
    padding: 15px 25px 20px;
    border-top: 1px dashed #cbd5e1;
    text-align: center;
}

.footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0.8rem;
    color: #475569;
    margin-bottom: 12px;
}

.footer-note i {
    color: #1e3a8a;
}

.consult-link {
    background: white;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.consult-link:hover {
    background: #1e3a8a;
    color: white;
}

/* ===== CHATBOT WIDGET ===== */
#chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

#chatbot-container {
    display: none;
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 2px solid var(--primary-light);
}

.chatbot-header {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header > div {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar i {
    font-size: 1.2rem;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--white);
}

.chatbot-header small {
    opacity: 0.8;
}

#close-chatbot {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

#chat-messages {
    height: 350px;
    padding: var(--space-lg);
    overflow-y: auto;
    background: var(--light);
}

.message {
    background: var(--white);
    padding: var(--space-md);
    border-radius: 12px;
    margin-bottom: var(--space-sm);
    max-width: 80%;
}

.message p {
    margin: 0;
}

.message small {
    display: block;
    text-align: right;
    color: var(--text-light);
    margin-top: 5px;
}

.bot-message {
    background: var(--white);
}

.user-message {
    background: var(--gradient-primary);
    color: var(--white);
    margin-left: auto;
}

.user-message small {
    color: rgba(255, 255, 255, 0.7);
}

.chat-input-area {
    padding: var(--space-md);
    border-top: 1px solid var(--light-gray);
    background: var(--white);
}

.chat-input-wrapper {
    display: flex;
    gap: var(--space-sm);
}

#chat-input {
    flex: 1;
    padding: var(--space-md);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
}

#send-message {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    transition: var(--transition-normal);
}

#send-message:hover {
    transform: translateY(-2px);
}

.chat-info {
    text-align: center;
    margin-top: var(--space-sm);
}

.chat-info small {
    color: var(--text-light);
}

#chatbot-toggle {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition-bounce);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
}

#chatbot-toggle:hover {
    transform: scale(1.1);
}

#chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 50%;
    display: none;
    font-size: 0.7rem;
    align-items: center;
    justify-content: center;
}

/* ===== PATH SELECTION MODAL STYLES ===== */
.path-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.path-card:hover {
    border-color: #1e3a8a;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.path-card.selected {
    border-color: #1e3a8a;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(59, 130, 246, 0.05));
}

.path-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bg-primary-light {
    background: linear-gradient(135deg, #0a192f 0%, #1e3a8a 100%);
}

/* Service/Professional Options */
.service-option,
.professional-option {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    margin-bottom: 0;
}

.service-option:hover,
.service-option .form-check-input:checked ~ .card-body,
.professional-option:hover,
.professional-option .form-check-input:checked ~ .card-body {
    border-color: #1e3a8a;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(59, 130, 246, 0.05));
}

.service-option .form-check-input,
.professional-option .form-check-input {
    position: absolute;
    top: 15px;
    right: 15px;
}

.service-option .card-body,
.professional-option .card-body {
    padding: 20px;
    text-align: center;
}

.service-option i,
.professional-option i {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* ===== TERMS AND CONDITIONS MODAL STYLES ===== */
.terms-content {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.terms-section {
    position: relative;
    padding-left: 15px;
    border-left: 3px solid #e2e8f0;
    margin-bottom: 2.5rem;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section:hover {
    border-left-color: #1e3a8a;
}

.terms-section h4 {
    color: #1e3a8a;
    font-weight: 600;
    font-family: 'Source Serif Pro', serif;
}

.terms-section .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.terms-section .card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.terms-section::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.3s ease;
}

.terms-section:hover::before {
    background: #1e3a8a;
    transform: scale(1.2);
}

#acceptTerms:not(:disabled) {
    animation: termsPulse 2s infinite;
}

@keyframes termsPulse {
    0% { box-shadow: 0 0 0 0 rgba(30, 58, 138, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(30, 58, 138, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 58, 138, 0); }
}

/* ===== PRIVACY POLICY MODAL STYLES ===== */
.privacy-content {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.privacy-section {
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
}

.privacy-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0dcaf0, #17a2b8);
    margin-top: 10px;
    border-radius: 2px;
}

.data-category {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.data-category:hover {
    transform: translateY(-5px);
}

.category-header {
    padding: 1rem 1.5rem;
}

.category-body {
    background: white;
}

.scope-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.scope-card:hover {
    border-color: #0dcaf0;
    box-shadow: 0 5px 20px rgba(13, 202, 240, 0.15);
}

.principle-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.principle-card:hover {
    border-color: #0dcaf0;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.security-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.security-card:hover {
    border-color: #0dcaf0;
    background: rgba(13, 202, 240, 0.05);
}

.right-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.right-card:hover {
    border-color: #0dcaf0;
    transform: translateY(-5px);
}

.review-info {
    border-left: 4px solid #0dcaf0;
}

.signature-card {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

#privacyModal .modal-body::-webkit-scrollbar {
    width: 8px;
}

#privacyModal .modal-body::-webkit-scrollbar-track {
    background: #f8f9fa;
}

#privacyModal .modal-body::-webkit-scrollbar-thumb {
    background: #0dcaf0;
    border-radius: 4px;
}

.section-number .badge {
    animation: pulseNumber 2s infinite;
}

@keyframes pulseNumber {
    0% { box-shadow: 0 0 0 0 rgba(13, 202, 240, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(13, 202, 240, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 202, 240, 0); }
}

/* ===== MODAL SCROLLBAR ===== */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .core-values-horizontal {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 140px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
        z-index: 1000;
        gap: 0;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid var(--light-gray);
        text-align: center;
    }
    
    .nav-link:after {
        display: none;
    }
    
    .auth-buttons {
        margin-top: 1rem;
        flex-direction: column;
        width: 100%;
    }
    
    .auth-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-vision-layout {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .corporate-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .region-selector {
        flex-direction: column;
        align-items: stretch;
    }
    
    .region-selector select {
        width: 100%;
    }
    
    .core-values-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .paper-popup-header h3 {
        font-size: 1.3rem;
    }
    
    .service-info span {
        font-size: 0.85rem;
    }
    
    .service-btn {
        padding: 4px 12px;
        font-size: 0.75rem;
    }
    
    .popular-badge {
        display: none;
    }
}

@media (max-width: 480px) {
    .core-values-horizontal {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .auth-buttons.desktop-auth {
        display: none;
    }
    
    .auth-buttons.mobile-auth {
        display: flex;
    }
}

/* ===== UTILITY CLASSES ===== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-success {
    color: var(--secondary);
}

.text-white {
    color: var(--white);
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

/* Fix for all icons */
i, .fas, .far, .fab, .fa, .fa-solid, .fa-regular, .fa-brands {
    text-decoration: none !important;
}