
:root {
    --primary-color: #2d5a27;
    --secondary-color: #4a7c59;
    --accent-color: #8fbc8f;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;

    background: linear-gradient(270deg, #2d5a27, #18e455, #87ff87, #1f9110);
    background-size: 800% 800%;
    animation: gradientAnimation 15s ease infinite;
    position: relative;
}


@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;

    background-image:
        radial-gradient(rgb(255, 255, 255) 2px, transparent 2px),
        radial-gradient(rgba(255, 255, 255, 0.903) 1px, transparent 1px);
    background-size: 100px 100px, 50px 50px;
    z-index: 0;
}


.container-fluid {
    padding: 20px;
}

.page {
    display: none;
}
.page.active {
    display: block;
}

.phone-container {
    max-width: 350px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 30px 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 25px;
}

.decorative-elements::before,
.decorative-elements::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(45, 90, 39, 0.1);
}

.decorative-elements::before {
    width: 60px;
    height: 60px;
    top: 20px;
    right: 30px;
}

.decorative-elements::after {
    width: 40px;
    height: 40px;
    bottom: 100px;
    left: 20px;
}

.star {
    position: absolute;
    color: rgba(45, 90, 39, 0.2);
    font-size: 12px;
}

.star-1 { top: 50px; left: 30px; }
.star-2 { top: 80px; right: 40px; }
.star-3 { bottom: 150px; right: 30px; }
.star-4 { bottom: 200px; left: 40px; }

/*         WELCOME PAGE          */

.welcome-section {
    text-align: center;
    margin-bottom: 40px;
}

.welcome {
    width: 200px;
    height: 200px;
}

.illustration-placeholder {
    width: 200px;
    height: 200px;
    background: rgba(45, 90, 39, 0.1);
    border-radius: 15px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(45, 90, 39, 0.3);
}

.illustration-placeholder i {
    font-size: 48px;
    color: rgba(45, 90, 39, 0.5);
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.welcome-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

/*     BUTTONS       */
.btn-primary-green {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    padding: 12px 0;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
}

.btn-primary-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-outline-green {
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    padding: 10px 0;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-green:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/*         SOCIAL LOGIN        */
.social-login {
    margin-top: 25px;
}

.social-text {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    color: white;
}

.social-btn.facebook { background: #3b5998; }
.social-btn.google { background: #dd4b39; }
.social-btn.instagram { background: #E1306c; }

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/*           LOGIN & SIGNUP PAGES */
.login-section {
    text-align: center;
}

.login-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-floating {
    margin-bottom: 20px;
}

.loginimg {
    width: 200px;
    height: 200px;
}

.form-floating .form-control,
.form-select {
    border: 2px solid rgba(45, 90, 39, 0.2);
    border-radius: 15px;
    padding: 1rem 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-floating .form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 39, 0.25);
}

.form-floating label {
    color: #666;
    font-size: 0.9rem;
}

.forgot-password {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-password a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: var(--primary-color);
}

.login-illustration {
    width: 150px;
    height: 150px;
    background: rgba(45, 90, 39, 0.1);
    border-radius: 15px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(45, 90, 39, 0.3);
}

.login-illustration i {
    font-size: 36px;
    color: rgba(45, 90, 39, 0.5);
}

/*              HOME PAGE          */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(44, 85, 48, 0.95) !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.8), rgba(74, 124, 89, 0.8)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="pollution" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="20" fill="%23333" opacity="0.1"/><rect x="30" y="30" width="40" height="40" fill="%23666" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23pollution)"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(220, 53, 69, 0.3), rgba(255, 193, 7, 0.3));
    animation: pollutionWave 8s ease-in-out infinite;
}

@keyframes pollutionWave {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
    transform: scale(1);
    transition: all 0.3s ease;
}

.hero .btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.Explore-content{
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.Explore p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* card    */

.card {
    border-radius: 15px;
    transition: transform 0.2s;
}
.card:hover {
    transform: scale(1.02);
}


/*About*/
.about-simple {
    padding: 60px 20px;
    text-align: center;
    max-width: 900px;
    margin: 50px auto;
    background: rgba(255,255,255,0.85);
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}

.about-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-desc {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 10px;
}



/* SCROLL INDICATOR */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    z-index: 1000;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--danger-color), var(--warning-color));
    width: 0%;
    transition: width 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .phone-container {
        margin: 10px;
        padding: 25px 20px;
    }
    
    .welcome-title, .login-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}
