:root {
    --primary-color: #2E7D32; /* Green from logo */
    --secondary-color: #1565C0; /* Blue from logo */
    --dark-color: #212121;
    --footer-bg: #1a1a1a;
    --light-text: #e0e0e0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    line-height: 1.6;
}

/* Link Colors */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: #1b5e20;
    border-color: #1b5e20;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 100px 0;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content .btn {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
}

/* Gallery Section */
.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.gallery-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.gallery-item:hover img {
    transform: scale(1.1);
}

/* News Section */
.news-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.news-card img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 200px;
    object-fit: cover;
}

/* Comment Section */
.comment-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}
.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Partnership Section */
.partner-logo {
    transition: 0.3s;
    max-width: 150px;
}

/* Floating Career Button for Mobile */
.floating-career {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
@media (min-width: 992px) {
    .floating-career {
        display: none;
    }
}

/* Mobile Responsive Improvements */
@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .service-card .card-body {
        padding: 20px;
    }
    .service-icon {
        width: 60px;
        height: 60px;
    }
    .stats-section {
        padding: 40px 0;
    }
    .stats-section h2 {
        font-size: 1.8rem;
    }
    .gallery-item img {
        height: 200px;
    }
    .news-card img {
        height: 150px;
    }
    .comment-item {
        padding: 15px;
    }
    .partner-logo {
        max-width: 100px;
    }
}

@media (max-width: 768px) {
    .navbar {
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .top-bar {
        display: none !important;
    }
    .navbar-brand img {
        height: 40px;
    }
    .card {
        margin-bottom: 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Button Hover Effects */
.btn {
    transition: all 0.3s ease;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Card Animations */
.card {
    animation: fadeInUp 0.6s ease;
}

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

/* Form Focus Improvements */
.form-control {
    transition: all 0.3s ease;
}

.form-control:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

/* Improved Touch Targets */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        padding: 10px 20px;
    }
    a, button {
        min-width: 44px;
        min-height: 44px;
    }
}


/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    color: inherit;
}

.service-card .card-body {
    padding: 30px;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

/* Footer Styling - Fixed for contrast */
footer {
    background-color: var(--footer-bg) !important;
    color: var(--light-text) !important;
}

footer h5 {
    color: #ffffff !important;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

footer .text-muted {
    color: #b0b0b0 !important;
}

footer a.text-muted:hover {
    color: #ffffff !important;
    padding-left: 5px;
}

footer .social-links a {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.2) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

footer .social-links a:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

footer i.text-primary {
    color: var(--primary-color) !important;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}

/* Contact Form */
.contact-form .form-control {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}
