/* ═══════════════════════════════════════════
   ICETCSE-2027 | Global Stylesheet
   style.css — variables, reset, typography
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --navy:        #0a1628;
  --navy2:       #0f2044;
  --navy3:       #0d1a35;
  --blue:        #1a4fa0;
  --blue-light:  #2563c4;
  --accent:      #e8a020;
  --accent2:     #f0c040;
  --teal:        #00b4d8;
  --teal-dark:   #007a94;
  --white:       #ffffff;
  --off:         #f4f6fb;
  --gray:        #8898aa;
  --light:       #e2e8f4;
  --red:         #c0392b;
  --green:       #27ae60;

  --font-display: 'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --shadow-sm:  0 2px 12px rgba(10,22,40,0.08);
  --shadow-md:  0 4px 24px rgba(10,22,40,0.12);
  --shadow-lg:  0 8px 40px rgba(10,22,40,0.18);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --transition: all 0.25s ease;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); }
p  { 
  font-size: 15px; 
  color: rgba(255,255,255,0.92); 
  line-height: 1.8; 
}
/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 6rem 0; }

/* ── SECTION LABELS ── */
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}
.section-sub {
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  max-width: 560px;
  line-height: 1.75;
}

/* Light section overrides */
.section-light .section-title { color: var(--navy); }
.section-light .section-tag   { color: var(--blue); }
.section-light .section-sub   { color: rgba(10,22,40,0.55); }
.section-light p               { color: rgba(10,22,40,0.7); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,160,32,0.3);
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.btn-teal {
  background: var(--teal);
  color: var(--navy);
}
.btn-teal:hover {
  background: #00c8f0;
  transform: translateY(-2px);
}

/* ── BADGES ── */
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.badge-blue  { background: rgba(26,79,160,0.15); color: var(--blue-light); }
.badge-gold  { background: rgba(232,160,32,0.15); color: #c88010; }
.badge-teal  { background: rgba(0,180,216,0.12);  color: var(--teal-dark); }
.badge-green { background: rgba(39,174,96,0.15);  color: var(--green); }

/* ── CARDS ── */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}
.card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,180,216,0.25);
  transform: translateY(-4px);
}
.card-light {
  background: var(--white);
  border: none;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 3rem 0;
}
.divider-light {
  border-top: 1px solid rgba(10,22,40,0.08);
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy) 100%);
  padding: 9rem 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(26,79,160,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}
.page-hero .breadcrumb a:hover { color: var(--teal); }
.page-hero .breadcrumb span   { color: var(--teal); }
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
}

/* ── TABLE ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.data-table thead tr { background: var(--navy); }
.data-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.data-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: rgba(10,22,40,0.75);
  border-bottom: 1px solid rgba(10,22,40,0.06);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(even) td { background: rgba(10,22,40,0.02); }
.data-table tbody tr:hover td { background: rgba(26,79,160,0.04); }

/* ── NOTICE BOX ── */
.notice {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 1.5rem 0;
}
.notice-info   { background: rgba(0,180,216,0.1);  border: 1px solid rgba(0,180,216,0.2);  color: #b0eaf8; }
.notice-warn   { background: rgba(232,160,32,0.1); border: 1px solid rgba(232,160,32,0.2); color: #f5d98a; }
.notice-success{ background: rgba(39,174,96,0.1);  border: 1px solid rgba(39,174,96,0.2);  color: #a8edbe; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
}
@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }
  h2 { font-size: 1.75rem; }
}
@media (max-width: 480px) {
  section { padding: 3rem 0; }
}
