/*
Theme Name: The Educators Theme
Theme URI: https://educators.edu.pk
Author: Your Name
Author URI: https://yourwebsite.com
Description: A complete custom WordPress theme replicating The Educators (Beaconhouse) website with full sections, responsive design, and optimized performance.
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: educators-theme
Tags: education, school, responsive, custom-menu, featured-images, full-width-template
*/

/* =============================================
   CSS VARIABLES
============================================= */
:root {
    --primary-color: #007b7b;
    --primary-dark: #005f5f;
    --primary-light: #009999;
    --secondary-color: #f4f4f4;
    --accent-color: #e8f5f5;
    --text-dark: #222222;
    --text-medium: #555555;
    --text-light: #777777;
    --white: #ffffff;
    --border-color: #dddddd;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --font-main: 'Open Sans', Arial, sans-serif;
    --font-heading: 'Montserrat', Arial, sans-serif;
    --transition: all 0.3s ease;
    --border-radius: 6px;
    --container-width: 1200px;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--primary-color); transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: var(--text-dark); }

/* =============================================
   CONTAINER
============================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}
.container-fluid { width: 100%; padding: 0 20px; }

/* =============================================
   BUTTONS
============================================= */
.btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}
.btn-white {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}
.btn-white:hover {
    background: transparent;
    color: var(--white);
}

/* =============================================
   TOP BAR
============================================= */
#top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    z-index: 1000;
}
#top-bar .top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
#top-bar .top-bar-left a,
#top-bar .top-bar-right a {
    color: var(--white);
    margin-right: 15px;
    font-size: 13px;
}
#top-bar .top-bar-left a:hover,
#top-bar .top-bar-right a:hover { color: #aaffff; }
#top-bar .top-bar-left i,
#top-bar .top-bar-right i { margin-right: 5px; }
#top-bar .top-bar-right a {
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 3px;
    margin-right: 8px;
}
#top-bar .top-bar-right a:hover { background: rgba(255,255,255,0.3); }

/* =============================================
   HEADER / NAVIGATION
============================================= */
#site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--transition);
}
#site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.site-logo img { height: 65px; width: auto; }
.site-logo a { display: block; }

/* Main Navigation */
.main-nav { display: flex; align-items: center; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: block;
    padding: 12px 16px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
}
.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a { color: var(--primary-color); }
.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after { transform: scaleX(1); }

/* Dropdown */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 100;
}
.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-medium);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}
.nav-menu .sub-menu li:last-child a { border-bottom: none; }
.nav-menu .sub-menu li a:hover {
    color: var(--primary-color);
    background: var(--accent-color);
    padding-left: 28px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -8px); }

/* =============================================
   HERO SLIDER
============================================= */
#hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.slider-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}
.slide {
    min-width: 100%;
    position: relative;
}
.slide img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,80,80,0.6) 0%, transparent 60%);
    display: flex;
    align-items: center;
}
.slide-content {
    padding: 0 60px;
    max-width: 600px;
    color: var(--white);
}
.slide-content h2 {
    font-size: 38px;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.slide-content p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.9;
}
.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.slider-dot.active { background: var(--white); transform: scale(1.3); }
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-prev:hover,
.slider-next:hover { background: var(--primary-color); border-color: var(--primary-color); }

/* =============================================
   SECTION COMMON
============================================= */
section { padding: 70px 0; }
.section-title {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}
.section-title.centered { text-align: center; }
.section-title.centered::after { left: 50%; transform: translateX(-50%); }
.section-subtitle {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 40px;
}
.section-subtitle.centered { text-align: center; }

/* =============================================
   ABOUT SECTION
============================================= */
#about-section { background: var(--white); }
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text p {
    color: var(--text-medium);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}
.stat-box {
    background: var(--accent-color);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: var(--border-radius);
}
.stat-box .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}
.stat-box .stat-label {
    font-size: 13px;
    color: var(--text-medium);
    margin-top: 4px;
}
.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
}

/* =============================================
   ADMISSIONS SECTION
============================================= */
#admissions-section { background: var(--secondary-color); }
.admissions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.admission-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}
.admission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--primary-color);
}
.admission-card .card-icon {
    width: 65px;
    height: 65px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: var(--primary-color);
    transition: var(--transition);
}
.admission-card:hover .card-icon {
    background: var(--primary-color);
    color: var(--white);
}
.admission-card h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}
.admission-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 18px;
}
.admission-card a.card-link {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
}
.admission-card a.card-link:hover { text-decoration: underline; }

/* =============================================
   NEWS & EVENTS
============================================= */
#news-events { background: var(--white); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}
.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.news-card .news-thumb {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.news-card .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-card:hover .news-thumb img { transform: scale(1.08); }
.news-card .news-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,123,123,0);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-card:hover .news-overlay { background: rgba(0,123,123,0.2); }
.news-card .news-body { padding: 20px; }
.news-card .news-date {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.news-card h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-card p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}
.news-card .read-more {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.news-card .read-more::after {
    content: '→';
    transition: transform 0.3s;
}
.news-card:hover .read-more::after { transform: translateX(4px); }
.news-load-more { text-align: center; margin-top: 40px; }

/* =============================================
   FRANCHISE SECTION
============================================= */
#franchise-section { background: var(--primary-dark); color: var(--white); }
#franchise-section .section-title { color: var(--white); }
#franchise-section .section-title::after { background: rgba(255,255,255,0.6); }
.franchise-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.franchise-icon-box {
    text-align: center;
    padding: 30px 15px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
}
.franchise-icon-box:hover { background: rgba(255,255,255,0.2); transform: translateY(-5px); }
.franchise-icon-box a { color: var(--white); }
.franchise-icon-box img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    margin: 0 auto 15px;
}
.franchise-icon-box span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

/* =============================================
   TESTIMONIALS
============================================= */
#testimonials { background: var(--secondary-color); }
.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}
.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}
.testimonial-slide {
    min-width: 100%;
    padding: 0 60px;
}
.testimonial-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}
.testimonial-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    margin: 0 auto;
}
.testimonial-content blockquote {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}
.testimonial-content blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-content .student-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}
.testimonial-content .student-position {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}
.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}
.test-prev, .test-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.test-prev:hover, .test-next:hover { background: var(--primary-dark); }

/* =============================================
   STATS COUNTER SECTION
============================================= */
#stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item { color: var(--white); }
.stat-item .counter {
    font-size: 48px;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-item .stat-desc {
    font-size: 15px;
    opacity: 0.85;
    font-weight: 500;
}

/* =============================================
   BRANDS STRIP
============================================= */
#brands-strip {
    background: var(--white);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.brands-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.brands-inner img {
    height: 40px;
    width: auto;
    opacity: 0.65;
    transition: var(--transition);
    filter: grayscale(100%);
}
.brands-inner img:hover { opacity: 1; filter: grayscale(0%); }

/* =============================================
   FOOTER
============================================= */
#site-footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--primary-color);
}
.footer-col.contact-col .footer-logo { margin-bottom: 18px; }
.footer-col.contact-col .footer-logo img { height: 50px; filter: brightness(10); opacity: 0.85; }
.footer-col.contact-col p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
}
.footer-contact-item i { color: var(--primary-color); margin-top: 2px; min-width: 14px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
    color: #aaa;
    font-size: 13px;
    transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--primary-light); padding-left: 5px; }
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 14px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary-color); color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-bottom p { font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #aaa; font-size: 13px; }
.footer-bottom-links a:hover { color: var(--primary-light); }
.footer-countries {
    background: #111;
    padding: 12px 0;
    text-align: center;
    font-size: 12px;
    color: #888;
}
.footer-countries a { color: #888; margin: 0 8px; }
.footer-countries a:hover { color: var(--primary-light); }

/* =============================================
   INNER PAGE HERO
============================================= */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: 36px; margin-bottom: 12px; }
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.6; }

/* =============================================
   ABOUT PAGE
============================================= */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
.vm-card {
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}
.vm-card h3 { color: var(--primary-dark); margin-bottom: 15px; font-size: 22px; }
.vm-card p { color: var(--text-medium); line-height: 1.8; }
.leadership-card {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}
.leadership-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
.leadership-content h3 { color: var(--primary-dark); margin-bottom: 5px; }
.leadership-content .role { color: var(--primary-color); font-weight: 600; margin-bottom: 15px; }
.leadership-content p { color: var(--text-medium); line-height: 1.8; margin-bottom: 12px; }

/* =============================================
   ADMISSIONS PAGE
============================================= */
.admission-steps {
    counter-reset: step;
    margin-top: 40px;
}
.admission-step {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.step-number {
    counter-increment: step;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}
.step-content h4 { color: var(--primary-dark); margin-bottom: 8px; font-size: 17px; }
.step-content p { color: var(--text-medium); font-size: 14px; line-height: 1.7; }

/* Admission Form */
.admission-form-wrap {
    background: var(--white);
    border-radius: 12px;
    padding: 50px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 40px auto 0;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 22px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 7px;
}
.form-group label span.required { color: red; margin-left: 3px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    color: var(--text-dark);
    font-family: var(--font-main);
    transition: var(--transition);
    background: #fafafa;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0,123,123,0.1);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-submit { text-align: center; margin-top: 10px; }

/* =============================================
   CONTACT PAGE
============================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 40px;
}
.contact-info-card {
    background: var(--primary-dark);
    border-radius: 12px;
    padding: 40px;
    color: var(--white);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 25px; }
.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.contact-info-item i {
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
}
.contact-info-item h5 { color: rgba(255,255,255,0.7); font-size: 12px; text-transform: uppercase; margin-bottom: 4px; }
.contact-info-item p { color: var(--white); font-size: 14px; }
.map-embed { margin-top: 25px; border-radius: 8px; overflow: hidden; }
.map-embed iframe { width: 100%; height: 200px; border: none; }
.contact-form-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}
.contact-form-card h3 { color: var(--primary-dark); margin-bottom: 25px; }

/* =============================================
   FRANCHISE / NETWORK PAGE
============================================= */
.network-map {
    text-align: center;
    margin: 40px 0;
}
.network-map img { width: 100%; max-width: 900px; margin: 0 auto; border-radius: 10px; }
.network-regions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.region-card {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}
.region-card:hover { transform: translateY(-5px); border-top: 3px solid var(--primary-color); }
.region-card h4 { color: var(--primary-dark); margin-bottom: 8px; }
.region-card p { color: var(--text-light); font-size: 13px; }

/* =============================================
   FAQ PAGE
============================================= */
.faq-accordion { margin-top: 40px; }
.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}
.faq-question:hover { color: var(--primary-color); }
.faq-question.active { color: var(--primary-color); background: var(--accent-color); }
.faq-question .faq-icon {
    font-size: 20px;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s;
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer.open { max-height: 500px; }
.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.8;
}

/* =============================================
   CAREERS PAGE
============================================= */
.job-listings { margin-top: 40px; }
.job-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-hover); transform: translateX(5px); }
.job-info h4 { color: var(--primary-dark); margin-bottom: 5px; }
.job-info .job-meta { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 8px; }
.job-meta span { font-size: 12px; color: var(--text-light); background: var(--secondary-color); padding: 3px 10px; border-radius: 20px; }

/* =============================================
   LOCATE US PAGE
============================================= */
.locate-map iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    border: none;
    margin-top: 30px;
}
.locate-search {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.locate-search input,
.locate-search select {
    flex: 1;
    min-width: 200px;
    padding: 12px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
}
.locate-search input:focus,
.locate-search select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* =============================================
   BACK TO TOP
============================================= */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    font-size: 18px;
    box-shadow: var(--shadow);
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* =============================================
   PRELOADER
============================================= */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}
#preloader.fade-out { opacity: 0; pointer-events: none; }
.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--accent-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   WORDPRESS CORE CLASSES
============================================= */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin: 0 20px 15px 0; }
.alignright { float: right; margin: 0 0 15px 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-light); text-align: center; margin-top: 5px; }
.sticky { border-left: 4px solid var(--primary-color); padding-left: 15px; }
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.gallery-item img { width: 100%; border-radius: 5px; }

/* =============================================
   RESPONSIVE — TABLET
============================================= */
@media (max-width: 1024px) {
    .admissions-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .about-inner { grid-template-columns: 1fr; gap: 30px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .franchise-icons { grid-template-columns: repeat(3, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   RESPONSIVE — MOBILE
============================================= */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 20px;
    }
    .main-nav.open { display: block; }
    .nav-menu { flex-direction: column; align-items: flex-start; gap: 0; }
    .nav-menu > li { width: 100%; }
    .nav-menu > li > a { padding: 12px 5px; border-bottom: 1px solid #f0f0f0; }
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding-left: 15px;
        display: none;
    }
    .nav-menu li.open .sub-menu { display: block; }
    .header-inner { position: relative; }
    .admissions-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .franchise-icons { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .slide img { height: 250px; }
    .slide-content { padding: 0 25px; }
    .slide-content h2 { font-size: 22px; }
    .testimonial-inner { grid-template-columns: 1fr; text-align: center; padding: 25px; }
    .testimonial-slide { padding: 0 10px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .vision-mission-grid { grid-template-columns: 1fr; }
    .network-regions { grid-template-columns: repeat(2,1fr); }
    .top-bar-left { display: none; }
    section { padding: 45px 0; }
    .section-title { font-size: 24px; }
    .stat-item .counter { font-size: 34px; }
}

@media (max-width: 480px) {
    .admissions-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .franchise-icons { grid-template-columns: repeat(2, 1fr); }
    .network-regions { grid-template-columns: 1fr; }
    .brands-inner { gap: 20px; }
    .site-logo img { height: 50px; }
}
