/* ---------------------------------------
   GLOBAL STYLES
---------------------------------------- */
body {font-family: 'Century Gothic Paneuropean', sans-serif;
    font-size: medium;
    margin: 40px;
    padding: 40px;
    opacity: 1 !important;
}

/* Global Reset */
* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;/* Force Removal of User Agent Styles */
    }


/* ---------------------------------------
   NAVIGATION BAR
---------------------------------------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    /* Ensure initial paint is transparent before site.css loads */
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
}
.navbar-title {
    padding: 0 0 0 15px;
}
.navbar .navbar-left a {
    display: flex;
    align-items: center;
    text-decoration: unset;
    color: #FFFFFF;
}
.logo {
    height: 40px;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    background-color:#8bb532(0 100% 0%);
    color: #ffffff;
}
/* ---------------------------------------
   HERO SECTION
---------------------------------------- */
.hero {
    background: url('/static/images/ploverchick.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    height: 100vh;
    overflow: hidden;
    opacity: 1 !important;
    z-index: 1;align-items: center;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;align-items: center;
}

/* Hero Content */
.hero .container {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 3 !important;
    color: #FFFFFF !important;
    text-shadow: none !important;
    text-align: center;
    opacity: 1 !important;
    align-items: center;
}


/* Hero Text */
.hero h1,
.hero h1 span,
.hero .container h1 {
    font-size: 2.5rem;
    font-weight: 300;
    font-family: 'Century Gothic Paneuropean', sans-serif;
    color: #FFFFFF !important; /* Force text to be white */
    text-shadow: none !important; /* Ensure no shadows interfere */
    z-index: 4 !important; /* Ensure it's above overlay */
    position: relative !important;
    opacity: 1 !important;
    line-height: 1.3;
    padding-right:80px;
    align-items: center;
}


/* Hero Text Final Override */

.hero h1 span {
    font-style: italic;
}
.hero h1 span:nth-of-type(2) {
    color:rgb(139, 181, 50) !important;
    align-items: center;
}

/* Safari-Specific Fix */
@media not all and (min-resolution: 0.001dpcm) { 
    @supports (-webkit-appearance: none) {
        .hero h1 {
            color: #FFFFFF !important;
            text-shadow: none !important;
            z-index: 4 !important;
            opacity: 1 !important;
        }
    }
}

/* Call-to-Action Button */
.cta-button {
    background-color: #fff;
    color: #8bb532;
    border: none;
    padding: 0.75rem 1.5rem;
    padding-left: 0 40px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-left: -10rem ;
    z-index: 4;
    position: relative;
}

.cta-button:hover {
    background-color: #8bb532;
    color: white;
}

/*---------------
 Intro Section
 ---------------*/
section.intro {
    margin: 0 30px;
    text-align: center;
}
section.intro details {
    margin: 30px 0 0 0;
    padding: 0 0 30px 0;
    box-shadow: 0 1px 0px #202020;
}
section.intro summary {
    font-size: x-large;
    font-weight: 500;
    color:#8bb532;
}
section.intro summary:hover {
    cursor: pointer;
}
section.intro details p {
    text-align: left;
}
section.intro details p:nth-of-type(1) {
    margin: 10px 0 0 0;
}

/*---------------------
 Service Info Section/
 ---------------------- */
section.service-info p {
    text-align: center;
    font-family:'Century Gothic Paneuropean', sans-serif;
    font-size: larger;
    font-weight: normal;
    padding: 40px 0 0 0;
    margin: 0 40px;
}
section.service-info h1 {
    text-align: center;
    font-family:'Century Gothic Paneuropean', sans-serif;
    font-size: x-large;
    font-weight: normal;
    padding: 40px 0 0 0;
    margin: 0 40px;
}
section.service-info h1 span{
    text-align: center;
    font-family:'Century Gothic Paneuropean', sans-serif;
    font-size: x-large;
    font-weight: normal;
    padding: 0px 0 0 0;
    color:#8bb532;
    margin: 0 0px;
}
section.service-info p span {
    text-align: center;
    font-family:'Century Gothic Paneuropean', sans-serif;
    font-size: large;
    font-weight:normal;
    padding: 0px 0 0 0;
    color:#8bb532;
    margin: 0 0px;
}
section.service-info h2 {
    text-align: center;
    font-family:'Century Gothic Paneuropean', sans-serif;
    font-size: medium;
    font-weight:normal;
    padding: 0px 0 0 0;
    color:#000000;
    margin: 0 40px;
}


/* -----------------
    4-Tile Section 
--------------------*/

/* Section Styling */
.clickable-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two boxes per row */
    gap: 20px; /* Space between boxes */
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Box Styling */
.box {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Anchor Styling */
.box a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Image Styling */
.box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Caption Styling */
.box h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    font-family: 'Century Gothic Paneuropean', sans-serif;
    font-weight: normal;
    color: #333;
    transition: color 0.3s ease;
}

.box:hover h3 {
    color: #8bb532; /* Change color on hover */
}

@media (max-width: 768px) {
    .clickable-boxes {
        grid-template-columns: 1fr; /* One box per row on small screens */
    }
}



/* -------
 Footer 
 -------*/
footer {
   font-family:'Century Gothic Paneuropean', sans-serif;
    color: #FFFFFF;
    font-size: small;
    text-align: center;
    padding: 20px 0 0 0;
    margin: 0 0px;
    background-color: #8bb532;
    padding: 20px;
    width: 106%;
}

/* Modal Container */
    .modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay fixed on the viewport */
        top: 0;
        left: 0;
        width: 100vw; /* Cover full width */
        height: 100vh; /* Cover full height */
        background-color: rgba(0, 0, 0, 0.4); /* Dark transparent overlay */
        z-index: 1000; /* Highest z-index */
        justify-content: center; /* Center content horizontally */
        align-items: center; /* Center content vertically */
        margin-top: -5.7rem;
    }
    
    
/* Show Modal State */
.modal.show {
    display: flex; /* Flexbox ensures modal content is centered */
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    width: 400px;
    max-width: 90%;
    z-index: 1001; /* Above modal background */
    position: relative; /* Ensure stacking order */
    margin-bottom: -8rem;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #8bb532;
}

/* Login Button */
.cta-button {
    background-color: #8bb532;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin: 0.5rem;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #6a9f27;
}


/* Logo Styling */
.login-logo {
    width: 175px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}
.login-section h2 {
    text-align: center;
    font-family:'Century Gothic Paneuropean', sans-serif;
    font-size: xx-large;
    font-weight:normal;
    padding-left: 20px 0 0 0;
    color:#ffffff;
}
.login-section h2 span{
    text-align: center;
    font-family:'Century Gothic Paneuropean', sans-serif;
    font-size:xx-large;
    font-weight:normal;
    padding-left: 25px 0 0 0;
    color:#8bb532;
    font-style: italic;
}
.login-section p span {
    text-align: center;
    font-family:'Century Gothic Paneuropean', sans-serif;
    font-size:x-large;
    font-weight:normal;
    padding-left: 25px 0 0 0;
    color:#ffffff;
}

/* Form Styling */
.modal-content label {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    text-align: left;
    color: #8bb532;
}

.modal-content input {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #8bb532;
    border-radius: 5px;
}
.modal-content h2 {
    color:#8bb532;
    font-size: xx-large;
}

/* Modal Button */
.modal-content button {
    margin-top: 3rem;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background-color: #8bb532;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding-top: 10px;
}

.modal-content button:hover {
    background-color: #6a9f27;
}
@media (max-width: 768px) {
    .login-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .login-box {
        max-width: 80%;
    }
}



/* Input Styling */
.modal-content input[type="text"],
.modal-content input[type="password"] {
    width: 90%;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Button Styling */
.modal-content button {
    background-color: #8bb532;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #6a9f27;
}

@keyframes modalFadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

body.modal-open {
    overflow: hidden;
}


/* -------------------
Forgotten Credentials
--------------------*/
.forgot-button {
    background-color:#8cb53200;
    color: #ffffff;
    border: none;
    margin-inline: 80px;
    margin-right: 3rem;
    margin-bottom: 100px;
    margin-top: 50px;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    position: static;
    align-self: auto;
}
.forgot-button:hover {
    background-color:hsl(0, 0%, 100%);
    color: #8bb532;
}

/* -------------------
Forgotten Credentials
--------------------*/
.forgot-button {
    background-color:#8cb53200;
    color: #ffffff;
    border: none;
    margin-inline: 80px;
    margin-right: 3rem;
    margin-bottom: 100px;
    margin-top: 50px;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    position: static;
    align-self: auto;
}
.forgot-button:hover {
    background-color:hsl(0, 0%, 100%);
    color: #8bb532;
}

/* ---------------------------------------
   BIOLOGIST APPLICATION FORM
---------------------------------------- */
.application-section {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 60px auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.application-section h2 {
    text-align: center;
    font-size: large;
    color: #8bb532;
    margin-bottom: 1.5rem;
}

.application-section p {
    text-align: center;
    margin-bottom: 2rem;
    color: #555;
}

.application-section h3 {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #333;
}

/* Form Styling */
.application-section form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.application-section form label {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
}

.application-section form input,
.application-section form select,
.application-section form textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.application-section form textarea {
    resize: vertical;
}

.application-section form input:focus,
.application-section form textarea:focus,
.application-section form select:focus {
    border-color: #8bb532;
    box-shadow: 0 0 10px rgba(139, 181, 50, 0.5);
    outline: none;
}

/* Submit Button */
.application-section form button {
    background-color: #8bb532;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.application-section form button:hover {
    background-color: #6a9f27;
}
/* Dashboard Hero Section */
.dashboard-hero {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #8bb532, #6a9f27);
    color: white;
}

.dashboard-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.dashboard-hero p {
    font-size: 1.2rem;
}

/* Dashboard Content */
.dashboard-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    justify-content: center;
    text-align: center;
}

.dashboard-content section {
    flex: 1 1 calc(33% - 2rem);
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.dashboard-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #8bb532;
}

.dashboard-button {
    background-color: #8bb532;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.dashboard-button:hover {
    background-color: #6a9f27;
}

.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:8px;top:8px;width:auto;height:auto;padding:.5rem 1rem;background:#000;color:#fff;z-index:1000}
a:focus,button:focus,input:focus,select:focus,textarea:focus{outline:2px solid #005fcc;outline-offset:2px}
