@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary-color: #083e98;
    --primary-dark: #062d70;
    --primary-light: #1a5fcf;
    --secondary-color: #f84b01;
    --secondary-dark: #d63301;
    --secondary-light: #ff6b2b;
    --white-color: #ffffff;
    --light-gray: #f8f9fb;
    --dark-gray: #1a1a2e;
    --text-gray: #6b7280;
    --text-dark: #1f2937;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --bg-body: #ffffff;
    --bg-section: #f8f9fb;
    --card-bg: #ffffff;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.06), 0 20px 40px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 30px rgba(8, 62, 152, 0.15);
    --gradient-primary: linear-gradient(135deg, #083e98 0%, #1a5fcf 100%);
    --gradient-secondary: linear-gradient(135deg, #f84b01 0%, #ff6b2b 100%);
    --gradient-accent: linear-gradient(135deg, #083e98 0%, #f84b01 100%);
    --gradient-hero: linear-gradient(135deg, rgba(8, 62, 152, 0.92) 0%, rgba(26, 95, 207, 0.85) 50%, rgba(248, 75, 1, 0.7) 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

[data-theme="dark"] {
    --primary-color: #6096fd;
    --primary-dark: #4d83eb;
    --primary-light: #7aabf8;
    --white-color: #eef1f5;
    --light-gray: #252838;
    --dark-gray: #e8ebf0;
    --text-gray: #c5c9d4;
    --text-dark: #f0f2f5;
    --border-color: #2b2e3e;
    --glass-bg: rgba(15, 17, 23, 0.94);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --bg-body: #0f1117;
    --bg-section: #161822;
    --card-bg: #1b1d29;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(96, 150, 253, 0.12);
    --gradient-primary: linear-gradient(135deg, #1a3170 0%, #2a52b5 100%);
    --gradient-hero: linear-gradient(135deg, rgba(8, 10, 18, 0.96) 0%, rgba(10, 12, 24, 0.92) 50%, rgba(36, 16, 8, 0.88) 100%);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    color: #1f2937;
}

[data-theme="dark"] .form-control::placeholder {
    color: #6b7280;
}

[data-theme="dark"] .navbar-collapse {
    background: var(--card-bg);
}

[data-theme="dark"] .text-muted {
    color: var(--text-gray) !important;
}

[data-theme="dark"] .text-dark {
    color: var(--text-dark) !important;
}

[data-theme="dark"] .table-primary {
    --bs-table-bg: var(--bg-section);
    --bs-table-color: var(--text-dark);
    --bs-table-hover-bg: var(--card-bg);
}

[data-theme="dark"] .table {
    --bs-table-color: var(--text-dark);
    --bs-table-bg: transparent;
    --bs-table-hover-bg: var(--bg-section);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .section-tag {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .feature-icon {
    background: rgba(248, 75, 1, 0.15);
}

[data-theme="dark"] footer {
    background: var(--bg-body);
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .modal-content {
    background: var(--card-bg);
    color: var(--text-dark);
}

[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-close {
    filter: invert(0.8);
}

[data-theme="dark"] .card-footer {
    border-top-color: var(--border-color);
}

[data-theme="dark"] section.light-bg {
    background: var(--bg-section);
}

[data-theme="dark"] .alert-success {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .alert-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.2);
}

[data-theme="dark"] .alert-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.2);
}

[data-theme="dark"] .alert-info {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .border-secondary {
    border-color: var(--secondary-color) !important;
}

[data-theme="dark"] .bg-light {
    background-color: var(--bg-section) !important;
}

[data-theme="dark"] .text-body {
    color: var(--text-dark) !important;
}

[data-theme="dark"] .hero h1,
[data-theme="dark"] .hero p {
    color: var(--white-color);
}

[data-theme="dark"] .countdown-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] section.py-4.border-bottom {
    background: var(--bg-section) !important;
    border-bottom-color: var(--border-color) !important;
}

[data-theme="dark"] .newsletter-section {
    background: var(--bg-section) !important;
}

[data-theme="dark"] .social-links a:hover,
[data-theme="dark"] .social-links a:hover i {
    color: #ffffff !important;
}

[data-theme="dark"] .card-body,
[data-theme="dark"] .card {
    color: var(--text-dark);
    --bs-card-color: var(--text-dark);
    --bs-card-title-color: var(--text-dark);
}

[data-theme="dark"] .card-text,
[data-theme="dark"] .text-gray {
    color: var(--text-gray);
}

[data-theme="dark"] .card-title {
    color: var(--primary-color);
}

[data-theme="dark"] .btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

[data-theme="dark"] a:not(.btn):not(.nav-link):not(.dropdown-item):not(.sidebar-menu a) {
    color: var(--primary-color);
}

[data-theme="dark"] h6.fw-bold,
[data-theme="dark"] h5.fw-bold,
[data-theme="dark"] h4.fw-bold,
[data-theme="dark"] h3.fw-bold {
    color: var(--text-dark);
}

[data-theme="dark"] .fw-semibold {
    color: var(--text-dark);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-body);
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

p, .card-text, .text-gray, .lead { text-align: left; }
@media (min-width: 768px) {
    p, .card-text, .text-gray, .lead { text-align: justify; hyphens: auto; }
}
li, .list-unstyled li { text-align: left; }

::selection { background: var(--primary-color); color: var(--white-color); }

::-moz-selection { background: var(--primary-color); color: var(--white-color); }

/* ==========================================
   PAGE LOADER
   ========================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.fade-out { opacity: 0; visibility: hidden; }

.loader-logo {
    width: 120px;
    height: auto;
    animation: loaderPulse 1.5s ease-in-out infinite;
    margin-bottom: 2.5rem;
    filter: brightness(0) invert(1);
}

.loader-bar {
    width: 200px;
    max-width: 70vw;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.loader-bar-progress {
    height: 100%;
    width: 40%;
    background: var(--secondary-color);
    border-radius: 4px;
    animation: loaderBar 1.2s ease-in-out infinite;
}

.loader-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-top: 1.25rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 0.85; }
}

@keyframes loaderBar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* ==========================================
   NAVBAR PREMIUM
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 0.85rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: var(--card-bg);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 0.6rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand img {
    height: 42px;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand img { height: 36px; }

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark) !important;
    margin: 0 0.35rem;
    padding: 0.5rem 0.75rem !important;
    transition: var(--transition);
    position: relative;
    border-radius: var(--radius-sm);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: var(--gradient-secondary);
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::before,
.nav-link.active::before { width: 60%; }

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

.nav-link.active { color: var(--primary-color) !important; }

.navbar .btn-cta {
    background: var(--gradient-secondary);
    color: var(--white-color);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(248, 75, 1, 0.25);
    position: relative;
    overflow: hidden;
}

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

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

.navbar .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(248, 75, 1, 0.35);
}

.nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    border: 1.5px solid var(--border-color);
}

.nav-login:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.dark-mode-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-gray);
    background: none;
    border: 1.5px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.dark-mode-toggle:hover {
    background: var(--light-gray);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-icon { background-image: none !important; position: relative; }

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggler-icon::before { top: 6px; }
.navbar-toggler-icon span { top: 12px; }
.navbar-toggler-icon::after { top: 18px; }

/* ==========================================
   HERO SECTION PREMIUM
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: floatParticle 8s infinite;
}

.hero-particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; width: 8px; height: 8px; }
.hero-particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; width: 5px; height: 5px; background: rgba(248, 75, 1, 0.2); }
.hero-particle:nth-child(3) { top: 30%; left: 70%; animation-delay: 2s; }
.hero-particle:nth-child(4) { top: 75%; left: 25%; animation-delay: 3s; width: 4px; height: 4px; background: rgba(248, 75, 1, 0.15); }
.hero-particle:nth-child(5) { top: 45%; left: 50%; animation-delay: 4s; width: 10px; height: 10px; background: rgba(255, 255, 255, 0.08); }
.hero-particle:nth-child(6) { top: 15%; left: 45%; animation-delay: 1.5s; width: 3px; height: 3px; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    25% { transform: translateY(-30px) translateX(15px); opacity: 0.6; }
    50% { transform: translateY(-10px) translateX(-10px); opacity: 0.4; }
    75% { transform: translateY(-40px) translateX(20px); opacity: 0.7; }
}

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

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out;
}

.hero-badge i { color: var(--secondary-color); }

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out 0.1s both;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    background: linear-gradient(90deg, var(--secondary-color) 0%, #ffcc02 30%, var(--secondary-color) 60%, #ffcc02 100%);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: highlightShimmer 3s ease-in-out infinite;
}

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

.hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-stat-item { text-align: left; }

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white-color);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.35rem;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* ==========================================
   BUTTONS PREMIUM
   ========================================== */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    border: none;
}

.btn::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;
}

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

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--white-color);
    box-shadow: 0 4px 20px rgba(248, 75, 1, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(248, 75, 1, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white-color);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(8, 62, 152, 0.2);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8rem; }

/* ==========================================
   SECTIONS PREMIUM
   ========================================== */
section { padding: 100px 0; }

section.light-bg { background: var(--bg-section); }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header-left { text-align: left; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(8, 62, 152, 0.06);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-tag i { font-size: 0.75rem; }

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-title .highlight {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.section-header-left .section-subtitle { margin-left: 0; }

/* ==========================================
   CARDS PREMIUM
   ========================================== */
.card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.card-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover .card-img-wrapper::after { opacity: 1; }

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .card-img-wrapper img { transform: scale(1.08); }

.card-img-overlay-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.card-img-overlay-badge .badge {
    background: var(--gradient-secondary);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(248, 75, 1, 0.3);
}

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.card-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.card-footer {
    background: none;
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.badge-custom {
    background: var(--gradient-secondary);
    color: var(--white-color);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.price-tag {
    float: right;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Methodology cards */
.methodology-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.methodology-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

.methodology-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 16px;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.methodology-card:hover .methodology-number {
    background: var(--gradient-secondary);
    transform: rotate(5deg) scale(1.05);
}

/* Feature blocks */
.feature-block {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    cursor: default;
}

.feature-block:hover {
    background: var(--white-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

[data-theme="dark"] .feature-block:hover {
    background: var(--bg-section);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 75, 1, 0.08);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.feature-block:hover .feature-icon {
    background: var(--gradient-secondary);
    color: var(--white-color);
    transform: scale(1.05) rotate(-5deg);
}

/* ==========================================
   TESTIMONIALS PREMIUM
   ========================================== */
.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border: 1px solid var(--border-color);
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.15;
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
}

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

.testimonial-avatar {
    width: 72px;
    height: 72px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 3px solid var(--white-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stars {
    color: var(--warning-color);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Carousel */
.carousel-item { transition: opacity 0.6s ease-in-out !important; }
.carousel-item.active { opacity: 1; }

.carousel-indicators { position: static; margin-top: 2rem; gap: 0.5rem; }

.carousel-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: var(--border-color) !important;
    border: none;
    opacity: 1;
    transition: var(--transition);
}

.carousel-indicators button.active {
    background: var(--gradient-secondary) !important;
    width: 28px !important;
    border-radius: 5px !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#testimonialCarousel:hover .carousel-control-prev,
#testimonialCarousel:hover .carousel-control-next { opacity: 1; }

/* ==========================================
   FORMS PREMIUM
   ========================================== */
.form-control, .form-select {
    border: 1.5px solid var(--border-color);
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-sm);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--white-color);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(8, 62, 152, 0.1);
}

.form-control-lg { padding: 1rem 1.25rem; font-size: 1rem; }

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.form-floating .form-label { color: var(--text-gray); }

/* ==========================================
   FOOTER PREMIUM
   ========================================== */
footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

footer h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white-color);
    letter-spacing: 0.5px;
}

footer h5 i { color: var(--secondary-color); margin-right: 0.5rem; }

footer p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

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

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

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

footer a i { font-size: 0.75rem; transition: var(--transition); }

footer a:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

footer a:hover i { transform: translateX(2px); color: var(--secondary-color); }

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white-color) !important;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--gradient-secondary);
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(248, 75, 1, 0.3);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-item i {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 4px;
    min-width: 16px;
}

.footer-contact-item span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-newsletter-form { position: relative; }

.footer-newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white-color);
    padding: 0.75rem 4.5rem 0.75rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
}

.footer-newsletter-form .form-control::placeholder { color: rgba(255, 255, 255, 0.4); }

.footer-newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--secondary-color);
    box-shadow: none;
}

.footer-newsletter-form .btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    padding: 0 1.25rem;
    background: var(--gradient-secondary);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white-color);
}

.footer-newsletter-form .btn:hover {
    background: var(--secondary-dark);
    transform: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p { margin: 0; font-size: 0.85rem; }

.footer-bottom a {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

.footer-bottom a:hover { transform: none; }

/* ==========================================
   CONFIRMATION / MODAL PREMIUM
   ========================================== */
.confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeInOverlay 0.25s ease-out;
}

.confirmation-overlay.show { display: flex; }

@keyframes fadeInOverlay {
    from { opacity: 0; backdrop-filter: blur(0); }
    to { opacity: 1; backdrop-filter: blur(8px); }
}

.confirmation-modal {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    animation: slideUpModal 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

@keyframes slideUpModal {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.confirmation-modal h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.confirmation-modal p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.confirmation-modal .modal-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.confirmation-modal .btn {
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.confirmation-modal .btn-confirm {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(248, 75, 1, 0.3);
}

.confirmation-modal .btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 75, 1, 0.4);
}

.confirmation-modal .btn-cancel {
    background: var(--light-gray);
    color: var(--primary-color);
    border: 1.5px solid var(--border-color);
}

.confirmation-modal .btn-cancel:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.confirmation-icon-error {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* Registration modal */
#registrationModal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeInOverlay 0.25s ease-out;
}

#registrationModal.show { display: flex; }

.registration-modal-content {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    animation: slideUpModal 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.registration-modal-content .modal-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.registration-modal-content .modal-header-custom h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.registration-modal-content .btn-close-custom {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.registration-modal-content .btn-close-custom:hover {
    background: var(--light-gray);
    color: var(--danger-color);
}

/* ==========================================
   FOUNDER SECTION PREMIUM
   ========================================== */
.founder-content { padding-right: 2rem; }

.founder-accent-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.founder-quote {
    background: var(--card-bg);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.founder-quote:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.founder-image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.founder-name {
    position: relative;
    z-index: 3;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.founder-shape-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.12;
    z-index: 0;
    animation: morphShape 8s ease-in-out infinite;
}

@keyframes morphShape {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: rotate(180deg); }
}

.founder-image-frame {
    position: relative;
    z-index: 1;
    width: 380px;
    height: 380px;
    border-radius: 20px 60px 20px 60px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(8, 62, 152, 0.2);
    border: 4px solid var(--white-color);
    transition: var(--transition);
}

.founder-image-frame:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 60px rgba(8, 62, 152, 0.3);
}

.founder-image {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.founder-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    background: var(--card-bg);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    margin-top: 0;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.founder-badge:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

.founder-extra-text { display: block; }

.founder-read-more {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.founder-read-more:hover {
    color: var(--primary-color);
}

.founder-read-more i {
    transition: transform 0.3s ease;
}

.founder-read-more.active i {
    transform: rotate(180deg);
}

/* ==========================================
   PAGE 404 PREMIUM
   ========================================== */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--gradient-primary);
    color: var(--white-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.error-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.error-shape:nth-child(1) { width: 500px; height: 500px; top: -200px; right: -100px; }
.error-shape:nth-child(2) { width: 400px; height: 400px; bottom: -150px; left: -100px; }

.error-content { position: relative; z-index: 1; }

.error-content h1 {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.error-content .btn-outline { border-color: rgba(255,255,255,0.4); color: white; }
.error-content .btn-outline:hover { background: white; color: var(--primary-color); }

.confirmation-heading {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.fade-in, .slide-in-left, .slide-in-right, .slide-in-up {
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.fade-in { opacity: 0; transform: translateY(30px); }
.slide-in-left { opacity: 0; transform: translateX(-60px); }
.slide-in-right { opacity: 0; transform: translateX(60px); }
.slide-in-up { opacity: 0; transform: translateY(40px); }

.fade-in.animate, .slide-in-left.animate, .slide-in-right.animate, .slide-in-up.animate {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.row > [class*="col-"]:nth-child(1) > .fade-in,
.row > [class*="col-"]:nth-child(1).fade-in { transition-delay: 0s; }
.row > [class*="col-"]:nth-child(2) > .fade-in,
.row > [class*="col-"]:nth-child(2).fade-in { transition-delay: 0.1s; }
.row > [class*="col-"]:nth-child(3) > .fade-in,
.row > [class*="col-"]:nth-child(3).fade-in { transition-delay: 0.2s; }
.row > [class*="col-"]:nth-child(4) > .fade-in,
.row > [class*="col-"]:nth-child(4).fade-in { transition-delay: 0.3s; }
.row > [class*="col-"]:nth-child(5) > .fade-in,
.row > [class*="col-"]:nth-child(5).fade-in { transition-delay: 0.4s; }
.row > [class*="col-"]:nth-child(6) > .fade-in,
.row > [class*="col-"]:nth-child(6).fade-in { transition-delay: 0.5s; }

/* ==========================================
   SCROLL TO TOP PREMIUM
   ========================================== */
#scrollTopBtn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 9999;
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    padding: 0;
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 20px rgba(8, 62, 152, 0.3);
    transition: var(--transition);
    cursor: pointer;
}

#scrollTopBtn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(248, 75, 1, 0.3);
}

/* ==========================================
   NEWSLETTER SECTION
   ========================================== */
.newsletter-section {
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: rgba(248, 75, 1, 0.05);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
}

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

/* ==========================================
   IMAGE LOADING
   ========================================== */
.card-img-top.loading {
    opacity: 0;
    background: linear-gradient(135deg, #083e98 0%, #f84b01 50%, #083e98 100%);
    background-size: 200% 200%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.card-img-top.loaded { opacity: 1; transition: opacity 0.4s ease; }

/* ==========================================
   COUNTDOWN
   ========================================== */
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white-color);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    min-width: 80px;
}

.countdown-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* ==========================================
   STICKY INSCRIPTION
   ========================================== */
.sticky-inscription {
    position: sticky;
    top: 90px;
    z-index: 900;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.sticky-inscription:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 992px) {
    .sticky-inscription { position: static; max-height: none; }
}

/* ==========================================
   RESPONSIVE TABLET (< 992px)
   ========================================== */
@media (max-width: 991.98px) {
    .navbar { padding: 0.7rem 0; }
    .navbar .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .navbar-brand {
        margin-right: auto;
    }
    .navbar-brand.centered {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        z-index: 1;
    }
    .navbar:has(.navbar-collapse.show) .navbar-toggler {
        position: relative;
        z-index: 2;
    }
    .navbar .d-flex.align-items-center.gap-2 {
        flex-wrap: wrap;
    }

    .navbar-collapse {
        background: var(--white-color);
        padding: 1.25rem;
        border-radius: var(--radius-md);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        margin-top: 0.75rem;
    }

    .navbar-nav { align-items: flex-start !important; }

    .navbar-nav .nav-item { width: 100%; }

    .navbar-nav .nav-link {
        padding: 0.7rem 0 !important;
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-nav .nav-link::before { display: none; }

    .navbar .btn-cta { margin-top: 0.75rem; width: 100%; text-align: center; }

    .hero { min-height: auto; padding: 110px 0 70px; }

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

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

    .hero-stats { gap: 2rem; flex-wrap: wrap; }

    .hero-stat-number { font-size: 1.6rem; }

    section { padding: 70px 0; }

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

    .card { margin-bottom: 1.5rem; }

    footer .col-md-4 { margin-bottom: 2rem; }
}

/* ==========================================
   RESPONSIVE MOBILE (< 768px)
   ========================================== */
@media (max-width: 767.98px) {
    .navbar { padding: 0.6rem 0; }
    .navbar-brand img { height: 36px; }
    .navbar.scrolled .navbar-brand img { height: 32px; }

    .hero { padding: 100px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; gap: 0.75rem; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    .hero { overflow-x: hidden; }
    .hero-stats { gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; }

    section { padding: 50px 0; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 1rem; }
    .section-header { margin-bottom: 2.5rem; }

    .testimonial-card { padding: 1.5rem; margin-bottom: 1rem; }

    .founder-content { padding-right: 0; }
    .founder-image-frame { width: 300px; height: 300px; }
    .founder-shape-accent { width: 260px; height: 260px; }
    .founder-quote { padding: 1.25rem; font-size: 0.9rem; }
    .founder-name { font-size: 1.1rem; }
    .founder-extra-text { display: none; }
    .founder-extra-text.show { display: block; }
    .founder-read-more { display: inline-flex !important; }

    .confirmation-modal { padding: 2rem 1.5rem; }
    .registration-modal-content { padding: 1.5rem; }

    .loader-logo { width: 90px; }
    .loader-bar { width: 160px; }
    .loader-text { font-size: 0.75rem; letter-spacing: 1px; }

    .card-footer { flex-wrap: wrap; gap: 0.5rem; }

    .footer-newsletter-form .btn {
        padding: 0 0.85rem;
        font-size: 0.8rem;
    }
    .footer-newsletter-form .form-control {
        padding-right: 3.5rem;
    }

    /* confirmation + 404 headings */
    .confirmation-heading { font-size: 2.5rem; }
    .error-content h1 { font-size: 5rem; }
}

/* ==========================================
   RESPONSIVE SMALL MOBILE (< 576px)
   ========================================== */
@media (max-width: 575.98px) {
    .hero h1 { font-size: 1.8rem; }
    .hero .hero-badge { font-size: 0.75rem; padding: 0.35rem 0.85rem; }
    .hero-stats { gap: 1.25rem; }
    .hero-stat-number { font-size: 1.3rem; }
    .hero-stat-label { font-size: 0.7rem; }

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

    .countdown-item { padding: 0.75rem 1rem; min-width: 60px; }
    .countdown-number { font-size: 1.4rem; }

    .social-links a { width: 36px; height: 36px; font-size: 0.85rem; }

    .confirmation-modal .modal-buttons { flex-direction: column; }
    .confirmation-modal .btn { width: 100%; }

    #scrollTopBtn { width: 40px; height: 40px; bottom: 70px; right: 15px; }

    .footer-newsletter-form .btn {
        padding: 0 0.6rem;
        font-size: 0.75rem;
    }
    .footer-newsletter-form .form-control {
        padding-right: 2.8rem;
        font-size: 0.8rem;
    }

    .confirmation-heading { font-size: 2rem; }
    .error-content h1 { font-size: 4rem; }
    .error-content p { font-size: 1rem; }

    .filter-bar .btn, .btn-group.flex-wrap .btn { padding: 0.5rem 0.85rem; font-size: 0.8rem; }

    .badge-custom { font-size: 0.7rem; white-space: normal; word-break: break-word; }
}

/* ==========================================
   UTILITIES
   ========================================== */
.mt-100 { margin-top: 100px; }
.mb-100 { margin-bottom: 100px; }

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-gradient {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-primary { background: var(--primary-color) !important; }
.bg-secondary { background: var(--secondary-color) !important; }
.bg-gradient-primary { background: var(--gradient-primary) !important; }

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

/* ==========================================
   FLOATING WHATSAPP
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 140px;
    right: 20px;
    z-index: 9999;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    font-size: 1.65rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
    50% { transform: scale(1.06); box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5); }
}
