/* ============================================
   ueconsultancy.com — Education Consultancy Domain
   Theme: Trustworthy academic blue
   ============================================ */

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

:root {
  --paper:     #F5F7FA;
  --ink:       #1B2430;
  --slate:     #5C6878;
  --navy:      #1E3A5F;
  --navy-dk:   #122842;
  --blue:      #2E5C8A;
  --blue-lt:   #E8EFF6;
  --gold:      #C9A24B;
  --gold-lt:   #F2E4BE;
  --white:     #FFFFFF;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(20,35,55,.10);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.65;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  background: var(--white);
  border-bottom: 1px solid rgba(20,35,55,.07);
  position: sticky; top: 0; z-index: 100;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo span { color: var(--blue); }
.nav-badge {
  background: var(--gold);
  color: var(--navy-dk);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 40px;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-dk) 100%);
  color: var(--white);
  text-align: center;
  padding: 92px 6% 84px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-opacity='.04'%3E%3Cpath d='M40 4 L74 22 L40 40 L6 22 Z' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 110px 110px;
  pointer-events: none;
}
.hero-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 18px;
  position: relative;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.3rem, 5.8vw, 4.1rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: 20px;
  position: relative;
}
.hero h1 .domain {
  color: var(--gold-lt);
  display: block;
}
.hero-sub {
  font-size: 1.04rem;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.75;
  position: relative;
}
.hero-sub strong { color: var(--gold-lt); }

/* ── INTRO PANEL ── */
.intro-panel {
  max-width: 700px;
  margin: 0 auto 36px;
  padding: 24px 30px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  text-align: left;
  position: relative;
}
.intro-panel p {
  font-size: .93rem;
  color: rgba(255,255,255,.82);
  line-height: 1.8;
}
.intro-panel p strong { color: var(--white); }

/* ── DESTINATIONS ── */
.dest-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  position: relative;
}
.dest-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 40px;
  letter-spacing: .02em;
}

.price-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 22px 46px;
  margin-bottom: 36px;
  position: relative;
}
.price-tag .label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 4px;
}
.price-tag .amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.price-tag .currency { font-size: 1.3rem; vertical-align: super; }
.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dk);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 38px;
  border-radius: 40px;
  text-decoration: none;
  letter-spacing: .02em;
  transition: background .2s, transform .15s;
}
.hero-cta:hover { background: var(--gold-lt); transform: translateY(-2px); }

/* ── CONTACT STRIP ── */
.contact-strip {
  background: var(--blue-lt);
  border-bottom: 1px solid rgba(20,35,55,.06);
  padding: 28px 6%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 48px;
  align-items: center;
}
.contact-strip .company {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--slate);
  text-decoration: none;
  transition: color .2s;
}
.contact-item:hover { color: var(--navy); }
.contact-item svg { flex-shrink: 0; }

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  padding: 68px 6% 38px;
}
.section-header .eyebrow {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
}
.section-header p {
  color: var(--slate);
  margin-top: 12px;
  font-size: .95rem;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
  line-height: 1.7;
}

/* ── SERVICES GRID ── */
.services-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6% 76px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(20,35,55,.08);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: box-shadow .25s, transform .2s;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-icon {
  width: 50px; height: 50px;
  background: var(--blue-lt);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.service-icon svg { color: var(--navy); }
.service-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.service-card p {
  font-size: .82rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ── LISTINGS ── */
.listings {
  padding: 8px 6% 80px;
  max-width: 1120px;
  margin: 0 auto;
}
.listings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.listing-card {
  background: var(--white);
  border: 1px solid rgba(20,35,55,.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s, transform .25s;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
}
.listing-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, box-shadow .3s;
}
.listing-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.card-body {
  padding: 28px 28px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--blue-lt);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { color: var(--navy); }
.card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.card-body p {
  font-size: .88rem;
  color: var(--slate);
  line-height: 1.6;
  flex: 1;
}
.card-footer { padding: 0 28px 28px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: .87rem;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  padding: 9px 20px;
  border-radius: 40px;
  transition: background .2s, color .2s;
}
.card-link:hover { background: var(--navy); color: var(--white); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 30px 6%;
  font-size: .8rem;
  line-height: 1.8;
}
footer a { color: var(--gold-lt); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .listings-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .price-tag { padding: 18px 32px; }
  .hero { padding: 64px 6% 64px; }
  .intro-panel { padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::as { transition: none !important; }
}
