/* --- Hero Section --- */
.hero {
    margin-top: 60px;
    width: 90%;
    max-width: 1000px;
    background: rgba(45, 50, 40, 0.4);
    /* Darker glass tint */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Cards Section --- */
.cards-container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin-top: 40px;
    margin-bottom: 50px;
    gap: 20px;
}

.card {
    flex: 1;
    padding: 30px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
}

/* Card Variants matching reference colors */
.card-1 {
    background: rgba(60, 65, 40, 0.7);
    /* Deep dark olive/green */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-2 {
    background: rgba(30, 80, 60, 0.7);
    /* Emerald green */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-3 {
    background: linear-gradient(135deg, #cbf382 0%, #a2d658 100%);
    /* Lime gradient */
    color: #2d3b1f;
    /* Dark text for light card */
}

.card-3 .btn-link {
    color: #2d3b1f;
    border-bottom: 1px solid #2d3b1f;
}

.card-3 p {
    opacity: 0.8;
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.card-3 .card-icon {
    border-color: rgba(0, 0, 0, 0.2);
}

.card-icon img {
    width: 100%;
    padding: 8px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
    opacity: 0.9;
}

.home-quick-card {
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.btn-link {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--text-white);
    align-self: flex-start;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* --- Banner Slider --- */
.banner-slider {
    position: relative;
    /* Fixed: Added for overlay/nav alignment */
    width: 90%;
    max-width: 1200px;
    height: auto;
    margin: 40px auto 0px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    background: #000;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.banner-slide.active {
    position: relative;
    opacity: 1;
    z-index: 5;
}

.banner-media {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    /* Ensures full visibility */
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.247);
    z-index: 2;
}

.banner-content {
    position: absolute;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
    animation: slideUp 0.8s ease-out;
}

.banner-content h1,
.banner-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: white;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    color: #f0f0f0;
}

.button-wrapper {
    /* Match hero-buttons if using buttons in content */
    display: flex;
    justify-content: center;
    gap: 20px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
}

.nav-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- New Sections Styles --- */

.section-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 60px 40px;
    border-radius: 30px;
}

.glass-section {
    background: rgba(45, 50, 40, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #cbf382;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* About Section */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, background 0.3s;
    text-align: center;
}

.mv-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.mv-icon {
    font-size: 2.5rem;
    color: #cbf382;
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.mv-card p {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Content Section (Why Choose Us) */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: rgba(30, 80, 60, 0.7);
    /* Emerald tint match */
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: transform 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.glass-card.highlighted {
    background: linear-gradient(135deg, #cbf382 0%, #a2d658 100%);
    color: #2d3b1f;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.glass-card p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 25px;
}

.glass-card ul {
    list-style: none;
    padding: 0;
}

.glass-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.glass-card ul li i {
    color: #2d3b1f;
}

.read-more {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
}

/* What We Do Section */
.feature-section {
    padding: 0;
    /* Remove padding as layout handles it */
    overflow: hidden;
}

.feature-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.feature-image {
    flex: 1;
    min-width: 400px;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 500px;
}

.feature-content {
    flex: 1;
    min-width: 400px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    color: #cbf382;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #fff;
}

.feature-item p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .feature-image,
    .feature-content {
        flex: 100%;
        min-width: 100%;
    }

    .feature-content {
        padding: 40px 20px;
    }

    .feature-image img {
        min-height: 300px;
    }
}

/* =========================================
   ALTERNATING LAYOUT (CONTENT SECTION)
   ========================================= */

.alternating-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    /* Space between the 3 subsections */
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.alternating-item {
    display: flex;
    flex-wrap: wrap;
    border-radius: 30px;
    overflow: hidden;
    /* Apply glass effect here */
    background: rgba(45, 50, 40, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.alternating-item.reverse {
    flex-direction: row-reverse;
}

.feature-image,
.feature-content {
    flex: 1;
    min-width: 400px;
}

.alternating-item .feature-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    min-height: 400px;
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.feature-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
}


/* RESPONSIVE RULES FOR ALTERNATING LAYOUT */
@media (max-width: 768px) {

    .alternating-item,
    .alternating-item.reverse {
        flex-direction: column !important;
    }

    .feature-image,
    .feature-content {
        min-width: 100% !important;
        flex: none !important;
        width: 100%;
    }

    .feature-content {
        padding: 30px 20px;
    }

    .feature-image img {
        min-height: 250px;
        /* Reduce height slightly for mobile */
    }
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.section-spacing {
    margin-bottom: 3rem !important;
}