/* ================= GLOBAL DESIGN VARIABLES & RESETS ================= */
:root {
  --primary-color: #ff5722;    /* Vibrant Energetic Orange Accent */
  --dark-slate: #0f172a;      /* High contrast dark texts */
  --light-bg: #f8fafc;        /* Secondary panel soft layout background */
  --body-text: #475569;       /* Muted grey paragraphs */
  --white: #ffffff;
  
  /* Font Family Definitions */
  --heading-font: 'Playfair Display', Georgia, serif;
  --body-font: 'Poppins', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: var(--body-font);
  color: var(--body-text);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--dark-slate);
  letter-spacing: 0.3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* Reusable Section Typography Standards */
.sub-heading {
  font-family: var(--body-font);
  color: #0066cc;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin: 0 0 15px 0;
  font-weight: 700;
}

.section-header p {
  font-family: var(--body-font);
  color: var(--body-text);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ================= HERO BREADCRUMB STYLING ================= */
.agaram-about-hero {
  background: url('../images/about-agaram.jpg') no-repeat center center/cover;
  background-color: #1e293b;
  position: relative;
  padding: 160px 0 100px 0; 
  text-align: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin: 0 0 10px 0;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: white;
}

.hero-content p, .hero-content p a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
}

.hero-content p i {
  font-size: 0.75rem;
  margin: 0 8px;
  color: #0099ff;
}

.hero-content p span {
  color: var(--white);
  font-weight: 600;
}

/* ================= INTRO COMPONENT STYLING ================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.intro-text h2 {
  font-size: 2.4rem;
  color: var(--dark-slate);
  margin: 0 0 20px 0;
  font-weight: 800;
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--dark-slate);
  font-weight: 600;
  margin-bottom: 15px;
}

.intro-text p {
  color: var(--body-text);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 20px;
}

.intro-badge {
  background: linear-gradient(135deg, rgba(0,102,204,0.05) 0%, rgba(0,153,255,0.05) 100%);
  border-left: 5px solid #0066cc;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 0 12px 12px 0;
  margin-top: 30px;
  box-shadow: 0 6px 20px rgba(0,102,204,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.intro-badge:hover {
  box-shadow: 0 10px 30px rgba(0,102,204,0.15);
  transform: translateX(5px);
}

.intro-badge i {
  color: #0066cc;
  font-size: 1.8rem;
  min-width: 30px;
}

.intro-badge span {
  color: var(--dark-slate);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Image Matrix Graphic Setup */
.image-stack {
  position: relative;
  padding-bottom: 30px;
}

.main-img-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,102,204,0.12);
  background-color: #e2e8f0;
  border: 2px solid rgba(0,102,204,0.05);
  transition: all 0.4s ease;
}

.image-stack:hover .main-img-frame {
  box-shadow: 0 30px 60px rgba(0,102,204,0.18);
  border: 2px solid rgba(0,102,204,0.1);
}

.responsive-img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 20px;
}

.experience-counter {
  position: absolute;
  bottom: 0;
  right: 30px;
  background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
  color: var(--white);
  padding: 24px 30px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,102,204,0.3);
  max-width: 200px;
  text-align: center;
  transition: all 0.3s ease;
}

.image-stack:hover .experience-counter {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,102,204,0.4);
}

.experience-counter h3 {
  font-size: 2.2rem;
  margin: 0 0 6px 0;
  font-weight: 800;
  letter-spacing: -1px;
}

.experience-counter p {
  font-size: 0.8rem;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: 0.5px;
  opacity: 0.95;
}

/* ================= VALUE TILES GRID STYLING ================= */
.agaram-why-choose {
  background: linear-gradient(135deg, var(--light-bg) 0%, #f1f5f9 100%);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.value-card {
  background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
  padding: 40px;
  border-radius: 16px;
  border: 2px solid transparent;
  box-shadow: 0 8px 25px rgba(15,23,42,0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  background-clip: padding-box;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066cc, #0099ff);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(15,23,42,0.15);
  border: 2px solid rgba(0, 102, 204, 0.2);
}

.value-card:hover::before {
  transform: translateX(0);
}

.card-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 25px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  background: linear-gradient(135deg, rgba(0,102,204,0.15) 0%, rgba(0,153,255,0.1) 100%);
  color: #0066cc;
}

.value-card:hover .card-icon-box {
  transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
  color: var(--dark-slate);
  font-size: 1.35rem;
  margin: 0 0 16px 0;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.value-card p {
  color: var(--body-text);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

/* ================= COMMITMENT PILLARS ROW ================= */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.pillar-item {
  background: linear-gradient(135deg, var(--white) 0%, #f9fafc 100%);
  padding: 40px;
  border-radius: 16px;
  border-top: 5px solid #0066cc;
  border: 1px solid rgba(0, 102, 204, 0.1);
  box-shadow: 0 10px 30px rgba(0,102,204,0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.pillar-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: -50px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0,102,204,0.1) 0%, transparent 70%);
  transition: all 0.3s ease;
}

.pillar-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,102,204,0.12);
  border-top: 5px solid #0099ff;
}

.pillar-item:hover::before {
  right: -30px;
  opacity: 0.8;
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.pillar-header i {
  color: #0066cc;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,102,204,0.1) 0%, rgba(0,153,255,0.05) 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pillar-item:hover .pillar-header i {
  background: linear-gradient(135deg, rgba(0,102,204,0.2) 0%, rgba(0,153,255,0.15) 100%);
  transform: scale(1.1);
}

.pillar-header h3 {
  color: var(--dark-slate);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
}

.pillar-item p {
  color: var(--body-text);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
}

.pillar-item p strong {
  color: #0066cc;
  font-weight: 700;
}

/* ================= RESPONSIVE LAYOUT BREAKPOINTS ================= */

/* Tablet Integration Views */
@media (max-width: 991px) {
  .intro-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .value-card, .pillar-item {
    padding: 32px;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
}

/* Mobile & Small Tablet Screens Views */
@media (max-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr; /* Stack intro image and text on smaller screens */
    gap: 40px;
  }
  
  .responsive-img {
    height: 400px;
  }
  
  .agaram-about-hero {
    padding: 120px 0 60px 0;
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
  }
}

/* Mobile Screens Views */
@media (max-width: 600px) {
  .value-grid, .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .intro-text h2, .section-header h2 {
    font-size: 1.8rem;
  }
  
  .responsive-img {
    height: 280px;
  }
  
  .experience-counter {
    position: relative;
    right: 0;
    bottom: auto;
    margin: -20px auto 0 auto;
    max-width: 100%;
  }
  
  .value-card, .pillar-item {
    padding: 24px;
  }
  
  .pillar-header {
    gap: 12px;
  }
  
  .pillar-header i {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .pillar-header h3 {
    font-size: 1.1rem;
  }
  
  .card-icon-box {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }
}