/* =========================================================
   Vikram Global Solutions — Stylesheet
   Theme: Navy Blue / Gold / White
   ========================================================= */

:root {
  --navy-950: #061225;
  --navy-900: #0a1f44;
  --navy-800: #10295c;
  --navy-700: #163872;
  --navy-100: #e6eaf3;

  --gold-600: #b8912b;
  --gold-500: #cda43a;
  --gold-400: #e0bf5c;
  --gold-100: #faf3e0;

  --white: #ffffff;
  --off-white: #f7f8fb;
  --gray-600: #5a6376;
  --gray-400: #8a93a6;
  --text: #131b2e;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 4px 14px rgba(10, 31, 68, 0.08);
  --shadow: 0 14px 34px rgba(10, 31, 68, 0.14);
  --shadow-lg: 0 24px 60px rgba(10, 31, 68, 0.22);

  --font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --header-h: 78px;
}

/* ===== Reset ===== */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

section, footer { scroll-margin-top: var(--header-h); }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.2;
  font-weight: 700;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-solid {
  fill: currentColor;
  stroke: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 12px;
}
.eyebrow--gold { color: var(--gold-400); }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head--light h2 { color: var(--white); }
.section-sub { color: var(--gray-600); margin-top: 12px; font-size: 1.02rem; }
.section-head--light .section-sub { color: #c6cee2; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  box-shadow: 0 10px 24px rgba(184, 145, 43, 0.35);
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(184, 145, 43, 0.45);
}

.btn--outline-gold {
  background: transparent;
  border-color: var(--gold-500);
  color: var(--gold-600);
}
.btn--outline-gold:hover {
  background: var(--gold-500);
  color: var(--navy-950);
  transform: translateY(-3px);
}

.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--block { width: 100%; margin-top: 22px; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height 0.3s ease;
}

/* Background + blur live on a pseudo-element (not .navbar itself) so that
   backdrop-filter doesn't create a containing block for the fixed-position
   mobile menu, which would otherwise be confined to the navbar's own height. */
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 31, 68, 0.35);
  backdrop-filter: blur(6px);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.navbar.is-scrolled {
  height: 68px;
}

.navbar.is-scrolled::before {
  background: rgba(9, 23, 52, 0.96);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  flex-shrink: 0;
}

.navbar__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--white);
  letter-spacing: 0.01em;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navbar__links {
  display: flex;
  gap: 26px;
}

.nav-link {
  position: relative;
  color: #dfe4f0;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold-400);
  transition: width 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.navbar__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.navbar__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 100px;
  overflow: hidden;
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 37, 0.75) 0%, rgba(6, 18, 37, 0.82) 55%, rgba(6, 18, 37, 0.95) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--white);
  padding: 9px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  margin-bottom: 18px;
}

.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #d6dcec;
  max-width: 560px;
  margin-bottom: 30px;
}

.checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-bottom: 38px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: 0.96rem;
}

.checklist svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  background: var(--gold-500);
  color: var(--navy-950);
  border-radius: 50%;
  stroke-width: 3;
  flex-shrink: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold-400);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

/* ===== Why Choose Us ===== */
.why {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  padding: 90px 0;
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.why__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: left;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.why__card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(224, 191, 92, 0.4);
}

.why__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.why__icon svg { width: 26px; height: 26px; color: var(--navy-950); stroke-width: 2.2; }

.why__card h3 { color: var(--white); margin-bottom: 8px; font-size: 1.08rem; }
.why__card p { color: #b9c2d8; font-size: 0.93rem; }

/* ===== About ===== */
.about { padding: 100px 0; background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

.about__media { position: relative; }
.about__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about__media-badge {
  position: absolute;
  bottom: -22px;
  right: 20px;
  background: var(--navy-900);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border: 2px solid var(--gold-500);
}
.about__media-badge strong { color: var(--gold-400); font-size: 1.3rem; font-family: var(--font-heading); }
.about__media-badge span { font-size: 0.78rem; color: #cfd6e6; }

.about__content .lead {
  font-size: 1.08rem;
  color: var(--gray-600);
  margin: 14px 0 30px;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 34px;
}

.mv-card {
  background: var(--off-white);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.mv-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.mv-card h3 { font-size: 1rem; margin-bottom: 6px; }
.mv-card p { color: var(--gray-600); font-size: 0.93rem; }

.offer-title { margin-bottom: 16px; }

.offer-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.offer-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--navy-900);
}
.offer-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
}

/* ===== Study Destinations ===== */
.destinations {
  position: relative;
  padding: 100px 0;
  background: var(--off-white);
  overflow: hidden;
}

.destinations__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
}

.destinations .container { position: relative; z-index: 1; }

.dest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.dest-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.dest-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.dest-card__img {
  height: 170px;
  background-image: var(--dest-img);
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.dest-card:hover .dest-card__img { transform: scale(1.08); }

.dest-card__body {
  padding: 22px 22px 26px;
  border-top: 3px solid var(--gold-500);
}

.dest-card__flag {
  display: block;
  width: 40px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  margin-bottom: 10px;
}
.dest-card__body h3 { margin-bottom: 8px; }
.dest-card__body p { color: var(--gray-600); font-size: 0.92rem; }

.dest-more {
  margin-top: 50px;
  text-align: center;
  padding-top: 40px;
  border-top: 1px dashed #d6dbe8;
}
.dest-more p {
  color: var(--gray-600);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.dest-more__flags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}
.dest-more__flags img {
  width: 44px;
  height: 33px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
.dest-more__flags img:hover { transform: scale(1.2) translateY(-4px); box-shadow: 0 6px 14px rgba(0,0,0,0.3); }

/* ===== CTA Strip ===== */
.cta-strip {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-950));
  padding: 60px 0;
  text-align: center;
}
.cta-strip__inner h2 { color: var(--white); margin-bottom: 10px; }
.cta-strip__inner p { color: #c6cee2; margin-bottom: 26px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ===== Services ===== */
.services {
  position: relative;
  padding: 100px 0;
  background: var(--navy-950);
  overflow: hidden;
}
.services__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.services .container { position: relative; z-index: 1; }

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: linear-gradient(150deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-500);
  background: linear-gradient(150deg, rgba(205, 164, 58, 0.14), rgba(255,255,255,0.03));
}
.service-card h3 {
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 10px;
  padding-left: 16px;
  border-left: 3px solid var(--gold-500);
}
.service-card p { color: #b9c2d8; font-size: 0.9rem; padding-left: 16px; }

/* ===== Contact / Footer ===== */
.contact {
  position: relative;
  padding: 100px 0 0;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.contact .container { position: relative; z-index: 1; }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 80px;
}

.contact__main h2 { color: var(--white); margin-bottom: 18px; }
.contact__tagline { color: #ccd4e6; font-size: 1.02rem; max-width: 520px; margin-bottom: 26px; }
.contact__closing { color: #9fabc6; margin-top: 22px; font-size: 0.94rem; }

.contact__box {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
}
.contact__box h3 { margin-bottom: 8px; }
.contact__box > p { color: var(--gray-600); font-size: 0.92rem; margin-bottom: 24px; }

.contact__details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 8px; }
.contact__details li { display: flex; align-items: center; gap: 14px; }
.contact__details a { font-weight: 600; color: var(--navy-900); word-break: break-word; }
.contact__details a:hover { color: var(--gold-600); }
.contact__details strong { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-400); font-weight: 700; margin-bottom: 2px; }

.contact__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__icon svg { width: 19px; height: 19px; }
.contact__icon--whatsapp { background: #e4f7ec; color: #25d366; }

.contact__whatsapp-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1eab53;
  transition: color 0.2s ease, transform 0.2s ease;
}
.contact__whatsapp-link:hover { color: #17903f; transform: translateX(2px); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  color: #8d97b3;
  font-size: 0.85rem;
}
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer__links a { color: #b9c2d8; transition: color 0.2s ease; }
.footer__links a:hover { color: var(--gold-400); }

/* ===== Floating WhatsApp button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: whatsappPulse 2.4s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}

@keyframes whatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 10px 26px rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 10px 26px rgba(37, 211, 102, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 26px rgba(37, 211, 102, 0.45); }
}

@media (max-width: 480px) {
  .whatsapp-float { width: 50px; height: 50px; bottom: 18px; left: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .back-to-top { bottom: 18px; right: 18px; }
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 900;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-400); transform: translateY(-4px); }
.back-to-top svg { width: 20px; height: 20px; stroke-width: 2.4; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive breakpoints (mobile-first)
   ========================================================= */

/* Tablet: 600px+ */
@media (min-width: 600px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop: 900px+ */
@media (min-width: 900px) {
  .navbar__toggle { display: none; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .contact__grid { grid-template-columns: 1.2fr 1fr; }
}

/* Large desktop: 1200px+ */
@media (min-width: 1200px) {
  .why__grid { grid-template-columns: repeat(5, 1fr); }
  .dest-grid { grid-template-columns: repeat(5, 1fr); }
  .services__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile nav (below 900px) */
@media (max-width: 899px) {
  .navbar__toggle { display: flex; }

  .navbar__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 34px 24px;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
  }
  .navbar__nav.is-open { transform: translateX(0); }

  .navbar__links {
    flex-direction: column;
    gap: 22px;
    width: 100%;
  }
  .nav-link { font-size: 1.1rem; display: block; }

  .navbar__cta { width: 100%; }
}
