:root {
    /* Light Theme Colors */
    --primary: #e63946;
    /* Racing Red */
    --primary-dark: #d62828;
    --primary-light: #ffccd0;
    --accent: #457b9d;

    /* Light backgrounds */
    --bg-main: #ffffff;
    --bg-section: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f3f5;

    /* Dark text colors */
    --text-main: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #6c757d;

    /* Legacy variable mappings for compatibility */
    --dark-bg: var(--bg-main);
    --dark-card: var(--bg-card);

    --gradient-1: linear-gradient(135deg, #e63946 0%, #f77f00 100%);
    --gradient-light: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);

    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --container-width: 1200px;

    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --border-light: 1px solid rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.text-accent {
    color: var(--primary);
}

.text-white {
    color: #fff;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.6);
}

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

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

/* Hero-specific outline button (stays white for visibility on dark hero) */
.hero .btn-outline {
    border-color: white;
    color: white;
}

.hero .btn-outline:hover {
    background: white;
    color: var(--text-main);
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Logo visibility - show correct logo for background */
.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

/* Nav Menu Layout */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Header Actions (Search) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.search-toggle:hover {
    color: var(--primary);
}

.search-box {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 1rem;
    z-index: 1001;
}

.search-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-box input {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    width: 250px;
    outline: none;
    font-family: var(--font-body);
    background: var(--bg-section);
    border-radius: 6px 0 0 6px;
}

.search-submit {
    background: var(--gradient-1);
    border: none;
    padding: 0.75rem 1rem;
    color: white;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
    transition: var(--transition);
}

.search-submit:hover {
    opacity: 0.9;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    text-align: left;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg-section);
    color: var(--primary);
}

.search-result-item i {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.search-result-item:hover i {
    color: var(--primary);
}

.search-result-item .result-title {
    font-weight: 500;
    font-size: 0.9rem;
}

.search-result-item .result-category {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-left: auto;
}

.no-results {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Accessibility Toolbar */
.accessibility-toolbar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.accessibility-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1a73e8;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.4);
    transition: var(--transition);
}

.accessibility-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(26, 115, 232, 0.5);
}

.accessibility-panel {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.accessibility-panel.active {
    opacity: 1;
    visibility: visible;
}

.accessibility-panel h4 {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 1rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.access-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-section);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    color: var(--text-main);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.access-option:last-child {
    margin-bottom: 0;
}

.access-option:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.access-option i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* High Contrast Mode */
body.high-contrast {
    --bg-main: #000;
    --bg-section: #111;
    --bg-card: #222;
    --text-main: #fff;
    --text-secondary: #ddd;
    --text-muted: #bbb;
}

body.high-contrast .accessibility-panel,
body.high-contrast .search-box {
    background: #222;
    color: white;
}

body.high-contrast .access-option {
    background: #333;
    color: white;
    border-color: #444;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 16, 20, 0.95), rgba(15, 16, 20, 0.4));
    z-index: 1;
}

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

.hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 2px white;
}

.hero-quote {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
}

.hero-quote .highlight {
    color: white;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Sections General */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    margin-top: 0.5rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.about-text strong {
    color: var(--text-main);
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-card);
}

.image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
}

.icon-large {
    font-size: 4rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.glow-effect:hover {
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.15);
}

/* Pilots Section */
.pilots-section {
    background: var(--bg-section);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -0.5rem;
}

.category-title {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
    color: var(--text-main);
}

.category-title i {
    color: var(--primary);
}

.pilots-swiper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pilot-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

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

.pilot-image {
    height: 300px;
    width: 100%;
    overflow: hidden;
    background: #e9ecef;
    position: relative;
}

.pilot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.2);
    font-size: 4rem;
}

.pilot-info {
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.95));
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pilot-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
    color: var(--text-main);
}

.pilot-info p {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-card);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    height: auto;
    padding-bottom: 1.5rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-section);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.btn-block {
    width: 100%;
}

/* Documents Page Specific */
.page-header {
    margin-top: 80px;
    /* Offset fixed header */
    padding: var(--spacing-lg) 0;
    background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-main) 100%);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.doc-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.doc-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.doc-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.doc-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.doc-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.btn-text {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text:hover {
    color: var(--primary);
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.pending {
    background: rgba(255, 165, 0, 0.2);
    color: orange;
}

/* ========================================
   DOCUMENTS PAGE - ENHANCED STYLES
   ======================================== */

/* Documents Hero Header */
.docs-hero {
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-main) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.docs-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.docs-hero h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.docs-hero h1 i {
    color: var(--primary);
}

/* Documents Tabs Navigation */
.docs-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-card);
}

.doc-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-tab i {
    font-size: 1.2rem;
}

.doc-tab:hover {
    color: var(--text-main);
    background: var(--bg-section);
}

.doc-tab.active {
    color: white;
    background: var(--gradient-1);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Section Intro */
.section-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.section-intro h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-intro h2 i {
    color: var(--primary);
}

.section-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.project-card.active {
    border-color: var(--primary);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.project-header h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    line-height: 1.3;
    flex: 1;
    padding-right: 1rem;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.project-status.approved {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.project-status.closed {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

.project-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-section);
    margin: 0 -1.5rem 1rem;
    padding: 0 1.5rem;
}

.project-card.active .project-details {
    max-height: 500px;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.details-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
    padding-bottom: 0.25rem;
}

.details-list li strong {
    color: var(--text-main);
    font-weight: 600;
}

.project-toggle-indicator {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    transition: var(--transition);
}

.project-card:hover .project-toggle-indicator {
    opacity: 1;
    color: var(--primary);
}

.project-card.active .project-toggle-indicator i {
    transform: rotate(180deg);
}

.project-docs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--bg-section);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: var(--transition);
}

.doc-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.doc-link i {
    font-size: 1rem;
}

/* Year Accordion */
.year-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.year-item {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.year-item:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

.year-item.active {
    border-color: var(--primary);
}

.year-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.year-header span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.year-header span i {
    color: var(--primary);
}

.year-header>i {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.year-item.active .year-header>i {
    transform: rotate(180deg);
    color: var(--primary);
}

.year-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.year-item.active .year-content {
    max-height: 2000px;
}

.docs-list {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-section);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.doc-item:hover {
    background: rgba(230, 57, 70, 0.1);
    border-color: var(--primary);
    transform: translateX(5px);
}

.doc-item>i:first-child {
    font-size: 1.5rem;
    color: var(--primary);
    width: 30px;
    text-align: center;
}

.doc-details {
    flex: 1;
}

.doc-name {
    display: block;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.doc-type {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-item>i:last-child {
    color: var(--text-muted);
    transition: var(--transition);
}

.doc-item:hover>i:last-child {
    color: var(--primary);
}

/* Transparency Grid */
.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.doc-card-large {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.doc-card-large:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.doc-icon-lg {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 12px;
    flex-shrink: 0;
}

.doc-icon-lg i {
    font-size: 1.5rem;
    color: white;
}

.doc-info-lg {
    flex: 1;
}

.doc-info-lg h3 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.3rem;
    text-transform: none;
}

.doc-info-lg p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.doc-card-large>i:last-child {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
}

.doc-card-large:hover>i:last-child {
    color: var(--primary);
    transform: translateX(5px);
}

/* Organograma Section */
.organograma-container {
    display: flex;
    justify-content: center;
}

.organograma-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    max-width: 500px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.organograma-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
}

.organograma-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 50%;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.organograma-icon i {
    font-size: 3rem;
    color: white;
}

.organograma-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.organograma-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.organograma-info .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Adjustments for Documents Page */
@media (max-width: 768px) {
    .docs-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .doc-tab {
        width: 100%;
        justify-content: center;
    }

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

    .project-header {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .doc-card-large {
        flex-direction: column;
        text-align: center;
    }

    .doc-card-large>i:last-child {
        display: none;
    }

    .organograma-card {
        padding: 2rem;
    }

    .organograma-icon {
        width: 100px;
        height: 100px;
    }

    .organograma-icon i {
        font-size: 2.5rem;
    }
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: var(--text-main);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-logo {
    height: 30px;
    width: auto;
    margin: 0 auto 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .hero {
        background-attachment: scroll;
        /* Better performance on mobile */
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }

    .stats-row {
        justify-content: space-around;
        gap: 1rem;
    }
}