/* ============================================================
   VIDYASAGE LABS — style.css
   Colours: navy #1b2059, teal #2ec4b6, white #ffffff
   Font: Inter 300 / 400 / 500
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  color: #1a1a2e;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ── TOKENS ── */
:root {
  --navy:       #1b2059;
  --navy-dark:  #13184a;
  --teal:       #2ec4b6;
  --teal-dark:  #25a99d;
  --white:      #ffffff;
  --text:       #1a1a2e;
  --text-mid:   #4a4a6a;
  --text-muted: #8888aa;
  --border:     #e8e8f0;
  --bg-light:   #f7f7fb;

  --max-w:      1100px;
  --pad-x:      24px;
  --section-y:  88px;
  --radius-card: 14px;
  --radius-btn:  8px;

  --transition: 220ms ease;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.container--narrow {
  max-width: 720px;
}

/* ── SECTION SHARED ── */
.section {
  padding: var(--section-y) 0;
}

.section__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section__heading {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 16px rgba(27, 32, 89, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo-img {
  width: 140px;
  height: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav__link:hover {
  color: var(--teal-dark);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: var(--transition);
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.nav__mobile.open {
  display: block;
}

.nav__mobile-links {
  padding: 16px var(--pad-x) 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav__mobile-link {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.nav__mobile-link:last-child {
  border-bottom: none;
}

.nav__mobile-link:hover {
  color: var(--teal-dark);
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--pad-x) 80px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 56px;
}
/*
.hero__brand-link {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 14px 24px;
  opacity: 0.95;
  transition: opacity 220ms ease, transform 220ms ease;
}
*/
.hero__brand-link{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    background:none;
    border:none;
    border-radius:0;
    box-shadow:none;
}

.hero__brand-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.hero__brand-logo {
  width: 200px;
  height: auto;
  display: block;
}

.hero__brand-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.hero__headline {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 24px;
  max-width: 760px;
}

.hero__sub {
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 64px;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  animation: float 2.8s ease-in-out infinite;
}

.hero__scroll:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(3px);
  animation: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── ABOUT ── */
.about {
  background: var(--white);
  padding-top: calc(var(--section-y) + 8px);
}

.about__para {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about__para:last-child {
  margin-bottom: 0;
}

/* ── BRANDS ── */
.brands {
  background: var(--bg-light);
}

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

.brand-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.brand-card:hover {
  box-shadow: 0 8px 32px rgba(27, 32, 89, 0.1);
  transform: translateY(-2px);
}

.brand-card__header {
  padding: 32px 28px 24px;
  border-bottom: 1px solid var(--border);
}

.brand-card__logo {
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.brand-card__tagline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.brand-card__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.brand-card__desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 22px;
}

.brand-card__highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.brand-card__highlights li {
  font-size: 13px;
  color: var(--text-mid);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.brand-card__highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.brand-card__cta {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-btn);
  width: fit-content;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.brand-card__cta:hover {
  background: var(--navy);
}

.brand-card__cta:hover .brand-card__cta-main {
  color: var(--white);
}

.brand-card__cta:hover .brand-card__cta-domain {
  color: rgba(255, 255, 255, 0.6);
}

.brand-card__cta-main {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--transition);
}

.brand-card__cta-domain {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  transition: color var(--transition);
}

/* ── PRINCIPLES ── */
.principles {
  background: var(--white);
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.principle-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: border-color var(--transition);
}

.principle-card:hover {
  border-color: var(--teal);
}

.principle-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(46, 196, 182, 0.1);
  color: var(--teal-dark);
  margin-bottom: 20px;
}

.principle-card__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}

.principle-card__text {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ── CONTACT + LEGAL ── */
.contact-legal {
  background: var(--bg-light);
}

.contact-legal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-block__email {
  display: inline-block;
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 20px;
  border-bottom: 1.5px solid var(--teal);
  padding-bottom: 2px;
  transition: color var(--transition);
}

.contact-block__email:hover {
  color: var(--teal-dark);
}

.contact-block__note {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-block__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-block__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.legal-block__row:first-child {
  border-top: 1px solid var(--border);
}

.legal-block__row dt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  text-transform: uppercase;
  flex-shrink: 0;
}

.legal-block__row dd {
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  text-align: right;
}

.legal-block__pending {
  color: var(--text-muted);
  font-style: italic;
}

/* ── FOOTER ── */
.footer {
  background: var(--navy-dark);
  padding: 64px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
/*
.footer__logo {
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 10px 16px;
}
*/
.footer__logo{
    width:160px;
    height:auto;
    display:block;

    background:none;
    padding:0;
    border-radius:0;
}

.footer__tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 240px;
}

.footer__col-heading {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--teal);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__attribution {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
}

.footer__copy {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.25);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root {
    --section-y: 64px;
    --pad-x: 20px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__brands {
    gap: 28px;
  }

  .hero__brand-logo {
    width: 140px;
  }

  .hero__brand-divider {
    height: 36px;
  }

  .brands__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .principles__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-legal__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__tagline {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px var(--pad-x) 64px;
  }

  .section__heading {
    margin-bottom: 24px;
  }
}
