/* ============================================
   index-latest.css
   New styles go here. Loaded after styles.css.
   ============================================ */

/* Hero: two stacked cards (geo + course) */
.hero-geo-card{
  margin-bottom:18px;
  animation-delay:.6s;
}
.hero-course-card{animation-delay:0s;}
.hero-geo{margin:0;}
.hero-geo-title{display:flex;align-items:center;gap:8px;}
.hero-geo-title .icon{stroke:var(--primary);flex-shrink:0;}
.badge-geo{background:rgba(28,109,208,.12);color:var(--primary);}
.hero-geo-regions{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;
}
.hero-geo-region{
  display:flex;flex-direction:column;align-items:center;gap:2px;
  background:var(--bg-soft,rgba(28,109,208,.05));border:1px solid var(--border);
  border-radius:10px;padding:10px 8px;text-align:center;
}
.hero-geo-flag{
  width:26px;height:18px;border-radius:3px;flex-shrink:0;
  box-shadow:0 0 0 1px var(--border);margin-bottom:4px;
}
.hero-geo-region b{font-size:13.5px;color:var(--text);}
.hero-geo-region small{font-size:11px;color:var(--text-soft);font-weight:600;}

/* Why Choose section — icon-top centered tiles */
.why-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:20px;
}
.why-item{
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  gap:14px;text-align:center;
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg,16px);
  padding:28px 20px;font-weight:600;font-size:15px;color:var(--text);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.why-item:hover{transform:translateY(-5px);}
.why-icon{
  width:52px;height:52px;flex-shrink:0;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  color:#fff;
  transition:transform .25s ease;
}
.why-item:hover .why-icon{transform:scale(1.08);}
.why-icon .icon{stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;}

.why-item{background:rgba(28,109,208,.06);}
.why-icon{background:linear-gradient(135deg,var(--primary-dark),var(--accent-2,#2E8BF0));}
.why-item:hover{border-color:rgba(28,109,208,.45);box-shadow:0 12px 28px rgba(28,109,208,.22);}
@media (max-width:1024px){
  .why-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:560px){
  .why-grid{grid-template-columns:1fr;}
  .why-item{flex-direction:row;text-align:left;padding:18px 20px;}
}

/* Announcement bar */
.announce-bar{
  display:flex;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(90deg,var(--primary-dark),var(--primary) 45%,var(--primary-dark));
  color:rgba(255,255,255,.88);text-align:center;
  font-size:12.5px;font-weight:600;letter-spacing:.03em;
  padding:9px 16px;
}
.announce-bar .icon{stroke:#fff;flex-shrink:0;opacity:.9;}
.announce-bar b{color:#fff;font-weight:700;}
.announce-sep{color:var(--accent,#F5821F);font-weight:800;margin:0 2px;}
@media (max-width:640px){
  .announce-bar{font-size:11.5px;padding:8px 12px;}
}

/* slider */

/* Container & Viewport Setup */
.premium-slider {
  position: relative;
  width: 100%;
}

.premium-slider-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 20px; /* Adjust according to your card designs */
}

/* Track Transition setup */
.premium-slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

/* Individual Slides */
.premium-slide {
  min-width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
}

/* Arrow Buttons */
.slider-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, transform 0.2s ease;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.05);
}

.slider-prev {
  left: 16px;
  background-color: white;
  color: black;
}

.slider-next {
  right: 16px;
  background-color: white;
  color: black;
}

/* Pagination Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.slider-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 12px;
}

/* Container for the dots */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

/* Base style for inactive dots (Visible on light/white background) */
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: #cbd5e1; /* Soft gray-blue tint */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  outline: none;
}

/* Hover state */
.slider-dot:hover {
  background-color: #94a3b8;
  transform: scale(1.2);
}

/* Active dot styling (Matches your card's blue gradient tone) */
.slider-dot.active {
  width: 28px; /* Smooth pill shape */
  border-radius: 20px;
  background-color: #2563eb; /* Vibrant blue from your card gradient */
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35); /* Matching blue glow */
  transform: scale(1);
}
.spotlight-body{
  display:flex;
  align-items:stretch;
  gap:36px;
}

.spotlight-text{
  flex:1 1 55%;
  min-width:0;
}

.spotlight-image{
  flex:0 0 40%;
  display:flex;
  justify-content:center;
  align-items:center;
}

.spotlight-media{
  position:relative;
  width:100%;
  height:fit-content;
  min-height:220px;
  border-radius:16px;
  overflow:hidden;
  display:flex;
  justify-content:center;
}

.spotlight-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:8px;
  overflow:hidden;
}

@media (max-width:900px){
  .spotlight-body{flex-direction:column;align-items:stretch;gap:24px;}
  .spotlight-image{flex:0 0 auto;}
  .spotlight-media{min-height:200px;}
}