/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #FBFEFC;
}

header {
    background-color: #FBFEFC;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}

header .logo {
    font-size: 42px;
    font-weight: normal;
    font-family: "Source Serif 4", serif;
    font-style: normal;
    color: #1B2820;
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: scale(1.1);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
    transition: transform 0.3s ease;
}

nav ul li:hover {
    transform: scale(1.1);
}

nav ul li a {
    text-decoration: none;
    color: #1B2820;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-size: 28px;
    font-style: normal;
}

.hero {
    text-align: center;
    padding: 50px 20px;
}

.hero h1 {
    font-size: 120px;
    margin-bottom: 20px;
}

.hero img {
    width: 100%;
    max-width: 1344px;
    height: 672px;
    transition: transform 0.3s ease;
}

.hero img:hover {
    transform: scale(1.1);
}

.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 52px;
    padding: 20px;
    margin: 65px;
}

.projects .project {
    size: 20px;
    width: 413.33px;
    height: 333px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    color: #1B2820;
}

.projects .project img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.projects .project img:hover {
    transform: scale(1.1);
}

.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    font-size: 28px;
    font-family: "Plus Jakarta Sans", serif;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -0.02em;
    text-align: left;
}

.follow-section {
    width: 1,344px;
    height: 436px;
    padding: 96px 0px 96px 0px;
    gap: 52px;
}

.follow-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
}

.email-input {
    width: 426px;
    height: 30px;
    padding: 10px 20px 10px 20px;
    gap: 8px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    background-color: #62c98c17;
}

.subscribe-button {
    padding: 12px 24px;
    background-color: #437a48;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.subscribe-button:hover {
    background-color: #345e38;
}

.social-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.social-icon {
    width: 37.5px;
    height: 37.5px;
}

.footer {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    padding-bottom: 0;
}

.copyright {
    color: #666;
    font-size: 28px;
}

.contact-button {
    padding: 8px 20px;
    border: 1px solid #333;
    border-radius: 4px;
    background: transparent;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 20px;
}

.contact-button:hover {
    background: #333;
    color: white;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .projects {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin: 40px;
    }

    .projects .project {
        width: 100%;
        height: auto;
    }

    .hero h1 {
        font-size: 90px;
    }

    .hero img {
        height: auto;
    }

    .follow-section {
        width: 100%;
        padding: 60px 20px;
    }
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    header .logo {
        font-size: 32px;
        margin-bottom: 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    nav ul li a {
        font-size: 20px;
    }

    .hero h1 {
        font-size: 60px;
    }

    .projects {
        grid-template-columns: 1fr;
        margin: 20px;
    }

    .contact-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .subscribe-form {
        flex-direction: column;
        align-items: center;
    }

    .email-input {
        width: 90%;
        max-width: 426px;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .copyright {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 40px;
    }

    .contact-section {
        padding: 20px;
    }

    .follow-section {
        padding: 40px 20px;
        height: auto;
    }

    .social-links {
        gap: 15px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }

    .projects .project {
        font-size: 16px;
    }
}

@media screen and (max-width: 320px) {
    .hero h1 {
        font-size: 32px;
    }

    .projects {
        margin: 10px;
        gap: 20px;
    }

    nav ul li a {
        font-size: 18px;
    }

    .contact-button {
        padding: 6px 16px;
        font-size: 16px;
    }
}