
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    margin-top: 80px;
    font-family: 'Candal', sans-serif;
    min-height: 100vh;
    background-image: url("img/indexbg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        rgba(0, 0, 0, 0.08),
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.05) 0,
            rgba(255,255,255,0.05) 1px,
            transparent 1px,
            transparent 40px
        );
    opacity: 0.4;
    z-index: 0;
}

.hero, .hero * {
    position: relative;
    z-index: 1;
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffffc5;
    padding: 20px 250px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 100; 
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 22px;
    color: #2f6b4f;
}

nav a {
    font-family: 'Candal', sans-serif;
    margin-left: 30px;
    margin-right: 20px;
    text-decoration: none;
    color: #2f6b4f;
    font-weight: 600;
}

.login-btn {
    margin-left: 30px;
    padding: 8px 18px;
    border-radius: 8px;
    background: #4e7c63;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #1d5c38;
}


@media (max-width: 900px) {
    header {
        padding: 16px 30px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    nav a {
        margin: 5px 10px 5px 0;
    }

    .login-btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 500px) {
    header {
        padding: 12px 20px;
    }

    .logo {
        font-size: 20px;
    }

    nav a {
        font-size: 14px;
        margin: 5px 8px 5px 0;
    }

    .login-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
}

.hero {
    min-height: calc(100vh - 80px);
    padding: 90px 250px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 520px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Candal', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero h2 {
    font-family: 'Candal', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero p {
    font-family: 'Candal', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 28px;
}

.cta {
    text-decoration: none;
    padding: 15px 52px;
    background: #ffffff;
    color: #2f6b4f;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.cta:hover {
    background: #2f6b4f;
    color: #fff;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #f3e6c900; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}


.circle:hover {
    transform: scale(1.05); 
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); 
}

.circle:hover img {
    transform: scale(1.05); 
}


@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 50px;
        padding: 60px 30px;
    }

    header {
        padding: 16px 30px;
    }

    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .hero {
        padding: 40px 20px;
    }

        .circle {
        margin-top: -300px;
    }
    .hero h1 {
        font-size: 36px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .hero p {
        font-size: 14px;
    }

    .circle {
        width: 200px;
        height: 200px;
    }
}


.about {
    padding: 100px 100px;
    background-image: url("img/about2.png");
    background-size: cover; 
    background-attachment: fixed;
    color: #2e6639; 
    font-family: "Poppins", sans-serif;
    position: relative;
}

.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); 
    z-index: 0;
}

.about > .main-content {
    max-width: 1100px;
    margin: 0 auto;
}
.about h3,h1{
    font-family: 'Candal', sans-serif;
}
.header-section {
    text-align: center;
    margin-bottom: 50px;
}

.header-section h1 {
    font-size: 42px;
    font-weight: 800;
}

.header-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0;
}

.header-section p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo-section img {
    width: 150px;
    height: auto;
}

.info-box {
    background: #c6d6c68a;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}


@media (max-width: 900px) {
    .about {
        padding: 60px 30px;
    }

    .header-section h1 {
        font-size: 32px;
    }

    .header-section h2 {
        font-size: 20px;
    }

    .info-content h3 {
        font-size: 24px;
    }

    .info-content p {
        font-size: 15px;
    }
}

@media (max-width: 500px) {
    .header-section h1 {
        font-size: 28px;
    }

    .header-section h2 {
        font-size: 18px;
    }

    .logo-section img {
        width: 120px;
    }

    .info-content h3 {
        font-size: 20px;
    }

    .info-content p {
        font-size: 14px;
    }
}


.footer {
    background: linear-gradient(135deg, #144b2c, #298645, #599447);
    padding: 40px 60px 20px;
    font-family: 'Candal', sans-serif;
    color: #ffffff;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}


.footer-brand {
    max-width: 400px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    width: 60px;
    height: 60px;
}

.brand h2 {
    font-size: 30px;
    margin: 0;
    color: #ffffff;
}

.footer-brand p {
    margin-top: 10px;
    font-size: 14px;
    color: #a8d4ae;
}


.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-links h4 {
    font-size: 15px;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    font-size: 14px;
    color: #a8d4ae;
}

.footer-links a:hover {
    color: #105a1b;
}


.footer-bottom {
    border-top: 1px solid #ccc;
    margin-top: 40px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #a8d4ae;
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}


.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal.show {
    display: flex;
}


.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    width: 340px;
    text-align: center;
    position: relative;
    animation: fadeInUp 0.3s ease;
}


.teaser h3 {
    color: #3daa5e;
    margin-bottom: 10px;
    font-size: 20px;
}


.teaser p {
    font-size: 14px;
    color: #555;
    margin-bottom: 22px;
    line-height: 1.5;
}


.login-btn {
    background: linear-gradient(135deg, #2e8b57, #3daa5e);
    border: none;
    color: #fff;
    padding: 12px;
    width: 100%;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 12px;
    margin-left: 7px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.login-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}


.later-btn {
    background: transparent;
    border: none;
    color: #777;
    font-size: 13px;
    cursor: pointer;
}

.later-btn:hover {
    text-decoration: underline;
    color: #444;
}


.close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    cursor: pointer;
    color: #888;
}

.close:hover {
    color: #000;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
