/*
Theme Name: The Schooling Co.
Theme URI: https://theschoolingco.com
Author: The Schooling Co.
Author URI: https://theschoolingco.com
Description: Official website theme for The Schooling Co. — A school growth and improvement company helping private schools across Pakistan grow, modernize, and succeed.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: schoolingco
Tags: education, school, business, landing-page, custom-colors
*/

/* =============================================
   CSS VARIABLES
============================================= */
:root {
  --red: #C0271D;
  --red-dark: #a01f17;
  --red-light: #d63128;
  --gold: #E8B84B;
  --gold-dark: #c99a2e;
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --dark2: #2a2a2a;
  --gray-bg: #EAEAEE;
  --gray-light: #F5F5F8;
  --text: #333333;
  --text-muted: #666666;
  --border: #E0E0E8;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-lg: 20px;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  background: var(--gray-bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
}

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
}
h1 { font-size: clamp(36px, 6vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
p { color: var(--text-muted); line-height: 1.75; }

/* =============================================
   UTILITIES
============================================= */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: 90px 0; }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-gold { color: var(--gold-dark); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,39,29,0.08);
  border: 1px solid rgba(192,39,29,0.2);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 40px;
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.section-heading {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.15;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}
.section-sub.center { margin: 0 auto; }

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(192,39,29,0.3);
}
.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(192,39,29,0.4);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(232,184,75,0.35);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  color: var(--dark);
}
.btn-white {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.btn-white:hover {
  background: var(--gray-bg);
  transform: translateY(-2px);
  color: var(--red);
}
.btn-lg { padding: 18px 42px; font-size: 16px; }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* =============================================
   SCROLL REVEAL
============================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
