/* =====================================================
   SIRAC KOLEJİ - INDEX.CSS — PREMIUM 2025 REDESIGN
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --primary:      #1a6b5e;
  --primary-light:#2a9d8f;
  --secondary:    #e76f51;
  --accent:       #f4a261;
  --gold:         #e9c46a;
  --dark:         #0d1b2a;
  --dark-2:       #1c2b3a;
  --mid:          #2c4a5e;
  --light:        #f8fafc;
  --white:        #ffffff;
  --gray:         #64748b;
  --gray-light:   #e2e8f0;
  --radius-lg:    24px;
  --radius-md:    16px;
  --radius-sm:    10px;
  --shadow-sm:    0 2px 12px rgba(0,0,0,.06);
  --shadow-md:    0 10px 40px rgba(0,0,0,.10);
  --shadow-lg:    0 24px 64px rgba(0,0,0,.16);
  --transition:   all .35s cubic-bezier(.4,0,.2,1);
}

.highlight-green {
  color: var(--primary-light);
  font-weight: 700;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--light);
  overflow-x: hidden;
}

/* ─── NAVBAR (DYNAMIC & PREMIUM) ─────────────────────── */
.navbar {
  padding: 20px 0; /* Braider initial padding */
  border-bottom: 1px solid rgba(0,0,0,.04);
  background: rgba(255,255,255,1) !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08) !important;
  border-bottom-color: rgba(255,255,255,0.5);
}

.navbar-logo { 
  height: 56px; 
  width: auto; 
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .navbar-logo {
  height: 48px; /* Smooth shrink */
}

.navbar-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.4;
  color: var(--dark);
  transition: transform 0.5s ease;
}

.navbar.scrolled .navbar-title {
  transform: scale(0.95);
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: .9rem;
  color: var(--dark) !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover { color: var(--primary-light) !important; }
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }

/* --- GLASSMORPHISM DROPDOWN --- */
.dropdown-menu {
  display: list-item; /* Reset for desktop hover logic if needed, but let's use list-item or block */
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12) !important;
  padding: 12px;
  min-width: 280px;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dropdown-menu.show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    margin: 0 -15px;
    padding: 15px 25px;
    border-top: 1px solid rgba(0,0,0,0.05);
    max-height: 80vh;
    overflow-y: auto;
  }

  .dropdown-menu {
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    background: white !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 15px;
    margin: 10px 0;
    min-width: 100%;
    padding: 10px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .dropdown-menu.show {
    display: block !important;
  }
}

.dropdown-item {
  border-radius: 14px;
  font-size: .875rem;
  font-weight: 600;
  padding: 12px 18px;
  transition: var(--transition);
  color: var(--dark);
  margin-bottom: 2px;
}

.dropdown-item:last-child { margin-bottom: 0; }

.dropdown-item:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  transform: translateX(5px);
}

/* CTA pill button in nav */
.navbar-nav .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  font-size: .875rem;
  padding: 10px 22px;
  box-shadow: 0 4px 16px rgba(42,157,143,.3);
  transition: var(--transition);
}
.navbar-nav .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(42,157,143,.45);
}

/* ─── HERO SLIDER ────────────────────────────────────── */
.hero-slider {
  position: relative;
  height: 90vh;
  min-height: 600px;
  background: #060e18;
  overflow: hidden;
}

#heroCarousel,
.carousel-inner,
.carousel-item { height: 100%; }

.carousel-item { position: relative; }

/* Blurred ambient background */
.hero-bg-blur {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(36px) brightness(.35) saturate(1.2);
  z-index: 1;
  transform: scale(1.05);
}

/* Centered poster frame */
.hero-img-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 32px 0;
}

.hero-img {
  height: auto;
  max-height: 88%;
  width: auto !important;
  max-width: 88%;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,.7);
  animation: subtleZoom 14s infinite alternate ease-in-out;
  transition: transform .8s ease;
}

@keyframes subtleZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.035); }
}

/* Video slide */
.hero-video-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
  opacity: .55;
}

.hero-video-main {
  width: auto !important;
  max-width: 82%;
  height: auto;
  max-height: 86%;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,.75);
}

/* Glassmorphism overlay card */
.hero-overlay-content {
  position: absolute;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 460px;
  color: white;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,.15);
  padding: 44px 40px;
  border-radius: 28px;
  box-shadow: 0 48px 120px rgba(0,0,0,.45);
  animation: slideInCard 1s .2s both;
}

@keyframes slideInCard {
  from { opacity:0; transform: translateY(-50%) translateX(-50px); }
  to   { opacity:1; transform: translateY(-50%) translateX(0); }
}

.hero-overlay-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 40%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-overlay-content p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: .88;
}

.hero-overlay-content .btn {
  padding: 13px 30px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .5px;
  border-radius: 50px;
  transition: var(--transition);
}

.hero-overlay-content .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  box-shadow: 0 8px 24px rgba(42,157,143,.4);
}
.hero-overlay-content .btn-primary:hover { transform: translateY(-3px); }

.hero-overlay-content .btn-outline-light:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-3px);
}

/* Indicator dots */
.carousel-indicators {
  bottom: 28px;
  gap: 6px;
  margin: 0;
  flex-wrap: nowrap;
}
.carousel-indicators [data-bs-target] {
  width: 28px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.4);
  border: none;
  transition: var(--transition);
}
.carousel-indicators .active {
  width: 46px;
  background: var(--gold);
}

/* Nav arrows */
.carousel-control-prev,
.carousel-control-next {
  width: 52px; height: 52px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  margin: 0 20px;
  opacity: 0;
  transition: var(--transition);
}
.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next { opacity: 1; }

.carousel-control-prev:hover,
.carousel-control-next:hover { background: rgba(255,255,255,.2); transform: translateY(-50%) scale(1.08); }

/* ─── STATS SECTION ─────────────────────────────────── */
.stats-section {
  position: relative;
  z-index: 20;
  padding: 0 0 70px;
  margin-top: -60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  background: white;
  padding: 40px 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-light);
}

.stat-card {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
}

.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  transition: transform .35s ease;
}

.stat-card:hover { transform: translateY(-6px); }
.stat-card:hover::before { transform: translateX(-50%) scaleX(1); }

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--dark);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
}

/* ─── SERVICES SECTION ──────────────────────────────── */
.services {
  padding: 90px 0 100px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-light), transparent);
}

.section-header { margin-bottom: 52px; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
  height: 100%;
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::after { opacity: 1; }

.service-image {
  height: 230px;
  overflow: hidden;
  position: relative;
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.5));
}

.service-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-image img { transform: scale(1.1); }

.service-card h3 {
  padding: 24px 24px 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.service-card p {
  padding: 0 24px 24px;
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.65;
  margin: 0;
}

/* ─── NEWS & ANNOUNCEMENTS ──────────────────────────── */
.home-news-preview {
  padding: 90px 0 100px;
  background: white;
}

.home-news-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.home-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-light);
}

.home-section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}

.home-section-header a {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: none;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 18px;
  border: 2px solid var(--primary-light);
  border-radius: 50px;
  transition: var(--transition);
}
.home-section-header a:hover {
  background: var(--primary-light);
  color: white;
  transform: translateY(-2px);
}

/* News Cards */
.home-news-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.home-news-card {
  background: var(--light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
}

.home-news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42,157,143,.3);
}

.home-news-card img {
  width: 100%; height: 200px;
  object-fit: cover;
  transition: transform .5s ease;
}
.home-news-card:hover img { transform: scale(1.05); }

.home-news-card h3 {
  padding: 18px 20px 12px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

.home-news-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px 18px;
  color: var(--primary-light);
  font-weight: 700;
  text-decoration: none;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: var(--transition);
}
.home-news-card a:hover { gap: 10px; color: var(--primary); }

/* Announcements Panel */
.home-announcements {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  position: sticky;
  top: 90px;
}

.announcement-list { list-style: none; padding: 0; margin: 0; }

.announcement-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
}

.announcement-item:last-child { border-bottom: none; }
.announcement-item:hover { padding-left: 4px; }

.ann-date {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  min-width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(42,157,143,.3);
}

.ann-date strong { font-size: 1.2rem; line-height: 1; font-weight: 800; }
.ann-date small { font-size: .65rem; text-transform: uppercase; font-weight: 700; opacity: .9; }

.ann-content { flex-grow: 1; }

.ann-title {
  background: none; border: none; padding: 0;
  text-align: left;
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
  display: block;
  margin-bottom: 4px;
}
.ann-title:hover { color: var(--primary-light); }

.ann-detail {
  font-size: .8rem;
  color: var(--gray);
  line-height: 1.4;
}

/* ─── SCROLL REVEAL ANIMATIONS ──────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── INSTAGRAM FEED SECTION (PREMIUM REDESIGN) ─────── */
.instagram-feed {
  padding: 120px 0;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.instagram-feed::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-light), transparent);
}

/* Background floating accent */
.instagram-feed::after {
  content: 'INSTAGRAM';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  font-size: 15vw;
  font-weight: 900;
  color: rgba(42, 157, 143, 0.03);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.insta-header {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 40px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(42,157,143,0.1);
}

.insta-profile-pic {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(45deg, #1a56a7, #2a9d8f, #f9a826);
  flex-shrink: 0;
}

.insta-profile-pic img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid white;
  object-fit: cover;
}

.insta-profile-info h3 {
  font-weight: 800;
  font-size: 1.6rem;
  margin: 0 0 8px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.insta-profile-info h3::after {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #0095f6;
  font-size: 1.2rem;
}

.insta-profile-info p {
  color: var(--gray);
  font-size: 1rem;
  margin: 0 0 16px;
  line-height: 1.5;
}

.insta-stats {
  display: flex;
  gap: 30px;
}

.insta-stat-item {
  font-size: 0.95rem;
  color: var(--dark);
}

.insta-stat-item span {
  font-weight: 800;
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 15px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.insta-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  background: white;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 157, 143, 0.85); /* Use brand teal with opacity */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  color: white;
  opacity: 0;
  transition: all 0.5s ease;
  font-weight: 700;
  font-size: 1.2rem;
  backdrop-filter: blur(8px);
}

.insta-overlay span {
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.insta-item:hover img {
  transform: scale(1.15);
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

.insta-item:hover .insta-overlay span {
  transform: translateY(0);
}

.insta-footer {
  text-align: center;
  margin-top: 50px;
}

.btn-insta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(42, 157, 143, 0.3);
  transition: var(--transition);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-insta:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(225, 48, 108, 0.5);
  color: white;
}

/* ─── STYLIZED MAP (PREMIUM) ───────────────────────── */
.map-container-premium {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-light);
  height: 500px;
}

.map-container-premium iframe {
  filter: grayscale(100%) invert(5%) contrast(90%) brightness(1.1); /* Darker premium mode */
  transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-container-premium:hover iframe {
  filter: grayscale(0%) invert(0%) contrast(100%) brightness(1);
}

.map-overlay-info {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  max-width: 280px;
  z-index: 5;
  border: 1px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}

.map-container-premium:hover .map-overlay-info {
  opacity: 0.3;
  transform: scale(0.95);
  pointer-events: none;
}

.map-overlay-info h6 {
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
}

.map-overlay-info p {
  font-size: 0.85rem;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 20px;
}

.map-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.map-badge:hover {
  background: var(--dark);
  color: white;
}

/* ─── RESPONSIVE REFINEMENTS (PREMIUM) ───────────────── */
@media (max-width: 1200px) {
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .navbar-logo { height: 48px; }
  .navbar-title { font-size: 0.75rem; }
  .insta-header { 
    flex-direction: column; 
    text-align: center; 
    gap: 20px; 
    padding: 30px 20px;
  }
  .insta-stats { justify-content: center; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section-title { font-size: 1.8rem; }
  .home-news-preview { padding: 60px 0; }
  .home-news-layout { grid-template-columns: 1fr; gap: 30px; }
  .navbar-title { display: none !important; } /* Only logo on very small phones */
  
  .insta-profile-pic { width: 90px; height: 90px; }
  .insta-profile-info h3 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .insta-grid { grid-template-columns: 1fr; } /* Single column for very small phones if needed, or stick to 2 */
  .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .btn-insta { width: 100%; justify-content: center; }
}
/* --- AUTO POPUP MODAL --------------------------------- */
.auto-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.auto-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.auto-popup-content {
  position: relative;
  max-width: 500px;
  width: 90%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.7);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auto-popup-overlay.show .auto-popup-content {
  transform: scale(1);
}

.auto-popup-content img {
  width: 100%;
  display: block;
}

.auto-popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 35px;
  color: white;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.auto-popup-close:hover {
  transform: rotate(90deg) scale(1.1);
}

@media (max-width: 576px) {
  .auto-popup-content {
    max-width: 350px;
  }
}


/* --- HIGHLIGHT GREEN FOR BRANDING --------------------- */
.highlight-green {
  color: #2a9d8f !important;
  font-weight: 800;
}

