/* --- THEME COLORS --- */
:root {
    --ne-green: #4CAF50;
    --ne-orange: #ff8c00;
    --ne-light-gray: #f8f9fa;
    --ne-dark-text: #212529; /* Improved contrast */
    --ne-secondary-text: #495057; 
}

/* --- BASE TYPOGRAPHY --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ne-dark-text);
}

h1, h2, h3 {
    color: var(--ne-dark-text);
}

/* --- BUTTON STYLING --- */
.custom-btn-orange {
    background-color: var(--ne-orange);
    border-color: var(--ne-orange);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.custom-btn-orange:hover {
    background-color: #cc7000;
    border-color: #cc7000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
}

/* --- HEADER & NAVIGATION --- */
header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1020 !important;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-logo {
    height: 40px;
}

.navbar-nav .nav-link.active {
    color: var(--ne-green) !important;
    border-bottom: 2px solid var(--ne-green);
    font-weight: 600;
}

.custom-toggler {
    border-color: var(--ne-green);
}

.custom-toggler .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%2876, 175, 80, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* === BANNER BACKGROUND IMAGES (UPDATED PATHS and positioning) === */
.custom-banner-1,
.custom-banner-2,
.custom-banner-3 {
    /* Existing background and height properties remain */
    background-size: cover;
    background-position: center center
    no-repeat;
    height: 70vh; 
    
    display: flex; /* Flexbox use karenge */
    align-items: flex-end; /* Text ko bottom mein align karega */
    justify-content: center; /* Text ko horizontally center karega */
    position: relative;
    padding-bottom: 80px; /* Neeche se thodi space (padding) dein */
}

/* Update specific banner image paths */
.custom-banner-1 {
    background-image: url('../images/banners/banner1.png');
}

.custom-banner-2 {
    background-image: url('../images/banners/banner2.png');
}

.custom-banner-3 {
    background-image: url('../images/banners/banner3.png'); /* Assuming banner3 is same as banner1 */
}


/* === Optional Overlay for Readability (UNCHANGED) === */
.custom-banner-1::before,
.custom-banner-2::before,
.custom-banner-3::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.45); /* Dark overlay for text visibility */
    z-index: 1;
}

/* Make sure text stays above overlay */
#banner-carousel .container {
    position: relative;
    z-index: 2;
    /* Max width set kar dein taaki text center mein rahe agar screen bahut badi ho */
    max-width: 900px; 
}

/* === BANNER TEXT SHADOW (NEW) === */
#banner-carousel .container h1,
#banner-carousel .container p {
    text-shadow: 2px 2px 6px rgba(2, 1, 1, 0.5); /* White shadow */
    color: white; /* Ensure text is white */
    padding-top: 60px;
}

/* Carousel Indicators ko bhi neeche shift kar dein */
.carousel-indicators {
    bottom: 20px; /* Jitni padding-bottom banner ko di hai, usse adjust karein */
    z-index: 3; /* Overlay se upar rakhein */
}


/* === MISSION & WHAT WE DO SECTION STYLING (New Layout) === */
.theme-card-green {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    border-radius: 15px;
}

.theme-card-green h2, .theme-card-green p {
    color: white;
}

.theme-card-orange {
    background: linear-gradient(135deg, #ff8c00, #ffb74d);
    color: white;
    border-radius: 15px;
}

.theme-card-orange h2, .theme-card-orange p {
    color: white;
}
/* === BANNER BACKGROUND IMAGES (UPDATED PATHS and positioning) === */




/* General card/image styling for Mission/What We Do */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.img-fluid.rounded {
    border-radius: 15px !important;
}

/* MISSION/WHAT WE DO text styling */
#our-mission-section p.lead, #what-we-do-section p.lead {
    font-size: 1.15rem; 
    line-height: 1.8;
}


/* --- TEAM / COMPANY PROFILE SECTION (4 Cards Layout & Spacing Fix) --- */
#company-profile {
    background-color: var(--ne-light-gray);
    padding-top: 100px;
    padding-bottom: 100px;
    margin-bottom: 100px;
}

.team-card-wrapper {
    display: flex;
    align-items: stretch;
    margin-top: 70px;
}

.team-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    padding: 65px 25px 30px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
    height: 100%;
    margin-top: 60px;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.profile-img-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--ne-green);
    background-color: #fff;
    position: absolute;
    top: -75px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* FIX: Spacing for Name and Designation */
.team-card h4 {
    color: var(--ne-dark-text);
    /* margin-bottom: 10px; Separates name (h4) from designation (h6) */
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 40px;
}

.team-card h6 {
    color: var(--ne-orange);
    font-weight: 600;
    margin-bottom: 25px; /* Separates designation (h6) from paragraph */
    font-size: 0.95rem;

}

.team-card p {
    text-align: left;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--ne-secondary-text);
}


/* --- RESPONSIVE FIX --- */
@media (max-width: 991px) { /* Tablet screens and smaller */
    /* Mission/What We Do: Added space between image and text when stacking */
    #our-mission-section .col-md-6 img,
    #what-we-do-section .col-md-6 img {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767px) {
    /* Team Section: 2 cards per row on mobile/small tablets (col-sm-6) */
    .col-md-3.col-sm-6.d-flex {
        margin-bottom: 75px;
    }
}







/* === NEW ABOUT US SECTION STYLING (MODERN ENHANCEMENT) === */
/* ------------------------------------------- */

/* Main About Card Style */
.about-main-card {
    background-color: #ffffff; /* White background */
    border: none; /* Border removed for cleaner look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft, prominent shadow */
    transition: box-shadow 0.3s ease;
}

.about-main-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important; /* Deeper shadow on hover */
}

/* Feature Box Colors and Styling */

/* Green Theme for Feature Box 1 */
.text-success-ne { color: var(--ne-green) !important; }
.bg-success-subtle-ne { 
    background-color: rgba(76, 175, 80, 0.08) !important; 
    border-color: rgba(76, 175, 80, 0.5) !important;
}

/* Orange Theme for Feature Box 2 */
.text-orange-ne { color: var(--ne-orange) !important; }
.bg-orange-subtle-ne { 
    background-color: rgba(255, 140, 0, 0.08) !important; 
    border-color: rgba(255, 140, 0, 0.5) !important;
}

/* Primary/Blue Theme for Feature Box 3 */
.text-primary-ne { color: #0d6efd !important; }
.bg-primary-subtle-ne { 
    background-color: rgba(13, 110, 253, 0.08) !important; 
    border-color: rgba(13, 110, 253, 0.5) !important;
}

/* Common Feature Box Styling */
.feature-box {
    background-color: var(--ne-light-gray);
    border: 1px solid #dee2e6; /* Light border */
    transition: all 0.3s ease;
    border-radius: 12px !important;
    padding: 30px; /* Thori padding kam ki */
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-color: #fff;
}

/* Icon Circle Styling (The actual circle) */
.icon-circle {
    width: 70px; /* Slightly larger circle */
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid; /* Thicker border for better look */
    font-size: 1.8rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.feature-box h3 {
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.feature-box p.small {
    font-size: 0.9rem;
    line-height: 1.6;
}
/* ------------------------------------------- */
/* End of New About Section CSS */
/* ------------------------------------------- */

/* Old About Us Section hide karein */
#about-us {
    display: none;
}

/* Animation Classes for Slide Effects */
.animate-slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Trigger animation when in viewport */
.animate-slide-right.animate,
.animate-slide-left.animate {
    opacity: 1;
    transform: translateX(0);
}
