/* ==========================================================================
   Aim & Accomplish Education Consultancy & Placement Firm
   Static site stylesheet
   ========================================================================== */

:root {
  --navy:        #0b2a41;
  --navy-deep:   #072031;
  --ink:         #16171e;
  --red:         #c1272d;
  --green:       #57b846;
  --green-dark:  #48a338;
  --orange:      #e8935b;
  --peach:       #fdeee2;
  --text:        #5f5f5f;
  --heading:     #16171e;
  --muted:       #8a8f98;
  --line:        #e7e9ee;
  --bg-soft:     #f6f7f9;
  --white:       #ffffff;

  --container:   1180px;
  --radius:      10px;
  --shadow:      0 18px 40px -18px rgba(11, 42, 65, 0.28);
  --shadow-sm:   0 8px 24px -12px rgba(11, 42, 65, 0.22);

  --font-body:   "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---- reset ---------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---- layout helpers ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 76px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); }
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark p { color: #b7bcc6; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(232, 147, 91, .4);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  padding: 13px 26px;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--navy);
  color: #d5dde5;
  font-size: .82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 16px;
}
.topbar__info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__info li { display: flex; align-items: center; gap: 7px; }
.topbar__info svg { width: 15px; height: 15px; flex: none; color: var(--green); }
.topbar a:hover { color: #fff; }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__social { display: flex; gap: 10px; }
.topbar__social a {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 5px;
}
.topbar__social a:hover { background: var(--green); border-color: var(--green); }
.topbar__social svg { width: 13px; height: 13px; }
.topbar__cta {
  background: var(--green);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 12px 20px;
}
.topbar__cta:hover { background: var(--green-dark); color: #fff; }

.nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 20px;
}
.nav__logo img { height: 46px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: #1a1b1e;
  padding: 6px 0;
  position: relative;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width .2s ease;
}
.nav__menu a:hover::after,
.nav__menu a.is-active::after { width: 100%; }
.nav__menu a.is-active { color: var(--navy); }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle svg { width: 26px; height: 26px; color: var(--navy); }

/* ==========================================================================
   Page header (interior pages)
   ========================================================================== */
.page-header {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 72px 0;
  text-align: center;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(7, 32, 49, .92), rgba(7, 32, 49, .72)),
              url("../img/page-header.jpg") center/cover no-repeat;
}
.page-header > .container { position: relative; }
.page-header h1 { color: #fff; margin-bottom: 10px; }
.breadcrumb {
  font-family: var(--font-head);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #a9c3d3;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--green); }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative;
  background: #eef1f4 url("../img/hero.jpg") right center/cover no-repeat;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #ffffff 26%, rgba(255,255,255,.55) 55%, rgba(255,255,255,0) 78%);
}
.hero__inner { position: relative; max-width: 620px; padding: 80px 0; }
.hero h1 { margin-bottom: 18px; }
.hero h1 span { color: var(--green); }
.hero p { font-size: 1.08rem; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   "What we offer" strip
   ========================================================================== */
.offer {
  background: var(--navy);
  color: #fff;
}
.offer .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.offer__item {
  padding: 40px 34px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.offer__item:last-child { border-right: 0; }
.offer__item h3 { color: #fff; margin-bottom: 6px; text-transform: capitalize; }
.offer__item p { color: #b9c6d0; margin: 0; font-size: .95rem; }
.offer__num {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green);
  font-size: .9rem;
  display: block;
  margin-bottom: 12px;
}

/* ==========================================================================
   Feature cards (benefits)
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--peach);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; color: var(--orange); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .93rem; margin-bottom: 16px; }
.card__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card__link:hover { color: var(--green); }

/* ==========================================================================
   Objectives (dark)
   ========================================================================== */
.objectives {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.objective {
  border-left: 3px solid var(--green);
  padding: 6px 0 6px 22px;
}
.objective h3 { color: #fff; margin-bottom: 8px; }
.objective p { margin: 0; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.about-grid .founder {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--heading);
}
.about-grid .founder span {
  display: block;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
}
.info-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.info-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--peach);
  border: 2px solid var(--orange);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 18px;
}
.stat b {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--navy);
  display: block;
  line-height: 1;
}
.stat span {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

/* ==========================================================================
   Services list
   ========================================================================== */
.svc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.svc {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.svc__num {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--orange);
  font-size: 1.1rem;
  flex: none;
}
.svc h3 { font-size: 1.08rem; margin-bottom: 4px; }
.svc p { margin: 0; font-size: .93rem; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member__photo {
  aspect-ratio: 3 / 3.2;
  background: var(--navy);
  overflow: hidden;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__avatar {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.4rem;
  color: #fff;
  background: linear-gradient(150deg, var(--navy), #14507a);
}
.member__body { padding: 20px 14px 24px; }
.member h3 { font-size: 1.05rem; margin-bottom: 2px; }
.member span {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
}

.why-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
}
.why-list svg {
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  color: var(--green);
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 20px 54px 20px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading);
  position: relative;
}
.faq__q::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--green);
  line-height: 1;
}
.faq__item.is-open .faq__q::after { content: "\2013"; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.faq__a p { padding: 0 22px 20px; margin: 0; font-size: .95rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: start;
}
.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-card:last-child { border-bottom: 0; }
.contact-card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--peach);
  display: grid; place-items: center;
  flex: none;
}
.contact-card__icon svg { width: 20px; height: 20px; color: var(--orange); }
.contact-card h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-card p { margin: 0; font-size: .95rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  color: var(--heading);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--heading);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(87, 184, 70, .15);
}
.field textarea { resize: vertical; min-height: 130px; }

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: .9rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.form-status--success {
  background: #eaf7e6;
  border-color: #bfe5b2;
  color: #2f7d1f;
}
.form-status--error {
  background: #fdecec;
  border-color: #f4c6c6;
  color: #b5302c;
}
.hp {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.footer__form-status {
  margin: 8px 0 0;
  font-size: .82rem;
  color: #c9ced7;
}
.footer__form-status.form-status--success { color: #9ee08c; background: none; border: 0; padding: 0; }
.footer__form-status.form-status--error { color: #f0a3a0; background: none; border: 0; padding: 0; }
.map-embed {
  margin-top: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #b9c6d0; max-width: 560px; margin: 0 auto 26px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink);
  color: #a4abb6;
  padding: 66px 0 0;
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}
.footer__logo {
  display: inline-block;
  margin-bottom: 18px;
}
.footer__logo img { height: 60px; width: auto; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 34px; height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center;
}
.footer__social a:hover { background: var(--green); border-color: var(--green); }
.footer__social svg { width: 15px; height: 15px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a:hover { color: #fff; }
.footer__contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.footer__contact svg { width: 17px; height: 17px; flex: none; color: var(--green); margin-top: 3px; }
.footer__form { display: flex; margin-top: 12px; }
.footer__form input {
  flex: 1;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: #fff;
  padding: 11px 14px;
  border-radius: 6px 0 0 6px;
  font-family: var(--font-body);
  font-size: .9rem;
}
.footer__form input::placeholder { color: #7b828d; }
.footer__form button {
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 0 18px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .85rem;
}
.footer__bottom a { color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .offer .container { grid-template-columns: 1fr; }
  .offer__item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .offer__item:last-child { border-bottom: 0; }
}

@media (max-width: 860px) {
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__menu a:last-child { border-bottom: 0; }
  .nav__toggle { display: inline-flex; }
  .topbar__info { display: none; }
  .topbar .container { justify-content: center; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .objectives { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero::before {
    background: linear-gradient(180deg, rgba(255,255,255,.9) 40%, rgba(255,255,255,.7));
  }
}

@media (max-width: 560px) {
  .section { padding: 54px 0; }
  .cards,
  .team-grid,
  .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
