* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, Arial, sans-serif;
  color: #101f3d;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(90%, 1180px);
  margin-inline: auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #dce3eb;
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand span {
  color: #184fa8;
  font-size: 22px;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #42516a;
  font-size: 14px;
}

.menu a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.button {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  background: #184fa8;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.button:hover {
  background: #113d84;
}

.hero {
  background: linear-gradient(110deg, #f4f7fa, #e2eaf3);
}

.hero-inner {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 4%;
}

.hero-copy {
  padding-block: 44px;
}

.eyebrow {
  margin: 0;
  color: #184fa8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 40ch;
  margin: 0 0 22px;
  color: #42516a;
  line-height: 1.6;
}

.hero-photo {
  align-self: end;
  width: min(100%, 400px);
  margin-inline: auto;
  padding-top: 28px;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: clamp(260px, 36vw, 420px);
  object-fit: cover;
  object-position: center top;
  background: #d5e1ef;
  border-radius: 48% 48% 0 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-block: 24px;
}

.service {
  padding: 16px;
  border: 1px solid #dce3eb;
}

.service h2 {
  margin: 0 0 5px;
  font-size: 16px;
}

.service p {
  margin: 0;
  color: #42516a;
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid #dce3eb;
  color: #42516a;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 18px;
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .menu {
    order: 3;
    width: 100%;
    gap: 10px 16px;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    padding: 34px 0 8px;
  }

  .hero-photo {
    width: min(86%, 320px);
  }

  .hero-photo img {
    height: 290px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.about {
  margin-bottom: 24px;
  padding: 24px;
  background-color: #f4f7fb;
  border-left: 4px solid #184fa8;
  border-radius: 8px;
}

.about h2 {
  margin: 0 0 10px;
  color: #101f3d;
  font-size: 26px;
}

.about .intro {
  max-width: 62ch;
  margin: 0;
}
.about .button {
  margin-top: 16px;
}
.consultation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.consultation-options .button {
  margin-top: 0;
}
.online-hero {
  background: #f4f7fb;
}

.online-banner {
  display: block;
  width: 100%;
  height: auto;
}

.online-details {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding-block: 40px;
}

.online-copy h1 {
  margin: 10px 0 16px;
  color: #101f3d;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
}

.online-copy .intro {
  margin-bottom: 0;
}

.online-horoscope {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  justify-self: center;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .online-details {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 28px;
  }
}
.online-services {
  padding-block: 32px;
}

.online-services h2 {
  margin: 0 0 16px;
}

.online-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.online-service-grid .service {
  padding: 20px;
  border-radius: 10px;
  background: #f4f7fb;
}

.online-service-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.online-service-grid p {
  font-size: 14px;
  line-height: 1.6;
}

.online-steps {
  margin: 12px 0 0;
  padding-left: 22px;
  line-height: 1.6;
}

.online-steps li + li {
  margin-top: 8px;
}

@media (max-width: 720px) {
  .online-service-grid {
    grid-template-columns: 1fr;
  }
}
.bangladesh-banner {
  display: block;
  width: 100%;
  height: auto;
}
.academy-heading {
  padding-block: 28px;
  text-align: center;
}

 .academy-heading h1 {
  max-width: none;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(22px, 2.7vw, 36px);
  line-height: 1.2;
  letter-spacing: normal;
}

@media (min-width: 1000px) {
  .academy-heading h1 {
    white-space: nowrap;
  }
}

.academy-banner {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
}
/* Academy page — Cream, Gold & Navy */
.academy-page {
  --academy-navy: #101b50;
  --academy-gold: #bf8a2e;
  --academy-cream: #fff8e9;
  --academy-border: #e7d2a4;
  --academy-text: #4d3d2b;

  background: var(--academy-cream);
  color: var(--academy-navy);
}

.academy-page .site-header {
  background: #fffaf0;
  border-bottom-color: var(--academy-border);
}

.academy-page .brand span {
  color: #8b5b13;
}

.academy-page .academy-heading {
  background: linear-gradient(110deg, #fffaf0, #f8e5b7, #fffaf0);
}

.academy-page .academy-heading h1 {
  color: var(--academy-navy);
}

.academy-page .academy-banner {
  border-bottom: 3px solid var(--academy-gold);
}

.academy-page .about {
  background: #fffdf6;
  border: 1px solid var(--academy-border);
  border-left: 4px solid var(--academy-gold);
}

.academy-page .about h2,
.academy-page .service h3 {
  color: var(--academy-navy);
}

.academy-page .service {
  background: #fff6df;
  border-color: var(--academy-border);
  border-radius: 10px;
}

.academy-page .intro,
.academy-page .service p {
  color: var(--academy-text);
}

.academy-page .button {
  background: var(--academy-navy);
  color: #fff;
  border: 1px solid var(--academy-gold);
}

.academy-page .button:hover {
  background: #22346d;
}
.academy-page .academy-class-photo {
  max-width: 560px;
  margin: 16px 0 0;
}

.academy-page .academy-class-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.academy-page .academy-class-photo figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--academy-text);
}
.academy-page .academy-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.academy-page .academy-gallery .academy-class-photo {
  max-width: none;
  margin: 0;
}

@media (max-width: 600px) {
  .academy-page .academy-gallery {
    grid-template-columns: 1fr;
  }
}
.academy-page .academy-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.academy-page .academy-course-grid h3 {
  margin: 0 0 8px;
}

.academy-page .academy-course-grid p + p {
  margin-top: 6px;
}

.academy-page .academy-course-format {
  margin-top: 16px;
}

@media (max-width: 720px) {
  .academy-page .academy-course-grid {
    grid-template-columns: 1fr;
  }
}
.academy-page .academy-syllabus {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--academy-border);
}

.academy-page .academy-syllabus summary {
  color: var(--academy-navy);
  font-weight: 700;
  cursor: pointer;
}

.academy-page .academy-syllabus ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--academy-text);
  font-size: 14px;
  line-height: 1.6;
}
.academy-page .academy-enquiry {
  margin-top: 14px;
  background: linear-gradient(135deg, #fff0bb, #e7b84e);
  color: #101b50;
  border-color: #b78327;
}

.academy-page .academy-enquiry:hover {
  background: #e7b84e;
  color: #101b50;
}
.academy-page .academy-duration {
  color: #17635B;
  font-weight: 700;
}

.academy-page .academy-fee {
  color: #8A520C;
  font-weight: 700;
}
#chambers .coordinator-name {
  color: #17635B;
  font-weight: 700;
}
.about-profile {
  padding-block: 24px;
}

.about-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.about-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 64px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 10px;
  text-decoration: none;
}

.about-social-link:hover {
  border-color: #184fa8;
}

.about-youtube-logo {
  display: block;
  width: 126px;
  height: auto;
}

.about-facebook {
  color: #0866ff;
  font-size: 20px;
  font-weight: 800;
}

.about-profile h1 {
  margin: 8px 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.about-profile p,
.about-topics {
  line-height: 1.65;
}

.about-profile h2 {
  margin-top: 24px;
}

.about-topics {
  padding-left: 22px;
}

.about-note {
  color: #42516a;
  font-size: 13px;
}
.about-profile .about-topics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.about-profile .about-zodiac {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  justify-items: center;
  align-items: center;
  gap: 8px;
}

.about-profile .about-zodiac img {
  grid-row: 1;
  grid-column: 1 / -1;
  display: block;
  width: min(100%, 230px);
  aspect-ratio: 1;
  object-fit: contain;
  animation: about-zodiac-spin 36s linear infinite;
}

.about-profile .about-zodiac label {
  color: #42516a;
  font-size: 13px;
}

.about-profile #pause-zodiac:checked ~ img {
  animation-play-state: paused;
}

@keyframes about-zodiac-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 700px) {
  .about-profile .about-topics-layout {
    grid-template-columns: 1fr;
  }

  .about-profile .about-zodiac img {
    width: min(100%, 170px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-profile .about-zodiac img {
    animation: none;
  }

  .about-profile .about-zodiac input,
  .about-profile .about-zodiac label {
    display: none;
  }
}
#academy.home-panel-split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

#academy .home-academy-video {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  justify-self: center;
  border: none;
background: transparent;
  border-radius: 12px;
}

@media (max-width: 720px) {
  #academy.home-panel-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.home-bangladesh-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.home-bangladesh-video {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  justify-self: center;
 border: none;
background: transparent;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .home-bangladesh-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.home-consultation-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.home-consultation-video {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  justify-self: center;
  border: none;
background: transparent;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .home-consultation-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.home-about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.home-about-video {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  justify-self: center;
  background: transparent;
}

@media (max-width: 720px) {
  .home-about-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}
.hero-copy .hero-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-copy .hero-chamber-link {
  background: transparent;
  color: #184fa8;
  box-shadow: inset 0 0 0 1px #184fa8;
}

.hero-copy .hero-chamber-link:hover {
  background: #e3ecfa;
}

.hero-copy .hero-course-link {
  display: inline-block;
  margin-top: 14px;
  color: #184fa8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.service-grid .home-service-link {
  display: block;
  background: #fff;
  border-radius: 10px;
}

.service-grid.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-block: 24px;
}

.home-services-grid .home-service-link {
  min-height: 92px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-services-grid .home-service-link h2 {
  font-size: 17px;
}

.home-services-grid .home-service-link p {
  font-size: 14px;
}

@media (max-width: 720px) {
  .service-grid.home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* About panel on the homepage */
#about.home-about-panel {
  background-color: #f4f7fb;
  border-left: 4px solid #184fa8;
  border-radius: 8px;
}

/* Blue highlight on the four homepage cards */
.home-services-grid .home-service-link:hover,
.home-services-grid .home-service-link:focus-visible {
  background-color: #edf4ff;
  border-color: #184fa8;
}
#home-photo-slider {
  position: relative;
  height: 180px;
  margin: 0 auto 24px;
  overflow: hidden;
  background: #eaf0f8;
  box-sizing: border-box;
  border-radius: 8px;
  border-left: 4px solid #184fa8;
}

#home-slide-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

#home-slide-toggle {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: #10264c;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 720px) {
  #home-photo-slider {
    height: 135px;
  }
}
#home-photo-slider {
  height: auto;
}

#home-photo-slider::before {
  display: none;
}

#home-slide-image {
  width: 100%;
  height: auto;
}
#home-photo-slider {
  position: relative;
  height: auto;
  aspect-ratio: var(--first-slide-ratio, 16 / 9);
}

#home-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

#home-photo-slider::before {
  display: none;
}