/* ================= VARIABLES & RESET ================= */
:root {
    --primary-blue: #171A4A;
    --secondary-blue: #23275F;
    --secondary-orange: #F58220;
    --rljp-green: #138808;
    --rljp-saffron: #FF9933;
    --rljp-red: #e53935;
    --text-dark: #171A4A;
    --text-gray: #5F6478;
    --bg-light: #F8FAFD;
    --white: #FFFFFF;
    --border-color: #E8ECF4;
    --hover-shadow: 0 20px 50px rgba(23, 26, 74, 0.10);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--text-gray);
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-blue);
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding: 100px 0;
    }
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 18px;
}

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

/* ================= PREMIUM NAVBAR ================= */
.premium-navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 90px;
    display: flex;
    align-items: center;
}

.premium-navbar.scrolled {
    height: 78px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    margin: 0 auto;
}

/* Logo Area */
.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-img-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-navbar.scrolled .logo-img-wrapper {
    width: 44px;
    height: 44px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.logo-text h1 {
    font-size: 20px;
    color: var(--primary-blue);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    transition: font-size 0.4s ease;
}

.premium-navbar.scrolled .logo-text h1 {
    font-size: 18px;
}

.logo-text p {
    font-size: 11px;
    color: var(--text-gray);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Center Desktop Navigation */
.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-blue);
    position: relative;
    padding: 8px 0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--rljp-saffron);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--rljp-saffron);
    border-radius: 3px;
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 24px;
}

/* Right Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Premium Segmented Switch */
.lang-switch-premium {
    position: relative;
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    padding: 4px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.lang-btn {
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-gray);
    cursor: pointer;
    border-radius: 100px;
    transition: color 0.3s ease;
}

.lang-btn.active {
    color: var(--white);
}

.lang-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: var(--rljp-green);
    border-radius: 100px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(19, 136, 8, 0.3);
    z-index: 1;
}

.lang-btn:nth-child(2).active ~ .lang-slider {
    transform: translateX(100%);
}

/* CTA Button */
.btn-cta-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #198754;
    color: var(--white) !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

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

.btn-cta-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(25, 135, 84, 0.45);
    background: #157347;
}

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

/* Mobile Menu Button */
.menu-btn-premium {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
    z-index: 1002;
}

.menu-btn-premium span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Navigation Panel */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75vw;
    max-width: 310px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 15px 0 40px rgba(23, 26, 74, 0.08);
    border-radius: 0 30px 30px 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: left 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-nav-panel.open {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: max(16px, env(safe-area-inset-top)) 20px 16px 20px;
    height: auto;
    min-height: 100px;
    background: linear-gradient(135deg, #f0fbf4, #ffffff);
    border-bottom: 1px solid #ececec;
    border-radius: 0 30px 0 0;
}

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

.mobile-nav-header .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile-nav-header .logo-text h1 {
    font-size: 19.5px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.mobile-nav-header .logo-text p {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.close-btn-premium {
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-blue);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.close-btn-premium:hover {
    transform: scale(1.05);
}

.mobile-nav-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 24px;
}

.mobile-nav-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
    padding: 0 16px 0 20px;
    margin-right: 24px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-nav-panel.open .mobile-nav-link {
    animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-nav-panel.open .mobile-nav-link:nth-child(1) { animation-delay: 40ms; }
.mobile-nav-panel.open .mobile-nav-link:nth-child(2) { animation-delay: 80ms; }
.mobile-nav-panel.open .mobile-nav-link:nth-child(3) { animation-delay: 120ms; }
.mobile-nav-panel.open .mobile-nav-link:nth-child(4) { animation-delay: 160ms; }

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

.mobile-nav-link .nav-icon {
    width: 24px;
    color: var(--primary-blue);
    opacity: 0.8;
    margin-right: 10px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.mobile-nav-link span {
    flex: 1;
    text-align: left;
}

.mobile-nav-link .nav-arrow {
    margin-left: 0;
    font-size: 14px;
    color: #ccc;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    background: #f0fbf4;
    border: 1px solid rgba(25, 135, 84, 0.2);
    color: var(--primary-blue);
}

.mobile-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    border-radius: 0 4px 4px 0;
    background-color: #198754;
}

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

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

.mobile-nav-footer {
    margin-top: 16px;
    padding-right: 24px;
}

.mobile-nav-footer .btn-premium-contact {
    width: 100%;
    justify-content: center;
    height: 50px;
}

.mobile-nav-bottom {
    margin-top: 20px;
    text-align: center;
}

.sidebar-divider {
    height: 1px;
    background: #ececec;
    width: 60%;
    margin: 0 auto 20px;
}

.mobile-nav-bottom h4 {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 12px;
}

.sidebar-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}

.social-circle:active {
    transform: scale(0.92);
}

.social-circle.facebook { color: #1877F2; }
.social-circle.instagram { color: #E4405F; }

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 32, 70, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

/* ================= HERO SECTION ================= */
.hero {
    background: linear-gradient(rgba(23, 26, 74, 0.62), rgba(23, 26, 74, 0.72)), url('../images/hero/hero1.png') center/cover;
    color: var(--white);
    padding: 160px 0 40px;
    text-align: left;
}

.hero .container {
    padding-top: 25px;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #FFF8F0;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    color: #d1d5db;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 40px;
    color: #9ca3af;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.btn-primary,
.btn-secondary,
.btn-dark {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--secondary-orange);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.hero-features {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #d1d5db;
}

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

/* ================= IDEOLOGY SECTION ================= */
.ideology {
    background-color: var(--white);
}

.ideology .section-header h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.ideology .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-orange);
    border-radius: 4px;
}

.ideology .section-header p {
    margin-top: 15px;
}

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

.ideology-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 18px;
    border: 1px solid rgba(239, 108, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.ideology-card.is-visible {
    animation: fadeUpCard 0.6s ease forwards;
}

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

.ideology-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--secondary-orange);
}

@media (min-width: 1024px) {
    .ideology-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        border-color: var(--secondary-orange);
    }
    
    .ideology-card:hover .icon-box {
        box-shadow: 0 0 15px rgba(239, 108, 0, 0.3);
        transform: scale(1.1);
    }
}

.icon-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7f0 100%);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.ideology-card h3 {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.ideology-card p {
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* ================= CANDIDATE SECTION ================= */
.candidate .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.candidate-image-wrapper {
    position: relative;
}

.candidate-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    object-position: center top;
}

.party-tag {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-orange) 50%, #198754 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.party-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.party-tag strong {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.party-tag span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
}

.candidate-content h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.candidate-content p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    text-align: center;
}

.stat-box h3 {
    font-size: 32px;
    color: var(--secondary-orange);
}

.stat-box p {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
}

.btn-dark {
    background-color: var(--primary-blue);
    color: white;
}

/* ================= NEWS SECTION ================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.news-img {
    position: relative;
    height: 220px;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-orange);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.news-info {
    padding: 25px;
}

.date {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 10px;
    display: block;
}

.news-info h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.news-info p {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 15px;
}

.read-more {
    color: var(--secondary-orange);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ================= TESTIMONIALS ================= */
.dark-bg {
    background-color: var(--primary-blue);
    color: white;
}

.dark-bg .section-header h2 {
    color: white;
}

.dark-bg .section-header p {
    color: #a5a9b4;
}

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

.testi-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testi-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.quote-icon {
    font-size: 30px;
    color: var(--secondary-orange);
    margin-bottom: 20px;
    opacity: 0.5;
}

.quote-text {
    font-size: 16px;
    margin-bottom: 25px;
    font-style: italic;
    color: #e2e8f0;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
}

.orange-bg {
    background-color: var(--secondary-orange);
    color: white;
}

img.avatar {
    object-fit: cover;
}

/* Dynamic Testimonial Styles */
.testi-card.featured {
    border: 1px solid var(--secondary-orange);
    background: rgba(245, 130, 32, 0.08); /* slight orange tint based on --secondary-orange (#F58220) */
    position: relative;
    box-shadow: 0 4px 20px rgba(245, 130, 32, 0.15);
}

.testi-card.featured::before {
    content: '★ Featured';
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--secondary-orange);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(245, 130, 32, 0.3);
}

.skeleton {
    animation: skeleton-loading 1.2s linear infinite alternate;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 10px;
    border-radius: 4px;
    width: 100%;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.skeleton-title {
    width: 100px;
    height: 16px;
    margin-bottom: 6px;
    border-radius: 4px;
}

.skeleton-subtitle {
    width: 80px;
    height: 12px;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-color: rgba(255, 255, 255, 0.05);
    }
    100% {
        background-color: rgba(255, 255, 255, 0.15);
    }
}

.no-testimonials {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #a5a9b4;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}


.testi-author h4 {
    font-size: 16px;
    color: #FFD166;
    font-weight: 700;
}

.testi-author p {
    font-size: 12px;
    color: #a5a9b4;
}

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

.fade-in-smooth {
    animation: fadeInSmooth 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ================= SUBMIT TESTIMONIAL FORM ================= */
.testimonial-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.premium-form .form-group {
    margin-bottom: 20px;
}

.premium-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-navy);
}

.premium-form label .required {
    color: #ff6b6b;
}

.premium-form label .optional {
    color: #a5a9b4;
    font-weight: 400;
    font-size: 0.9em;
}

.premium-form input,
.premium-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: var(--primary-navy);
}

.premium-form input:focus,
.premium-form textarea:focus {
    outline: none;
    border-color: var(--secondary-orange);
    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.1);
    background: white;
}

.premium-form .w-100 {
    width: 100%;
    display: block;
    text-align: center;
}

.premium-form .btn-cta-premium:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: none;
    text-align: center;
}

.form-alert.hidden {
    display: none !important;
}

.form-alert.success {
    display: block;
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.form-alert.error {
    display: block;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

@media (max-width: 768px) {
    .testimonial-form-wrapper {
        padding: 25px;
    }
}


/* ================= GALLERY ================= */
.home-gallery-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}

.home-gallery-item {
    border-radius: 22px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.home-gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--hover-shadow);
}

.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1;
    transition: all 0.35s ease;
}

@media (min-width: 1024px) {
    .home-gallery-grid {
        grid-template-columns: 1.5fr 1fr;
        grid-template-rows: repeat(3, minmax(140px, 1fr));
    }

    .home-gallery-grid .large-item {
        grid-row: 1 / span 3;
    }
    
    .home-gallery-item img {
        aspect-ratio: auto;
    }
}

/* ================= FOOTER ================= */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.footer-brand h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.footer-brand p {
    color: #a5a9b4;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-slogan {
    color: var(--secondary-orange);
    font-size: 18px;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: #a5a9b4;
    transition: var(--transition);
}

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

.footer-social .social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-social .social-icons a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.3);
}

.footer-social .social-icons a.facebook:hover {
    background: #1877F2;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--secondary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #6b7280;
    font-size: 14px;
}

.developer-credit {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
}

.developer-credit .dev-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credit .dev-link:hover {
    color: #ff7a1a;
}

/* ================= FLOATING BUTTON ================= */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary-orange);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(243, 112, 33, 0.2);
    z-index: 999;
    transition: var(--transition);
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* ================= MEDIA QUERIES (MOBILE RESPONSIVE) ================= */
@media (max-width: 992px) {
    .candidate .container {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    
    .desktop-actions .premium-contact-wrapper {
        display: none;
    }
    
    .menu-btn-premium {
        display: flex;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-text p {
        font-size: 9px;
    }

    /* Hero Adjustments */
    .hero {
        padding: 250px 0 30px;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-features {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    /* Gallery */
    .home-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================= ABOUT PAGE SPECIFIC ================= */
.page-header {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-header h2 {
    font-size: 36px;
    margin-top: 15px;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .bio-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.bio-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bio-content h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.bio-content p {
    font-size: 16px;
    color: var(--text-gray);
}

/* ================= TIMELINE (THE JOURNEY) ================= */
.timeline {
    border-left: 3px solid var(--secondary-orange);
    padding-left: 30px;
    margin-left: 20px;
    max-width: 800px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -41px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--secondary-orange);
    border-radius: 50%;
}

.timeline-tag {
    font-size: 12px;
    color: var(--secondary-orange);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 1px;
}

.timeline-tag i {
    margin-right: 5px;
}

.timeline-content {
    background: var(--white);
    padding: 24px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.timeline-content:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-4px);
    border-color: rgba(23, 26, 74, 0.15);
}

.timeline-content h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-gray);
}

/* ================= DESKTOP OVERRIDES ================= */
@media (min-width: 1024px) {
    .hero {
        background-position: center 15%;
        padding: 200px 0 60px;
    }
}

/* ================= GALLERY PAGE ================= */
.gallery-hero {
    height: 420px;
}

@media (max-width: 767px) {
    .gallery-hero {
        height: 320px !important;
    }
}

.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1023px) {
    .full-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .full-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .full-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards ease-out;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/5;
    transition: all 0.35s ease;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(23, 26, 74, 0.85), transparent);
    color: white;
    font-weight: 600;
    font-size: 14px;
    opacity: 0;
    transition: all 0.35s ease;
    transform: translateY(10px);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--hover-shadow);
    border: 1px solid var(--secondary-orange);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ================= LIGHTBOX ================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 26, 74, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.lightbox-content {
    position: relative;
    z-index: 10000;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: block;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: var(--secondary-orange);
    border-color: var(--secondary-orange);
}

.lightbox-close {
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 24px;
}

.lightbox-prev, .lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

@media (max-width: 767px) {
    .lightbox-prev, .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
    .lightbox-close { top: 15px; right: 15px; width: 40px; height: 40px; font-size: 18px; }
}

/* ================= PREMIUM CONTACT DROPDOWN ================= */
.premium-contact-wrapper {
    position: relative;
    display: inline-block;
}

.btn-premium-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

.btn-premium-contact .chevron-icon {
    font-size: 12px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-contact-wrapper.active .btn-premium-contact .chevron-icon {
    transform: rotate(180deg);
}

.contact-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.premium-contact-wrapper.active .contact-backdrop {
    opacity: 1;
    visibility: visible;
}

.contact-popup {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 260px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 122, 26, 0.2);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 16px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform-origin: top right;
    transform: scale(0.95) translateY(-10px);
    transition: opacity 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                visibility 0.25s;
}

.premium-contact-wrapper.active .contact-popup {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.contact-drag-handle {
    display: none;
}

.contact-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.05);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #171A4A;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-close-btn:hover {
    background: rgba(0,0,0,0.1);
    transform: scale(1.1);
}

.contact-popup-header {
    text-align: center;
    margin-bottom: 16px;
}



.contact-popup-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #171A4A;
    margin-bottom: 8px;
}

.contact-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    color: #166534;
    background: #dcfce7;
    padding: 3px 8px;
    border-radius: 999px;
}

.contact-popup-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(15px);
    width: 100%;
}

.premium-contact-wrapper.active .contact-action-btn {
    animation: slideUpFade 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.premium-contact-wrapper.active .btn-call { animation-delay: 0.05s; }
.premium-contact-wrapper.active .btn-whatsapp { animation-delay: 0.1s; }
.premium-contact-wrapper.active .contact-copy-btn { animation-delay: 0.15s; }

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

.btn-call.premium-card {
    background: linear-gradient(135deg, #0B1F4D, #1E3A8A);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.20);
    color: white;
}

.btn-whatsapp.premium-card {
    background: #25D366;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.20);
    color: white;
}

.premium-contact-wrapper.active .premium-card:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25) !important;
}

.premium-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.premium-icon-box.call-icon {
    background: linear-gradient(135deg, #1b5e20, #2ECC71);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.4);
}

.premium-icon-box.wa-icon {
    background: #128C7E;
    color: white;
    box-shadow: 0 0 15px rgba(18, 140, 126, 0.4);
}

.premium-text-box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.premium-label {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 2px;
}

.premium-number {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}

.premium-subtext {
    font-size: 9px;
    opacity: 0.8;
}

.premium-arrow {
    font-size: 12px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.premium-card:hover .premium-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.contact-copy-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
    transition: color 0.2s;
    opacity: 0;
    transform: translateY(15px);
    width: 100%;
}

.contact-copy-btn:hover {
    color: #FF7A1A;
}

/* Responsive Bottom Sheet for Mobile & Tablet (<1024px) */
@media (max-width: 1023px) {
    .premium-contact-wrapper {
        position: static;
    }
    
    .btn-premium-contact {
        padding: 10px 18px;
        font-size: 13px;
    }

    .contact-popup {
        position: fixed;
        top: auto;
        bottom: 24px;
        left: 50%;
        transform: translate(-50%, 120%);
        width: 90vw;
        max-width: 360px;
        border-radius: 20px;
        border: 1px solid rgba(255, 122, 26, 0.2);
        background: rgba(255, 255, 255, 0.95);
        padding: 20px 20px 24px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    }

    .premium-contact-wrapper.active .contact-popup {
        transform: translate(-50%, 0);
    }

    .contact-drag-handle {
        display: block;
        width: 40px;
        height: 5px;
        background: #cbd5e1;
        border-radius: 999px;
        margin: 0 auto 20px;
    }
}

/* ================= 404 PAGE ================= */
.error-hero {
    background: linear-gradient(rgba(23, 26, 74, 0.72), rgba(23, 26, 74, 0.82)), url('../images/hero/hero2.png') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
    background-attachment: fixed;
    animation: bgZoom 25s infinite alternate ease-in-out;
}

@keyframes bgZoom {
    0% { background-size: 100%; }
    100% { background-size: 110%; }
}

.error-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.25);
    animation: slideUpFloat 1s cubic-bezier(0.16, 1, 0.3, 1) forwards, floatCard 6s ease-in-out infinite alternate;
}

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

@keyframes floatCard {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}

.error-compass {
    font-size: 40px;
    color: var(--secondary-orange);
    margin-bottom: 10px;
    animation: pulseIcon 2s infinite ease-in-out;
}

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

.error-number {
    font-size: 96px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(243, 112, 33, 0.3);
}

.error-badge {
    display: inline-block;
    background: rgba(243, 112, 33, 0.15);
    border: 1px solid rgba(243, 112, 33, 0.3);
    color: var(--secondary-orange);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.error-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
}

.error-gradient-line {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--secondary-orange), transparent);
    margin: 0 auto 20px;
    border-radius: 3px;
    animation: pulseWidth 3s infinite ease-in-out;
}

@keyframes pulseWidth {
    0%, 100% { width: 60px; opacity: 0.7; }
    50% { width: 100px; opacity: 1; }
}

.error-desc {
    color: #d1d5db;
    font-size: 16px;
    margin-bottom: 35px;
    line-height: 1.6;
}

.error-countdown-wrapper {
    font-size: 14px;
    color: #a1a1aa;
    margin-bottom: 15px;
    font-weight: 500;
}

.error-countdown {
    color: var(--secondary-orange);
    font-weight: 700;
    font-size: 16px;
    margin-left: 5px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.error-btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-btn-primary {
    background: #198754;
    color: #fff;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.error-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
    background: #157347;
    color: #fff;
}

.error-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.error-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: #fff;
}

.error-footer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .error-card { padding: 40px 20px; }
    .error-number { font-size: 72px; }
    .error-title { font-size: 24px; }
}

