/* BASE SETTINGS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

Body {
    font-family: "Rubik", sans-serif;
    background-color: var(--accent-color);
}

section {
    width: 100%;
    padding: 30px 12%;
}

/* COLOR PALETTE */
:root {
    --primary-color: #243E36;
    --secondary-color: #7CA982;
    --accent-color: #F1F7ED;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    padding: 40px 12%;
}

.navbar .logo a {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
}

.navlist {
    display: flex;
    list-style: none;
}

.navlist li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    margin: 0 20px;
    transition: all 0.3s ease-in-out;
}

.navlist li a:hover {
    color: var(--secondary-color);
}

.menu-icon {
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    display: none;
}

.cv-btn a {
    padding: 10px 20px;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 100px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.cv-btn a:hover {
    background-color: var(--secondary-color);
}

/* HOME SECTION */
.home-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    height: 100vh;
}

.home-image img {
    max-width: 100%;
    width: 600px;
    height: auto;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
}

.home-text {
    text-align: left;   
}

.home-text h1 {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.home-text h4 {
    font-size: 24px;
    font-weight: 400;
    color: #000;
    margin-bottom: 20px;
}

.home-text p {
    font-size: 16px;
    width: 600px;
    color: #000;
    margin-bottom: 30px;
}

.home-btn a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 5px;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.home-btn a:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ABOUT SECTION */
.about-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.about-header {
    text-align: center;
}

.about-header h4 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.about-header p {
    font-size: 18px;
    font-weight: 300;
    color: #000;
    letter-spacing: 0.5px;
}

.about-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 400px;
    max-width: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 100%;
    margin-bottom: 10px;
}

.about-text {
    text-align: center;
}

.about-text h4 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.about-text h6 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #000;
}

.about-text p {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 50px;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.social-links a {
    padding: 15px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* SERVICES SECTION */
.services-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.services-header {
    text-align: center;
}

.services-header h4 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.services-header p {
    font-size: 18px;
    font-weight: 300;
    color: #000;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 100px;
    margin-bottom: 100px;
}

.card {
    width: 500px;
    height: auto;
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
}

.card h5 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.card p {
    font-size: 18px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
}

.card a {
    font-size: 16px;
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 5px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.card a:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

/* STATS SECTION */
.stats {
    background-color: var(--primary-color);
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 400px;
    padding: 50px;
}

.experience,.projects,.happy-clients {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.experience, .projects, .happy-clients {
    font-size: 18px;
    font-weight: 300;
    color: #fff;
}

/* CONTACT FORM */
.contact-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding-top: 50px;
}

.contact-header {
    text-align: center;
}

.contact-header h4 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-header p {
    font-size: 18px;
    font-weight: 300;
    color: #000;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.contact-form input,textarea {
    font-family: "Rubik", sans-serif;
    font-size: 16px;
    color: #fff;
    max-width: 100%;
    width: 600px;
    padding: 20px;
    background-color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    outline: none;
    caret-color: #fff;
}

.contact-form textarea {
    height: 300px;
    resize: none;
}

.contact-form input::placeholder,textarea::placeholder {
    font-family: "Rubik", sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #c0c0c0;
}

.contact-form form button {
    width: 100%;
    font-family: "Rubik", sans-serif;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    border: 2px solid transparent;
    border-radius: 5px;
    background-color: var(--primary-color);
    margin-bottom: 50px;
    transition: all 0.3s ease-in-out;
}

.contact-form form button:hover {
    background-color: #335047;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--primary-color);
}

.footer p {
    color: #fff;
}
