/* Custom Color Variables */
:root {
    --primary-green: #219864;
    --accent-orange: #f24618;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-text: #333333;
    --light-text: #666666;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    padding-top: 76px;
}

/* Navbar Styles */
.bg-custom {
    background-color: var(--primary-green) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white) !important;
}

.navbar-brand i {
    color: var(--accent-orange);
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-orange) !important;
}

.navbar-toggler {
    border-color: var(--white);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a7a4f 100%);
    color: var(--white);
    padding: 120px 0 60px;
    margin-top: -76px;
}

.page-header h1 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a7a4f 100%);
    color: var(--white);
    padding: 100px 0 80px;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-section h2 {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Custom Buttons */
.btn-custom {
    background-color: var(--accent-orange);
    color: var(--white);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #d93a0f;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Section Titles */
.section-title {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-orange);
}

.section-subtitle {
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Content Box */
.content-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-green);
}

/* Feature Cards */
.feature-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.icon-box i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h4 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--light-text);
    margin-bottom: 0;
}

/* Feature Sections */
.feature-section {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.feature-section h3 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-section h3 i {
    color: var(--accent-orange);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: var(--light-text);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list strong {
    color: var(--dark-text);
}

/* Portal Cards */
.portal-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    border-top: 4px solid var(--accent-orange);
}

.portal-card h3 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-card h3 i {
    color: var(--accent-orange);
}

/* Privacy Box */
.privacy-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.privacy-box h4 {
    color: var(--primary-green);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.privacy-box h4:first-child {
    margin-top: 0;
}

.privacy-box p {
    color: var(--light-text);
}

.privacy-box ul {
    color: var(--light-text);
}

.privacy-box strong {
    color: var(--dark-text);
}

/* Contact Card */
.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-orange);
    width: 30px;
    margin-top: 3px;
}

.contact-item h5 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--light-text);
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--primary-green) !important;
}

footer p {
    margin-bottom: 0.5rem;
}

footer .small {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .page-header {
        padding: 100px 0 40px;
        margin-top: -60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 60px 0 40px;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .content-box,
    .feature-card,
    .feature-section,
    .portal-card,
    .privacy-box,
    .contact-card {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero-section .btn:last-child {
        margin-bottom: 0;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin: 0 auto 0.5rem;
    }
}



/* Card Hover Effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}