/* ================= SECTION BACKGROUND PALETTE ================= */

:root {
  --blue-0: #f8fbfe;   /* almost white */
  --blue-1: #f1f7fc;   /* very light */
  --blue-2: #e9f2f9;   /* soft */
  --blue-3: #e1edf6;   /* visible but calm */
}

/* ================= RESET ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background: #f8fafc;
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #eaf4fb;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.header-inner {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 23px;
  color: #0f172a;
}

.logo img {
  height: 140px;
}

.logo-text-small {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #64748b;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: #475569;
}

.main-nav a.active,
.main-nav a:hover {
  color: #44a8c6;
}

/* ================= HERO ================= */
.page-hero {
  margin-top: 72px;
  padding: 120px 0 110px;
  background: linear-gradient(135deg, #6bbdd6, #8fd0e3);
}

.page-hero .section-header {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.85rem;
  font-weight: 800;
  margin: 0 0 18px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(15, 23, 42, 0.75);
}

/* ================= SECTIONS ================= */
.section {
  padding: 95px 0;
}

/* ================= SECTION HEADERS ================= */
.section-header {
  max-width: 760px;
  margin: 0 auto 60px;
}

.center-header {
  text-align: center;
}

.section-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.section-header p {
  font-size: 1rem;
  color: #475569;
}

.section-accent {
  width: 64px;
  height: 3px;
  background: #44a8c6;
  border-radius: 999px;
  margin: 16px auto 22px;
}

/* ================= ALTERNATING SECTION BACKGROUNDS ================= */

main > section.section:nth-of-type(1) {
  background: var(--blue-0);
}

main > section.section:nth-of-type(2) {
  background: var(--blue-1);
}

main > section.section:nth-of-type(3) {
  background:#4aa4e4;;
}

main > section.section:nth-of-type(4) {
  background:var(--blue-0);
}

/* ================= SPLIT LAYOUT ================= */
.about-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
}

.about-text p {
  font-size: 0.98rem;
  color: rgba(15, 23, 42, 0.75);
  margin-bottom: 14px;
}

.about-image img {
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

/* ================= CARDS GRID ================= */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.highlight-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid rgba(68, 168, 198, 0.25);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.18);
}

.highlight-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.highlight-card p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.75);
}

/* ================= LISTS ================= */
.profile-list {
  padding-left: 18px;
  margin-top: 16px;
}

.profile-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: rgba(250, 250, 250, 0.75);
}

.conference-note {
  margin-top: 18px;
  font-size: 0.95rem;
}

/* ================= BUTTON ================= */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.btn-primary {
  background: #44a8c6;
  color: #ffffff;
}

.btn-primary:hover {
  background: #2d90ae;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #363738;
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;   /* stack vertically */
  align-items: center;      /* center horizontally */
  gap: 6px;                 /* space between lines */
  font-size: 0.85rem;
  color: #fdfeff;
  text-align: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 2.3rem;
  }
}
/* ================= SCHEDULE CTA – TEXT OVERRIDE ================= */

.section[style*="rgb(7, 6, 94)"] {
  color: #ffffff;
}

.section[style*="rgb(7, 6, 94)"] .section-header h2 {
  color: #ffffff;
}

.section[style*="rgb(7, 6, 94)"] .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

.section[style*="rgb(7, 6, 94)"] .section-accent {
  background: var(--primary);
}
/* ================= CTA SECTION – FIXED ================= */

.section-cta {
  background: rgb(7, 6, 94);
  padding: 70px 0;       /* smaller, intentional */
}

.section-cta .section-header h2 {
  color: #ffffff;
}

.section-cta .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

.section-cta .section-accent {
  background: #44a8c6; /* your actual primary */
}
/* ================= FINAL CTA LOCK ================= */

/* CTA container */
.section.section-cta {
  background-color: rgb(7, 6, 94);
  padding: 70px 0;
}

/* Ensure CTA text overrides global section styles */
.section.section-cta .section-header h2,
.section.section-cta .section-header p {
  color: #ffffff;
}

/* Paragraph contrast */
.section.section-cta .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* Accent line */
.section.section-cta .section-accent {
  background-color: #44a8c6;
}

/* Center CTA button properly */
.section.section-cta .cta-actions {
  margin-top: 28px;
  text-align: center;
}

/* Button styling consistency */
.section.section-cta .btn-primary {
  background-color: #44a8c6;
  color: #ffffff;
}

.section.section-cta .btn-primary:hover {
  background-color: #2d90ae;
}
/* ================= WHY ATTEND – FIX GAP BEFORE CTA ================= */
.section.section-why-attend {
  padding-bottom: 35px;   /* was effectively 95px */
}

.section.section-why-attend .section-header {
  margin-bottom: 25px;    /* was 60px */
}

.section.section-why-attend .conference-note {
  margin-bottom: 0;
}
/* ================= WHY ATTEND — LAYOUT + VISIBILITY FIX ================= */

.section.section-why-attend .about-inner {
  align-items: start;            /* stops vertical weirdness */
}

.section.section-why-attend .about-text {
  max-width: 520px;              /* keeps text block stable */
}

.section.section-why-attend .profile-list li {
  color: rgba(15, 23, 42, 0.75); /* FIX: readable on light background */
}

.section.section-why-attend .conference-note {
  margin-top: 16px;
  margin-bottom: 0;
  color: rgba(15, 23, 42, 0.85);
}
/* ================= GLOBAL LOGO OVERRIDE (FIXED) ================= */

.site-header .logo a {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;              /* REAL close spacing */
  font-size: 30px !important;       /* bigger brand name */
  line-height: 1 !important;        /* stops vertical push */
}

/* Text wrapper */
.site-header .logo a > span {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.05 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Logo image — THIS is the missing fix */
.site-header .logo img {
  height: 170px !important;
  width: auto !important;
  display: block !important;
  margin: 0 !important;             /* remove image default spacing */
}

/* Subtitle */
.site-header .logo-text-small {
  margin-top: 2px !important;
  font-size: 0.85rem !important;
  line-height: 1.1 !important;
  letter-spacing: 0.16em !important;
}
/* =====================================
   CONTENT IMAGES FRAME (EXCLUDES LOGOS & BG)
===================================== */

/* صور المحتوى فقط */
main img,
.section img,
.content img,
.card img {
  border-radius: 16px !important;
  background: #000000 !important;
  padding: 10px !important;

  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.18),
    0 6px 12px rgba(15, 23, 42, 0.12) !important;

  border: 1px solid rgba(0, 0, 0, 0.06) !important;

  display: block;
}

/* =====================================
   EXCLUSIONS — LOGOS & UI ELEMENTS
===================================== */

.logo img,
.site-header img,
.navbar img,
header img,
footer img {
  all: unset !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
/* ================= EMERGENCY MOBILE FIX ================= */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  /* HEADER */
  .site-header {
    position: relative !important;
    padding: 12px 16px !important;
  }

  .header-inner {
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .logo img {
    max-width: 120px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .logo span {
    display: block !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    margin-top: 6px !important;
  }

  /* HERO */
  .hero,
  .page-hero {
    min-height: auto !important;
    padding: 100px 16px 60px !important;
    text-align: center !important;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 1.6rem !important;
  }

  .hero p,
  .page-hero p {
    font-size: 0.95rem !important;
  }

  /* SECTIONS */
  section {
    padding: 48px 16px !important;
  }

  /* GRIDS */
  .grid,
  .cards,
  .sectors {
    grid-template-columns: 1fr !important;
  }

  /* IMAGES */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

}
/* FORCE LOGO ALIGNMENT */
.site-header .logo a {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.site-header .logo img {
  height: 75px !important;
  width: auto !important;
  max-height: 100% !important;
}

.site-header .logo a > span {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.1 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}

.site-header .logo-text-small {
  margin-top: 2px !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
}
