/* ========================================
   SOPA.CO.IR - Modern Theme
   Colors: White + #fbb900 (Gold)
   ======================================== */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

/* === CSS Variables === */
:root {
    --gold: #fbb900;
    --gold-light: #fcd34d;
    --gold-dark: #d4a017;
    --gold-darker: #b8860b;
    --gold-gradient: linear-gradient(135deg, #fbb900 0%, #f59e0b 50%, #d97706 100%);
    --gold-glow: 0 0 30px rgba(251, 185, 0, 0.3);

    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --gray-1: #64748b;
    --gray-2: #94a3b8;
    --gray-3: #cbd5e1;
    --gray-4: #e2e8f0;
    --gray-5: #f1f5f9;
    --white: #ffffff;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-gold: 0 8px 30px rgba(251, 185, 0, 0.25);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --font: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* === Scrollbar === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-5); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* === Container === */
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Top Bar === */
.top-bar {
    background: var(--dark);
    color: var(--gray-2);
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar a {
    color: var(--gray-2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar a:hover { color: var(--gold); }

.top-bar i { font-size: 0.85rem; color: var(--gold); }

/* === Navbar === */
.navbar-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-4);
    transition: var(--transition);
}

.navbar-main.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-main .container-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.navbar-brand:hover img { transform: scale(1.05); }

.navbar-brand-text small {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-1);
}

.navbar-brand-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
}

/* Desktop Nav */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links .nav-link {
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark-2);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-links .nav-link:hover {
    background: var(--gray-5);
    color: var(--gold-dark);
}

.nav-links .nav-link.active {
    color: var(--gold-dark);
    background: rgba(251, 185, 0, 0.1);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--gray-4);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--dark-2);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(251, 185, 0, 0.1);
    color: var(--gold-dark);
    padding-right: 18px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-search {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--gray-5);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-search:hover {
    background: var(--gold);
    color: white;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--gray-4);
    background: var(--white);
    color: var(--dark);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-slow);
    overflow-y: auto;
}

.mobile-menu.open { right: 0; }

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 2px solid var(--gold);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--gray-5);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-menu-body { padding: 16px; }

.mobile-menu-body .nav-item {
    margin-bottom: 4px;
}

.mobile-menu-body .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-2);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-body .nav-link:hover {
    background: var(--gray-5);
    color: var(--gold-dark);
}

.mobile-sub-menu {
    display: none;
    padding: 4px 16px;
}

.mobile-sub-menu.open { display: block; }

.mobile-sub-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--gray-1);
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-sub-menu a:hover {
    background: var(--gray-5);
    color: var(--gold-dark);
}

/* === Hero Section === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.3) 50%, rgba(15, 23, 42, 0.5) 100%);
}

.hero-content {
    position: absolute;
    bottom: 100px;
    right: 60px;
    max-width: 550px;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 185, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 185, 0, 0.3);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-title span { color: var(--gold); }

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-btns {
    display: flex;
    gap: 14px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 60px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.hero-nav-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.hero-indicators {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-indicator.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--gold-dark);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

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

.btn-white:hover {
    background: var(--gold);
    box-shadow: var(--shadow-gold);
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* === Section === */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 185, 0, 0.1);
    color: var(--gold-dark);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-title span { color: var(--gold-dark); }

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-1);
    max-width: 600px;
    margin: 0 auto;
}

/* === Stats Counter === */
.stats-section {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(251, 185, 0, 0.05) 0%, transparent 50%);
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(251, 185, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--gold);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
}

.stat-label {
    color: var(--gray-2);
    font-size: 0.9rem;
}

/* === Project Cards === */
.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-4);
}

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

.project-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-card-img img {
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-completed {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.badge-active {
    background: rgba(59, 130, 246, 0.9);
    color: white;
}

.badge-study {
    background: rgba(168, 85, 247, 0.9);
    color: white;
}

.project-card-body {
    padding: 24px;
}

.project-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.project-card-text {
    font-size: 0.9rem;
    color: var(--gray-1);
    margin-bottom: 16px;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.project-card-link:hover {
    color: var(--gold);
    gap: 10px;
}

/* === News Cards === */
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-4);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.news-card-img {
    height: 200px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-card-date {
    font-size: 0.78rem;
    color: var(--gold-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-card-category {
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--gray-5);
    color: var(--gray-1);
    font-weight: 500;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.6;
}

.news-card-excerpt {
    font-size: 0.88rem;
    color: var(--gray-1);
    line-height: 1.7;
    flex: 1;
}

/* === Company Cards === */
.company-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
}

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

.company-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.company-card:hover .company-logo {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-gold);
}

.company-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.company-card p {
    font-size: 0.88rem;
    color: var(--gray-1);
    margin-bottom: 16px;
}

/* === About Features === */
.about-feature {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-4);
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.about-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(251, 185, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--gold-dark);
    transition: var(--transition);
}

.about-feature:hover .about-feature-icon {
    background: var(--gold);
    color: white;
}

.about-feature h6 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--gray-1);
    margin: 0;
}

/* === Timeline === */
.timeline {
    position: relative;
    padding-right: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
    border-radius: 2px;
}

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

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

.timeline-dot {
    position: absolute;
    right: -32px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-gold);
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-4);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.timeline-year {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 0.9rem;
    color: var(--gray-1);
    line-height: 1.7;
}

/* === Team Card === */
.team-card {
    text-align: center;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-4);
}

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

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    color: white;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-gold);
}

.team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-weight: 500;
}

/* === Contact === */
.contact-info-card {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

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

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 14px;
    background: rgba(251, 185, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gold);
}

.contact-info-label {
    font-size: 0.82rem;
    color: var(--gray-2);
    margin-bottom: 4px;
}

.contact-info-value {
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-4);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(251, 185, 0, 0.1);
}

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

/* === Filter Tabs === */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}

.filter-tab {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    border: 2px solid var(--gray-4);
    background: var(--white);
    color: var(--dark-2);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

.filter-tab:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.filter-tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

/* === Footer === */
.footer {
    background: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
}

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

.footer a {
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
}

.footer a:hover { color: var(--gold); }

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.footer-links li a::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    font-size: 0.7rem;
    color: var(--gold);
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 16px 0;
    margin-top: 40px;
}

/* === Page Header === */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(251, 185, 0, 0.08) 0%, transparent 50%);
}

.page-header-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.page-header-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-2);
    font-size: 0.9rem;
}

.page-header-breadcrumb a { color: var(--gold); }
.page-header-breadcrumb a:hover { text-decoration: underline; }

/* === Tabs === */
.custom-tabs {
    display: flex;
    gap: 4px;
    background: var(--gray-5);
    padding: 6px;
    border-radius: var(--radius);
    margin-bottom: 32px;
    overflow-x: auto;
}

.custom-tab {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--gray-1);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
    white-space: nowrap;
}

.custom-tab:hover {
    color: var(--dark);
}

.custom-tab.active {
    background: var(--white);
    color: var(--gold-dark);
    box-shadow: var(--shadow-sm);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* === Animations === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

.animate-fade-up {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-up.pending {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* === Scroll to Top === */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-gold);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    border: none;
}

.scroll-top.show { opacity: 1; visibility: visible; }

.scroll-top:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
    color: white;
}

/* === Search Modal === */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-modal.open { opacity: 1; visibility: visible; }

.search-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.search-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    transform: translateY(-20px);
    transition: var(--transition);
}

.search-modal.open .search-modal-content {
    transform: translateY(0);
}

.search-modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--gray-5);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.search-modal-close:hover {
    background: var(--gold);
    color: white;
}

/* === Responsive === */
@media (max-width: 991.98px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }

    .hero-content {
        right: 20px;
        left: 20px;
        bottom: 80px;
        max-width: none;
    }

    .hero-title { font-size: 2.2rem; }
    .hero-nav { left: 20px; }
    .hero-indicators { bottom: 30px; }

    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }

    .stat-item:not(:last-child)::after { display: none; }
    .stat-item { padding: 20px; }
    .stat-number { font-size: 2rem; }

    .footer-title::after { display: none; }
}

@media (max-width: 575.98px) {
    .hero { min-height: 500px; }
    .hero-title { font-size: 1.6rem; }
    .hero-desc { font-size: 0.95rem; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .hero-content { bottom: 60px; right: 16px; left: 16px; padding: 20px; }

    .page-header { padding: 120px 0 40px; }
    .page-header-title { font-size: 1.8rem; }

    .filter-tabs { gap: 6px; }
    .filter-tab { padding: 8px 16px; font-size: 0.82rem; }

    .custom-tabs { gap: 2px; padding: 4px; }
    .custom-tab { padding: 10px 16px; font-size: 0.85rem; }
}
