/* ============================================================
   Knowledge Park Creative School — Global Stylesheet
   © 2026 KS Software Company
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Lato:wght@300;400;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --navy:       #1a3a6b;
  --navy-dark:  #0f2347;
  --green:      #2e9e4f;
  --green-light:#e8f8ed;
  --orange:     #f5a623;
  --orange-light:#fff4de;
  --blue:       #1565c0;
  --blue-light: #e3eeff;
  --red:        #e53935;
  --purple:     #7b1fa2;
  --teal:       #00897b;
  --pink:       #d81b60;
  --bg:         #f6f9ff;
  --border:     #e4eaf5;
  --text:       #2d3a4a;
  --text-light: #607080;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 12px 36px rgba(26,58,107,.12);
  --shadow-sm:  0 4px 16px rgba(26,58,107,.07);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(26,58,107,.10);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4%; height: 68px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-brand img {
  height: 46px; width: 46px; border-radius: 50%;
  object-fit: cover; background: #fff;
}
.nav-brand-text strong {
  display: block; font-family: 'Nunito', sans-serif;
  font-weight: 900; font-size: 1rem; color: var(--navy);
  line-height: 1.2;
}
.nav-brand-text small {
  font-size: .62rem; font-weight: 700; letter-spacing: 1.5px;
  color: var(--orange); display: block;
}
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  font-weight: 700; font-size: .85rem; color: var(--navy);
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--bg); color: var(--orange); }
.nav-links a i { font-size: .82rem; }
.nav-admit a {
  background: linear-gradient(135deg, var(--orange), #e08d10) !important;
  color: #fff !important; border-radius: 24px !important;
  padding: 8px 20px !important; box-shadow: 0 4px 14px rgba(245,166,35,.35) !important;
}
.nav-admit a:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(245,166,35,.45) !important; }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 6px; border-radius: 8px; transition: background .2s;
}
.hamburger:hover { background: var(--bg); }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: .3s;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 999;
  background: #fff; box-shadow: 0 8px 24px rgba(26,58,107,.12);
  padding: 16px; display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-110%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 10px; font-weight: 700; font-size: .9rem;
  color: var(--navy); transition: background .2s;
}
.mobile-nav a:hover, .mobile-nav a.active { background: var(--bg); color: var(--orange); }
.mobile-nav a i { font-size: .85rem; }
.m-admit { margin-top: 8px; }
.m-admit a {
  background: linear-gradient(135deg, var(--orange), #e08d10) !important;
  color: #fff !important; border-radius: 24px !important;
  justify-content: center;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #1a5276 100%);
  padding: 110px 4% 64px; text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.breadcrumb {
  font-size: .8rem; color: rgba(255,255,255,.65); margin-bottom: 16px;
  font-weight: 600; letter-spacing: .5px; position: relative;
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.page-banner h1 {
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 2.6rem;
  color: #fff; line-height: 1.2; position: relative;
}
.page-banner p {
  color: rgba(255,255,255,.78); font-size: 1rem; margin-top: 12px;
  max-width: 560px; margin-left: auto; margin-right: auto; position: relative;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 4%; }
.container { max-width: 1160px; margin: 0 auto; }
.section-label {
  display: inline-block; background: var(--orange-light); color: var(--orange);
  font-size: .72rem; font-weight: 800; letter-spacing: 2px;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
  text-transform: uppercase;
}
.section-title {
  font-family: 'Nunito', sans-serif; font-weight: 900;
  font-size: 2rem; color: var(--navy); line-height: 1.25;
  margin-bottom: 16px;
}
.section-sub {
  font-size: .97rem; color: var(--text-light); max-width: 600px;
  line-height: 1.8;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }
.divider {
  width: 48px; height: 4px; background: linear-gradient(90deg, var(--orange), var(--green));
  border-radius: 4px; margin-bottom: 20px;
}
.divider.center { margin: 0 auto 20px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 700;
  font-size: .9rem; cursor: pointer; border: none; transition: all .25s;
  text-decoration: none;
}
.btn-navy {
  background: linear-gradient(135deg, var(--navy), #2563eb);
  color: #fff; box-shadow: 0 6px 20px rgba(26,58,107,.28);
}
.btn-navy:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(26,58,107,.38); }
.btn-orange {
  background: linear-gradient(135deg, var(--orange), #e08d10);
  color: #fff; box-shadow: 0 6px 20px rgba(245,166,35,.32);
}
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245,166,35,.45); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--navy); background: var(--bg); }

/* ===== FORM ELEMENTS ===== */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.form-group label {
  font-size: .8rem; font-weight: 700; color: var(--navy); letter-spacing: .3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  border: 2px solid var(--border); background: #fff;
  font-size: .9rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,58,107,.08);
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a3a6b' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 80px 4%; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-section h2 {
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 2.2rem;
  margin-bottom: 16px; position: relative;
}
.cta-section p { color: rgba(255,255,255,.8); font-size: 1rem; margin-bottom: 32px; position: relative; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== FLOATING BUTTONS ===== */
.float-btns {
  position: fixed; bottom: 24px; right: 20px; z-index: 900;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 50px; height: 50px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1.2rem;
  color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.22);
  transition: transform .25s, box-shadow .25s; text-decoration: none;
}
.float-btn:hover { transform: scale(1.12); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.float-btn.wa  { background: #25d366; }
.float-btn.call{ background: var(--navy); }
.float-btn.totop{ background: var(--orange); font-size: .9rem; }

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, #0f2040, #1a3a6b);
  color: rgba(255,255,255,.82); padding-top: 60px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 4%; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px;
  padding-bottom: 48px;
}
.footer-brand-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.footer-brand-row img {
  height: 52px; width: 52px; border-radius: 50%;
  object-fit: cover; background: #fff; padding: 2px;
  border: 2px solid rgba(255,255,255,.2);
}
.ft { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.05rem; color: #fff; }
.ft small { display: block; font-size: .6rem; letter-spacing: 2px; color: var(--orange); font-weight: 700; }
.footer-col p { font-size: .87rem; line-height: 1.8; }
.footer-col h5 {
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .88rem;
  color: #fff; letter-spacing: .5px; margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .86rem; color: rgba(255,255,255,.72);
  display: flex; align-items: flex-start; gap: 8px;
  transition: color .2s; line-height: 1.5;
}
.footer-col ul li a i { margin-top: 3px; font-size: .72rem; color: var(--orange); flex-shrink: 0; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.soc {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
  color: rgba(255,255,255,.8); transition: background .2s, color .2s;
}
.soc:hover { background: var(--orange); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.visitor-row {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: rgba(255,255,255,.75); font-weight: 600;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-copy a { color: rgba(255,255,255,.7); }
.footer-copy a:hover { color: var(--orange); }

/* ===== SCROLL REVEAL ===== */
.reveal, .reveal-left, .reveal-right {
  opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease;
}
.reveal-left  { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: none;
}

/* ===== ABOUT US – ICON COLORS ===== */
.feat-ico { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.ico-g { background: var(--green-light); color: var(--green); }
.ico-b { background: var(--blue-light); color: var(--blue); }
.ico-o { background: var(--orange-light); color: var(--orange); }
.ico-r { background: #fdecea; color: var(--red); }
.ico-p { background: #f3e5f5; color: var(--purple); }
.ico-t { background: #e0f2f1; color: var(--teal); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 56px 5%; }
  .section-title { font-size: 1.6rem; }
  .page-banner h1 { font-size: 1.9rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-row3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .form-row3 { grid-template-columns: 1fr; }
}

/* ===== NEW KPCS LOGO (wide logo) ===== */
.nav-brand img { height: 42px !important; width: auto !important; border-radius: 6px !important; object-fit: contain !important; }
.nav-brand-text { display: none !important; }
.footer-brand-row img { height: 52px !important; width: auto !important; border-radius: 6px !important; padding: 0 !important; border: none !important; object-fit: contain !important; }
.footer-brand-row .ft { display: none !important; }
.adm-modal-header img { height: 56px !important; width: auto !important; border-radius: 8px !important; padding: 0 !important; }
