/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #3182ce;
    --gold-accent: #d4af37;
    --text-dark: #1a202c;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-lighter: #edf2f7;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: var(--transition);
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    padding: 120px 20px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 50 Q 25 25, 50 50 T 100 50" stroke="rgba(255,255,255,0.05)" fill="none"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
    max-width: 1200px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold-accent);
    border-radius: 50px;
    color: var(--gold-accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-accent);
    margin-bottom: 0.5rem;
}

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

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
}

.cta-button.primary {
    background: var(--gold-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: #c9a134;
}

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

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--gold-accent);
    margin: 0 auto 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about-section {
    padding: 6rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid var(--gold-accent);
    border-radius: 10px;
    z-index: -1;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: var(--transition);
}

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

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.image-badge span {
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
}

.image-badge p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-text h3 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 1.5rem;
    min-width: 40px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item div {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: var(--text-light);
    font-weight: 500;
    margin-top: 0.2rem;
}

.bio {
    margin-top: 2rem;
}

.bio h4 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bio p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
}

/* ===== FBI History Section ===== */
.fbi-history-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.history-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.intro-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.fbi-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.history-intro-content h3 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.history-intro-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.fbi-seal {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fbi-logo-main {
    width: 320px;
    height: 320px;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.seal-text h4 {
    color: var(--gold-accent);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.seal-text p {
    color: var(--white);
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.history-timeline {
    margin-bottom: 4rem;
}

.history-milestone {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e2e8f0;
}

.history-milestone:last-child {
    border-bottom: none;
}

.milestone-year {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-accent);
    text-align: right;
    padding-right: 2rem;
    border-right: 4px solid var(--accent-color);
}

.milestone-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.milestone-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.fbi-facts {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.fbi-facts h3 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

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

.fact-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

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

.fact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.fact-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== Mission Section ===== */
.mission-section {
    padding: 6rem 0;
    background: var(--white);
}

.mission-statement {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem;
    border-radius: 15px;
    color: var(--white);
    margin-bottom: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.mission-content h3 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold-accent);
}

.mission-text {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.mission-details p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.mission-details ul {
    list-style: none;
    padding: 0;
}

.mission-details li {
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    font-size: 1rem;
}

.mission-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-accent);
    font-weight: 700;
}

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

.value-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    text-align: left;
}

/* ===== Career Section ===== */
.career-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 5rem;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    text-align: left;
    padding-left: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    text-align: right;
    padding-right: 3rem;
}

.timeline-content {
    position: relative;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: calc(50% - 40px);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--gold-accent);
    border: 4px solid var(--white);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--accent-color);
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.expertise-section {
    margin-top: 4rem;
}

.expertise-section > h3 {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

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

.expertise-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.expertise-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.expertise-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.expertise-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
}

.expertise-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.expertise-card li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    position: relative;
}

.expertise-card li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* ===== Training Section ===== */
.training-section {
    padding: 6rem 0;
    background: var(--white);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.education-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 5px solid var(--accent-color);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.education-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.education-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.education-institution {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.education-year {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.education-card > p:last-child {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.certifications {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 15px;
}

.certifications h3 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

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

.cert-item {
    background: var(--white);
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.cert-item span {
    color: var(--accent-color);
    font-weight: 700;
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* ===== Achievements Section ===== */
.achievements-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.award-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.award-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-top: 4px solid var(--gold-accent);
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.award-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold-accent);
}

.award-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.award-card.featured h3 {
    color: var(--gold-accent);
}

.award-year {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.award-card.featured .award-year {
    color: var(--gold-accent);
}

.award-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.award-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.achievements-stats {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.achievements-stats h3 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.achievement-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.achievement-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.achievement-item p {
    margin: 0;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 6rem 0;
    background: var(--white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.95), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

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

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: var(--white);
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
    text-align: center;
    font-size: 1.1rem;
}

.contact-email-button {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.email-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.3);
    transition: all 0.3s ease;
}

.email-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.4);
}

.email-button i {
    font-size: 1.3rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--bg-lighter);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 1.8rem;
    min-width: 40px;
    color: var(--accent-color);
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0.2rem 0;
}

.contact-note {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.8;
}

.disclaimer-box {
    background: var(--bg-light);
    border-left: 4px solid var(--gold-accent);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.disclaimer-box h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.disclaimer-box p {
    color: var(--text-light);
    margin: 0.5rem 0;
    line-height: 1.7;
}

.disclaimer-box a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}

.disclaimer-box a:hover {
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--gold-accent);
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.9;
}

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

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--gold-accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

.demo-notice {
    font-size: 0.9rem;
    background: rgba(255, 193, 7, 0.15);
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    font-weight: 600;
    color: #ffc107;
    display: inline-block;
}

.footer-disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
    font-style: italic;
}

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.2rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .history-intro {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 54, 93, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        text-align: left;
        padding: 1.5rem;
    }

    .timeline-item:nth-child(even) .timeline-content {
        padding-left: 1.5rem;
    }

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

    .history-milestone {
        grid-template-columns: 100px 1fr;
        gap: 1.5rem;
    }

    .milestone-year {
        font-size: 1.8rem;
    }

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

    .contact-info {
        padding: 2rem;
    }

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

    .mission-statement {
        padding: 2.5rem;
    }

    .mission-text {
        font-size: 1.4rem;
    }

    .values-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 15px 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

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

    .history-milestone {
        grid-template-columns: 1fr;
    }

    .milestone-year {
        text-align: left;
        border-right: none;
        border-bottom: 4px solid var(--accent-color);
        padding-right: 0;
        padding-bottom: 1rem;
    }
}
