@import url('https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i|Poppins:100i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');

/*
font-family: 'Montserrat', sans-serif;
font-family: 'Poppins', sans-serif;
*/

:root {
    --primary: rgba(4, 120, 87, 1);
    --primary-dark: rgba(6, 95, 70, 1);
    --secondary: rgba(30, 41, 59, 1);
    --accent: #10b981;
    --light: #f8fafc;
    --text-main: rgb(51, 65, 85);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:
        "Segoe UI",
        system-ui,
        -apple-system,
        sans-serif;
}

body {
    /* Set the school logo as a centered, non-repeating fixed background */
    background-image: url('../images/logo.png'); 
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: 40vw; 
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.7em;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	font-family: 'Poppins', sans-serif;
}

main {
    background-color: rgba(255, 255, 255, 0.96) !important;
}

h1,h2,h3,h4,h5,h6 {
	position:relative;
	font-weight:normal;
	margin:0px;
	background:none;
	line-height:1.2em;
	font-family: 'Montserrat', sans-serif;
}

/* Top Bar Contacts */
.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 0.6rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-contacts {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-contacts a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.top-bar-contacts a:hover {
    opacity: 0.85;
}

.top-bar-socials {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Sophisticated Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-badge {
    width: 42px;
    height: 42px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 1px 2px rgba(4, 120, 87, 0.3);
}

.logo-box span {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.logo-box span em {
    color: var(--primary);
    font-style: normal;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.4);
}

/* Modern Mobile Navigation Drawer */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    z-index: 1002;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2.5rem 2rem;
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.close-drawer {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--secondary);
    transition: var(--transition);
}

.close-drawer:hover {
    background: #e2e8f0;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s;
}

.mobile-nav-links a i {
    color: var(--primary);
    width: 24px;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--primary);
}

.mobile-drawer-footer {
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

/* Hero Section Slider with aligned buttons */
.hero-slider {
    position: relative;
    height: calc(100vh - 85px);
    min-height: 600px;
    overflow: hidden;
    background: #0f172a;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 1s ease-in-out,
        visibility 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(30, 41, 59, 0.88) 100%);
}

.hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #cbd5e1;
    margin-bottom: 2.25rem;
    font-weight: 300;
    max-width: 750px;
}

.hero-btn-wrapper {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-dot-container {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* Key Highlights Section with Big Font Icons */
.highlights {
    /*background-color:  var(--light);*/
    max-width: 1280px;
    margin: -70px auto 0;
    position: relative;
    z-index: 10;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.05),
        0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 35px -5px rgba(4, 120, 87, 0.12);
    border-color: var(--accent);
}

.highlight-icon {
    font-size: 2.75rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: #ecfdf5;
    width: 75px;
    height: 75px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.highlight-card:hover .highlight-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.highlight-card h3 {
    font-size: 1.35rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.highlight-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Welcome Snippet Section */
.welcome-snippet {
    /*background-color:  var(--light);*/
    max-width: 1280px;
    margin: 7rem auto 4rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.welcome-img-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    height: 460px;
    background: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 3rem;
}

.welcome-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.welcome-content p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* NEW ADDITION 1: About Our School Snippet (Summarized) */
.about-snippet-section {
    background: white;
    padding: 5rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.about-snippet-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-snippet-text h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.about-snippet-text p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.about-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.95rem;
}

.about-features-list li i {
    color: var(--primary);
}

.about-snippet-visual {
    background: #f1f5f9;
    border-radius: 20px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* NEW ADDITION 2: Why You Should Register Your Child Section */
.why-register-section {
    padding: 7rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px -5px rgba(4, 120, 87, 0.08);
    border-color: var(--primary);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: #ecfdf5;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.benefit-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* NEW ADDITION 3: Striking Bold CTA Section */
.cta-banner-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.95) 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-banner-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-banner-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
    color: white;
}

.cta-banner-section h2 span {
    color: var(--accent);
}

.big-cta-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: white;
    padding: 1.1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.big-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.6);
}

/* Latest News & Events Section */
.news-section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}

.news-img-placeholder {
    height: 220px;
    background: #e2e8f0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2.5rem;
}

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(4, 120, 87, 0.9);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.badge.event {
    background: rgba(30, 58, 138, 0.9);
}

.news-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-content h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.news-content p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 10px;
}

.section-footer-action {
    text-align: center;
    margin-top: 3.5rem;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(4, 120, 87, 0.3);
}

/* Campus Gallery Preview Section */
.gallery-preview {
    background: rgba(30, 41, 59, 0.98);
    padding: 8rem 2rem;
    color: white;
}

.gallery-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    height: 280px;
    background: #334155;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 2rem;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* Footer Section */
footer {
    background-color: rgba(15, 23, 42, 0.98);
    color: #94a3b8;
    padding: 5rem 2rem 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 968px) {
    .welcome-snippet,
    .about-snippet-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .welcome-img-container,
    .about-snippet-visual {
        height: 320px;
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

@media (max-width: 768px) {
    .top-bar, .cta-btn {
        display: none;
    }
    .about-features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
}

/* Prevent horizontal scrolling & body overflow globally */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure all images and grid containers respect the screen boundaries */
img, video, .hero-slider, section {
    max-width: 100%;
    box-sizing: border-box;
}