@font-face {
    font-family: "RaleRegular";
    src: url(../assets/fonts/Raleway-VariableFont_wght.ttf) format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: "Roboto";
    src: url(../assets/fonts/Roboto-VariableFont_wdth\,wght.ttf) format("truetype");
    font-weight: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "RaleRegular", sans-serif;
    overflow-x: hidden;
    background-color: #f7f7f7;
}

/* NAVIGATION */
.header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 10px 50px;
    background-color: #fff;
    font-family: "RaleRegular";
}

.navbar a {
    font-size: 16px;
    color: #267E2F;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar a:hover {
    background-color: #54A13E;
    color: white;
}

.subnav {
    position: relative;
}

.subnavbtn {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    color: #267E2F;
    font-size: 16px;
    font-family: "RaleRegular";
    padding: 14px 20px;
    transition: color 0.3s ease;
}

.subnavbtn:hover {
    color: #54A13E;
}

.subnavcontent {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #54A13E;
    min-width: 200px;
    border-radius: 6px;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.subnavcontent a {
    display: block;
    color: white;
    padding: 10px 20px;
    transition: background 0.3s ease;
}

.subnavcontent a:hover {
    background-color: #3d7c2c;
}

.subnav:hover .subnavcontent {
    display: block;
}

.Login, .Logout {
    margin-left: auto;
    color: #ffffff !important;
    background-color: #267E2F;
    border-radius: 6px;
    padding: 10px 20px !important;
    transition: background 0.3s ease;
}

.Login:hover, .Logout:hover {
    background-color: #3d7c2c;
}

/* TEAM SECTION */
.teamContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background-color: #f6f9f6;
}

.Team-Title h1 {
    font-family: RaleRegular;
    color: #266E2F;
    font-size: 36px;
    margin-bottom: 50px;
}

.Team-Content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

.Team-Members {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    text-align: center;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Team-Members:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.Team-Members img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #54A13E;
}

.Team-Members h2 {
    font-family: RaleRegular;
    color: #266E2F;
    margin-bottom: 8px;
}

.Team-Members p {
    font-family: Roboto;
    color: #333;
    font-size: 14px;
}

/* =======================
   FOOTER
======================= */
.Footer {
    background-color: #266E2F;
    color: white;
    padding-top: 40px;
}

.Web-name h1 {
    color: #FAB221;
    text-align: center;
    font-size: 48px;
}

.Footer-Content {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

.Footer-Content div {
    display: flex;
    flex-direction: column;
}

.Footer-Content h2 {
    margin-bottom: 10px;
}

.Footer-Content a {
    color: white;
    text-decoration: none;
    margin: 8px 0;
    transition: color 0.3s ease;
}

.Footer-Content a:hover {
    color: #FAB221;
}

.FooterBoot {
    background-color: #54A13E;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.FooterBoot p {
    font-weight: 300;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 992px) {
    .Content1 {
        padding: 40px;
    }

    .Content1 h1 {
        font-size: 42px;
    }

    .R-table {
        flex-direction: column;
        align-items: center;
    }

    .Footer-Content {
        flex-direction: column;
        gap: 30px;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .Team-Content {
        flex-direction: column;
        align-items: center;
    }

    .Team-Members {
        width: 90%;
    }
}
