/* =========================================
   VisalKalvi — Home Page Styles
   ========================================= */

/* ===== HERO ===== */
/* ===== HERO SECTION ===== */

.hero {
  background: linear-gradient(135deg, #1a1a4e 0%, #2d1b69 45%, #1e3a8a 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before{
  content:"";
  position:absolute;
  width:700px;
  height:700px;
  top:-250px;
  right:-200px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(124,58,237,.22) 0%, transparent 70%);
}

.hero::after{
  content:"";
  position:absolute;
  width:500px;
  height:500px;
  bottom:-220px;
  left:-150px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(59,130,246,.18) 0%, transparent 70%);
}

.hero .container{
  position:relative;
  z-index:2;
}

.hero-inner{
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-content{
  max-width:900px;
  margin:0 auto;
  text-align:center;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 22px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);
  border-radius:50px;
  color:#fde68a;
  font-size:.9rem;
  font-weight:600;
  backdrop-filter:blur(10px);
  margin-bottom:28px;
}

.hero-title{
  font-family:"Montserrat",sans-serif;
  font-size:clamp(2.8rem,6vw,4.6rem);
  font-weight:900;
  line-height:1.15;
  color:#fff;
  margin-bottom:24px;
}

.hero-title .highlight{
  background:linear-gradient(135deg,#fde68a,#f59e0b);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.hero-desc{
  max-width:720px;
  margin:0 auto 40px;
  font-size:1.12rem;
  line-height:1.8;
  color:rgba(255,255,255,.82);
}

.hero-desc em{
  color:#fde68a;
  font-style:normal;
  font-weight:600;
}

.hero-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:50px;
}

.hero-stats{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:50px;
  flex-wrap:wrap;
}

.hero-stat{
  text-align:center;
}

.hero-stat strong{
  display:block;
  font-family:"Montserrat",sans-serif;
  font-size:2rem;
  font-weight:800;
  color:#fde68a;
}

.hero-stat span{
  display:block;
  margin-top:6px;
  font-size:.9rem;
  color:rgba(255,255,255,.65);
}

@media (max-width:768px){

  .hero{
    padding:80px 0;
  }

  .hero-title{
    font-size:2.6rem;
  }

  .hero-desc{
    font-size:1rem;
    padding:0 10px;
  }

  .hero-actions{
    flex-direction:column;
    width:100%;
  }

  .hero-actions a{
    width:100%;
    max-width:320px;
    justify-content:center;
  }

  .hero-stats{
    gap:30px;
  }

}

/* Hero Visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card-stack { position: relative; width: 360px; height: 300px; }

.hero-main-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  padding: 32px;
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  transition: all 0.3s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.hero-main-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 28px rgba(99,102,241,0.5), 0 28px 70px rgba(0,0,0,0.25);
}

.icon-wrap {
  width: 52px; height: 52px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.icon-wrap svg { width: 26px; height: 26px; fill: white; }

.hero-main-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.hero-main-card p { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

.floating-card {
  position: absolute;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 99px;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  animation: floatBob 3s ease-in-out infinite;
}

.fc-1 { bottom: 30px; left: -20px; animation-delay: 0s; }
.fc-2 { bottom: 0px; right: -10px; animation-delay: 1.5s; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: var(--gradient);
  padding: 20px 0;
  overflow: hidden;
}

.features-strip-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.feature-item svg { width: 20px; height: 20px; fill: #fde68a; flex-shrink: 0; }

/* ===== MISSION & VISION ===== */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}

.mv-card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
}
.mv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(99,102,241,0.4), 0 16px 40px rgba(37,99,235,0.15);
  border-color: rgba(99,102,241,0.35);
}

.mv-card-label {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.mv-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}
.mv-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* ===== WHY GRID ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.why-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(124,58,237,0.12));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.why-icon svg { width: 26px; height: 26px; fill: var(--purple); }
.why-card h3 { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.why-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }

/* ===== PROGRAMS GRID ===== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.program-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 16px rgba(99,102,241,0.25), 0 12px 32px rgba(37,99,235,0.1);
  border-color: rgba(99,102,241,0.3);
}

.prog-icon {
  width: 52px; height: 52px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.prog-icon svg { width: 26px; height: 26px; fill: white; }
.program-card h3 { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.program-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

.programs-cta { text-align: center; }

/* ===== TESTIMONIALS (What Students Say) ===== */
.testimonials-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 4px; }

.testi-body { flex: 1; }

.testi-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 12px;
}

.testi-full {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease;
  white-space: pre-line;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  transition: var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: inherit;
}
.read-more-btn:hover {
  color: var(--purple);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testi-photo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  border: 3px solid;
  border-color: transparent;
  background: var(--gradient);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.2);
}

.testi-name { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.testi-role { font-size: 0.82rem; color: var(--text-light); margin-top: 2px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(37,99,235,0.25);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  position: relative;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  font-size: 1rem;
  position: relative;
}

/* ===== IMPACT SECTION ===== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.impact-card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.impact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
}
.impact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(99,102,241,0.35), 0 16px 40px rgba(37,99,235,0.12);
  border-color: rgba(99,102,241,0.35);
}

.impact-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.impact-label {
  font-size: 0.92rem;
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.4;
}

/* ===== OUR STORY ===== */
#our-story .story-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.story-content {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-content p {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.85;
  padding-left: 20px;
  border-left: 3px solid transparent;
  border-image: var(--gradient) 1;
  transition: var(--transition);
}

.story-content p:hover {
  color: var(--text);
  padding-left: 28px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-two-col { grid-template-columns: 1fr 1fr; }
  .mv-grid { grid-template-columns: 1fr; max-width: 520px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .why-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .testimonials-two-col { grid-template-columns: 1fr; }
  .features-strip-inner { gap: 24px; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .cta-banner { padding: 40px 24px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 420px) {
  .impact-grid { grid-template-columns: 1fr 1fr; }
}

