/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Green Color Palette */
    --primary-green: #2E7D32;
    --secondary-green: #4CAF50;
    --light-green: #81C784;
    --dark-green: #1B5E20;
    --accent-green: #8BC34A;
    --background-light: #F1F8E9;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    flex: 0 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-green);
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.header-title {
    flex: 1;
    text-align: center;
}

.header-title h1 {
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.subtitle {
    font-size: 14px;
    color: var(--text-light);
}

.btn-login {
    background: var(--primary-green);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

/* Hero Slider Styles */
.hero-section {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-swiper {
    height: 100%;
    width: 100%;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

/* First, add debug borders to see the slides */
.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    /* Debug: Add fallback color */
    background-color: var(--primary-green);
}

/* Update slide backgrounds with correct paths */
.slide-1 {
    background-image: 
        linear-gradient(rgba(46, 125, 50, 0.8), rgba(46, 125, 50, 0.8)), 
        url('../images/banner-1.jpg');
    /* Debug: Add a solid color if image doesn't load */
    background-color: var(--primary-green);
}

.slide-2 {
    background-image: 
        linear-gradient(rgba(76, 175, 80, 0.8), rgba(76, 175, 80, 0.8)), 
        url('../images/banner-2.jpg');
    background-color: var(--secondary-green);
}

.slide-3 {
    background-image: 
        linear-gradient(rgba(27, 94, 32, 0.8), rgba(27, 94, 32, 0.8)), 
        url('../images/banner-3.jpg');
    background-color: var(--dark-green);
}

/* Add this to debug */
.hero-section {
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Light overlay for visibility */
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
}

.slide-content {
    color: var(--white);
    max-width: 600px;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background: var(--white);
    color: var(--primary-green);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--white);
}

/* Section Common Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-green);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-green);
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Departments Section */
.departments-section {
    padding: 80px 0;
    background: var(--background-light);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.department-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-green);
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon i {
    font-size: 32px;
    color: var(--white);
}

.department-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.department-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.btn-card {
    display: inline-block;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-card:hover {
    color: var(--dark-green);
    transform: translateX(5px);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    background: var(--background-light);
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--primary-green);
    transform: translateY(-5px);
}

.feature-card:hover * {
    color: var(--white);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--white);
}

.feature-icon i {
    font-size: 28px;
    color: var(--white);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: var(--primary-green);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-green);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
}

.process-section .section-header h2 {
    color: var(--white);
}

.process-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 30px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: var(--accent-green);
}

.step h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.step p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Footer Styles */
.main-footer {
    background: var(--dark-green);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo h3 {
    color: var(--white);
    margin: 0;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-green);
    transform: translateY(-3px);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--accent-green);
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-title h1 {
        font-size: 18px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    .process-steps {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .slide-content h2 {
        font-size: 24px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .departments-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}