/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@900&display=swap');

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

/* Body Styles */
body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Header Styles */
header {
    background: #0d3c5c;
    color: white;
    padding: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.header-top {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    min-height: 140px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-section img {
    height: 140px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.title-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.title-section h1 {
    font-size: 55px;
    font-weight: 900;
    color: #ffd700;
    letter-spacing: 0.1em;
    margin: 0;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
}

.title-section .tagline {
    font-size: 1.1rem;
    color: white;
    margin-top: 0.5rem;
    font-style: italic;
    letter-spacing: 0.05em;
}

.header-nav {
    display: flex;
    justify-content: center;
    padding-bottom: 0.5rem;
    margin-top: 0.2rem;
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.header-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

/* Common Page Layouts */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

.page-header {
    background: linear-gradient(135deg, #0d3c5c 0%, #1a5a7d 100%);
    color: white;
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Common Button Styles */
.btn {
    display: inline-block;
    background: #ffd700;
    color: #0d3c5c;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    background: #ffed4e;
}

/* Footer Styles */
footer {
    background: #0d3c5c;
    color: white;
    text-align: center;
    padding: 1.8rem;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.4rem;
}

.social-links {
    margin-top: 0.8rem;
}

.social-links a {
    color: #ffd700;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: #ffed4e;
    transform: translateY(-2px);
}

/* Common Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

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

/* Common Utility Classes */
.section-title {
    font-size: 2.2rem;
    color: #0d3c5c;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1a5a7d, transparent);
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }

    .header-content {
        gap: 0;
    }

    .header-top {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .logo-section img {
        height: 100px;
        width: auto;
    }

    .title-section {
        align-items: center;
        text-align: center;
    }

    .title-section h1 {
        font-size: 32px;
        letter-spacing: 0.05em;
    }

    .title-section .tagline {
        font-size: 0.9rem;
    }

    .header-nav {
        justify-content: center;
    }

    .header-nav ul {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .header-nav a {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .page-header {
        padding: 2rem 1.5rem;
    }

    .page-header h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 2rem 1.5rem;
    }
}
