/* =======================
   FONTS
======================= */
@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;
}

/* =======================
   GLOBAL RESET
======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "RaleRegular", sans-serif;
    overflow-x: hidden;
    background-color: #f7f7f7;
}

/* =======================
   HEADER + NAVBAR
======================= */
.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;
}

/* =======================
   SECTION 1 (Hero)
======================= */
.Section1 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-image: url("../assets/Up.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 700px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.Content1 {
    background: rgba(255, 255, 255, 0.7);
    padding: 60px;
    border-radius: 12px;
    margin-left: 8%;
    max-width: 800px;
}

.Content1 h1 {
    font-size: 72px;
    color: #FAB221;
    margin-bottom: 20px;
}

.Content1 p {
    font-size: 22px;
    font-weight: 600;
    color: #267E2F;
    line-height: 1.6;
}

/* =======================
   SECTION 2
======================= */
.Section2 {
    background-color: #f1f1f1;
    padding: 100px 0;
}

.Content2 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
}

.Img-container1 {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.Img-container1 img {
    width: 600px;
    height: auto;
    border-radius: 12px;
}

.White-background1 {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 350px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.White-background1 h3 {
    font-weight: 500;
    text-align: justify;
    color: #333;
}

.White-background1 button {
    margin-top: 20px;
    background-color: #267E2F;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.White-background1 button:hover {
    background-color: #54A13E;
}

/* =======================
   SECTION 3
======================= */
.Section3 {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url(../assets/2.jpg);
    background-size: cover;
    background-position: center;
}

.Opacity {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(40, 40, 40, 0.4);
}

.Content3 {
    position: relative;
    top: 20%;
    display: flex;
    justify-content: center;
}

.White-background2 {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 80%;
}

.Img-container2 img {
    width: 500px;
    height: auto;
    object-fit: cover;
}

.White-background3 {
    padding: 40px;
    text-align: center;
}

.White-background3 h3 {
    margin-bottom: 20px;
    color: #333;
}

.White-background3 button {
    background-color: #267E2F;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.White-background3 button:hover {
    background-color: #54A13E;
}

/* =======================
   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;
    }
}