/* =====================================================
   ABGS – Aims & Objectives Page Styles
   Paste into: style.css (your child theme or custom CSS)
   Matches: ABGS WordPress theme colors, fonts & style
   ===================================================== */

/* ---------- Theme Variables ---------- */
:root {
  --abgs-orange:      #f26522;
  --abgs-orange-dark: #d4521a;
  --abgs-navy:        #1a2d5a;
  --abgs-navy-light:  #223872;
  --abgs-gold:        #f9a825;
  --abgs-white:       #ffffff;
  --abgs-light-bg:    #f5f7fc;
  --abgs-border:      #e2e8f5;
  --abgs-text:        #444444;
  --abgs-text-light:  #777777;
  --abgs-font:        'Poppins', sans-serif;
  --abgs-radius:      8px;
  --abgs-shadow:      0 4px 20px rgba(26,45,90,0.10);
  --abgs-shadow-hov:  0 8px 32px rgba(242,101,34,0.18);
}

/* ---------- Wrapper ---------- */
.abgs-page-wrap {
  font-family: var(--abgs-font);
  color: var(--abgs-text);
  line-height: 1.7;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* ---------- Page Header ---------- */
.abgs-page-header {
  text-align: center;
  padding: 0px;
  position: relative;
}

.abgs-page-header::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--abgs-orange), var(--abgs-gold));
  border-radius: 2px;
  margin: 22px auto 0;
}

.abgs-page-header h1 {
  font-family: var(--abgs-font);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--abgs-navy);
  margin: 0 0 8px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.abgs-page-header .tagline {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--abgs-orange);
  background: rgba(242,101,34,0.08);
  border: 1px solid rgba(242,101,34,0.25);
  padding: 5px 20px;
  border-radius: 50px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.abgs-page-header .abgs-intro {
  font-size: 15.5px;
  color: var(--abgs-text-light);
  max-width: 760px;
  margin: 18px auto 0;
  line-height: 1.75;
}

/* ---------- Section Cards Grid ---------- */
.abgs-sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.abgs-section-card {
  background: var(--abgs-white);
  border: 1.5px solid var(--abgs-border);
  border-radius: var(--abgs-radius);
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.abgs-section-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--abgs-orange), var(--abgs-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.abgs-section-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--abgs-shadow-hov);
  border-color: rgba(242,101,34,0.3);
}

.abgs-section-card:hover::before {
  transform: scaleX(1);
}

/* Icon */
.abgs-card-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(242,101,34,0.12), rgba(249,168,37,0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--abgs-orange);
}

.abgs-card-icon svg {
  width: 30px;
  height: 30px;
}

/* Card Heading */
.abgs-section-card h2 {
  font-family: var(--abgs-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--abgs-navy);
  margin: 0 0 14px;
  line-height: 1.35;
  position: relative;
  padding-bottom: 12px;
}

.abgs-section-card h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px;
  height: 2.5px;
  background: var(--abgs-orange);
  border-radius: 2px;
}

/* Card List */
.abgs-section-card ul {
  list-style: none!important;
  margin: 0;
  padding: 0;
}

.abgs-section-card ul li {
  font-size: 14px;
  color: var(--abgs-text);
  padding: 7px 0 7px 22px;
  position: relative;
  border-bottom: 1px solid #f0f2f8;
  line-height: 1.6;
}

.abgs-section-card ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.abgs-section-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--abgs-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Bhavi Yojnae Section ---------- */
.abgs-yojnae-section {
  margin-top: 52px;
  background: var(--abgs-navy);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

/* Decorative background pattern */
.abgs-yojnae-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(242,101,34,0.18) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(249,168,37,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.abgs-yojnae-header {
  text-align: center;
  padding: 44px 24px 32px;
  position: relative;
  z-index: 1;
}

.abgs-yojnae-badge {
  display: inline-block;
  background: var(--abgs-orange);
  color: var(--abgs-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.abgs-yojnae-header h2 {
  font-family: var(--abgs-font);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--abgs-white);
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.abgs-yojnae-header p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto;
}

/* Yojnae Items Grid */
.abgs-yojnae-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}

.abgs-yojnae-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: rgba(255,255,255,0.03);
  transition: background 0.2s ease;
}

.abgs-yojnae-item:hover {
  background: rgba(242,101,34,0.15);
}

.abgs-yojnae-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--abgs-orange);
  min-width: 30px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  padding-top: 1px;
}

.abgs-yojnae-text {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .abgs-page-header {
    padding: 36px 12px 28px;
  }

  .abgs-sections-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .abgs-section-card {
    padding: 24px 20px 20px;
  }

  .abgs-yojnae-section {
    margin-top: 36px;
  }

  .abgs-yojnae-header {
    padding: 32px 18px 24px;
  }

  .abgs-yojnae-grid {
    grid-template-columns: 1fr;
  }

  .abgs-yojnae-item {
    padding: 18px 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .abgs-sections-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .abgs-yojnae-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
