/* ==========================================================================
   Compansol — site styles
   ========================================================================== */

:root {
  --dark: #222;
  --header-bg: #333;
  --footer-top: #212121;
  --footer-bottom: #1c1c1c;
  --cta-bg: #dbe2eb;
  --link-hover: #0189dd;
  --green: #a2c66f;
  --pink: #e49994;
  --blue: #8ac0ee;
  --yellow: #ffc857;
  --sand: #e8d8c3;
  --text: #252525;
  --muted: #666;
  --font-body: "Raleway", sans-serif;
  --font-head: "Arvo", serif;
  --font-text: "Montserrat", sans-serif;
  --font-title: Verdana, Geneva, sans-serif;
  --container: 1140px;
  --header-h: 75px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--link-hover); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 8px 14px;
  border: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--link-hover); color: #fff; }
.btn-blue { background: var(--link-hover); color: #fff; }
.btn-blue:hover { background: var(--dark); color: #fff; }
.btn-green { background: var(--green); color: #fff; font-size: 12px; text-transform: uppercase; padding: 5px 14px; }
.btn-green:hover { background: #8fb35b; color: #fff; }
.btn-lg { padding: 12px 22px; font-size: 16px; border-radius: 4px; }
.btn i { margin-right: 4px; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  transition: background-color .3s, box-shadow .3s;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { width: 190px; }

/* Pages with a full-bleed hero: header floats over it until scrolled */
body.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; }
body.has-hero .site-header.scrolled { background: rgba(28, 28, 28, .95); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }

.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.site-nav li { position: relative; }
.site-nav > ul > li > a {
  display: inline-block;
  padding: 0 12px;
  line-height: var(--header-h);
  color: #fff;
  font-size: 15px;
}
.site-nav > ul > li > a:hover { color: #fff; opacity: .8; }
.site-nav > ul > li.active > a { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.site-nav .has-sub > a { padding-right: 4px; }
.sub-toggle {
  background: none;
  border: 0;
  color: #fff;
  padding: 0 10px 0 0;
  font-size: 13px;
  cursor: pointer;
}
.sub-menu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 6px 20px; color: #252525; font-size: 14px; }
.sub-menu a:hover { color: var(--link-hover); }

.nav-toggle { display: none; }

@media (max-width: 991px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 10px;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(320px, 100%);
    background: #1c1c1c;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s;
  }
  .site-nav.open { transform: none; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 10px 0; }
  .site-nav > ul > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav > ul > li > a { flex: 1; line-height: 1.4; padding: 14px 20px; }
  .sub-toggle { padding: 14px 20px; font-size: 16px; }
  .sub-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
  .sub-menu {
    position: static;
    width: 100%;
    min-width: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 0 10px 15px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .has-sub:hover > .sub-menu { display: none; }
  .has-sub.open > .sub-menu { display: block; }
  .sub-menu a { color: #ccc; }
  body.nav-open { overflow: hidden; }
}

/* Generic page sections ---------------------------------------------------- */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  color: #000;
}
.text-block { font-family: var(--font-text); }
.text-justify { text-align: justify; }
.center { text-align: center; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.split-top { align-items: start; }

@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .split { grid-template-columns: 1fr; }
  .split .order-first-mobile { order: -1; }
}

/* Page title banner (inner pages) */
.page-title {
  position: relative;
  padding: 50px 0;
  background: #333 center / cover no-repeat;
}
.page-title h2 { margin: 0; font-size: 24px; color: #444; }
.page-title h2 span { font-family: var(--font-head); }

/* Scroll reveal ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Home
   ========================================================================== */
.hero {
  position: relative;
  height: clamp(480px, 52vw, 100vh);
  overflow: hidden;
  color: #fff;
  background: var(--green);
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: center / cover no-repeat;
  opacity: 0;
  transition: opacity 1s;
}
.hero-slide.active { opacity: 1; }
.hero-slide .hero-text { padding: 0 20px; }
.hero-slide h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.hero-slide .hero-sub {
  display: block;
  margin-top: 30px;
  font-family: "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 22px);
  letter-spacing: .3em;
}
.hero-slide.active h1, .hero-slide.active .hero-sub { animation: heroIn 1.2s both; }
.hero-slide.active .hero-sub { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s, background-color .3s;
}
.hero:hover .hero-arrow, .hero-arrow:focus-visible { opacity: 1; }
.hero-arrow:hover { background: rgba(255, 255, 255, .4); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-scroll {
  position: absolute;
  bottom: 25px;
  left: 50%;
  z-index: 2;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 2px solid #fff;
  border-radius: 15px;
  color: #fff;
  display: flex;
  justify-content: center;
}
.hero-scroll::before {
  content: "";
  width: 4px;
  height: 8px;
  margin-top: 8px;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(18px); } }

/* Training environment */
.training-intro { padding: 130px 0 60px; text-align: center; }
.training-intro h1 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 50px);
  color: #000;
  margin-bottom: 50px;
}
.training-intro p { font-family: var(--font-text); font-size: 22px; line-height: 1.1; color: #000; }

.training-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 60px;
}
.training-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 30px 40px;
  color: #fff;
  text-align: center;
  font-family: var(--font-text);
  transition: transform .3s;
}
.training-card:hover { color: #fff; transform: translateY(-6px); }
.training-card img { width: 180px; margin-bottom: 30px; }
.training-card p { font-size: 18px; line-height: 1.33; flex: 1; margin-bottom: 40px; }
.training-card h3 { font-family: var(--font-text); font-weight: 700; font-size: 30px; margin: 0; }
.bg-pink { background: var(--pink); }
.bg-green { background: var(--green); }
.bg-blue { background: var(--blue); }

@media (max-width: 991px) {
  .training-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .training-intro { padding: 80px 0 40px; }
  .training-intro p { font-size: 18px; line-height: 1.4; }
}

/* Torn-paper edges */
.torn { position: relative; }
.torn::before, .torn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 30px;
  background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 30' preserveAspectRatio='none'%3E%3Cpath d='M0 30V12L60 4l40 10 60-12 50 14 70-8 60 6 60-14 50 12 70-6 50 8 60-10 70 12 50-8 60 4 60-10 50 12 60-6 50 8 30-4V30z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 30' preserveAspectRatio='none'%3E%3Cpath d='M0 30V12L60 4l40 10 60-12 50 14 70-8 60 6 60-14 50 12 70-6 50 8 60-10 70 12 50-8 60 4 60-10 50 12 60-6 50 8 30-4V30z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.torn::before { top: -29px; }
.torn::after { bottom: -29px; transform: scaleY(-1); }
.torn-top-only::after { display: none; }

/* BOT app band */
.app-band { background: var(--yellow); padding: 140px 0; margin: 40px 0 0; }
.app-band .split { grid-template-columns: 1fr 2fr; }
.app-band h3 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #000;
}
.app-band p { font-family: var(--font-text); font-size: 18px; line-height: 1.33; color: #000; margin-bottom: 40px; }
.app-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.app-buttons .btn { font-size: 16px; padding: 10px 22px; }
.app-band img { max-width: 360px; margin: 0 auto; }
@media (max-width: 767px) {
  .app-band { padding: 80px 0; }
  .app-band .split { grid-template-columns: 1fr; }
}

/* Announcements carousel */
.announcements { padding: 100px 0 60px; }
.announcements h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  text-align: center;
  color: #000;
  margin-bottom: 50px;
}
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 3);
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 0 30px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; }
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}
.carousel-dots button.active { background: #333; }
@media (max-width: 991px) { .carousel-track { grid-auto-columns: calc((100% - 30px) / 2); } }
@media (max-width: 600px) { .carousel-track { grid-auto-columns: 88%; gap: 16px; } }

.post-card {
  scroll-snap-align: start;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
}
.post-card img { width: 100%; aspect-ratio: 600 / 340; object-fit: cover; }
.post-card-body { padding: 20px 20px 22px; font-size: 14px; color: #777; }
.post-card-date { font-size: 12px; color: #555; margin-bottom: 8px; }
.post-card h3 { font-family: var(--font-body); font-size: 22px; line-height: 1.1; color: #000; margin-bottom: 10px; }
.post-card-cat { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 600; color: #7a8ba0; }

/* Software features grid */
.features-head { background: var(--sand); padding: 40px 0 30px; text-align: center; }
.features-head h2 { font-family: Verdana, sans-serif; font-size: clamp(30px, 4vw, 48px); color: #000; margin: 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-tile { position: relative; overflow: hidden; display: block; }
.feature-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.feature-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, .7);
  opacity: 0;
  transition: opacity .3s;
}
.feature-overlay h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; margin: 15px 0 5px; }
.feature-overlay span { font-size: 14px; }
.feature-overlay i {
  width: 44px;
  height: 44px;
  line-height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #333;
}
.feature-tile:hover .feature-overlay, .feature-tile:focus-visible .feature-overlay { opacity: 1; }
.feature-tile:hover img { transform: scale(1.06); }
@media (max-width: 991px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }

/* Counters */
.counters {
  position: relative;
  padding: 110px 0;
  color: #fff;
  background: #333 center / cover no-repeat fixed;
}
.counters::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.counter-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.counter i { font-size: 48px; margin-bottom: 10px; }
.counter-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 36px; line-height: 1.2; }
.counter-label { font-size: 15px; }
@media (max-width: 767px) {
  .counter-grid { grid-template-columns: 1fr; gap: 50px; }
  .counters { background-attachment: scroll; padding: 80px 0; }
}

/* Testimonials */
.testimonials { padding: 110px 0 100px; text-align: center; }
.testimonials h2 { font-family: var(--font-body); font-size: clamp(24px, 3vw, 36px); color: #000; margin-bottom: 30px; }
.testimonials h2 small { display: block; font-size: .6em; }
.testimonials .quote-icon { font-size: 44px; color: var(--green); margin-bottom: 30px; }
.testimonial { display: none; max-width: 850px; margin: 0 auto; }
.testimonial.active { display: block; animation: fadeIn .6s; }
.testimonial blockquote { margin: 0 0 20px; font-family: var(--font-text); font-weight: 700; font-size: 20px; line-height: 1.5; color: #222; }
.testimonial cite { font-style: normal; color: var(--muted); }
.testimonial-avatars { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }
.testimonial-avatars button { padding: 0; border: 0; background: none; cursor: pointer; opacity: .4; transition: opacity .3s, transform .3s; }
.testimonial-avatars button.active { opacity: 1; transform: scale(1.1); }
.testimonial-avatars img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   CTA band (shared)
   ========================================================================== */
.cta-band { background: var(--cta-bg); padding: 100px 0; }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cta-card {
  background: #fff;
  border-radius: 4px;
  padding: 70px 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-card i { font-size: 36px; margin-bottom: 30px; }
.cta-card:nth-child(1) i { color: #fc6e50; }
.cta-card:nth-child(2) i { color: #79cd15; }
.cta-card:nth-child(3) i { color: #4da1ff; }
.cta-card p { font-family: var(--font-text); font-size: 16px; line-height: 26px; color: #000; flex: 1; }
.cta-card .btn { margin-top: 10px; }
@media (max-width: 991px) {
  .cta-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .cta-card { padding: 40px 30px; }
  .cta-band { padding: 60px 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-top { background: var(--footer-top); padding: 30px 0 20px; color: #fff; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .85fr 1fr 1fr; gap: 30px; padding: 0 70px; }
.footer-logo { width: 260px; margin-bottom: 30px; }
.footer-blurb { color: #fff; }
.site-footer h3 { font-family: var(--font-head); font-size: 18px; color: #999; margin: 0 0 25px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #777; }
.footer-links a:hover { color: #fff; }
.footer-contact p { margin-bottom: 12px; }
.footer-contact a:hover { color: var(--green); }
.social-icon { display: inline-block; font-size: 36px; color: var(--green); margin-left: 10px; transition: transform .3s; }
.social-icon:hover { color: var(--green); transform: scale(1.2); }
.footer-bottom { background: var(--footer-bottom); padding: 18px 0; text-align: center; font-size: 14px; color: #555; }
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: var(--green); }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; padding: 0 15px; } }
@media (max-width: 575px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* About */
.about-title { font-family: var(--font-title); font-weight: 700; font-size: clamp(32px, 4vw, 48px); color: #000; margin-bottom: 40px; }
.about-text p { font-family: var(--font-text); font-size: 18px; line-height: 1.2; color: #000; text-align: justify; }

/* Blumen/BOT */
.page-hero {
  position: relative;
  min-height: clamp(380px, 53vw, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  text-align: center;
  background: #333 center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.page-hero h2 {
  position: relative;
  max-width: 950px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.2;
  color: #fff;
  margin: 0;
}
.bot-intro { grid-template-columns: 2fr 1fr; }
.bot-intro h3 { font-family: var(--font-title); font-weight: 700; font-size: clamp(30px, 3.5vw, 44px); letter-spacing: 2px; color: #000; margin-bottom: 25px; }
.bot-intro h1 { font-family: var(--font-text); font-style: italic; font-weight: 500; font-size: 22px; line-height: 1.2; color: #000; margin-bottom: 20px; }
.bot-intro p { font-family: var(--font-text); font-size: 15px; line-height: 1.4; color: #000; text-align: justify; }
@media (max-width: 767px) { .bot-intro { grid-template-columns: 1fr; } }

.flip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 0 20px 100px; max-width: 1400px; margin: 0 auto; }
.flip-card { perspective: 1200px; height: 600px; }
.flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s; }
.flip-card:hover .flip-inner, .flip-card:focus-within .flip-inner, .flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-front { background: center / cover no-repeat; }
.flip-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 50px;
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
}
.flip-back h4 { font-family: Arial, sans-serif; font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; color: #000; margin-bottom: 20px; }
.flip-back p { font-family: var(--font-text); font-size: 18px; color: #000; margin: 0; }
@media (max-width: 991px) {
  .flip-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .flip-card { height: 420px; }
  .flip-back { padding: 0 24px; }
}
@media (max-width: 575px) {
  .flip-grid { grid-template-columns: 1fr; }
  .flip-card { height: auto; aspect-ratio: 5 / 7; max-height: 520px; }
}

.more-features h2 { font-family: var(--font-title); font-weight: 700; font-size: clamp(28px, 3.5vw, 44px); color: #474b5a; text-align: center; margin-bottom: 50px; }
.accordion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.accordion details { border-bottom: 1px solid #e5e5e5; }
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 15px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 700;
  color: #000;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: auto; color: #aaa; transition: transform .3s; }
.accordion details[open] summary::after { transform: rotate(90deg); }
.accordion details p { padding: 0 15px 20px; font-family: Arial, sans-serif; font-size: 15px; line-height: 1.6; color: #333; text-align: justify; margin: 0; }
@media (max-width: 767px) { .accordion-grid { grid-template-columns: 1fr; gap: 0; } }

/* Training */
.fast-track { background: #fafafa; }
.fast-track h2 { font-family: var(--font-title); font-style: italic; font-weight: 700; font-size: clamp(26px, 3vw, 34px); line-height: 1.5; color: #474b5a; }
.fast-track p { font-family: var(--font-text); font-size: 18px; line-height: 1.4; color: #000; text-align: justify; }
.training-row { padding: 60px 0; }
.training-row h3, .detail-title { font-family: var(--font-title); font-weight: 700; font-size: clamp(26px, 3vw, 32px); color: #000; margin-bottom: 10px; }
.training-row p { font-family: var(--font-text); font-size: 18px; line-height: 1.4; color: #000; margin-bottom: 30px; }
.training-row img { border-radius: 6px; max-width: 520px; width: 100%; }
.detail-text p { font-family: var(--font-text); font-size: 18px; line-height: 1.6; color: #777; text-align: justify; }
.detail-text .btn { margin-top: 20px; }

/* Resources */
.resources-intro { grid-template-columns: 1fr 1fr; padding: 30px 15px; }
.resources-intro h3, .res-card h3 { font-family: var(--font-title); font-weight: 700; color: #000; }
.resources-intro h3 { font-size: 36px; }
.resources-intro p, .res-card p, .res-band p { font-family: var(--font-text); font-size: 15px; line-height: 1.4; color: #000; text-align: justify; }
.res-band { padding: 40px 0; }
.res-band h3 { font-family: var(--font-title); font-weight: 700; font-size: 32px; color: #000; margin-bottom: 4px; }
.res-band .split { grid-template-columns: 3fr 1fr; }
.bg-cream { background: #ffde9d; }
.scholarship-band { background: #ff4f4f url("../images/2024/10/28/v8.png") right bottom / contain no-repeat; padding: 100px 0; color: #fff; }
.scholarship-band h3 { font-family: var(--font-title); font-weight: 700; font-size: 32px; }
.scholarship-band p { color: #ffd6d6; text-align: justify; max-width: 560px; }
.res-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 30px; padding: 60px 15px; }
.res-card h3 { font-size: 22px; margin-bottom: 15px; }
.res-card img { max-width: 400px; width: 100%; margin-bottom: 20px; }
.res-card .btn { background: #000; }
.res-card .btn:hover { background: var(--link-hover); }
@media (max-width: 991px) { .scholarship-band { background-size: 40%; padding-bottom: 260px; background-position: right bottom; } }
@media (max-width: 767px) {
  .res-band .split, .resources-intro { grid-template-columns: 1fr; }
  .res-cards { grid-template-columns: 1fr; }
  .scholarship-band { background-size: 70%; padding-bottom: 320px; }
}

/* Scholarship */
.best-head { text-align: center; margin-bottom: 40px; }
.best-head h2 { font-size: clamp(30px, 3.5vw, 40px); color: #000; margin-bottom: 6px; }
.best-head h3 { font-size: 18px; color: #888; }
.best-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; }
.best-grid h4 { font-size: 20px; color: #222; margin-bottom: 15px; }
.best-grid p { font-size: 15px; line-height: 1.7; color: #444; margin-bottom: 40px; }
.best-grid .btn { display: block; text-align: center; margin-top: 30px; }
.best-details {
  position: relative;
  padding: 120px 0;
  color: #ddd;
  background: #000 url("../images/2024/10/30/uni.jpg") center / cover no-repeat;
}
.best-details::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .8); }
.best-details .split { position: relative; align-items: start; }
.best-details p, .best-details li { font-family: "Times New Roman", serif; font-size: 18px; line-height: 1.5; }
.best-details strong { color: #fff; }
.best-details .answer { color: var(--link-hover); }
.best-contact { padding: 60px 0; text-align: center; }
.best-contact h3 { font-size: clamp(24px, 3vw, 34px); color: #000; margin-bottom: 20px; }
@media (max-width: 767px) {
  .best-grid { grid-template-columns: 1fr; }
  .best-grid p { margin-bottom: 20px; }
}

/* Contact */
.contact-hero img { width: 100%; max-width: 900px; margin: 0 auto; }
.contact-hero { border-bottom: 2px solid var(--green); }
.contact-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 70px 15px; text-align: center; }
.contact-info i { font-size: 60px; color: #333; margin-bottom: 20px; }
.contact-info h5 { font-family: var(--font-title); font-weight: 700; font-size: 14px; color: #141414; margin-bottom: 15px; }
.contact-info p { font-family: var(--font-text); font-size: 15px; margin-bottom: 4px; color: #444; }
.contact-info a:hover { color: var(--link-hover); }
@media (max-width: 991px) { .contact-info { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .contact-info { grid-template-columns: 1fr; } }

/* Articles / policies / feature details */
.article { padding: 70px 15px 80px; }
.article-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 4vw, 42px); color: #000; margin-bottom: 20px; }
.article-date { color: #666; font-size: 14px; margin-bottom: 30px; }
.article-date i { margin: 0 6px; }
.article-image { margin-bottom: 30px; }
.article-body { font-size: 16px; color: #444; overflow-wrap: anywhere; }
.article-body h2, .article-body h3 { color: #555; margin-top: 1.2em; }
.article-body a { color: var(--link-hover); }
.article-body img { display: inline-block; }
.article-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.article-body td, .article-body th { padding: 6px 8px; vertical-align: top; }
.pager { display: flex; justify-content: space-between; margin-top: 50px; }

.feature-detail { padding: 70px 15px 120px; }
.feature-detail-image { max-width: 600px; margin-bottom: 20px; }
.feature-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; margin-top: 20px; color: #777; }
.feature-detail-meta h4 { font-size: 16px; color: #222; margin-bottom: 6px; }
.feature-detail-meta p { margin-bottom: 30px; }
@media (max-width: 767px) { .feature-detail-grid { grid-template-columns: 1fr; gap: 20px; } }

/* Announcements list page */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 991px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .post-grid { grid-template-columns: 1fr; } }
