/* ══════════════════════════════════════════
   PARTH SCHOOL – FRONT WEBSITE CSS
   Blue Professional Theme
══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --blue:       #0061f2;
  --blue-dark:  #0045ac;
  --blue-light: #e8f0fe;
  --navy:       #0d1b3e;
  --white:      #ffffff;
  --gray:       #6b7280;
  --light:      #f4f7ff;
  --dark:       #111827;
  --accent:     #fbbf24;
  --shadow:     0 8px 40px rgba(0,97,242,0.12);
  --radius:     14px;
  --transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family:'Outfit',sans-serif; color:var(--dark); background:#fff; overflow-x:hidden; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; }
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-thumb { background:var(--blue); border-radius:10px; }

/* ── NAVBAR ── */
/* ── NAVBAR ── */
.main-header {
  position:fixed; top:0; left:0; right:0; z-index:9999;
  transition:var(--transition);
}
.topbar-info { background:var(--blue-dark); color:rgba(255,255,255,0.85); font-size:.75rem; padding:8px 0; }
.topbar-inner { display:flex; justify-content:space-between; align-items:center; }
.topbar-right { display:flex; gap:16px; }
.topbar-right a { color:#fff; }

.site-navbar {
  transition:var(--transition);
  background:transparent;
}
.site-navbar.scrolled {
  background:rgba(255,255,255,0.98);
  backdrop-filter:blur(12px);
  box-shadow:0 2px 20px rgba(0,97,242,0.1);
}
.nav-inner {
  max-width:1200px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 24px;
}
.nav-logo { display:flex; align-items:center; gap:10px; flex-shrink: 0; }
.nav-logo img { width:42px; height:42px; border-radius:8px; object-fit:cover; flex-shrink: 0; }
.nav-logo .logo-text .name { font-size:1rem; font-weight:900; color:var(--white); transition:var(--transition); white-space: nowrap; line-height: 1; }
.site-navbar.scrolled .nav-logo .logo-text .name { color:var(--navy); }
.nav-logo .logo-text .sub { font-size:.6rem; opacity:.75; font-weight:600; color:var(--white); letter-spacing:.02em; margin-top: 2px; }
.site-navbar.scrolled .nav-logo .logo-text .sub { color:var(--gray); }

.nav-links { display:flex; align-items:center; gap:4px; list-style:none; }
.nav-links a {
  padding:8px 14px; border-radius:8px; font-size:.88rem; font-weight:600;
  color:rgba(255,255,255,0.9); transition:var(--transition);
}
.site-navbar.scrolled .nav-links a { color:var(--dark); }
.nav-links a:hover { background:rgba(255,255,255,0.15); color:var(--white); }
.site-navbar.scrolled .nav-links a:hover { background:var(--blue-light); color:var(--blue); }
.nav-links .btn-portal {
  background:var(--white); color:var(--blue) !important;
  padding:8px 20px; border-radius:30px; font-weight:700;
  box-shadow:0 4px 16px rgba(0,0,0,0.15);
}
.site-navbar.scrolled .nav-links .btn-portal { background:var(--blue); color:var(--white) !important; }

.hamburger { display:none; background:none; border:none; font-size:1.5rem; color:var(--white); cursor:pointer; transition:var(--transition); }
.site-navbar.scrolled .hamburger { color:var(--dark); }

/* Mobile Menu */
.mobile-menu {
  display:none; position:fixed; top:0; left:0; right:0; bottom:0;
  background:var(--navy); z-index:10000; flex-direction:column;
  padding:30px 24px;
}
.mobile-menu.open { display:flex; }
.mobile-menu .close-btn { align-self:flex-end; background:none; border:none; color:#fff; font-size:1.8rem; cursor:pointer; margin-bottom:30px; }
.mobile-menu a { color:#fff; font-size:1.1rem; font-weight:600; padding:14px 0; border-bottom:1px solid rgba(255,255,255,0.1); display:block; }

/* ── HERO ── */
.hero {
  min-height:100vh;
  background:linear-gradient(135deg, var(--navy) 0%, #0a3272 40%, var(--blue) 100%);
  display:flex; align-items:center; justify-content:center;
  text-align:center; position:relative; overflow:hidden;
  padding-top:120px;
}
.hero::before {
  content:''; position:absolute; inset:0;
  background:url('../schoolimage.jpeg') center/cover no-repeat;
  opacity:0.08;
}
.hero-circles { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.hero-circles .c { position:absolute; border-radius:50%; border:1px solid rgba(255,255,255,0.07); }
.hero-circles .c1 { width:500px;height:500px;top:-100px;right:-100px; }
.hero-circles .c2 { width:300px;height:300px;bottom:-50px;left:-80px; }
.hero-content { position:relative; z-index:2; max-width:750px; padding:0 24px; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,0.12); backdrop-filter:blur(10px); color:#fff; padding:7px 18px; border-radius:30px; font-size:.8rem; font-weight:600; margin-bottom:24px; border:1px solid rgba(255,255,255,0.2); }
.hero h1 { font-size:clamp(2rem,5vw,3.8rem); font-weight:900; color:#fff; line-height:1.15; margin-bottom:20px; }
.hero h1 span { color:var(--accent); }
.hero p { font-size:1.05rem; color:rgba(255,255,255,0.8); max-width:560px; margin:0 auto 36px; line-height:1.7; }
.hero-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.btn-hero-primary { background:var(--white); color:var(--blue); padding:14px 32px; border-radius:50px; font-weight:700; font-size:.95rem; transition:var(--transition); box-shadow:0 8px 30px rgba(0,0,0,0.2); }
.btn-hero-primary:hover { transform:translateY(-3px); box-shadow:0 14px 40px rgba(0,0,0,0.25); }
.btn-hero-outline { border:2px solid rgba(255,255,255,0.6); color:#fff; padding:14px 32px; border-radius:50px; font-weight:700; font-size:.95rem; transition:var(--transition); }
.btn-hero-outline:hover { background:rgba(255,255,255,0.15); }
.hero-stats { display:flex; justify-content:center; gap:40px; margin-top:56px; flex-wrap:wrap; }
.hero-stat .num { font-size:2rem; font-weight:900; color:#fff; }
.hero-stat .lbl { font-size:.78rem; color:rgba(255,255,255,0.65); font-weight:500; margin-top:2px; }
.hero-scroll { position:absolute; bottom:30px; left:50%; transform:translateX(-50%); animation:bounce 2s infinite; color:rgba(255,255,255,0.5); font-size:1.3rem; }
@keyframes bounce{0%,100%{transform:translateX(-50%) translateY(0);}50%{transform:translateX(-50%) translateY(8px);}}

/* ── SECTIONS ── */
.section { padding:90px 0; }
.section-alt { background:var(--light); }
.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.section-label { font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:var(--blue); margin-bottom:10px; }
.section-title { font-size:clamp(1.7rem,3.5vw,2.5rem); font-weight:800; color:var(--navy); line-height:1.25; }
.section-title span { color:var(--blue); }
.section-sub { font-size:1rem; color:var(--gray); max-width:540px; margin-top:14px; line-height:1.7; }
.section-header { margin-bottom:52px; }
.section-header.center { text-align:center; }
.section-header.center .section-sub { margin:14px auto 0; }

/* ── SCHOOL CARDS ── */
.school-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:28px; }
.school-card { background:#fff; border-radius:20px; overflow:hidden; box-shadow:var(--shadow); transition:var(--transition); border:1px solid rgba(0,97,242,0.08); }
.school-card:hover { transform:translateY(-8px); box-shadow:0 20px 60px rgba(0,97,242,0.18); }
.school-card-img { height:200px; background:linear-gradient(135deg,var(--navy),var(--blue)); display:flex; align-items:center; justify-content:center; }
.school-card-img img { width:70px; height:70px; border-radius:16px; border:3px solid rgba(255,255,255,0.4); }
.school-card-body { padding:24px; }
.school-card-body h3 { font-size:1.05rem; font-weight:800; color:var(--navy); margin-bottom:6px; }
.school-card-body p { font-size:.84rem; color:var(--gray); line-height:1.6; }
.school-card-footer { padding:16px 24px; border-top:1px solid #f0f0f0; display:flex; align-items:center; gap:8px; font-size:.8rem; color:var(--blue); font-weight:600; }

/* ── WHY US ── */
.why-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; }
.why-card { background:#fff; border-radius:16px; padding:28px 22px; text-align:center; border:1px solid rgba(0,97,242,0.08); transition:var(--transition); }
.why-card:hover { border-color:var(--blue); box-shadow:var(--shadow); }
.why-icon { width:64px; height:64px; border-radius:18px; background:var(--blue-light); display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-size:1.5rem; color:var(--blue); }
.why-card h4 { font-size:.95rem; font-weight:700; color:var(--navy); margin-bottom:8px; }
.why-card p { font-size:.82rem; color:var(--gray); line-height:1.6; }

/* ── FOOTER ── */
.site-footer { background:var(--navy); color:#fff; padding:72px 0 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; }
.footer-brand img { width:50px; border-radius:12px; margin-bottom:16px; }
.footer-brand h3 { font-size:1.1rem; font-weight:800; margin-bottom:10px; }
.footer-brand p { font-size:.83rem; color:rgba(255,255,255,0.6); line-height:1.7; max-width:280px; }
.footer-socials { display:flex; gap:10px; margin-top:20px; }
.footer-socials a { width:36px; height:36px; border-radius:10px; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; transition:var(--transition); color:#fff; }
.footer-socials a:hover { background:var(--blue); transform:translateY(-2px); }
.footer-col h4 { font-size:.82rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,0.5); margin-bottom:18px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col ul a { font-size:.85rem; color:rgba(255,255,255,0.7); transition:var(--transition); display:flex; align-items:center; gap:7px; }
.footer-col ul a:hover { color:#fff; padding-left:4px; }
.footer-contact-item { display:flex; gap:12px; align-items:flex-start; margin-bottom:14px; }
.footer-contact-item .icon { width:34px; height:34px; border-radius:8px; background:rgba(0,97,242,0.3); display:flex; align-items:center; justify-content:center; font-size:.8rem; flex-shrink:0; }
.footer-contact-item .text { font-size:.82rem; color:rgba(255,255,255,0.7); line-height:1.5; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.07); padding:20px 0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.footer-bottom p { font-size:.8rem; color:rgba(255,255,255,0.4); }
.footer-bottom a { color:var(--blue); }

/* ── PAGE BANNER ── */
.page-banner { background:linear-gradient(135deg,var(--navy),var(--blue-dark)); padding:100px 0 60px; text-align:center; color:#fff; }
.page-banner h1 { font-size:clamp(1.8rem,4vw,2.8rem); font-weight:900; }
.page-banner p { font-size:.95rem; opacity:.8; margin-top:10px; }
.page-banner .breadcrumb { display:flex; justify-content:center; gap:8px; font-size:.8rem; margin-top:14px; color:rgba(255,255,255,0.6); }
.page-banner .breadcrumb a { color:var(--accent); }

/* ── CONTACT ── */
.contact-grid { display:grid; grid-template-columns:1fr 1.5fr; gap:48px; align-items:start; }
.contact-info-card { background:var(--navy); color:#fff; border-radius:20px; padding:36px 30px; }
.contact-info-card h3 { font-size:1.3rem; font-weight:800; margin-bottom:8px; }
.contact-info-card p { font-size:.85rem; opacity:.7; margin-bottom:28px; }
.contact-form-card { background:#fff; border-radius:20px; padding:36px 30px; box-shadow:var(--shadow); }
.contact-form-card h3 { font-size:1.2rem; font-weight:800; color:var(--navy); margin-bottom:24px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { display:flex; flex-direction:column; gap:7px; margin-bottom:16px; }
.form-group label { font-size:.82rem; font-weight:600; color:var(--dark); }
.form-group input, .form-group select, .form-group textarea { padding:11px 14px; border:1.5px solid #e5e7eb; border-radius:10px; font-size:.875rem; outline:none; transition:var(--transition); width:100%; }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(0,97,242,0.1); }
.btn-submit { background:var(--blue); color:#fff; width:100%; padding:14px; border:none; border-radius:12px; font-size:.95rem; font-weight:700; cursor:pointer; transition:var(--transition); }
.btn-submit:hover { background:var(--blue-dark); transform:translateY(-1px); }

/* ── GALLERY ── */
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }
.gallery-item { border-radius:16px; overflow:hidden; position:relative; aspect-ratio:4/3; cursor:pointer; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:var(--transition); }
.gallery-item:hover img { transform:scale(1.05); }
.gallery-item .overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,0.6),transparent); opacity:0; transition:var(--transition); display:flex; align-items:flex-end; padding:16px; }
.gallery-item:hover .overlay { opacity:1; }
.gallery-item .overlay p { color:#fff; font-size:.85rem; font-weight:600; }

/* ── FACULTY ── */
.faculty-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:24px; }
.faculty-card { background:#fff; border-radius:18px; padding:28px 20px; text-align:center; box-shadow:var(--shadow); border:1px solid rgba(0,97,242,0.06); transition:var(--transition); }
.faculty-card:hover { transform:translateY(-5px); }
.faculty-card img { width:90px; height:90px; border-radius:50%; object-fit:cover; border:3px solid var(--blue); margin-bottom:14px; }
.faculty-card h4 { font-size:.95rem; font-weight:700; color:var(--navy); }
.faculty-card .desig { font-size:.78rem; color:var(--blue); font-weight:600; text-transform:uppercase; letter-spacing:.05em; margin:4px 0 8px; }
.faculty-card p { font-size:.78rem; color:var(--gray); }

/* ── ABOUT ── */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.about-img-wrap { position:relative; border-radius:24px; overflow:hidden; box-shadow:var(--shadow); }
.about-img-wrap::after { content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(13,27,62,0.4), transparent); pointer-events:none; }
.about-img-wrap img { width:100%; height:auto; display:block; transition:transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.about-img-wrap:hover img { transform:scale(1.08); }
.about-img-badge { position:absolute; bottom:24px; left:24px; background:var(--blue); color:#fff; padding:14px 20px; border-radius:14px; font-weight:700; }
.value-item { display:flex; gap:16px; margin-bottom:20px; }
.value-item .icon { width:44px; height:44px; border-radius:12px; background:var(--blue-light); display:flex; align-items:center; justify-content:center; color:var(--blue); flex-shrink:0; font-size:.95rem; }
.value-item h5 { font-size:.9rem; font-weight:700; color:var(--navy); margin-bottom:3px; }
.value-item p { font-size:.82rem; color:var(--gray); line-height:1.5; }

/* Responsive */
@media(max-width:900px){
  .footer-grid { grid-template-columns:1fr 1fr; }
  .about-grid,.contact-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
}
@media(max-width:600px){
  .nav-inner { padding: 10px 16px; }
  .nav-logo img { width: 34px; height: 34px; }
  .nav-logo .logo-text .name { font-size: .85rem; }
  .nav-logo .logo-text .sub { font-size: .5rem; }
  .nav-links { display:none; }
  .hamburger { display:block; padding: 5px; color:#fff; }
  .site-navbar.scrolled .hamburger { color:var(--navy); }
  .topbar-left { display:none; }
  .topbar-inner { justify-content:center; }
  .footer-grid { grid-template-columns:1fr; }
  .hero-stat .num { font-size:1.5rem; }
  .hero-stats { gap:20px; }
}
