:root {
    --primary-color: #006837;
    --primary-dark: #004d28;
    --primary-light: #e6f2ec;
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --bg-light: #f9fafb;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* --- Header / Navigation --- */
header {
    background-color: var(--white);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-placeholder {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.logo-placeholder img {
    width: 30px;
    height: 30px;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-text span {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    font-weight: 500;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

nav ul li a.active, nav ul li a:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline {
    border: 1px solid #d1d5db;
    background-color: transparent;
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: #f3f4f6;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* --- Hero Section with Integrated Campus Background --- */
.hero-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(to right, rgba(255,255,255,1) 35%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 70%), 
                        url('../img/image.png'); /* Fallback URL placeholder, replace with local file if needed */
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    padding: 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-left {
    z-index: 2;
}

.hero-left .tag {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-left .tag i {
    font-size: 8px;
}

.hero-left h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-left h2 span {
    color: var(--primary-color);
}

.hero-left p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 480px;
}

.cta-group {
    display: flex;
    gap: 16px;
}

/* Right Side: Floating Popular Requests Card */
.hero-right {
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}

.popular-requests-card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 28px;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.card-icon-top {
    width: 44px;
    height: 44px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.popular-requests-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.request-list {
    list-style: none;
}

.request-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 14px;
}

.request-list li i {
    color: #22c55e;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    transition: gap 0.2s;
}

.view-all-link:hover {
    gap: 10px;
}

/* --- Features Section --- */
.features-section {
    background-color: var(--white);
    padding: 40px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: #f3f4f6;
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- How It Works Section --- */
.how-it-works {
    padding: 60px 0;
    text-align: center;
}

.how-it-works h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.step-container {
    display: flex;
    align-items: center;
    flex: 1;
}

.step-card {
    text-align: left;
    background: transparent;
    padding: 10px;
    width: 100%;
}

.step-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: #f3f4f6;
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.step-title-area {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.step-number {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.step-title-area h3 {
    font-size: 14px;
    font-weight: 700;
}

.step-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-arrow {
    color: #d1d5db;
    font-size: 18px;
    padding-top: 20px;
}

/* --- Footer Alert Banner --- */
.footer-banner {
    background-color: var(--primary-dark);
    color: #dbebe2;
    padding: 20px 0;
    font-size: 13px;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-banner i {
    font-size: 20px;
    color: var(--white);
}

.footer-content p a {
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-section {
        background-image: linear-gradient(to top, rgba(255,255,255,1) 40%, rgba(255,255,255,0.85) 70%, rgba(255,255,255,0.4) 100%), 
                            url('../img/image.png');
        background-position: center center;
    }
    .hero-grid { 
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    .hero-right {
        justify-content: flex-start;
    }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { flex-direction: column; gap: 30px; }
    .step-arrow { display: none; }
}

@media (max-width: 640px) {
    .nav-container nav, .auth-buttons { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-left h2 { font-size: 32px; }
    .cta-group { flex-direction: column; }
}

.form-card{
    margin: 40px auto;
    width:50%;
    max-width:650px;
    background:white;
    padding:40px;
}

.logo{
    text-align:center;
    margin-bottom:30px;
}

.logo img{
    width:70px;
    margin-bottom:10px;
}

.logo h2{
    color:#0B7A33;
}

.input-group{
    margin-bottom:18px;
}

.input-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.input-group input,
.input-group select{
    width:100%;
    padding:14px;
    border:1px solid #dcdcdc;
    border-radius:10px;
    outline:none;
    transition:.3s;
}

.input-group input:focus,
.input-group select:focus{
    border-color:#0B7A33;
}

.row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.btn-create{
    width:100%;
    background:#0B7A33;
    color:white;
    border:none;
    padding:15px;
    border-radius:10px;
    font-size:16px;
    cursor:pointer;
    margin-top:10px;
}

.btn-create:hover{
    background:#09652a;
}

.divider{
    text-align:center;
    margin:25px 0;
    position:relative;
}

.divider::before{
    content:"";
    position:absolute;
    width:100%;
    height:1px;
    background:#ddd;
    top:50%;
    left:0;
}

.divider span{
    background:white;
    padding:0 15px;
    position:relative;
    z-index:2;
}

.google-btn{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:#333;
    border:1px solid #ddd;
    padding:14px;
    border-radius:10px;
}

.login-link{
    text-align:center;
    margin-top:25px;
}

.login-link a{
    color:#0B7A33;
    font-weight:bold;
    text-decoration:none;
}

.preview-section{
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.preview-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.preview-section table {
    width: 100%;
    border-collapse: collapse;
}

.preview-section table th,
.preview-section table td {
    border: 0px solid #e5e7eb;
    padding: 10px;
    text-align: left;
    font-size: 14px;
}

.otherinfo{
    display: none;
    margin-top: 10px;
}

.preview-section{
    display: none;
}

#create_user{
    display: none;
}

.forgot-password{
    display: block;
    text-align: right;
    font-size: 14px;
    color: #0B7A33;
    text-decoration: none;
    margin-top: 5px;
}

.documents-section{
    padding:70px 0;
}

.section-header{
    text-align:center;
    margin-bottom:50px;
}

.section-header h1{
    font-size:42px;
    color:#0B7A33;
    margin-bottom:15px;
}

.section-header p{
    color:#666;
    font-size:18px;
}

.documents-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.document-card{
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(0,0,0,0.06);
    transition:.3s;
}

.document-card:hover{
    transform:translateY(-5px);
}

.document-card i{
    font-size:45px;
    color:#0B7A33;
    margin-bottom:20px;
}

.document-card h3{
    margin-bottom:10px;
}

.document-card p{
    color:#666;
    line-height:1.6;
    margin-bottom:20px;
}

.price{
    font-size:28px;
    font-weight:bold;
    color:#0B7A33;
    margin-bottom:15px;
}

.details{
    margin-bottom:20px;
}

.details span{
    background:#eaf7ef;
    color:#0B7A33;
    padding:8px 12px;
    border-radius:20px;
    font-size:14px;
}

.document-card a{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration:none;
    width:100%;
    border:none;
    background:#0B7A33;
    color:white;
    padding:14px;
    border-radius:10px;
    cursor:pointer;
    font-size:15px;

}

.document-card a:hover{
    background:#086128;
}

.wrapper{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

.content{
    flex:1;
}

/* Footer */

.footer{
    background:#0B7A33;
    color:#fff;
    padding:50px 0 20px;
}

.footer .container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:40px;
    margin-bottom:30px;
}

.footer-col h3,
.footer-col h4{
    margin-bottom:15px;
}

.footer-col p{
    color:#d9f0df;
    line-height:1.8;
    margin-bottom:10px;
}

.footer-col ul{
    list-style:none;
    padding:0;
}

.footer-col ul li{
    margin-bottom:12px;
}

.footer-col ul li a{
    color:#d9f0df;
    text-decoration:none;
    transition:.3s;
}

.footer-col ul li a:hover{
    color:#fff;
    padding-left:5px;
}

.footer-col i{
    width:20px;
    margin-right:8px;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.2);
    text-align:center;
    padding-top:20px;
    font-size:14px;
    color:#d9f0df;
}

/* Responsive */

@media (max-width:768px){

    .footer-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-col i{
        display:inline-block;
    }
}

.mobile-menu{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.8);
    z-index:9999;
    display:none;
}

.mobile-menu ul{
    list-style:none;
    padding:0;
    margin:0;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    text-align:center;
}

.mobile-menu ul li{
    margin:20px 0;
}

.mobile-menu ul li a{
    color:white;
    text-decoration:none;
    font-size:24px;
    font-weight:bold;
}

.mobile-menu ul li a .active{
    color:var(--primary-color) !important;
}

#mobile-menu-close{
    position:absolute;
    top:20px;
    right:20px;
    font-size:30px;
    color: var(--primary-color);
    cursor:pointer;
    padding: 10px;
}

#mobile-menu-toggle{
    display:none;
    color:var(--primary-color);
    margin-right:10px;
}

.my-auth-buttons{
    display:flex;
    gap:10px;
    position: absolute;
    bottom: 50px;
    left: 15%;
}

.text-light{
    color: #f9fafb !important;
}

.details-table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
    border:1px solid #ddd;
}

.details-table th,.details-table td{
    border:1px solid #ddd;
    padding:10px;
    text-align:left;
}

#request-results{
    display:none;
}

@media (max-width:640px){
    #mobile-menu-toggle{
        display:block;
        background:none;
        border:none;
        font-size:24px;
        cursor:pointer;
    }

    .form-card{
        margin: 40px auto;
        width:90%;
        max-width:650px;
        background:white;
        padding:40px;
    }
}