/* ================================
   PART 1: FOUNDATION & GLOBAL STYLES
================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@500;600;700&display=swap');


:root {

    --primary: #2563eb;
    --secondary: #22c55e;
    --accent: #f59e0b;

    --dark: #1f2937;
    --light: #f8fafc;
    --white: #ffffff;

    --shadow:
    0 10px 30px rgba(0,0,0,0.08);

    --radius: 16px;
}


/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: "Inter", sans-serif;

    background: var(--light);

    color: var(--dark);

    line-height: 1.6;

}


/* Typography */

h1,
h2,
h3 {

    font-family: "Poppins", sans-serif;

    font-weight: 700;

}


h1 {

    font-size: 3rem;

}


h2 {

    font-size: 2.2rem;

    text-align: center;

    margin-bottom: 40px;

}


h3 {

    font-size: 1.3rem;

}


p {

    color: #4b5563;

}


/* Links */

a {

    text-decoration: none;

    color: inherit;

}


/* Buttons */

.btn {

    display: inline-block;

    background:
    linear-gradient(
        135deg,
        var(--primary),
        #1d4ed8
    );

    color: white;

    padding: 13px 28px;

    border-radius: 50px;

    font-weight: 600;

    transition: 0.3s;

}


.btn:hover {

    transform: translateY(-3px);

    box-shadow:
    0 10px 20px rgba(37,99,235,.3);

}


/* Sections */

section {

    padding: 80px 8%;

}


/* Cards */

.cards {

    display: grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap: 30px;

}


.card {

    background: white;

    padding: 35px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: .3s;

}


.card:hover {

    transform: translateY(-8px);

}


/* Lists */

ul {

    list-style-position: inside;

}
/* ================================
   PART 2: NAVIGATION
================================ */


header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
    rgba(255,255,255,.9);

    backdrop-filter: blur(12px);

    box-shadow:
    0 2px 15px rgba(0,0,0,.05);

}



.navbar {

    height: 80px;

    padding:
    0 8%;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.logo {

    font-family: "Poppins";

    font-size: 1.3rem;

    font-weight: 700;

    color: var(--primary);

}



.nav-links {

    display: flex;

    gap: 25px;

    list-style: none;

}



.nav-links a {

    font-weight: 500;

    position: relative;

}



.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -6px;

    width: 0;

    height: 3px;

    background: var(--primary);

    transition: .3s;

}



.nav-links a:hover::after,

.nav-links .active::after {

    width: 100%;

}



.nav-links a:hover {

    color: var(--primary);

}


/* Mobile menu placeholder */

.menu-btn {

    display: none;

}
/* ================================
   PART 3: HERO & PAGE HEADERS
================================ */


/* Homepage Hero */

.hero {

    min-height: 90vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

    color: white;

    background:

    linear-gradient(
        rgba(37,99,235,.75),
        rgba(34,197,94,.65)
    ),

    url("../images/hero.jpg");

    background-size: cover;

    background-position: center;

}


.hero-content {

    max-width: 850px;

}


.hero h1 {

    font-size: 4rem;

    color: white;

    margin-bottom: 20px;

}


.hero p {

    color: white;

    font-size: 1.2rem;

    margin-bottom: 35px;

}



/* Page Header */

.page-header {

    background:

    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color: white;

    text-align: center;

    padding: 100px 8%;

}


.page-header h1 {

    color: white;

    margin-bottom: 15px;

}


.page-header p {

    color: rgba(255,255,255,.9);

    font-size: 1.1rem;

}
/* ================================
   PART 4: HOMEPAGE SECTIONS
================================ */


/* About Preview */

.about-preview {

    text-align: center;

    max-width: 900px;

    margin: auto;

}


.about-preview p {

    font-size: 1.1rem;

}


/* Feature Cards */

.features {

    background: white;

}


.features .card {

    text-align: center;

}


.features .card:first-letter {

    font-size: 2rem;

}


/* Program Section */

.programs {

    background: #f1f5f9;

}


.programs .card {

    text-align: center;

}


.programs h3 {

    color: var(--primary);

}


/* Events */

.events {

    text-align: center;

}


.events ul {

    display: inline-block;

    text-align: left;

    background: white;

    padding: 30px 50px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}


.events li {

    margin: 15px 0;

}


/* Testimonials */

.testimonial {

    background:

    linear-gradient(
        135deg,
        #eff6ff,
        #f0fdf4
    );

    text-align: center;

}


blockquote {

    max-width: 700px;

    margin: auto;

    font-size: 1.4rem;

    font-style: italic;

    color: #374151;

}
/* ================================
   PART 5: INTERNAL PAGES
================================ */


/* General Content Pages */

.content {

    max-width: 1000px;

    margin: auto;

    background: white;

    padding: 50px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}


.content h2 {

    text-align: left;

    color: var(--primary);

    margin-top: 35px;

    margin-bottom: 15px;

}


.content p {

    margin-bottom: 20px;

}



/* Programs Page */

.programs .card h2 {

    color: var(--primary);

    font-size: 1.7rem;

}


.programs .card ul {

    margin-top: 20px;

}


.programs .card li {

    margin: 8px 0;

}



/* Schedule Table */

.schedule-table {

    max-width: 900px;

    margin: auto;

}


table {

    width: 100%;

    border-collapse: collapse;

    background: white;

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);

}


th {

    background: var(--primary);

    color: white;

    padding: 18px;

    text-align: left;

}


td {

    padding: 15px;

    border-bottom:

    1px solid #e5e7eb;

}


tr:hover {

    background: #f8fafc;

}



/* Admissions */

.content ol {

    margin: 20px 0;

}


.content li {

    margin: 10px 0;

}


.content table {

    margin: 30px 0;

}



/* FAQ */

.faq-item {

    background: white;

    padding: 30px;

    margin-bottom: 20px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    cursor: pointer;

    transition: .3s;

}


.faq-item:hover {

    transform: translateY(-5px);

}


.faq-item h2 {

    text-align: left;

    font-size: 1.3rem;

    margin: 0;

    color: var(--primary);

}


.faq-item p {

    margin-top: 15px;

}
/* ================================
   PART 6: GALLERY & CONTACT
================================ */


/* Gallery */

.gallery {

    max-width: 1200px;

    margin: auto;

}


.gallery-grid {

    display: grid;

    grid-template-columns:

    repeat(auto-fit,minmax(250px,1fr));

    gap: 25px;

}


.gallery-grid img {

    width: 100%;

    height: 250px;

    object-fit: cover;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: .3s;

}


.gallery-grid img:hover {

    transform: scale(1.05);

}



/* Contact */

.contact-container {

    display: grid;

    grid-template-columns:

    repeat(auto-fit,minmax(300px,1fr));

    gap: 40px;

}


.contact-info,
.contact-form {

    background: white;

    padding: 40px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}


.contact-info h2,
.contact-form h2 {

    text-align: left;

    color: var(--primary);

}



form {

    display: flex;

    flex-direction: column;

    gap: 20px;

}


input,
textarea {

    width: 100%;

    padding: 15px;

    border:

    1px solid #d1d5db;

    border-radius: 10px;

    font-family: inherit;

    font-size: 1rem;

}


input:focus,
textarea:focus {

    outline: none;

    border-color: var(--primary);

}


textarea {

    resize: vertical;

}


button {

    border: none;

    cursor: pointer;

}
/* ================================
   PART 7: FOOTER & ANIMATIONS
================================ */

/* Footer */

footer{

    background:#1f2937;

    color:white;

    text-align:center;

    padding:30px 10%;

}

footer p{

    color:#d1d5db;

}


/* Hover Effects */

.card,
.gallery-grid img,
.btn{

    transition:all .3s ease;

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 35px rgba(0,0,0,.15);

}

.gallery-grid img:hover{

    transform:scale(1.05);

}


/* Fade Animation */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

section{

    animation:fadeUp .8s ease;

}


/* Nice Selection Color */

::selection{

    background:#2563eb;

    color:white;

}


/* Scrollbar */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f1f5f9;

}

::-webkit-scrollbar-thumb{

    background:#2563eb;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#1d4ed8;

}
/* ================================
   PART 8: RESPONSIVE DESIGN
================================ */

@media(max-width:992px){

.navbar{

flex-direction:column;

height:auto;

padding:20px;

}

.nav-links{

flex-wrap:wrap;

justify-content:center;

margin:20px 0;

gap:15px;

}

.hero h1{

font-size:3rem;

}

.page-header{

padding:70px 5%;

}

.content{

padding:35px;

}

}



@media(max-width:768px){

section{

padding:60px 5%;

}

.hero{

min-height:70vh;

}

.hero h1{

font-size:2.4rem;

}

.hero p{

font-size:1rem;

}

.cards{

grid-template-columns:1fr;

}

.gallery-grid{

grid-template-columns:1fr 1fr;

}

.contact-container{

grid-template-columns:1fr;

}

table{

display:block;

overflow-x:auto;

}

}



@media(max-width:500px){

.logo{

font-size:1rem;

text-align:center;

}

.nav-links{

flex-direction:column;

align-items:center;

}

.hero h1{

font-size:2rem;

}

h2{

font-size:1.7rem;

}

.gallery-grid{

grid-template-columns:1fr;

}

.btn{

width:100%;

text-align:center;

}

}