:root {
  --font-ui: 'Sora', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --ink-900: #111b24;
  --ink-700: #2e3d4f;
  --ink-500: #5a6880;
  --sand-100: #f8f4ee;
  --sand-200: #efe8dc;
  --surface: #ffffff;
  --brand-700: #8c3a1f;
  --brand-600: #b04a22;
  --brand-500: #d77739;
  --accent-500: #0f6e72;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --shadow-soft: 0 14px 40px rgba(17, 27, 36, 0.11);
  --shadow-card: 0 10px 34px rgba(22, 36, 53, 0.14);
}

html,
body {
  font-family: var(--font-ui);
  color: var(--ink-900);
  background:
    radial-gradient(circle at 12% 14%, rgba(214, 143, 89, 0.16), transparent 30%),
    radial-gradient(circle at 88% 6%, rgba(15, 110, 114, 0.12), transparent 30%),
    linear-gradient(180deg, #f7f4ef 0%, #fefdfb 38%, #ffffff 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(17, 27, 36, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 27, 36, 0.028) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.4;
  z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink-900);
}

.main-banner .caption h2,
.section-heading h2,
.heading-page h2,
#about h3,
.text-schedule h3 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

p {
  color: var(--ink-700);
  line-height: 1.7;
}

.header-area {
  top: 16px;
  margin: 0 auto;
  max-width: min(1240px, calc(100vw - 24px));
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 10px 26px rgba(22, 36, 53, 0.18);
}

.header-area .main-nav {
  min-height: 72px;
}

.header-area .main-nav .logo {
  line-height: 72px;
}

.header-area .main-nav .nav {
  margin-top: 16px;
}

.header-area .main-nav .nav li a {
  color: var(--ink-900);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.93rem;
  border-radius: 999px;
  padding: 0 12px;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
  color: var(--brand-700) !important;
  background: rgba(215, 119, 57, 0.12);
  transform: translateY(-1px);
}

.background-header {
  top: 8px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(17, 27, 36, 0.08);
  height: auto !important;
  box-shadow: 0 12px 30px rgba(10, 20, 30, 0.2) !important;
}

.main-banner .carousel-item img {
  min-height: min(92vh, 860px);
  object-fit: cover;
}

.video-overlay {
  background:
    linear-gradient(115deg, rgba(7, 14, 23, 0.75), rgba(7, 14, 23, 0.3) 58%, rgba(7, 14, 23, 0.72)),
    radial-gradient(circle at 76% 20%, rgba(215, 119, 57, 0.22), transparent 46%);
}

.main-banner .caption h6 {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.88);
}

.main-banner .caption h2 {
  text-transform: none;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.08;
}

.main-banner .caption p {
  max-width: 640px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.main-button-red a,
section.contact-us #contact button {
  background: linear-gradient(125deg, var(--brand-700), var(--brand-500));
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 24px rgba(176, 74, 34, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transform: translateY(0);
}

.main-button-red a:hover,
section.contact-us #contact button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(176, 74, 34, 0.34);
}

.services {
  margin-top: -120px;
}

.services .item,
.meeting-item,
.service-text,
.serv-on-more,
section.upcoming-meetings .categories,
section.contact-us #contact,
section.contact-us .right-info,
.accordions,
.our-courses .item {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(17, 27, 36, 0.08);
  box-shadow: var(--shadow-card);
}

.services .item {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(242, 236, 226, 0.86));
  overflow: hidden;
}

.services .item .icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(15, 110, 114, 0.17), rgba(215, 119, 57, 0.18));
  margin-bottom: 8px;
}

.services .item h1 {
  margin-bottom: 0;
  color: var(--brand-700);
}

.services .item h4,
.meeting-item .down-content h4 {
  font-family: var(--font-display);
  font-size: 1.42rem;
}

.meeting-item,
.service-text,
.serv-on {
  overflow: hidden;
}

.meeting-item .thumb img,
.service-image img,
.serv-on img,
.container-ba,
.our-courses .item img,
.partnerl {
  transition: transform 0.55s ease;
}

.meeting-item:hover .thumb img,
.service-image:hover img,
.serv-on:hover img,
.our-courses .item:hover img {
  transform: scale(1.04);
}

section.heading-page {
  padding-top: 210px;
  padding-bottom: 90px;
  position: relative;
}

section.heading-page::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.38));
}

section.heading-page .container {
  position: relative;
  z-index: 2;
}

section.heading-page h2,
section.heading-page h6 {
  color: #fff;
  text-transform: none;
}

section.upcoming-meetings,
section.meetings-page,
.bg-light-q {
  background: linear-gradient(180deg, rgba(239, 232, 220, 0.5) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.text-schedule {
  position: relative;
  border-radius: var(--radius-xl);
  background-size: cover;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.text-schedule::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(248, 244, 238, 0.34));
}

.text-schedule > * {
  position: relative;
  z-index: 1;
}

.partnerl {
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(17, 27, 36, 0.2);
}

.partnerl:hover {
  transform: translateY(-6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 14px 28px rgba(17, 27, 36, 0.27);
}

section.contact-us {
  background: linear-gradient(160deg, #15212d, #101820);
}

section.contact-us #contact input,
section.contact-us #contact textarea {
  background: #f6f8fa;
  border: 1px solid #dce3ea;
  color: var(--ink-900);
  font-size: 0.95rem;
}

section.contact-us .right-info {
  background: linear-gradient(145deg, rgba(176, 74, 34, 0.96), rgba(115, 47, 24, 0.98));
}

.footer {
  border-top: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(15, 110, 114, 0.18), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(215, 119, 57, 0.18), transparent 30%),
    #0d151f;
  padding: 62px 0 34px;
}

.all-links h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.all-links ul li a {
  color: #f2b180;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.all-links ul li a:hover {
  color: #fff;
}

.footer p {
  margin-top: 24px;
  text-transform: none;
  letter-spacing: 0.03em;
  color: #ccd9e7;
}

.services-text .col-lg-3 > a,
.services-text .col-md-4 > a,
.services-text .col-sm-6 > a {
  display: block;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 1), rgba(243, 237, 228, 0.78));
  border: 1px solid rgba(17, 27, 36, 0.08);
  box-shadow: var(--shadow-soft);
}

.services-text .col-lg-3 > a img,
.services-text .col-md-4 > a img,
.services-text .col-sm-6 > a img {
  border-radius: 12px;
}

.services-text .col-lg-3 > a span,
.services-text .col-md-4 > a span,
.services-text .col-sm-6 > a span {
  display: block;
  font-size: 0.95rem;
  margin-top: 10px;
  color: var(--ink-900);
  font-weight: 600;
}

.projects-insights-modern {
  position: relative;
  padding-top: 6.2rem;
  padding-bottom: 6.2rem;
  background: transparent;
}

.projects-insights-modern .section-heading {
  text-align: center;
  margin-bottom: 24px;
}

.projects-insights-modern .insights-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-500);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.projects-insights-modern .section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 12px;
}

.projects-insights-modern .owl-courses-item {
  padding-bottom: 2.8rem;
}

.projects-insights-modern .owl-courses-item .item {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(17, 27, 36, 0.08);
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(16, 28, 38, 0.18);
  isolation: isolate;
}

.projects-insights-modern .owl-courses-item .item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s ease;
}

.projects-insights-modern .owl-courses-item .item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 14, 22, 0.85), rgba(8, 14, 22, 0.2) 50%, rgba(8, 14, 22, 0));
  z-index: 1;
}

.projects-insights-modern .owl-courses-item .item .down-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: transparent;
  padding: 18px 18px 20px;
}

.projects-insights-modern .owl-courses-item .item .down-content h4 {
  border: 0;
  padding: 0;
  margin: 0;
  color: #f7f8fa;
  text-align: left;
  font-size: 1.05rem;
  font-family: var(--font-ui);
  font-weight: 600;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.projects-insights-modern .owl-courses-item .item:hover img {
  transform: scale(1.06);
  filter: saturate(1.06);
}

.projects-insights-modern .owl-nav {
  top: 46%;
}

.projects-insights-modern .owl-nav .owl-prev,
.projects-insights-modern .owl-nav .owl-next {
  width: 52px;
  height: 52px;
}

.projects-insights-modern .owl-nav .owl-prev:before,
.projects-insights-modern .owl-nav .owl-next:before {
  width: 52px;
  height: 52px;
  line-height: 52px;
  font-size: 19px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(7, 15, 24, 0.9);
  box-shadow: 0 10px 22px rgba(13, 20, 29, 0.34);
}

.projects-insights-modern .main-button-red a {
  min-width: 190px;
}

.apply-now-modern {
  position: relative;
  background:
    linear-gradient(115deg, rgba(7, 14, 23, 0.86), rgba(7, 14, 23, 0.7)),
    url('../images/back-2.jpg');
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.apply-now-modern .item {
  background: linear-gradient(130deg, rgba(240, 245, 251, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

.apply-now-modern .item h3 {
  color: #f7f8fa;
  letter-spacing: 0.01em;
}

.apply-now-modern .item p {
  color: rgba(240, 244, 252, 0.92);
}

.apply-now-modern .item .main-button-red,
.apply-now-modern .item .main-button-yellow {
  margin-top: 22px;
}

.apply-now-modern .item .main-button-yellow a {
  background: linear-gradient(125deg, #0f6e72, #2b9498);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 10px 24px rgba(15, 110, 114, 0.3);
}

.apply-now-modern .accordions {
  margin-left: 28px;
  padding: 8px;
  border-radius: 24px;
  border: 1px solid rgba(17, 27, 36, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 239, 0.96));
  box-shadow: 0 18px 38px rgba(10, 20, 30, 0.22);
}

.apply-now-modern .accordion {
  border: 1px solid rgba(17, 27, 36, 0.1);
  background: #ffffff;
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.apply-now-modern .accordion:last-child {
  margin-bottom: 0;
}

.apply-now-modern .accordion:hover {
  transform: translateY(-1px);
  border-color: rgba(176, 74, 34, 0.24);
  box-shadow: 0 8px 24px rgba(17, 27, 36, 0.1);
}

.apply-now-modern .accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #1b2430;
  font-weight: 700;
  font-size: 1.16rem;
  line-height: 1.4;
  font-family: var(--font-ui);
  letter-spacing: 0;
  padding: 18px 20px;
}

.apply-now-modern .accordion-head .icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(17, 27, 36, 0.06);
  color: #2d3a4a;
}

.apply-now-modern .accordion-head .icon i {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.apply-now-modern .accordion-head.is-open {
  color: var(--brand-600);
  background: linear-gradient(90deg, rgba(176, 74, 34, 0.08), rgba(176, 74, 34, 0));
}

.apply-now-modern .accordion-head.is-open .icon {
  background: rgba(176, 74, 34, 0.18);
  color: var(--brand-600);
  transform: none;
}

.apply-now-modern .accordion-head.is-open .icon i {
  transform: rotate(90deg);
}

.apply-now-modern .accordion-body > .content {
  padding: 0 20px 20px;
}

.apply-now-modern .accordion-body p {
  color: #364254;
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

.apply-now-modern .accordion-body {
  height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: height 0.3s ease, opacity 0.2s ease;
}

.apply-now-modern .accordion-head.is-open + .accordion-body {
  opacity: 1;
  visibility: visible;
}

@keyframes float-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-banner .caption,
.section-heading,
.service-text,
.meeting-item,
.about .content,
.text-schedule {
  animation: float-up 0.8s ease both;
}

@media (max-width: 991px) {
  .header-area {
    top: 0;
    max-width: 100%;
    border-radius: 0;
    border: 0;
    backdrop-filter: none;
    background: rgba(247, 247, 247, 0.98);
  }

  .header-area .main-nav .nav {
    margin-top: 0;
  }

  .header-area .main-nav .nav li a {
    background: #f6f8fa !important;
    border-radius: 0 !important;
  }

  .services {
    margin-top: 40px;
  }

  #about {
    padding-top: 3.5rem;
  }

  .main-banner .caption {
    top: 52%;
  }

  .apply-now-modern .accordions {
    margin-left: 0;
    margin-top: 18px;
  }

  .projects-insights-modern .owl-courses-item .item img {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .main-banner .carousel-item img {
    min-height: 72vh;
  }

  .main-banner .caption h2 {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }

  .main-banner .caption p {
    display: block;
    font-size: 0.9rem;
  }

  .all-links ul {
    gap: 8px;
  }

  .all-links ul li {
    padding: 0.2rem;
  }

  .apply-now-modern .item {
    padding: 24px;
  }

  .apply-now-modern .accordion-head {
    font-size: 1rem;
    padding: 16px;
  }

  .apply-now-modern .accordion-body > .content {
    padding: 0 16px 16px;
  }

  .projects-insights-modern {
    padding-top: 4.6rem;
    padding-bottom: 4.6rem;
  }

  .projects-insights-modern .owl-courses-item .item img {
    height: 240px;
  }

  .projects-insights-modern .owl-nav {
    top: 40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
