/* SOBOCAR - Modern Medical Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #003366;
    /* Deep Navy Blue */
    --primary-light: #004d99;
    --secondary: #f8fafc;
    /* Light background */
    --accent-red: #cc0000;
    /* Institutional Red */
    --accent-green: #2e7d32;
    /* Institutional Green */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --glass: rgba(255, 255, 255, 0.8);

    /* Spacing */
    --section-padding: 80px 5%;
    --container-max-width: 1280px;

    /* Transitions */
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

/* Utils */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif;
}

.btn:active {
    transform: scale(0.95);
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 51, 102, 0.3);
}

/* Header & Navigation */
header {
    width: 100%;
    z-index: 1000;
    background: var(--white);
}

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-bar-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item i {
    width: 14px;
    height: 14px;
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.nav-main {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 999;
    box-shadow: var(--shadow-sm);
    width: 100%;
    transition: var(--transition);
}

.nav-main.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    transition: var(--transition);
}

.scrolled .nav-container {
    height: 70px;
}

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

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.scrolled .logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease, left 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Dropdown Styles */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--border);
    z-index: 1001;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.dropdown-link:hover {
    background: var(--secondary);
    color: var(--primary);
    padding-left: 25px;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    /* Adjusted for top bar + nav height */
    background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero-video {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 3/4;
    background: #000;
}

@media (min-width: 992px) {
    .hero-grid {
        align-items: center;
        min-height: 500px;
    }
}

/* Announcement Grid */
.announcements {
    padding: var(--section-padding);
    background: var(--secondary);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.card-body {
    padding: 24px;
}

.card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 51, 102, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card-date {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .nav-menu {
        display: none;
    }

    .top-bar-info {
        font-size: 0.75rem;
        gap: 10px;
        justify-content: center;
    }

    .top-bar-container {
        flex-direction: column;
        gap: 8px;
    }
}

/* Directiva Page Styles */
.page-header {
    padding: 180px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}

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

.directiva-section {
    padding: 80px 0;
    background: var(--secondary);
}

.directiva-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.directiva-image-container {
    position: sticky;
    top: 120px;
}

.directiva-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 5px solid var(--white);
}

.directiva-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.member-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border-left: 5px solid var(--primary);
}

.member-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.member-info h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.member-info p {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.member-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .directiva-grid {
        grid-template-columns: 1fr;
    }

    .directiva-image-container {
        position: static;
        margin-bottom: 40px;
    }
}

/* History Page Styles */
.history-section {
    padding: 80px 0;
    background: var(--white);
}

.reading-container {
    max-width: 800px;
    margin: 0 auto;
}

.history-intro {
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 60px;
    position: relative;
    padding-left: 30px;
    border-left: 4px solid var(--primary);
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
}

.timeline-date {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.timeline-content {
    background: var(--secondary);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.timeline-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.featured-quote {
    text-align: center;
    padding: 60px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 24px;
    margin: 60px 0;
}

.featured-quote blockquote {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
}

.history-text-block {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: justify;
}

/* Statutes Page Styles */
.statutes-card {
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    margin-top: -60px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border);
}

.statutes-content h2 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
}

.statutes-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.statutes-text p {
    margin-bottom: 25px;
    text-align: justify;
}

.download-box {
    margin-top: 50px;
    padding: 40px;
    background: var(--secondary);
    border-radius: 16px;
    text-align: center;
    border: 2px dashed var(--border);
}

.download-box h4 {
    margin-bottom: 15px;
    color: var(--primary);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-red);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.2);
}

.btn-download:hover {
    background: #b30000;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(204, 0, 0, 0.3);
    color: var(--white);
}

@media (max-width: 768px) {
    .statutes-card {
        padding: 30px;
        margin-top: -30px;
    }
}

/* Members Table Styles */
.members-section {
    padding: 80px 0;
    background: var(--secondary);
}

.table-container {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow-x: auto;
}

.members-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.members-table th {
    text-align: left;
    padding: 18px 15px;
    background: var(--secondary);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    border-bottom: 2px solid var(--border);
}

.members-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.members-table tr:hover {
    background: rgba(0, 51, 102, 0.02);
}

.member-name {
    font-weight: 600;
    color: var(--primary);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.contact-link:hover {
    color: var(--primary);
}

.contact-icon {
    width: 32px;
    height: 32px;
    background: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.search-bar-container {
    margin-bottom: 30px;
    position: relative;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 12px;
    border: 1px solid var(--border);
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* New Member Cards Styles */
.members-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.search-wrapper {
    position: relative;
    max-width: 500px;
}

.search-wrapper .search-input {
    padding-left: 50px;
    height: 50px;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.search-wrapper .search-icon {
    left: 20px;
    font-size: 1.2rem;
}

.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

@media (max-width: 768px) {
    .alphabet-filter {
        display: none;
    }
}

.filter-label {
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.letter-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.letter-btn:hover,
.letter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.letter-btn.all {
    width: auto;
    padding: 0 15px;
}

.results-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

@media (max-width: 992px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
}

.member-card-new {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

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

.member-photo-placeholder {
    height: 250px;
    background: #e1f5fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #01579b;
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.member-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.member-badge {
    align-self: flex-start;
    padding: 4px 16px;
    background: var(--accent-red);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.member-name-new {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
}

.member-details-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.member-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.member-detail-item i {
    color: var(--accent-red);
    width: 16px;
    text-align: center;
}

.member-detail-item a:hover {
    color: var(--primary);
}

/* Enlaces Page Styles */
.links-section {
    padding: 80px 0;
    background: var(--secondary);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.link-category-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.link-category-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.link-category-card h3 {
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 51, 102, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.external-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--secondary);
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.external-link:hover {
    background: var(--primary);
    color: var(--white);
    padding-left: 20px;
}

.external-link i {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Guías Page Styles */
.guias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.guia-card {
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

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

.guia-icon {
    width: 50px;
    height: 50px;
    background: rgba(204, 0, 0, 0.05);
    color: var(--accent-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.guia-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 3em;
}

.guia-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Contacto Page Styles */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-card {
    background: var(--primary);
    color: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.contact-info-card h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item-text p {
    opacity: 0.8;
}

.contact-form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.contact-form-container h2 {
    margin-bottom: 30px;
    color: var(--primary);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
}

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

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Galería Styles */
.gallery-section {
    padding: 80px 0;
    background: var(--secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.album-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border);
}

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

.album-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-overlay i {
    color: var(--white);
    font-size: 2.5rem;
}

.album-content {
    padding: 25px;
}

.album-content h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.album-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-btn:hover {
    background: var(--primary);
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Partners Section Start */
.partners-section {
    padding: 80px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}

.partners-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partner-item {
    flex: 1;
    min-width: 150px;
    max-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-item img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: var(--transition);
}

.partner-item img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* About Mission Section */
.about-mission {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.1;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-text p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-muted);
}

.about-image-container {
    position: relative;
}

.about-image-container img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-red);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 700;
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Index */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image-container {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .cta-btns {
        flex-direction: column;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .experience-badge {
        right: 0;
        bottom: -20px;
        padding: 20px;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism Effect for Header */
.nav-main.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}