/* ================= IMPORT FONTS ================= */
/* Using Poppins as seen in your reference images for a modern look */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-dark: #1e293b;
  --brand-green: #8cc63f;
  --brand-teal: #20c997;
  --brand-blue: #0056b3;
  --brand-blue-grad: linear-gradient(to right, #0056b3, #007bff);
  --text-grey: #555;
  --light-bg: #f8f9fa;
  --white: #ffffff;
}

/* ================= GLOBAL STYLES ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
section {
  padding: 70px 0;
}
.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

/* ================= ANIMATION (Reveal on Scroll) ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= BANNER SECTION ================= */
/* =========================================
   INTEGRATED HERO SECTION (Matches Image)
   ========================================= */
/* =========================================
   BMS HERO SECTION (Dark Theme)
   ========================================= */

.integrated-hero {
    /* 1. New Dark Radial Background */
    background: radial-gradient(circle at center, #072a33 0%, #000000 75%);
    padding: 100px 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    color: #ffffff; /* Default text color is now white */
}

/* Container for width control */
.ab_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.integrated-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* --- Left Text Side --- */
.integrated-text {
    flex: 1;
    max-width: 600px;
}

.integrated-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff; /* White Headline */
    margin-bottom: 25px;
}

/* Specific Text Colors */
.text-blue {
    color: #2f80ed; /* Brighter Blue for Dark Background */
}

.text-green {
    color: #4caf50; /* Vibrant Green for Dark Background */
}

.integrated-text p {
    font-size: 1.1rem;
    color: #d1d5db; /* Light Grey for description */
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 90%;
}

/* --- Buttons --- */
.hero-actions {
    display: flex;
    gap: 20px;
}

/* Button 1: White Background with Blue Text */
.btn-gradient-green {
    background: #ffffff;
    color: #072a33; /* Dark Text */
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.3s;
}

.btn-gradient-green:hover {
    transform: translateY(-3px);
    background: #f0fdf4;
}

/* Button 2: Transparent with White Border */
.btn-outline-blue {
    background: transparent;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #ffffff; /* White Border */
    transition: all 0.3s ease;
}

.btn-outline-blue:hover {
    background: #ffffff;
    color: #072a33; /* Dark text on hover */
}

/* --- Right Image Side --- */
.integrated-img {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
}

.integrated-img img {
    margin-right: -5.5rem;
    width: 42em;
    object-fit: contain; 
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .integrated-hero {
        padding: 60px 0;
        text-align: center;
        background: radial-gradient(circle at center, #072a33 0%, #000000 90%); /* Adjusted gradient for mobile */
    }

    .integrated-split {
        flex-direction: column-reverse; /* Image moves to top on mobile */
        gap: 40px;
    }

    .integrated-text {
        max-width: 100%;
    }

    .integrated-text h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .integrated-img {
      max-width: 100%;
        justify-content: center;
    }
}/* ================= GRIDS ================= */
.comp-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* ================= DESIGN VARIATION 1: IMAGE CARDS (Main Components) ================= */
/* Style inspired by "OUR PRODUCTS" page (Image 1) - Clean, NO top border initially */
.comp-card {
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: block;
  /* Ensures anchor behaves as block */
  border-bottom: 3px solid transparent;
  /* Hidden border for hover effect */
  text-align: center;
  /* No Green Top Border here for variety */
}

.comp-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  /* Blue bottom border on hover for variety */
  border-bottom: 3px solid var(--brand-blue);
}

.comp-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.comp-card h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  font-weight: 600;
}

/* ================= DESIGN VARIATION 2: TEXT CARDS (Services, FAQ, Why Us) ================= */
/* Style inspired by "Vision & Mission" (Image 2 & 4) - WITH Green Top Border */
.card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  /* THE GREEN TOP BORDER - Kept only for these cards */
  border-top: 5px solid var(--brand-green);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-7px);
}

/* Headings inside text cards */
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
}

.card h3 i {
  color: var(--brand-green);
  margin-right: 10px;
  font-size: 1.4rem;
}

/* For FAQ bold text */
.card b {
  color: var(--brand-blue);
  /* Using blue for emphasis in text */
}

/* ================= DESIGN VARIATION 3: DETAILED ZIG-zag ROWS ================= */
.component-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}

.component-row:nth-child(even) {
  flex-direction: row-reverse;
  /* Zig-zag pattern */
}

.comp-img {
  flex: 1;
}

.comp-img img {
  width: 100%;
  border-radius: 15px;
  /* Stronger shadow for images */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.comp-text {
  flex: 1;
}

.comp-text h3 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  /* Using BLUE accent border here for variety, instead of green */
  border-left: 6px solid var(--brand-blue);
  padding-left: 20px;
  line-height: 1.2;
}

/* ================= FLOW CHART ================= */
.flow-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 40px;
}

.flow-step {
  background: var(--white);
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  font-weight: 600;
  color: var(--primary-dark);
  border: 2px solid #eee;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s;
}

.flow-step:hover {
  border-color: var(--brand-green);
  transform: scale(1.05);
}

.flow-step i {
  color: var(--brand-green);
  font-size: 1.8rem;
}

.flow-arrow {
  font-size: 2rem;
  color: var(--brand-teal);
  /* Teal arrows */
  font-weight: 900;
}

/* ================= CTA SECTION & BUTTONS ================= */
/* Making the CTA section dark blue/grey similar to footer/header */
section.cta {
  background-color: var(--primary-dark) !important;
}

/* Blue Gradient Button - Inspired by Hero Section (Image 3) */
.btn-secondary {
  display: inline-block;
  /* BLUE GRADIENT BACKGROUND */
  background: var(--brand-blue-grad);
  color: var(--white) !important;
  /* Force white text */
  padding: 15px 40px;
  border-radius: 50px;
  /* Pill shape like hero buttons */
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
  border: none;
}

.btn-secondary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 86, 179, 0.5);
  filter: brightness(1.1);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }

  h2 {
    font-size: 1.8rem;
  }

  .fas-banner-text h1 {
    font-size: 2.2rem;
  }

  .component-row,
  .component-row:nth-child(even) {
    flex-direction: column;
    text-align: left;
    gap: 30px;
  }

  /* Mobile pe blue border bottom mein aayega */
  .comp-text h3 {
    border-left: none;
    border-bottom: 4px solid var(--brand-blue);
    padding-left: 0;
    padding-bottom: 10px;
  }

  .flow-arrow {
    display: none;
    /* Hide arrows on mobile, stack steps */
  }

  .flow-step {
    width: 100%;
    justify-content: center;
  }
}

/* --- Process Section Wrapper --- */
.process-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.flow-wrap {
  display: flex;
  justify-content: center;
  align-items: stretch;
  /* Cards barabar height ke rahenge */
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 50px;
}

/* --- The Card (Main Fix) --- */
.flow-step {
  background: #fff;
  width: 240px;
  /* Thoda chauda kiya taaki text na dabbe */
  padding: 30px 20px;
  border-radius: 12px;

  /* Flex Column: Ye content ko Upar-Neeche stack karega */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center horizontally */
  justify-content: flex-start;
  gap: 15px;
  /* Icon, Title aur Text ke beech gap */

  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: transform 0.3s ease;
}

.flow-step:hover {
  transform: translateY(-5px);
  border-color: #007BFF;
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.15);
}

/* --- Icon Styling --- */
.icon-circle {
  width: 60px;
  height: 60px;
  background: #eef5ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* Icon kabhi pichkega nahi */
}

.icon-circle i {
  font-size: 1.8rem;
  color: #007BFF;
}

/* --- Text Styling --- */
.flow-step h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
}

.flow-step p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* --- Arrow Styling --- */
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ccc;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
  .flow-wrap {
    flex-direction: column;
    /* Phone pe seedha neeche */
    align-items: center;
  }

  .flow-arrow {
    transform: rotate(90deg);
    /* Arrow neeche ghum jayega */
    margin: 10px 0;
    color: #007BFF;
  }

  .flow-step {
    width: 100%;
    max-width: 320px;
  }
}

/* ================= GLOBAL SECTION HEADINGS ================= */
section {
  padding: 70px 0;
}

h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  color: #333;
}

h2 i {
  color: #007BFF;
  margin-right: 10px;
}

/* ================= 1. COMPLIANCE (Badges Look) ================= */
.compliance-section {
  background: #f8f9fa;
}

.grid-standard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.std-card {
  background: white;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #28a745;
  /* Green for Compliance */
  font-weight: 600;
  color: #444;
  transition: 0.3s;
}

.std-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ================= 2. APPLICATIONS (Tiles Look) ================= */
.grid-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.tile {
  background: #eef5ff;
  color: #007BFF;
  padding: 15px 30px;
  border-radius: 50px;
  /* Pill Shape */
  font-weight: 600;
  border: 1px solid #cce5ff;
  transition: 0.3s;
}

.tile:hover {
  background: #007BFF;
  color: white;
  transform: scale(1.05);
  cursor: default;
}

/* ================= 3. INSTALLATION (Step Cards) ================= */
.grid-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.step-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #eee;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.step-num {
  font-size: 3rem;
  font-weight: 800;
  color: #f0f4f8;
  /* Very light grey background number */
  position: absolute;
  top: -10px;
  right: 10px;
  z-index: 0;
}

.step-card h3 {
  position: relative;
  z-index: 1;
  margin: 10px 0 0 0;
  color: #333;
}

.step-card:hover {
  border-color: #007BFF;
}

/* ================= 4. DETAILED COMPONENTS (Zig-Zag) ================= */
.detail-section {
  background: #fff;
}

.component-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
  /* Gap between rows */
}

/* Image Side */
.comp-img {
  flex: 1;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.comp-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.component-row:hover .comp-img img {
  transform: scale(1.03);
}

/* Text Side */
.comp-text {
  flex: 1;
}

.comp-text h3 {
  font-size: 1.8rem;
  color: #007BFF;
  margin-bottom: 15px;
}

.comp-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

/* Reverse Layout (Right Image, Left Text) */
.component-row.reverse {
  flex-direction: row-reverse;
}

/* ================= 5. SERVICES (Feature Cards) ================= */
.services-section {
  background: #222;
  /* Dark Theme for Services */
  color: #fff;
}

.services-section h2 {
  color: #fff;
}

.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.svc-card {
  background: #e1c8c8;
  padding: 30px;
  border-radius: 10px;
  border-top: 4px solid #007BFF;
  transition: 0.3s;
}

.svc-card h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.svc-card p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.5;
}

.svc-card:hover {
  background: #444;
  transform: translateY(-5px);
}

/* ================= MOBILE RESPONSIVENESS ================= */
@media (max-width: 900px) {

  /* Zig-Zag becomes vertical stack */
  .component-row,
  .component-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin-bottom: 50px;
  }

  .comp-img img {
    height: 200px;
    /* Smaller images on mobile */
  }

  /* Tiles Adjust */
  .grid-tiles {
    gap: 10px;
  }

  .tile {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* --- Global Section Headers --- */
.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;
}

/* ================= 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;
}

/* ================= 6. FAQ SECTION (Clean Grid) ================= */
.faq-section {
  background: #fff;
  padding: 80px 0;
}

.grid-faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  /* Thoda chauda card */
  gap: 25px;
}

.faq-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 12px;
  border-left: 5px solid #ddd;
  /* Grey Border Left */
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

/* FAQ Hover Effect */
.faq-card:hover {
  border-left-color: #007BFF;
  /* Border Blue ho jayega */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
  /* Thoda Right Khiskega */
}

.faq-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-card h3 i {
  color: #007BFF;
  font-size: 1.4rem;
}

.faq-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
  padding-left: 36px;
  /* Text Icon ke neeche align hoga */
}

/* FAQ Text Highlight (Bold) */
.faq-card p b {
  color: #222;
  font-weight: 600;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {

  .grid-choose,
  .grid-faq {
    grid-template-columns: 1fr;
    /* Mobile pe single column */
  }

}

.faq-card p {
  padding-left: 0;
  /* Mobile pe padding hata do taaki jagah bache */
}


/* ================= SERVICES SECTION (Ultra Dark Tech Theme) ================= */
.services-section {
  /* Pure Solid Dark Background */
  background-color: #050a10;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

/* Header Styling */
.services-section .section-header h2 {
  color: #0a0707;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.services-section .section-header p {
  color: #94a3b8;
  /* Cool Grey */
  font-size: 1.1rem;
}

/* --- Grid Layout --- */
.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  padding: 0 10px;
}

/* --- Service Card Styling (The Main Change) --- */
.svc-card {
  /* Gradient Background for 3D depth */
  background: linear-gradient(145deg, #131b29, #0b1019);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Bouncy effect */
  border: 1px solid #1e293b;
  /* Subtle border */
  position: relative;
  z-index: 1;
}

/* Hover Effect: Neon Glow & Lift */
.svc-card:hover {
  transform: translateY(-12px);
  /* Thoda upar uthega */
  border-color: #3b82f6;
  /* Bright Blue Border */
  /* Neon Blue Glow Shadow */
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4),
    0 0 10px rgba(59, 130, 246, 0.2) inset;
  background: linear-gradient(145deg, #1a253a, #0f1621);
}

/* --- Icon Styling (Glowing Orb) --- */
.svc-icon {
  font-size: 2.5rem;
  color: #60a5fa;
  /* Lighter Blue */
  margin-bottom: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(30, 41, 59, 0.5);
  /* Semi-transparent */
  border-radius: 50%;
  border: 1px solid #334155;
  transition: 0.4s;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Icon Animation on Hover */
.svc-card:hover .svc-icon {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
  /* Icon Glow */
  transform: rotateY(180deg) scale(1.1);
  /* Spin & Zoom */
}

/* --- Typography --- */
.svc-card h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #f1f5f9;
  /* Almost White */
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.svc-card:hover h3 {
  color: #60a5fa;
  /* Title turns Blue on hover */
}

.svc-card p {
  font-size: 0.95rem;
  color: #94a3b8;
  /* Slate Grey text */
  line-height: 1.7;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .grid-services {
    grid-template-columns: 1fr;
  }

  .svc-card {
    margin-bottom: 10px;
  }
}

/* ================= PREMIUM ZIG-ZAG LAYOUT ================= */
.detail-section {
  background-color: #fcfcfc;
  /* Very light grey background */
  padding: 100px 0;
  overflow: hidden;
  /* Safety for floating elements */
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  color: #1a1a1a;
  margin-bottom: 80px;
  font-weight: 800;
  letter-spacing: -1px;
}

/* --- Row Structure --- */
.component-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 100px;
  /* Space between rows */
  position: relative;
}

/* --- AUTOMATIC ZIG-ZAG MAGIC --- */
/* Har 'Even' number wala row (2, 4, 6) ko ulta kar do */
.component-row:nth-child(even) {
  flex-direction: row-reverse;
}

/* --- Image Side Styling --- */
.comp-img {
  flex: 1;
  position: relative;
  z-index: 2;
}

.comp-img img {
  width: 100%;
  max-width: 550px;
  /* Thoda control size */
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  /* Deep Shadow */
  transition: transform 0.4s ease;
  border: 5px solid #fff;
  /* White crisp border */
}

/* Image Hover Effect - 3D Lift */
.component-row:hover .comp-img img {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 123, 255, 0.2);
  /* Blue tint shadow */
}

/* --- Text Side Styling --- */
.comp-text {
  flex: 1;
  position: relative;
  padding: 20px;
}

/* Big Watermark Number (The Kalakari) */
.step-number {
  position: absolute;
  top: -99px;
  left: -14px;
  font-size: 8rem;
  /* Bahut bada number background mein */
  font-weight: 900;
  color: rgba(0, 0, 0, 0.04);
  /* Ekdum light grey, transparent */
  z-index: -1;
  /* Text ke peeche rahega */
  line-height: 1;
  font-family: sans-serif;
}

/* Text Content */
.comp-text h3 {
  font-size: 2.2rem;
  color: #007BFF;
  /* Theme Blue */
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

/* Heading ke neeche choti line */
.comp-text h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #007BFF;
  margin-top: 10px;
  border-radius: 2px;
}

.comp-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  font-weight: 400;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
  .component-row {
    flex-direction: column !important;
    /* Mobile pe sab seedha */
    gap: 30px;
    text-align: center;
    margin-bottom: 60px;
  }

  /* Reverse wala rule mobile pe tod do */
  .component-row:nth-child(even) {
    flex-direction: column !important;
  }

  .comp-img img {
    height: auto;
    width: 100%;
  }

  /* Mobile pe watermark number adjust karo */
  .step-number {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    /* Center mein */
    font-size: 6rem;
  }

  .comp-text h3::after {
    margin: 10px auto;
    /* Line center karo */
  }
}

/* ================= TESTIMONIALS SECTION ================= */
.testimonial-section {
  background-color: #f8fbff;
  /* Very Light Blueish Grey */
  padding: 80px 0;
}

.testimonial-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 50px;
}

/* --- Grid Layout --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* --- Review Card --- */
.testi-card {
  background: #fff;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Soft Shadow */
  position: relative;
  border-top: 5px solid #007BFF;
  /* Top Blue Line */
  transition: transform 0.3s ease;
}

.testi-card:hover {
  transform: translateY(-10px);
  /* Lift Effect */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* --- Quote Icon (Decoration) --- */
.quote-icon {
  font-size: 3rem;
  color: #eef5ff;
  /* Very Light Blue Icon Background */
  position: absolute;
  top: 20px;
  right: 20px;
}

.quote-icon i {
  color: #007BFF;
  opacity: 0.2;
  /* Transparent effect */
}

/* --- Review Text --- */
.review-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* --- Reviewer Profile Area --- */
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

/* Avatar Circle */
.avatar {
  width: 50px;
  height: 50px;
  background: #007BFF;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Name & Stars */
.details h4 {
  font-size: 1rem;
  color: #222;
  margin-bottom: 2px;
  font-weight: 700;
}

.details span {
  font-size: 0.85rem;
  color: #777;
  display: block;
  margin-bottom: 5px;
}

.stars {
  color: #f1c40f;
  /* Golden Yellow Color */
  font-size: 0.9rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}
.custom-shape-divider-bottom-1771056143 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1771056143 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 97px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1771056143 .shape-fill {
    fill: #F0F6FF;
}