/*
Theme Name: Edugates
Theme URI: https://edugates.school
Author: Mr. Biswas (developed with SavvyTech)
Author URI: https://edugates.school
Description: Custom WordPress theme for Edugates Integrated School (EIS), Dhaka. v1.27.0 — Header v1.27.0 — Header v1.26.0 — Homepage Editor: new dashboard sidebar page (🏠 Homepage Edit) to edit ALL 7 homepage sections (Hero, Foundation, Curriculum tabs, Islamic Way, Message, Registration form, CTA + social) without opening Customizer. Accordion UI, ~60 fields, saves as theme_mods so Customizer stays in sync. Direct links to Hero Slider + Programme CPTs included. v1.25.0 — School Fee 7-field update. Footer Editor: new dashboard sidebar page (🎨 Header v1.26.0 — Homepage Editor: new dashboard sidebar page (🏠 Homepage Edit) to edit ALL 7 homepage sections (Hero, Foundation, Curriculum tabs, Islamic Way, Message, Registration form, CTA + social) without opening Customizer. Accordion UI, ~60 fields, saves as theme_mods so Customizer stays in sync. Direct links to Hero Slider + Programme CPTs included. v1.25.0 — School Fee 7-field update. Footer) to edit ALL header/footer text without Customizer. Made previously-hardcoded items editable: header pillar buttons (FAITH/WISDOM/etc), Log in/Apply Now button text+URL, footer phone numbers (3), website label/URL, footer column titles (3), copyright text. ~35 fields, accordion UI, theme_mod storage (Customizer sync). v1.26.0 — Homepage Editor. Footer Editor: dashboard sidebar page (🎨 Header v1.26.0 — Homepage Editor: new dashboard sidebar page (🏠 Homepage Edit) to edit ALL 7 homepage sections (Hero, Foundation, Curriculum tabs, Islamic Way, Message, Registration form, CTA + social) without opening Customizer. Accordion UI, ~60 fields, saves as theme_mods so Customizer stays in sync. Direct links to Hero Slider + Programme CPTs included. v1.25.0 — School Fee 7-field update. Footer Editor: new dashboard sidebar page (🎨 Header v1.26.0 — Homepage Editor: new dashboard sidebar page (🏠 Homepage Edit) to edit ALL 7 homepage sections (Hero, Foundation, Curriculum tabs, Islamic Way, Message, Registration form, CTA + social) without opening Customizer. Accordion UI, ~60 fields, saves as theme_mods so Customizer stays in sync. Direct links to Hero Slider + Programme CPTs included. v1.25.0 — School Fee 7-field update. Footer) to edit ALL header/footer text without Customizer. Made previously-hardcoded items editable: header pillar buttons (FAITH/WISDOM/etc), Log in/Apply Now button text+URL, footer phone numbers (3), website label/URL, footer column titles (3), copyright text. ~35 fields, accordion UI, theme_mod storage (Customizer sync). v1.26.0 — Homepage Editor. Footer) now fully covers all header (pillars, login/apply buttons) and footer (tagline, address, emails, phones, website, social, columns, copyright) fields. Made footer newsletter title/subtitle/subject editable (were hardcoded) and added them to the editor. v1.26.0 — Homepage Editor added.
Version: 1.33.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edugates
Tags: education, school, custom-theme, islamic-school
*/

/* ═══════════════════════════════════════════════════════
   GLOBAL CSS — Ported exactly from HTML index.html
   Includes :root variables + reset + .orange-text/.yellow-text
   utility classes used throughout sections.
   ═══════════════════════════════════════════════════════ */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  /* Banner colors */
  --green-1:#3ed337;
  --green-2:#6ee81e;
  --green-3:#aaf50e;
  --yellow-green:#d9f812;
  --navy:#1e1e7a;
  --navy-dark:#15155c;
  --navy-deep:#0c0c3d;
  --orange:#f57c2e;
  --orange-light:#ff9652;
  --white:#ffffff;
  --cream:#faffef;
  --ink:#1a1a2e;
  --ink2:#3a3a52;
  --ink3:#6a6a7e;
  --line:#e8e8f0;

  --banner-gradient:linear-gradient(135deg,#3ed337 0%,#6ee81e 35%,#aaf50e 65%,#d9f812 100%);

  --serif:'Playfair Display',Georgia,serif;
  --arabic:'Amiri',serif;
  --sans:'Poppins',sans-serif;

  --r4:6px;--r8:10px;--r12:14px;
}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--sans);background:var(--cream);color:var(--ink);overflow-x:hidden;line-height:1.7;font-weight:400}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}

/* Color helper classes (no italic, just color override) */
.orange-text{color:var(--orange);font-style:normal;font-family:inherit;font-weight:inherit}
.yellow-text{color:var(--yellow-green);font-style:normal;font-family:inherit;font-weight:inherit}

/* ═══ Smart text justify — All body paragraphs justified (both sides equal) ═══ */

/* HOME PAGE — All body paragraphs */
.rv-main-text,
.rv-quote p,
.rv-text p,
.message-body,
.message-section p,
.hero-slide-text,

/* ABOUT US — All body paragraphs */
.about-content-text p,
.who-we-are-text,
.rationale-text,
.intro-text,
.intro-text p,
.closing-text,
.values-stat-text,
.grade-level-desc,
.governance-text,
.about-card-text,

/* CURRICULUM — All body paragraphs */
.philosophy-text,
.philosophy-text p,
.integration-note-text,
.outcomes-text,
.methodology-text,
.assessment-text,
.curr-content-text,
.qa-content-text,
.qa-text,
.outcome-item-text,
.outcome-item-body p,
.assessment-card-text,
.assessment-card-content p,
.pedagogy-text,
.curr-item-text,

/* PROGRAMMES — All body paragraphs */
.programme-desc,
.programme-stage-desc,
.programme-feature-text,
.programme-header-content p,
.why-card-text,
.islamic-item-text,
.prog-card-desc,
.prog-card-text,

/* SCHOOL FEE — All body paragraphs */
.fee-detail-desc,
.fee-includes-text,
.payment-desc,
.fee-note,
.intro-stat-desc,

/* TEAM — All body paragraphs */
.team-card-bio,
.modal-bio,
.modal-bio p,
.faculty-desc,
.faculty-text,

/* ADMISSION — All body paragraphs */
.form-intro-text,
.process-step-desc,
.step-desc,
.download-desc,
.help-card-text,
.contact-card-content p,

/* GALLERY/VIDEOS — All body paragraphs */
.gallery-stat-desc,
.video-stat-desc,

/* CONTACT — All body paragraphs */
.faq-answer p,
.faq-answer-inner p,
.contact-info-card p,
.info-desc,
.info-card p,

/* CARDS that are typically center-aligned but have paragraph text */
/* Override center to left, then justify for both-sides-equal alignment */
.vmc-card-text,
.value-desc,
.value-content p,
.principle-text,
.pillar-card-desc,
.pillar-card-text,
.gov-content p,
.creativity-text,
.care-text,
.cta-social-desc{
  text-align:justify !important;
  text-justify:inter-word;
}

/* Section leads inside CENTER headers — keep them centered (short text, looks better) */
.intro-header .section-lead,
.why-eis-header .section-lead,
.vmc-header .section-lead,
.principles-header .section-lead,
.faculty-header .section-lead,
.qa-header .section-lead,
.governance-header .section-lead,
.curr-header .section-lead,
.scep-header .section-lead,
.sca-header .section-lead{
  text-align:center;
}

/* Hero subtitles, page subtitles — short text, keep their natural alignment */
.hero-sub,
.page-subtitle,
.reg-sub,
.footer-newsletter-sub{
  text-align:left;
}


