@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --primary: #8E6C4B;
    --secondary: #3A506B;
    --accent: #A57C65;
    --light: #F9F5EB;
    --dark: #1C1C1C;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

body {
    font-family: 'Source Serif Pro', serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

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

/* Header Styles */
header {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 0.7rem 0;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.main-logo {
    width: 250px;
    display: flex;
    justify-content: center;
}

.main-logo img {
    width: 100%;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%238E6C4B" opacity="0.1"/><path d="M0 0L100 100" stroke="%238E6C4B" stroke-width="1" opacity="0.2"/><path d="M100 0L0 100" stroke="%238E6C4B" stroke-width="1" opacity="0.2"/></svg>');
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark);
}

/* Studies Section */
.studies-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--secondary);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent);
    margin: 0.5rem auto;
}

.studies-boxs {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.study-card {
    width: 450px;
    height: 240px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    gap: 20px;
}


.study-card:hover {
    transform: translateY(-5px);
}

.study-card .card-img-box {
    height: 100%;
    width: 185px;
    overflow: hidden;
}

.card-img-box img {
    width: 100%;
    height: 100%;
    transition: 0.3s;
}

.study-card:hover .card-img-box img {
   transform: scale(1.1) rotate(5deg);
}

.card-content {
    width: calc(100% - 205px);
    height: 100%;
    padding: 15px 20px 15px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h3 {
    color: var(--secondary);
    font-size: 20px;
    line-height: 23px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 10px;
}

.card-content p {
    color: #555;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 15px;
}

.btn {
    width: 100%;
    text-align: center;
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding:  0.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
    text-transform: uppercase;
    font-size: 16px;
}

.btn:hover {
    background-color: var(--secondary);
}

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

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 300px;
    background-color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.2);
}

.about-image img {
    width: 60%;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .main-logo {
        width: 200px;
    }
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        cursor: pointer;
    }

    nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 3.6rem;
        position: absolute;
        top: 0;
        left: 0;
        background: var(--light);
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    nav ul.show {
        display: flex;
    }

    nav li {
        margin: 0.5rem 0;
        margin-left: 0;
    }

    nav li a {
        color: var(--dark);
    }

    .hero {
        padding: 2.5rem 0;
    }

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

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

    .footer-content {
        flex-direction: column;
    }
    .study-card {
        max-width: 450px;
        width: 100%;
        height: 175px;
        gap: 0px;
    }
    .study-card .card-img-box {
    height: 100%;
    width: 120px;
    overflow: hidden;
    margin-right: 15px;
}
.card-content {
   width: calc(100% - 135px);
   padding: 10px 10px 10px 0;
}
.card-content h3 {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 5px;
}
.card-content p {
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 16px;
}
.btn {
    font-size: 14px;
    padding: 6px;
}
}