@charset "UTF-8";

/* ==========================================================================
   HOME PAGE STYLES – Achievers Academy (Modern Educational Website)
   ========================================================================== */

/* Hero Section */
.hero-section {
  background:
  
   linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(192, 192, 192) 100%);
  min-height: 80vh;
  position: relative;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(37,99,235,0.08) 0%, transparent 50%);
  z-index: 1;
}

.hero-image {
  transform: scale(1.05);
  transition: transform 0.6s ease;
}

.hero-section:hover .hero-image {
  transform: scale(1.08);
}

/*.shadow-hero {
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}*/

.text-gradient {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cards & Hover Effects */
.course-card,
.teaching-card,
.result-card {
  transition: all 0.35s ease;
  background: white;
  overflow: hidden;           /* prevents content overflow on hover scale */
}

.hover-lift:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

/* Card Icon Container – Reliable centering for images */
.card-icon {
  background: linear-gradient(135deg, #f0f7ff, #e0f2fe); /* subtle blue tint */
  border-bottom: 1px solid rgba(37,99,235,0.1);
  padding: 2.5rem 1.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 160px;          /* consistent height across all cards */
}

/* Images inside .card-icon */
.card-icon img {
  max-width: 100%;
  max-height: 110px;          /* adjust this value based on your icon size */
  height: auto;
  width: auto;
  object-fit: contain;        /* prevents stretching/distortion */
  transition: transform 0.45s ease;
}

/* Hover effect on card images */
.course-card:hover .card-icon img,
.teaching-card:hover .card-icon img {
  transform: scale(1.12) rotate(3deg); /* smooth micro-interaction */
}

/* Sections – General */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, rgb(255, 255, 255), #3b82f6);
  border-radius: 2px;
}

.bg-gradient-light {
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
}
.cta-box {
  background: linear-gradient(135deg, #1e40af, #2563eb);
}

/* Optional – Extra polish for result cards (if you want number emphasis) */
.result-card h3 {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Mobile adjustments (optional but recommended) */
@media (max-width: 767px) {
  .card-icon {
    min-height: 140px;
    padding: 2rem 1rem 1.5rem;
  }
  
  .card-icon img {
    max-height: 90px;
  }
}
/* ================= FAQ Section Styling ================= */

.faq-section {
    background: linear-gradient(135deg, #f8f9fa, #eef2f7);
}

.faq-title {
    font-size: 32px;
    font-weight: 700;
    color: #0d6efd;
}

.faq-subtitle {
    font-size: 16px;
    color: #6c757d;
}

.custom-accordion .accordion-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.custom-accordion .accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.custom-accordion .accordion-button {
    font-weight: 600;
    padding: 18px 20px;
    background-color: #ffffff;
    color: #212529;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #0d6efd;
    color: #ffffff;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
}

.custom-accordion .accordion-body {
    padding: 18px 20px;
    background-color: #ffffff;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Smooth Animation */
.accordion-collapse {
    transition: all 0.4s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-title {
        font-size: 24px;
    }
}