:root {
    --primary-red: #386641;
    --primary-green: #386641;
    --text-dark: #386641;
    --text-light: #F2E8CF;
    --background-light: #ffffff;
/*    --background-dark: #1d3557; 1d5742*/
    --background-dark: #386641;
    --grey-light: #f8f9fa;
    --grey-dark: #343a40;
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Top Bar */
.top-bar {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 1.5rem;
}

.social-links a {
    color: var(--text-light);
    margin-left: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-red);
}

/* Header */
.header {
    position: fixed; /* Change from sticky to fixed */
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* New class for transparent header */
.header-transparent {
    background: transparent;
    box-shadow: none;
}

/* New class for scrolled header */
.header-scrolled {
    background: var(--background-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Add these styles for better visibility when transparent */
.header-transparent .logo h1,
.header-transparent .logo .tagline,
.header-transparent .nav-links a {
    color: #fff;
}

.header-transparent .mobile-menu-btn span {
    background-color: #fff;
}

/* Adjust the container padding */
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 1rem; /* Increased padding for transparent state */
    transition: padding 0.3s ease;
}

/* Reduce padding when scrolled */
.header-scrolled .container {
    padding: 1rem;
}

.logo h1 {
    color: var(--primary-red);
    font-size: 2rem;
    font-weight: 700;
}

.tagline {
    color: var(--primary-green);
    font-size: 1rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-red);
}

.contact-btn {
    background: var(--primary-red);
    color: var(--text-light) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
}

/* Hero Section */
/*.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('../images/hero-bg.jpg') center/cover;
    color: var(--text-light);
    display: flex;
    align-items: center;
}*/

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}

.hero-content {
    color: white;
    max-width: 600px;
}

.hero-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-red);
    color: var(--text-light);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

/* Services Preview */
.services-preview {
    padding: 5rem 0;
    background: var(--grey-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* ... (previous CSS remains the same until service-card) ... */

.read-more {
    color: var(--primary-red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-weight: 500;
}

/* Stats Counter */
.stats-counter {
    background: var(--primary-green);;
    color: var(--text-light);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item .counter {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 5rem 0;
    background: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: var(--grey-light);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                url('../images/bg.jpg') center/cover;
    color: var(--text-light);
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Footer Styles */
.footer {
    background: var(--background-dark);
    color: var(--text-light);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-info h3 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.footer-contact h3,
.footer-links h3 {
    margin-bottom: 1.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text-dark);
        margin: 5px 0;
        transition: var(--transition);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background-light);
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Add to your CSS file */
.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide.active {
    opacity: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.4);
}

.slider-arrow.prev {
    left: 1rem;
}

.slider-arrow.next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    .slider-arrow {
        padding: 0.75rem;
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 400px;
    }
    
    .slider-arrow {
        padding: 0.5rem;
        font-size: 1rem;
    }
}

.overlay {
    background: linear-gradient(-90deg, #00000000 0%, #0f313ae6 65%);
}

/* About Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(-90deg, #00000000 0%, #0c3985e6 65%),
                url('../images/bg.jpg') center/cover;
    padding: 100px 0 50px;
    color: var(--text-light);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
}

.breadcrumb li a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
}

/* Company Overview */
.company-overview {
    padding: 5rem 0;
    background: var(--background-light);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.overview-content {
    padding-right: 2rem;
}

.overview-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.company-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.highlight-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

/* Mission & Vision */
.mission-vision {
    padding: 5rem 0;
    background: var(--grey-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.mv-card {
    background: var(--background-light);
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-card .icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

/* Core Values */
.core-values {
    padding: 5rem 0;
    background: var(--background-light);
}

/* Certifications */
.certifications {
    padding: 5rem 0;
    background: var(--grey-light);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.cert-item img {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .overview-content {
        padding-right: 0;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

