/* base.css - Unified Base Styles */

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

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Main Content */
.main-content {
    
    min-height: calc(100vh - 100px);
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Button Styles */
.btn {
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #6B7B5A, #8B9A7A);
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(107, 123, 90, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #6B7B5A;
    border: 2px solid #6B7B5A;
}

.btn-secondary:hover {
    background: #6B7B5A;
    color: white;
}

.btn-approve {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.btn-approve:hover {
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
}

.btn-deny {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-deny:hover {
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.btn-view {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-view:hover {
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

/* Form Elements */
select, input[type="text"], input[type="email"], input[type="password"], textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

select:focus, input:focus, textarea:focus {
    outline: none;
    border-color: #6B7B5A;
    box-shadow: 0 0 0 3px rgba(107, 123, 90, 0.1);
}

/* Card Styles */
.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.card:hover {

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6B7B5A, #8B9A7A);
}

/* Hero Sections */
.hero-section {
    background: linear-gradient(135deg, #8B9A7A 0%, #6B7B5A 100%);
    /* border-radius: 20px; */
    padding: 4rem;
    margin-bottom: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

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



.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Section Styles */
.section {
    padding: 6rem 0;
    background: white;
}

.section-alternate {
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    /* text-align: center; */
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Status Badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.status-pending {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.status-approved {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.status-denied {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.status-active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* old ahh Footer */
/* footer {
    background-color: #4e693f;
    font-family: 'Poppins', sans-serif;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: auto; 
} */

/* Responsive Design */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-logo {
        font-size: 2rem;
    }

    .contact-item {
        justify-content: center;
    }

    .nav-links a:hover {
        padding-left: 0;
    }

    .subscribe-btn {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 3rem 1rem 2rem;
    }

    .footer-main {
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }
}

/* Demo body styles - remove padding for production */
.demo-content {
    background: white;
    padding: 4rem 2rem;
    text-align: center;
    color: #333;
    margin-bottom: 0;
}

.demo-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #6B7B5A;
}

.demo-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .flex-between {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 1000px) {
  .dropdown-content {
    position: static !important;
    opacity: 0 !important;
    visibility: hidden !important;
    max-height: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
    border: none !important;
    background: #f8f9fa !important;
    margin: 0 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
  }
  .dropdown.active .dropdown-content {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 300px !important;
    margin: 0.5rem 0 !important;
    transform: translateY(0) !important;
  }
}