@import url('https://fonts.googleapis.com/css2?family=Baskervville+SC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baskervville+SC&family=DM+Serif+Text:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-color: #f4f4f4;
    --card-bg: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(44, 62, 80, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 0.5rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    font-family: "Baskervville SC", serif;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}


.title {
    font-family: "DM Serif Text", serif;
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    color: whitesmoke;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 5rem;
}

section {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: "Baskervville SC", serif;
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 300;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-family: "DM Serif Text", serif;
    font-size: 2.5rem;
    font-weight: 400;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-family: "Baskervville SC", serif;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    color: var(--secondary-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ================================== */

.about-section {
    background: linear-gradient(135deg, #76a4d3 0%, #e9f0f5 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #34495e;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.lead-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text p {
    font-family: "Baskervville SC", serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 1.5rem;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.stat-item {
    text-align: center;
}


.stat-number {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-size: 3rem;
    font-weight: 700;
    color: #3498db;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-size: 1rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}



.feature-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: "DM Serif Text", serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.5;
}


/* =================================================== */


@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .feature-showcase {
        grid-template-columns: 1fr;
    }
}

.feature-showcase {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* ... (previous CSS remains the same) ... */

.feature-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* =============================================================  */

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-color);
}

.testimonial-section {
    margin-top: 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.testimonial-section h3 {
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.testimonial-carousel {
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 1rem;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
}

.carousel-controls {
    margin-top: 1rem;
}

.carousel-controls button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.carousel-controls button:hover {
    color: var(--secondary-color);
}

.event-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.event-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.event-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-family: "DM Serif Text", serif;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
}

.event-date, .event-time {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-date i, .event-time i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.event-description {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    font-family: DM Serif Text, serif;
    padding: 0 1rem;
}

.project-card p {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.project-card h3 {
    margin-top: 1rem;
    color: var(--primary-color);
}

form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

input, textarea, button {
    margin-bottom: 1rem;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
}

.footer-content {
    font-family: "Baskervville SC", serif;
    font-weight: 400;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .feature-showcase {
        grid-template-columns: 1fr;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        margin-bottom: 1rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-top: 2rem;
    }

    nav ul {
        display: none;
    }

    nav ul.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        padding: 1rem;
    }

    nav ul.show li {
        margin: 0.5rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .cta-button {
        margin-top: 2rem;
    }

    .footer-content {
        font-size: 0.9rem;
    }

    .social-links {
        margin-bottom: 1rem;
    }

    .social-links a {
        font-size: 1.2rem;
    }

    .carousel-controls {
        display: flex;
        justify-content: center;
    }

    .carousel-controls button {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }

    .about-section {
        padding: 4rem 0;
    }

    .about-header {
        margin-bottom: 2rem;
    }

    .about-text p {
        font-size: 0.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.5rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.6rem;
    }

    .testimonial-section h3 {
        font-size: 1rem;
    }

    .testimonial-item p {
        font-size: 0.6rem;
    }

    .testimonial-author {
        font-size: 1rem;
    }

    .event-date, .event-time {
        font-size: 0.6rem;
    }

    .event-description {
        font-size: 0.6rem;
    }

    .project-card h3 {
        font-size: 1rem;
    }

    .project-card p {
        font-size: 0.6rem;
    }

    form {
        max-width: 100%;
    }

    input, textarea, button {
        padding: 0.4rem;
    }

    .footer-content {
        font-size: 0.6rem;
    }

    .social-links a {
        font-size: 0.5rem;
    }

    .carousel-controls button {
        font-size: 0.5rem;
    }
}