/* 
   Theme: Modern Academia
   Colors: Oxford Blue (#002147), Sunrise Orange (#FF9933), White (#FFFFFF), Light Gray (#F4F4F4)
   Fonts: Merriweather (Serif), Source Sans Pro (Sans-Serif)
*/

:root {
    --primary-color: #002147; /* Oxford Blue */
    --secondary-color: #FF9933; /* Sunrise Orange */
    --text-color: #333333;
    --bg-light: #FFFFFF;
    --bg-gray: #F4F4F4;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Source Sans Pro', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Navigation */
.navbar {
    background-color: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.btn-nav {
    background-color: var(--secondary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-nav:hover {
    background-color: #e68a00;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('images/hero_background.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 0; /* Reset margin */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 33, 71, 0.85), rgba(0, 33, 71, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #e68a00;
    transform: translateY(-3px);
}

/* Sections General */
section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-gray {
    background-color: var(--bg-gray);
}

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

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

.section-header h2 {
    font-size: 2.5rem;
}

.text-white {
    color: white !important;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 20px auto 0;
}

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

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.icon-wrapper {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--secondary-color);
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.author .name {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
}

.author .role {
    font-size: 0.9rem;
    color: #777;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #555;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

.icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

.footer-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    color: var(--secondary-color);
}

.logo-col {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.footer-logo {
    height: 60px;
    background-color: white;
    padding: 5px;
    border-radius: 4px;
}

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

/* Legal Pages */
.legal-page {
    padding-top: 120px; /* Space for fixed navbar */
    min-height: 80vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-content p {
    margin-bottom: 15px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 20px 0;
    z-index: 2000;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo-col {
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
