/* SET Computer Education — global styles */
:root {
  --brand: #1b5e9c;
  --brand-dark: #0f3f6f;
  --accent: #f5a623;
  --ink: #1c2430;
  --muted: #5b6675;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(15, 63, 111, 0.08);
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#franchise { scroll-margin-top: 100px; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h2 { color: var(--brand-dark); }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--brand);
}
.brand .logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.brand:hover { text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 800; font-size: 1.9rem; }
.brand-tagline { font-weight: 600; font-size: 0.88rem; color: var(--muted); letter-spacing: 0.02em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0 0 0 30px;
  padding: 0;
}
.nav-links a { color: var(--brand); font-weight: 600; }
.nav-links a.active, .nav-links a:hover { color: var(--brand-dark); text-decoration: none; }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; margin-left: 16px; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.06s ease, box-shadow 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #3a2a00; }
.btn-ghost { border-color: var(--border); color: var(--ink); background: #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 72px 0;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.6rem; line-height: 1.15; margin: 0 0 14px; }
.hero p { font-size: 1.15rem; opacity: 0.95; margin: 0 0 26px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 26px;
  backdrop-filter: blur(4px);
}
.hero-card h3 { margin: 0 0 12px; font-size: 1.1rem; }
.hero-card ul { margin: 0; padding-left: 18px; }
.hero-card li { margin: 6px 0; }

/* Banner slider */
.banner-slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform 0.5s ease; }
.slider-track .slide { flex: 0 0 100%; }
.slider-track .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-track .slide .hero { height: 100%; display: flex; align-items: center; }
.slider-track .slide .hero .container { width: 100%; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  color: var(--brand-dark);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-arrow:hover { background: #fff; }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
}
.slider-dots .dot.active { background: #fff; }

/* Sections */
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 42px; }
.section-head h2 { font-size: 2rem; margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

/* Cards grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,63,111,0.14); }
.card .icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--bg-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0 0 12px; }
.tag { display:inline-block; font-size:0.78rem; font-weight:700; color:var(--brand); background:var(--bg-soft); padding:3px 10px; border-radius:999px; }

.stat { text-align: center; }
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--brand); }
.stat .label { color: var(--muted); font-weight: 600; }

/* Contact */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: 0.92rem; display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border);
  border-radius: 9px; font: inherit; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.full { grid-column: 1 / -1; }
.form-note { color: var(--muted); font-size: 0.9rem; }

/* Footer */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 28px; padding-top: 18px;
  text-align: center; color: #94a3b8; font-size: 0.9rem;
}

/* Page header */
.page-hero { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); padding: 48px 0; text-align: center; }
.page-hero h1 { margin: 0 0 8px; font-size: 2.2rem; color: #fff; }
.page-hero p { margin: 0; color: rgba(255, 255, 255, 0.9); }

/* Program lists (degree courses) */
.program-block { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 26px; box-shadow: var(--shadow); }
.program-block h3 { margin-top: 0; }
.program-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.program-cols h4 { margin: 0 0 10px; font-size: 1.05rem; color: var(--brand-dark); }
.program-cols ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 1.12rem; }
.program-cols li { margin: 7px 0; }

/* Emphasis utilities */
.eyebrow-strong { font-size: 1.15rem; color: var(--brand-dark); }
.heading-strong { color: var(--brand-dark); font-weight: 800; }

/* Icon action buttons (Call / WhatsApp) */
.icon-actions {
  display: flex;
  gap: 22px;
  margin: 14px 0 18px;
}
.icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}
.icon-btn:hover { text-decoration: none; }
.icon-btn .circle {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-btn .circle svg { position: relative; z-index: 1; width: 24px; height: 24px; fill: #fff; }
.icon-btn.call .circle { background: var(--brand); }
.icon-btn.whatsapp .circle { background: #25d366; }
.icon-btn.call .circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.6;
  animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  80%, 100% { transform: scale(1.8); opacity: 0; }
}

/* Pulsing "Call Now" button */
.btn-pulse { position: relative; z-index: 0; padding: 9px 18px; font-size: 0.92rem; }
.btn-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--brand);
  opacity: 0.6;
  z-index: -1;
  animation: pulse-ring 2.6s ease-out infinite;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); text-decoration: none; }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* Franchise details card */
.details-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 4px 26px;
}
.details-card summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--brand);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.details-card summary::-webkit-details-marker { display: none; }
.details-card summary .chevron { transition: transform 0.2s ease; font-size: 1.2rem; }
.details-card[open] summary .chevron { transform: rotate(90deg); }
.details-card .details-body { padding-bottom: 22px; color: var(--ink); }
.details-card .details-body ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted); }
.details-card .details-body li { margin: 6px 0; }
.details-card .details-body p { margin: 0; }

.notice {
  background: #fff7e6;
  border: 1px solid #f5d38a;
  color: #6b4a00;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav-links {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px;
    margin-left: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 8px 0; border-bottom: 1px solid var(--border); }
  .nav-links a.btn { margin-left: 0; }
  .nav-toggle { display: block; }
  .brand { gap: 8px; }
  .brand .logo { width: 48px; height: 48px; }
  .brand-name { font-size: 1.1rem; }
  .brand-tagline { font-size: 0.68rem; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .program-cols { grid-template-columns: 1fr; }
}
