/* Container Fix */
.ab_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Section Title - Updated to match the clean sans-serif look in the image */
.section-title {
    font-family: 'Arial', sans-serif; /* Switch to standard sans-serif */
    font-weight: 700;
    color: #0f1016;
    margin-top: 2em;
    margin-bottom: 20px;
}
/* =========================================
   HERO CARD SECTION 
   ========================================= */

.hero-card-section {
    background: linear-gradient(to right, #f0fdf4, #f0f9ff); /* Soft Green-to-Blue tint */
    padding: 100px 0;
    font-family: 'Inter', sans-serif; /* Clean Sans-Serif */
}

.hero-split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* --- Text Side --- */
.hero-text-content {
    flex: 1;
    max-width: 550px;
}

.hero-title {
    font-size: 3.5rem; /* Big & Bold */
    font-weight: 700;
    line-height: 1.1;
    color: #111827; /* Dark Grey/Black */
    margin-bottom: 25px;
}

.highlight-text {
    color: #2563eb; /* Matches the blue "Building" text in reference */
    /* If you want the green gradient from the image instead: */
    /* background: linear-gradient(90deg, #16a34a, #84cc16); 
       -webkit-background-clip: text; 
       -webkit-text-fill-color: transparent; */
}

.hero-desc {
    font-size: 1.125rem;
    color: #4b5563; /* Medium Grey */
    line-height: 1.7;
    margin-bottom: 20px;
}

/* --- Buttons --- */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* Primary Button (Green Gradient) */
.btn-primary-gradient {
    background: linear-gradient(90deg, #15803d, #65a30d); /* Dark Green to Lime */
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(21, 128, 61, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 128, 61, 0.4);
}

/* Secondary Button (Outline) */
.btn-secondary-outline {
    background: transparent;
    color: #15803d; /* Green Text */
    border: 2px solid #15803d;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-secondary-outline:hover {
    background: #f0fdf4;
    color: #14532d;
}

/* --- Image Side --- */
.hero-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 30px; /* Large rounded corners */
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08); /* Soft, spread-out shadow */
    aspect-ratio: 4/3;
    animation: float 6s ease-in-out infinite;
    max-width: 600px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px); /* Moves up 20px */
    }
    100% {
        transform: translateY(0px); /* Comes back down */
    }
}
/* --- Responsive --- */
@media (max-width: 900px) {
    .hero-card-section {
        padding: 60px 0;
        text-align: center;
    }

    .hero-split-layout {
        flex-direction: column-reverse; /* Image on top */
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .hero-text-content {
        max-width: 100%;
    }

    .hero-image-wrapper {
        width: 100%;
        max-width: 100%;
    }
}
/* =========================================
   4. STATS SECTION (DARK STRIP)
   ========================================= */
.stats-section {
    background-color: #0b0d17; /* Pitch Dark Background from your update */
    color: #ffffff;
    padding: 60px 0;
    margin-top: 40px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.stat-box {
    padding: 20px;
    min-width: 200px;
    position: relative;
}

.stat-box h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    display: inline-block; /* Updated based on your code */
}

.stat-box p {
    font-size: 0.9rem;
    color: #8892b0; /* Soft Blue-Grey text */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.plus-sign {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #0052D4, #6FB1FC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   5. EXPERTISE CARDS (REUSED STYLE)
   ========================================= */
.row-top {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: #ffffff;
    width: 350px; /* Thoda chouda card */
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 5px solid #0052D4; /* Blue Top Line */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.card-icon {
    height: 70px;
    margin-bottom: 25px;
}

.card-icon img {
    height: 100%;
    object-fit: contain;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f1016;
}

.card p {
    font-size: 0.95rem;
    color: #666;
}
/* WHy CHOOSE US */
/* =========================================
   WHY CHOOSE US (Distinct Professional Look)
   ========================================= */
/* ================= 3. WHY CHOOSE US================= */
.choose-section {
    background-color: #f0f4f8; /* Halka Blue-Grey Background */
    padding: 80px 0;
}

.grid-choose {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.choose-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent; /* Bottom border hidden initially */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Hover Effect: Card Uthega aur Blue Border Aayega */
.choose-card:hover {
    transform: translateY(-10px);
    border-bottom-color: #007BFF;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

/* Icon Styling */
.icon-wrapper {
    width: 80px;
    height: 80px;
    background: #eef5ff; /* Light Blue Circle */
    color: #007BFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    font-size: 2.5rem;
    transition: 0.4s;
}

.choose-card:hover .icon-wrapper {
    background: #007BFF;
    color: #fff;
    transform: rotate(360deg); /* Icon ghoomega hover pe */
}

.choose-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #222;
    font-weight: 700;
}

.choose-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}
.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}
.section-header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

   /* =========================================
   FAQ SECTION 
   ========================================= */

.faq_section {
    background-color: #f8f9fc; /* Light grey background to separate from white sections */
    padding: 80px 0;
}

.faq_wrapper {
    max-width: 800px; /* Limits width for better readability */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* The Box Styling */
.faq_box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hover Effect */
.faq_box:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* The Clickable Header */
.faq_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    list-style: none; /* Removes default triangle */
}

/* Remove default marker in some browsers */
.faq_header::-webkit-details-marker {
    display: none;
}

.faq_header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

/* Plus Icon Styling */
.icon_plus {
    width: 32px;
    height: 32px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

/* The Answer Content */
.faq_content {
    padding: 0 25px 25px;
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

/* --- ACTIVE STATE (When Open) --- */

/* Rotate Icon to 'X' */
.faq_box[open] .icon_plus {
    transform: rotate(45deg);
    background: #2563eb;
    color: #fff;
}

/* Change Title Color */
.faq_box[open] .faq_header h3 {
    color: #2563eb;
}

/* Add border line between Question and Answer */
.faq_box[open] .faq_content {
    border-top: 1px solid #f3f4f6;
    padding-top: 15px;
}
/* --- ANIMATION CLASSES --- */

/* Initial State: Hidden aur thoda neeche */
.scroll-animate {
    margin: 2em auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out; /* Smooth transition */
}

/* Final State: Visible aur apni jagah par */
.scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes (Cards ek ke baad ek aayenge) */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* =========================================
   7. RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 900px) {
    /* Since we didn't use container explicitly in media queries, 
       this mostly affects the layout inside .ab_container */
    
    .split-container {
        flex-direction: column; /* Image neeche, Text upar */
        text-align: center;
    }

    .split-image {
        width: 100%;
        height: 300px;
    }

    .split-text h3 {
        text-align: center !important;
    }

    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }
}