/* ==========================================================================
   Innovagic 2026 - single stylesheet for the public website
   Order: tokens > base > layout > header > hero > sections > footer > pages
   ========================================================================== */
:root {
  --ink: #1b2430;
  --mute: #5d6b7a;
  --bg: #f6f6f4;
  --white: #fff;
  --sky: #e6f7fd;
  --line: #d3eaf3;
  --cyan: #12c4ea;
  --cyan-dark: #0a9fd0;
  --navy: #21457a;
  --purple: #4b1d8f;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Figtree', 'Poppins', system-ui, sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --wrap: 1120px;
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.8 var(--font-body);
  -webkit-font-smoothing: antialiased
}

[hidden] {
  display: none !important
}

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

a {
  color: inherit
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px
}

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

@media(min-width:761px) {
  .container {
    padding: 0 min(160px, max(28px, 11vw))
  }
}

.section {
  padding: 72px 0
}

.text-center {
  text-align: center
}

.mt-2 {
  margin-top: 1rem
}

.mt-4 {
  margin-top: 2.5rem
}

.mb-3 {
  margin-bottom: 1.5rem
}

.section-header {
  text-align: left;
  max-width: 860px
}

.section-title {
  font: italic 500 clamp(30px, 4vw, 40px)/1.2 var(--font-serif);
  margin-bottom: 14px
}

.section-desc {
  color: var(--mute);
  margin: 0
}

/* Buttons */
.btn,
.btn-hero-primary,
.btn-hero-outline,
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 12px 30px;
  font: 500 17px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s
}

.btn-primary,
.btn-hero-primary,
.btn-header-cta {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 196, 234, .28)
}

.btn-primary:hover,
.btn-hero-primary:hover,
.btn-header-cta:hover {
  background: var(--cyan-dark);
  transform: translateY(-1px)
}

.btn-outline,
.btn-work-prev {
  background: #fff;
  color: var(--cyan-dark);
  border-color: var(--cyan)
}

.btn-hero-outline {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  backdrop-filter: blur(6px)
}

.btn-work-next {
  background: var(--cyan);
  color: #fff
}

.btn-lg {
  padding: 16px 36px
}

.btn-block {
  width: 100%
}

/* Header: floating glass pill over the hero (every page starts with a gradient) */
.site-header {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  z-index: 50
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 14px 10px 18px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px)
}

.logo {
  display: flex;
  flex: none
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff
}

.main-nav {
  margin-left: auto
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0
}

.nav-list a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap
}

.nav-list a:hover {
  background: rgba(255, 255, 255, .16)
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px
}

.btn-header-cta {
  padding: 12px 28px;
  font-size: 18px;
  white-space: nowrap
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(20, 16, 50, .96);
  padding: 110px 28px 28px
}

.mobile-menu.open {
  display: block
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px
}

.mobile-nav-list a {
  display: block;
  padding: 12px 8px;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
}

.mobile-nav-list .btn {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  font-size: 17px;
  padding: 14px 24px;
}

.mobile-nav-list .btn-outline {
  background: #fff !important;
  color: var(--cyan-dark) !important;
  border: 1.5px solid var(--cyan) !important;
}

.mobile-nav-list .btn-primary {
  background: var(--cyan) !important;
  color: #fff !important;
  border: 1.5px solid var(--cyan) !important;
}

/* Hero */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 620px;
  padding: 150px 24px 80px;
  color: #fff;
  overflow: hidden;
  background: repeating-radial-gradient(circle at 78% 130%, transparent 0 46px, rgba(255, 255, 255, .05) 47px 48px), linear-gradient(115deg, #41197a 0%, #4a3b8f 38%, #3a6fa0 72%, #3a9eb4 100%)
}

.hero-overlay {
  display: none
}



.hero-content {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.hero-title {
  font: 500 clamp(46px, 8vw, 86px)/1.04 var(--font-body);
  letter-spacing: -.02em;
  margin: 0 0 18px
}

.hero-title em {
  font: italic 500 1em/1 var(--font-serif);
  letter-spacing: -.03em
}

.hero-subtitle {
  font-size: clamp(22px, 3.4vw, 38px);
  line-height: 1.3;
  margin: 0 0 34px
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap
}

.hero-actions .btn-hero-outline,
.hero-actions .btn-hero-primary {
  padding: 16px 40px
}

/* Services: full-bleed concave band */
.services-section {
  padding-bottom: 0
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 44px 0 0;
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  max-width: none;
  clip-path: url(#bandShape)
}

.container>.services-grid {
  margin-left: 0
}

.service-card {
  aspect-ratio: 240/400;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 0 8px 22px;
  border-radius: 0
}

.service-card h3 {
  margin: 0;
  font: 600 clamp(11px, 1.15vw, 15px)/1.3 var(--font-body);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5)
}

/* About */
.about-intro {
  padding-top: 80px;
  padding-bottom: 40px
}

.about-block {
  background: var(--sky);
  padding: 0;
  overflow: hidden
}

.about-block-alt {
  background: #fff;
  position: relative
}

.about-block-alt::before {
  content: "";
  position: absolute;
  left: -6%;
  top: 0;
  bottom: 0;
  width: 34%;
  background: var(--sky);
  transform: skewX(-24deg);
  transform-origin: top left
}

.about-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  min-height: 380px
}

.about-row.reverse {
  grid-template-columns: .95fr 1.05fr
}

.about-row.reverse .about-visual {
  order: -1
}

.about-text {
  padding: 44px 0
}

.about-text h2 {
  font: 500 clamp(26px, 3vw, 34px)/1.2 var(--font-body);
  margin-bottom: 16px
}

.about-text p {
  margin-bottom: 6px;
  max-width: 520px;
  line-height: 2
}

.about-block-alt .about-text p,
.about-block-alt+.about-block .about-text p {
  color: var(--mute)
}

.about-visual {
  align-self: end
}

.laptop-mock img {
  max-width: 360px;
  width: 100%;
  margin: 0 auto
}

/* ============================================================
   Work slider – refined to match the FamilySync image
   ============================================================ */
.work-showcase {
  width: min(100% - 40px, 1100px);
  margin: 40px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(20, 40, 60, .08);
  background: #fff;
}

.work-card {
  display: none;
  position: relative;
  background: #fff center/cover no-repeat;
}

.work-card.no-bg {
  background: linear-gradient(105deg, #f8fcff 0%, #ffffff 45%, #f0f8ff 100%);
}

.work-card.is-active {
  display: block;
}

.work-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 20px 40px;
  width: 90%;
  max-width: 1000px;
  min-height: 460px;
  margin: 0 auto;
  padding: 40px 0 20px;
}

.work-info {
  text-align: left;
  justify-self: start;
  max-width: 420px;
  padding: 20px 10px 20px 0;
}

.work-info h3 {
  font: 600 clamp(28px, 4vw, 42px)/1.15 var(--font-body);
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.work-info p {
  margin: 0 0 8px;
  color: var(--mute);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* First line acts as the short tagline */
.work-info p:first-of-type {
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.work-nav {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.work-nav .btn {
  padding: 12px 28px;
  font-size: 16px;
  min-width: 130px;
}

.btn-work-prev {
  background: #fff;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  box-shadow: none;
}

.btn-work-prev:hover {
  background: #f0faff;
  transform: translateY(-1px);
}

.btn-work-next {
  background: var(--cyan);
  color: #fff;
  border: 1.5px solid var(--cyan);
  box-shadow: 0 8px 20px rgba(18, 196, 234, .25);
}

.btn-work-next:hover {
  background: var(--cyan-dark);
  transform: translateY(-1px);
}

.work-phone {
  align-self: end;
  justify-self: center;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
}

.work-phone img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 40px rgba(30, 80, 120, .15));
}

/* When no phone image exists */
.work-inner:not(:has(.work-phone)) {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.work-inner:not(:has(.work-phone)) .work-info {
  text-align: center;
  max-width: 560px;
}

.work-inner:not(:has(.work-phone)) .work-nav {
  justify-content: center;
}

/* Team */
.team-ceo {
  width: 300px;
  margin: 44px auto 0;
  padding: 40px 24px 34px;
  text-align: center;
  border-radius: 999px;
  background: linear-gradient(#e9f9fe, #e3f6fb)
}

.team-ceo h3 {
  font: 500 25px var(--font-body);
  margin: 16px 0 0
}

.team-role {
  margin: 0;
  font-size: 16px;
  color: #333
}

.team-avatar img,
.team-avatar-lg img {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  margin: 0 auto;
  object-fit: cover
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
  margin: 36px auto 0;
  max-width: 860px
}

.team-member {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #fff;
  border: 1.5px solid var(--cyan);
  border-radius: 999px;
  padding: 34px 12px 0;
  min-height: 360px
}

.team-member .team-avatar img {
  width: 150px;
  height: 150px
}

.team-member h4 {
  font: 500 22px/1.25 var(--font-body);
  margin: 14px 0 0
}

.team-member p {
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  margin: 0;
  padding: 34px 8px 20px;
  background: var(--cyan);
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
  border-radius: 50% 50% 0 0/22px 22px 0 0
}

/* Why choose */
.why-section {
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 0
}

.why-section::before {
  content: "";
  position: absolute;
  left: -6%;
  top: 0;
  bottom: 0;
  width: 34%;
  background: var(--sky);
  transform: skewX(-24deg);
  transform-origin: top left
}

.why-row {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
  align-items: center;
  position: relative;
  padding: 28px 0
}

.why-img {
  width: 230px;
  margin: 0 auto
}

.why-text h2 {
  font: 500 clamp(26px, 3vw, 34px)/1.25 var(--font-body)
}

.why-text h2 span {
  color: var(--cyan)
}

.why-text p {
  color: var(--mute);
  max-width: 560px;
  line-height: 2
}

/* Contact */
.contact-section {
  padding: 56px 0 0;
  background: var(--bg)
}

.contact-section .section-header {
  margin-bottom: 46px
}

.contact-band {
  background: #fff;
  padding: 44px 0
}

.contact-row {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 36px;
  align-items: stretch
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius)
}

.contact-form-wrap h3 {
  font: 500 clamp(28px, 3vw, 36px) var(--font-body);
  margin-bottom: 6px
}

.contact-form-note {
  color: var(--mute);
  margin-bottom: 18px;
  line-height: 1.9
}

.form-group {
  margin-bottom: 14px
}

.form-group label,
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px
}

.form-control {
  display: block;
  width: 100%;
  padding: 13px 22px;
  border: 1px solid #e3e5e7;
  border-radius: 999px;
  background: var(--bg);
  font: 400 15px var(--font-body);
  color: var(--ink)
}

textarea.form-control {
  border-radius: 22px;
  resize: vertical
}

.form-control:focus {
  outline: 2px solid var(--cyan);
  background: #fff
}

.contact-form .btn-primary {
  padding: 16px 24px;
  font-size: 19px;
  box-shadow: 0 16px 30px rgba(18, 196, 234, .28)
}

.contact-info-band {
  background: var(--bg);
  padding: 26px 0
}

.contact-info-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.2fr;
  gap: 24px
}

.contact-info-item {
  display: block
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: var(--cyan)
}

.contact-info-icon img {
  width: 100%;
  height: 100%
}

.contact-info-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2
}

.contact-info-item strong {
  display: block;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3
}

.contact-info-item p {
  margin: 2px 0 0;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.5
}

.contact-map {
  background: var(--bg);
  padding: 40px 0 70px
}

.contact-map img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(20, 40, 60, .12)
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--sky);
  color: var(--ink);
  padding: 56px 0 0
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 20px;
  width: 150px;
  height: 300px;
  background: url('../img/main/xhdpi/footer_half_logo.png') right center/contain no-repeat;
  pointer-events: none
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px 56px;
  position: relative;
  z-index: 1
}

.footer-logo-img {
  width: 310px;
  margin-bottom: 16px
}

.footer-desc {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.7;
  max-width: 380px
}

.footer-title {
  font: 500 26px var(--font-body);
  color: var(--cyan);
  margin: 0 0 12px
}

.social-links {
  display: flex;
  gap: 14px
}

.social-links img {
  width: 34px;
  height: 34px
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  list-style: none;
  margin: 0 0 24px;
  padding: 0
}

.footer-links li {
  padding: 6px 28px 6px 0;
  margin-right: 28px
}

.footer-links li:not(:nth-child(3n+1)) {
  border-left: 1.5px solid #8fcfe2;
  padding-left: 28px
}

.footer-links a {
  text-decoration: none;
  font-size: 19px
}

.footer-links a:hover {
  color: var(--cyan-dark)
}

.footer-cta-btns {
  display: grid;
  gap: 14px
}

.footer-cta-btns .btn {
  width: 100%;
  padding: 16px;
  font-size: 20px
}

.footer-cta-btns .btn-outline {
  background: #fff
}

.footer-follow {
  grid-column: 1
}

.footer-links-col {
  grid-column: 2;
  grid-row: 1 / span 2
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  padding: 18px 0;
  border-top: 1px solid #a8dcec;
  font-size: 14px;
  position: relative;
  z-index: 1
}

.footer-bottom p {
  margin: 0
}

/* Inner pages (student, etc.) */
.page-hero {
  padding: 170px 0 64px;
  text-align: center;
  color: #fff;
  background: repeating-radial-gradient(circle at 78% 130%, transparent 0 46px, rgba(255, 255, 255, .05) 47px 48px), linear-gradient(115deg, #41197a, #3a6fa0 70%, #3a9eb4)
}

.page-hero h1 {
  font: 500 clamp(34px, 5vw, 54px) var(--font-body)
}

.page-hero p {
  opacity: .9;
  font-size: 20px
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px
}

.student-banner {
  max-height: 260px;
  margin: 0 auto
}

.alert {
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 18px
}

.alert-success {
  background: #e3f8ea;
  color: #116a34
}

.alert-error {
  background: #fde7e7;
  color: #a32020
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.mb-3 {
  margin-bottom: 1.25rem
}

/* Responsive */
@media(max-width:900px) {
  .main-nav {
    display: none
  }

  .mobile-toggle {
    display: block
  }

  .header-inner {
    padding: 8px 12px
  }

  .btn-header-cta {
    font-size: 15px;
    padding: 10px 18px
  }

  .about-row,
  .about-row.reverse,
  .why-row,
  .contact-row,
  .footer-grid,
  .work-card.is-active,
  .form-row {
    grid-template-columns: 1fr
  }

  .about-row.reverse .about-visual {
    order: 0
  }

  .about-visual {
    justify-self: center
  }

  .about-text {
    padding-bottom: 0
  }

  .footer-links-col {
    grid-column: 1;
    grid-row: auto
  }

  .contact-visual img {
    max-height: 320px
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .contact-info-row {
    grid-template-columns: 1fr
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    clip-path: none
  }

  /* Work section mobile adjustments */
  .work-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    padding: 32px 16px 20px;
    width: 100%;
  }

  .work-phone {
    order: -1;
    margin-bottom: 10px;
  }

  .work-phone img {
    max-height: 340px;
  }

  .work-info {
    text-align: center;
    max-width: 100%;
    padding: 10px 8px 0;
  }

  .work-nav {
    justify-content: center;
  }

  .about-block-alt::before,
  .why-section::before {
    display: none
  }
}

@media(max-width:560px) {
  .container {
    padding: 0 18px
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 260px
  }

  .hero-actions .btn {
    padding: 14px 28px
  }

  .footer-links {
    grid-template-columns: repeat(2, auto)
  }

  .footer-links li:not(:nth-child(3n+1)) {
    border-left: 0;
    padding-left: 0
  }

  .site-footer::after {
    opacity: .35
  }

  /* Extra small screens – work section */
  .work-showcase {
    width: calc(100% - 24px);
    margin: 28px auto 0;
  }

  .work-inner {
    padding: 24px 12px 16px;
  }

  .work-info h3 {
    font-size: 26px;
  }

  .work-nav .btn {
    padding: 11px 22px;
    font-size: 15px;
    min-width: 120px;
  }

  .work-phone img {
    max-height: 300px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  * {
    transition: none !important
  }
}