/* Common Styles */
/* Common Styles */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: #2f4f2f;
    background: #f0fff0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #4caf50;
    color: white;
}


.login-button {
    background-color: #ffffff;
    color: #4caf50;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;

}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #2e7d32;
    color: white;
}





.login-button {
    background-color: #ffffff;
    color: #4caf50;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

/* For the login button */
.btn-submit {
    background-color: #006400; /* Dark green */
    border-color: #006400;
    color: white;
}

.btn-submit:hover {
    background-color: #004d00; /* Slightly darker green on hover */
    border-color: #004d00;
}

/* For the sign up link button */
.btn-link {
    color: #006400 !important; /* Dark green text */
    text-decoration: none;
}

.btn-link:hover {
    color: #004d00 !important; /* Slightly darker green on hover */
    text-decoration: underline;
}

.intro {
    padding: 5rem 2rem;
    text-align: center;
    background-image: url('/static/images/1.jpg');
    background-size: cover;
    background-position: center;
    color: #2f4f2f;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #2e7d32;
    color: white;
}


/* -------------------landing page css--------------------------- */

.landing-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

/* Heading style */
.landing-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2e7d32;
    margin: 0;
    flex-grow: 1;  
}

/* Login button */
.login-button {
    padding: 0.6rem 1.2rem;
    background-color: #2e7d32;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-left: auto;  
}

.login-button:hover {
    background-color: #256529;
}

.hero-section {
    padding-top: 8rem;
    padding: 8rem 2rem 5rem;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/static/images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 4rem 2rem;
    align-items: center;
}

.content-col {
    flex: 1;
    min-width: 300px;
}

.content-col img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.full-width-section {
    padding: 5rem 2rem;
    background-color: white;
    margin: 2rem 0;
    font-size: 25px;
}

.scroll-section {
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .content-row {
        flex-direction: column;
    }
    
    .hero-section {
        padding: 6rem 1rem 3rem;
    }
}

/* -------------------landing page css endss--------------------------- */

/* ---------------login css-------------------- */
.login-page {
    background: url('2.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.login-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-container h2 {
    color: #2e7d32;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.login-container .subtitle {
    color: #555;
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.login-container .form-group {
    margin-bottom: 20px;
    position: relative;
}

.login-container .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2e7d32;
    font-weight: 500;
    font-size: 14px;
}

.login-container .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
}

.login-container .form-control:focus {
    border-color: #4caf50;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.login-container .role-selector {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    appearance: none;
    background: rgba(255, 255, 255, 0.8) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.login-container .btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.login-container .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.login-container .footer-text {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 13px;
}

@media (max-width: 576px) {
    .login-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
}

.login-button {
    padding: 0.6rem 1.2rem;
    background-color: #2e7d32;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-left: auto;  
}

.login-button:hover {
    background-color: #256529;
}

.iti {
  width: 100%;
}

.iti__flag {
  background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.19/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.19/img/flags@2x.png");
  }
}

.iti__country-list {
  z-index: 1050; /* Make sure dropdown appears above other elements */
}