.bio-hero {
    margin: 0;
    padding: 0;
}

.bio-hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

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

.bio-quote {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0 0.5rem;
}

.bio-subtitle {
    text-align: center;
    color: #7a7a7a;
    margin-bottom: 2.75rem; /* add extra space below subtitle */
}

.bio-portrait {
    width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 8px;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6b4e71;
    --secondary-color: #a7969b;
    --accent-color: #c9b1c1;
    --text-color: #2d2d2d;
    --light-bg: #f8f6f7;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 12px rgba(0, 0, 0, 0.15);
}

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

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo a {
    display: block;
    text-decoration: none;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.social-links-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links-nav a {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: flex-end; /* keep content at the bottom */
    justify-content: center;
    padding: 0 20px 28px; /* slimmer bottom space */
    background-image: url('../media/hero-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px; /* smaller card to reveal more image */
    animation: fadeInUp 0.8s ease;
    background: rgba(255, 255, 255, 0.98);
    padding: 12px 16px; /* compact card */
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.hero-title {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 2.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.25;
    color: #111;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #7a7a7a;
}

/* remove description spacing (not used now) */
.hero-description { display: none; }

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

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


/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: #7aa381; /* soft green like reference */
    color: #ffffff;
    border-color: #7aa381;
    padding: 10px 22px;
    border-radius: 28px;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #6a9473;
    color: #ffffff;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Classes Section */
.classes-section {
    background: var(--light-bg);
}

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

.class-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.class-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.class-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.class-description {
    color: var(--text-color);
    line-height: 1.6;
}

/* About Section */
.about-section {
    background: var(--white);
}


.about-content {
    max-width: 800px;
    margin: 0 auto;
}
.bio-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #2d2d2d;
    margin: 1rem 0;
}

.bio-content h2 {
    margin-top: 2rem;
    margin-bottom: 1.25rem; /* add extra space below heading */
    font-weight: 700;
    color: #2d2d2d; /* same color as body text */
}

.about-text .section-title {
    text-align: left;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    background: var(--primary-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer-social {
    margin-bottom: 1.5rem;
}

.footer-social a {
    color: var(--white);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.footer-social i {
    margin-right: 0.5rem;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
        box-shadow: var(--shadow);
    }

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

    .mobile-menu-toggle {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }
    /* Make bottom card smaller on mobile */
    .hero {
        min-height: 70vh;
        padding-bottom: 16px;
    }

    .hero-content {
        max-width: 88%;
        padding: 8px 10px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

/* Social icons use default color; no brand overrides */

