/* ============================================================
   ICSA Home — layout inspired by coutureindia.show
   ICSA palette: red #f82249, gold #c9a227, navy #0e1b4d
   Fonts: Cardo (titles) + Montserrat (body)
   ============================================================ */

body.page-home {
  --icsa-accent: #f82249;
  --icsa-accent-hover: #e01d3f;
  --icsa-gold: #c9a227;
  --icsa-text-soft: #ebebeb;
}

/* ── Hero ─────────────────────────────────────────────────── */

body.page-home #hero.icsa-hero {
  min-height: 100vh;
  min-height: 100dvh;
}

body.page-home #hero .icsa-hero__slide,
body.page-home #hero.hero-slider .swiper-slide {
  position: relative;
}

body.page-home #hero.icsa-hero::before {
  display: none;
}

body.page-home .icsa-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(6, 12, 34, 0.5);
}

body.page-home #hero .icsa-hero__content,
body.page-home #hero .hero-container.icsa-hero__content {
  z-index: 2;
  top: 0;
  bottom: 0;
  padding: clamp(5rem, 12vh, 7rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 8vh, 5rem);
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  left: 0;
  right: 0;
}

body.page-home #hero h1,
body.page-home #hero h-1 {
  font-family: "Raleway", sans-serif;
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.5rem;
}

body.page-home #hero h1 span,
body.page-home #hero h-1 span {
  color: var(--icsa-accent);
}

body.page-home #hero h2,
body.page-home #hero h-2 {
  font-family: "Raleway", sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 3.75rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0;
}

body.page-home #hero h2 span,
body.page-home #hero h-2 span {
  color: var(--icsa-accent);
}

body.page-home #hero p {
  font-family: "Raleway", sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--icsa-text-soft);
}

body.page-home #hero.hero-slider .swiper-hero-prev,
body.page-home #hero.hero-slider .swiper-hero-next {
  color: var(--icsa-accent);
}

body.page-home #hero.hero-slider .swiper-hero-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.75);
  opacity: 1;
}

body.page-home #hero.hero-slider .swiper-hero-pagination .swiper-pagination-bullet-active {
  background: var(--icsa-accent);
}

/* ── About — couture-style two-column (ICSA colors) ───────── */

body.page-home #about.icsa-about {
  position: relative;
  background: linear-gradient(180deg, #fbfaf8 0%, #ffffff 100%);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  overflow: hidden;
  font-family: "Montserrat", "Raleway", system-ui, sans-serif;
  color: #4a4d57 !important;
}

body.page-home #about.icsa-about::before {
  content: "";
  position: absolute;
  top: 60px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(248, 34, 73, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body.page-home #about.icsa-about::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body.page-home .icsa-about__container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

body.page-home .icsa-about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

body.page-home .icsa-about__content {
  max-width: 560px;
}

body.page-home .icsa-about__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--icsa-accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}

body.page-home .icsa-about__eyebrow::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--icsa-accent), rgba(248, 34, 73, 0));
}

body.page-home .icsa-about__divider {
  display: none;
}

body.page-home .icsa-about__copy {
  color: #4a4d57;
  font-size: 15px;
  line-height: 1.85;
  text-align: left;
}

/* Main title from CMS (first heading) */
body.page-home .icsa-about__copy > h1:first-child,
body.page-home .icsa-about__copy > h2:first-child,
body.page-home .icsa-about__copy > h1:first-of-type,
body.page-home .icsa-about__copy > h2:first-of-type {
  font-family: "Cardo", Georgia, serif;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.12;
  color: var(--icsa-gold) !important;
  -webkit-text-fill-color: var(--icsa-gold) !important;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  text-transform: none;
  opacity: 1 !important;
  visibility: visible !important;
}

body.page-home .icsa-about__copy > h1:first-of-type::after,
body.page-home .icsa-about__copy > h2:first-of-type::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 20px 0 26px;
  background: linear-gradient(90deg, var(--icsa-gold) 0%, #f0d78a 50%, var(--icsa-gold) 100%);
  border: 0;
}

/* Presenter / subtitle lines */
body.page-home .icsa-about__copy > p:nth-of-type(1) {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0e1b4d !important;
  margin: 0 0 12px;
  line-height: 1.6;
}

body.page-home .icsa-about__copy > p:nth-of-type(2) {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a22 !important;
  margin: 0 0 20px;
  padding-bottom: 0;
  border-bottom: none;
  letter-spacing: 0.04em;
}

body.page-home .icsa-about__copy > p:nth-of-type(n+3) {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.85;
  color: #4a4d57 !important;
  text-align: left;
  font-weight: 400;
}

body.page-home .icsa-about__copy > p:nth-of-type(n+3):last-child {
  margin-bottom: 0;
}

body.page-home .icsa-about__copy p,
body.page-home .icsa-about__copy li,
body.page-home .icsa-about__copy div {
  font-family: inherit;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Beat legacy #about { color: #fff } and CMS inline white text */
body.page-home #about.icsa-about .icsa-about__copy,
body.page-home #about.icsa-about .icsa-about__copy *:not(a) {
  color: #4a4d57 !important;
  -webkit-text-fill-color: #4a4d57 !important;
}

body.page-home #about.icsa-about .icsa-about__copy h1,
body.page-home #about.icsa-about .icsa-about__copy h2 {
  color: var(--icsa-gold) !important;
  -webkit-text-fill-color: var(--icsa-gold) !important;
}

body.page-home #about.icsa-about .icsa-about__copy h3,
body.page-home #about.icsa-about .icsa-about__copy h4,
body.page-home #about.icsa-about .icsa-about__copy strong,
body.page-home #about.icsa-about .icsa-about__copy b {
  color: #1d1f2a !important;
  -webkit-text-fill-color: #1d1f2a !important;
}

body.page-home #about.icsa-about .icsa-about__copy a,
body.page-home #about.icsa-about .icsa-about__copy a * {
  color: var(--icsa-accent) !important;
  -webkit-text-fill-color: var(--icsa-accent) !important;
}

body.page-home #about.icsa-about p,
body.page-home #about.icsa-about li,
body.page-home #about.icsa-about span,
body.page-home #about.icsa-about div {
  text-align: left;
}

/* Undo CMS floats/widths that break the grid layout */
body.page-home .icsa-about__copy [style*="float"] {
  float: none !important;
}

body.page-home .icsa-about__copy [style*="width:"] {
  width: auto !important;
  max-width: 100% !important;
}

body.page-home .icsa-about__copy strong,
body.page-home .icsa-about__copy b {
  color: #1d1f2a !important;
  font-weight: 600;
}

body.page-home .icsa-about__copy a {
  color: var(--icsa-accent) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(248, 34, 73, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

body.page-home .icsa-about__copy a:hover {
  color: #1d1f2a !important;
  border-color: #1d1f2a;
}

body.page-home .icsa-about__copy h3,
body.page-home .icsa-about__copy h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #0e1b4d !important;
  margin: 1.25rem 0 0.5rem;
}

/* CTA row */
body.page-home .icsa-about__cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

body.page-home .icsa-about__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px;
  font-family: "Montserrat", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ffffff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, var(--icsa-accent) 0%, var(--icsa-accent-hover) 100%);
  border: 1.5px solid transparent;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(248, 34, 73, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.page-home .icsa-about__cta::after {
  content: "→";
  font-size: 14px;
  letter-spacing: 0;
  transition: transform 0.25s ease;
}

body.page-home .icsa-about__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(248, 34, 73, 0.38);
  color: #ffffff !important;
}

body.page-home .icsa-about__cta:hover::after {
  transform: translateX(4px);
}

body.page-home .icsa-about__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8a8d96;
}

body.page-home .icsa-about__meta::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: #d4d6db;
}

/* Image column */
body.page-home .icsa-about__media {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}

body.page-home .icsa-about__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 40px 80px rgba(15, 18, 28, 0.18);
  transform: rotate(0.4deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.page-home .icsa-about__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

body.page-home .icsa-about__media:hover .icsa-about__frame {
  transform: rotate(0deg);
}

body.page-home .icsa-about__media:hover .icsa-about__frame img {
  transform: scale(1.04);
}

body.page-home .icsa-about__corner {
  position: absolute;
  width: 90px;
  height: 90px;
  border: 2px solid var(--icsa-accent);
  pointer-events: none;
  z-index: 2;
}

body.page-home .icsa-about__corner--tl {
  top: -22px;
  left: -22px;
  border-right: 0;
  border-bottom: 0;
}

body.page-home .icsa-about__corner--br {
  bottom: -22px;
  right: -22px;
  border-left: 0;
  border-top: 0;
}

/* ── Section headers ──────────────────────────────────────── */

body.page-home #main .section-header h2 {
  font-family: "Cardo", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  position: relative;
  padding-bottom: 0.85rem;
}

body.page-home #main .section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--icsa-accent);
}

/* ── Award categories ─────────────────────────────────────── */

body.page-home #categories.icsa-categories {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: #ffffff;
  font-family: "Montserrat", "Raleway", system-ui, sans-serif;
}

body.page-home .icsa-categories__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

body.page-home .icsa-categories__header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

body.page-home .icsa-categories__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--icsa-accent);
  margin-bottom: 14px;
}

body.page-home .icsa-categories__eyebrow::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--icsa-accent), rgba(248, 34, 73, 0));
}

body.page-home .icsa-categories__eyebrow::after {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1.5px;
  background: linear-gradient(270deg, var(--icsa-accent), rgba(248, 34, 73, 0));
}

body.page-home .icsa-categories__title {
  font-family: "Cardo", Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: #0e1b4d;
  margin: 0 0 16px;
  line-height: 1.2;
}

body.page-home .icsa-categories__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--icsa-accent);
}

body.page-home .icsa-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

body.page-home .icsa-category-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(14, 27, 77, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.page-home .icsa-category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(248, 34, 73, 0.35);
  box-shadow: 0 20px 40px rgba(248, 34, 73, 0.12);
}

body.page-home .icsa-category-card__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f1f5;
}

body.page-home .icsa-category-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 27, 77, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

body.page-home .icsa-category-card:hover .icsa-category-card__media::after {
  opacity: 1;
}

body.page-home .icsa-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.page-home .icsa-category-card:hover .icsa-category-card__media img {
  transform: scale(1.06);
}

body.page-home .icsa-category-card__body {
  flex: 1;
  padding: 1rem 1.1rem 1.2rem;
  border-top: 3px solid transparent;
  transition: border-color 0.3s ease;
}

body.page-home .icsa-category-card:hover .icsa-category-card__body {
  border-top-color: var(--icsa-accent);
}

body.page-home .icsa-category-card__name {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  font-weight: 600;
  line-height: 1.4;
}

body.page-home .icsa-category-card__name a {
  color: #0e1b4d !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.page-home .icsa-category-card__name a:hover {
  color: var(--icsa-accent) !important;
}

body.page-home .icsa-category-card__subtitle {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #6b6b76 !important;
  font-weight: 400;
}

body.page-home .icsa-categories__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #6b6b76;
  margin: 0;
  padding: 2rem 0;
}

@media (max-width: 1199px) {
  body.page-home .icsa-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.page-home .icsa-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  body.page-home .icsa-categories__container {
    padding: 0 16px;
  }

  body.page-home .icsa-categories__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 991px) {
  body.page-home .icsa-about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  body.page-home .icsa-about__content {
    max-width: 720px;
    margin: 0 auto;
  }

  body.page-home .icsa-about__media {
    margin: 0 auto;
    max-width: 420px;
  }
}

@media (max-width: 576px) {
  body.page-home .icsa-about__container {
    padding: 0 18px;
  }

  body.page-home .icsa-about__corner {
    width: 64px;
    height: 64px;
  }

  body.page-home .icsa-about__corner--tl {
    top: -14px;
    left: -14px;
  }

  body.page-home .icsa-about__corner--br {
    bottom: -14px;
    right: -14px;
  }

  body.page-home .icsa-about__cta {
    padding: 14px 26px;
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .icsa-category-card,
  body.page-home .icsa-category-card__media img,
  body.page-home .icsa-about__frame,
  body.page-home .icsa-about__frame img,
  body.page-home .icsa-about__cta {
    transition: none;
  }
}
