:root {
    --primary-sky: #00a8e8;
    --secondary-navy: #003459;
    --accent-orange: #ff9100;
    --accent-blue: #63b3ed;
    --bg-alice: #f0f8ff;
    --white: #ffffff;
    --text-dark: #1a202c;
    --text-muted: #4a5568;
    --shadow-soft: 0 10px 25px rgba(0, 168, 232, 0.1);
    --font-heading: 'Lexend', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --radius: 12px;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; line-height: 1.1; }
h2 { font-size: 2.8rem; margin-bottom: 1.5rem; line-height: 1.2; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

.highlight { color: var(--primary-sky); }

/* Buttons */
.btn-sky {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-decoration: none;
}

.btn-primary-sky {
    background: linear-gradient(135deg, var(--primary-sky), #007bb5);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 168, 232, 0.3);
}

.btn-primary-sky:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 168, 232, 0.4);
}

.btn-white-sky {
    background: var(--white);
    color: var(--primary-sky);
}

.btn-white-sky:hover {
    transform: translateY(-5px);
    background: var(--primary-sky);
    color: var(--white);
}

/* Top Bar */
.top-bar-sky {
    background-color: var(--secondary-navy);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.contact-info a {
    color: var(--white);
    margin-right: 25px;
    text-decoration: none;
}

.contact-info i { color: var(--accent-orange); margin-right: 8px; }

.top-social a {
    color: var(--white);
    margin-left: 15px;
    font-size: 0.9rem;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.top-links a:hover {
    color: var(--accent-orange);
}

.btn-admission {
    background: var(--accent-orange);
    color: white !important;
    padding: 6px 18px;
    border-radius: 4px;
    font-weight: 800 !important;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-admission:hover {
    background: white;
    color: var(--accent-orange) !important;
}

.admission-btn-top {
    background: var(--accent-orange);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    margin-left: 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 52, 89, 0.1);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--primary-sky);
    margin-right: 12px;
}

.logo-brand { display: flex; flex-direction: column; }
.main-name { font-family: var(--font-heading); font-weight: 900; font-size: 1.6rem; color: var(--secondary-navy); letter-spacing: -1px; }
.tagline { font-size: 0.7rem; font-weight: 700; color: var(--primary-sky); letter-spacing: 2px; }

.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 30px; position: relative; }
.nav-links a { text-decoration: none; color: var(--secondary-navy); font-weight: 700; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-sky); }

.nav-contact-btn {
    background-color: var(--secondary-navy);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.nav-contact-btn:hover { background-color: var(--primary-sky); }

/* Hero Section */
.sky-hero {
    height: 85vh;
    position: relative;
    overflow: hidden;
}

.hero-slider { height: 100%; }
.slide { 
    height: 100%; width: 100%; position: relative; 
    display: flex; align-items: center; 
}
.slide img { 
    position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit: cover; 
    z-index: -1;
}
.slide::after {
    content: ''; position: absolute; top:0; left:0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0, 52, 89, 0.8), transparent);
    z-index: 0;
}

.hero-text {
    position: relative; z-index: 10; color: white; padding-left: 10%; max-width: 800px;
}

.hero-text p { font-size: 1.2rem; margin-bottom: 2.5rem; opacity: 0.9; }

.hero-btns .btn-sky { margin-right: 20px; }

/* Notice Widget */
.notice-widget {
    position: absolute; bottom: 40px; right: 40px; z-index: 20;
    width: 320px; background: white; border-radius: var(--radius);
    overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-top: 5px solid var(--accent-orange);
}

.notice-header {
    background: var(--secondary-navy); color: white; padding: 12px 20px;
    font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 10px;
}

.notice-body { padding: 15px 20px; height: 150px; }
.notice-body marquee a {
    display: block; color: var(--text-dark); text-decoration: none; margin-bottom: 12px;
    font-size: 0.85rem; border-bottom: 1px dashed #eee; padding-bottom: 10px;
}
.notice-body marquee a:hover { color: var(--primary-sky); }

/* Stats Section */
.sky-stats { padding: 60px 0; background: var(--bg-alice); }
.sky-stat-item {
    display: flex; align-items: center; background: white; padding: 25px;
    border-radius: var(--radius); box-shadow: var(--shadow-soft);
    transition: 0.3s;
}
.sky-stat-item:hover { transform: translateY(-5px); }
.stat-icon { font-size: 2.5rem; color: var(--primary-sky); margin-right: 20px; }
.stat-info h3 { margin-bottom: 0; color: var(--secondary-navy); font-size: 2rem; }
.stat-info p { margin-bottom: 0; color: var(--text-muted); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

/* Why Sky Section */
.section { padding: 100px 0; }
.sky-label {
    display: inline-block; padding: 5px 15px; background: rgba(0, 168, 232, 0.1);
    color: var(--primary-sky); font-weight: 800; border-radius: 50px;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px;
}

.grid { display: grid; gap: 40px; }
.grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.why-list { list-style: none; margin: 25px 0; }
.why-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.why-list i { color: var(--primary-sky); }

.why-image { position: relative; }
.why-image img { width: 100%; border-radius: 20% 50% 30% 60% / 40% 60% 40% 60%; box-shadow: var(--shadow-soft); }
.img-blob {
    position: absolute; top: -20px; left: -20px; width: 100%; height: 100%;
    background: var(--primary-sky); opacity: 0.1; z-index: -1;
    border-radius: 60% 40% 60% 40% / 50% 30% 70% 50%;
}

/* Programs */
.program-card {
    padding: 50px 30px; border-radius: var(--radius); transition: 0.4s;
    background: white; border: 1px solid #edf2f7; text-align: center;
}
.program-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

.program-icon { 
    width: 80px; height: 80px; border-radius: 50%; background: var(--bg-alice);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 25px;
    font-size: 2rem; color: var(--primary-sky);
}

/* Internal Pages */
.page-banner {
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

.page-banner h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.philosophy-item h3 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.program-detail-box {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.program-img img {
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}

.program-img img:hover {
    transform: scale(1.02);
}

.grade-label {
    background: var(--bg-alice);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 800;
}

/* Contact & Info Cards */
.contact-card h3 {
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Forms */
.sky-form input, .sky-form select, .sky-form textarea {
    background: #f8fafc;
    transition: 0.3s;
}

.sky-form input:focus, .sky-form select:focus, .sky-form textarea:focus {
    outline: none;
    border-color: var(--primary-sky) !important;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.1);
}
.sky-footer {
    background-color: var(--secondary-navy);
    color: var(--white);
    padding: 100px 0 30px;
    position: relative;
}

 .footer-wave {
    position: absolute; top: -1px; left: 0; width: 100%; height: 50px;
    background: white; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 50%);
}

.footer-links h3, .footer-contact h3 { margin-bottom: 30px; font-size: 1.2rem; color: var(--accent-blue); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--white); padding-left: 5px; }

.footer-contact p { margin-bottom: 20px; color: rgba(255,255,255,0.7); display: flex; gap: 10px; }
.footer-contact i { color: var(--accent-orange); }

.footer-social { display: flex; gap: 15px; margin-top: 25px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; color: white; transition: 0.3s;
}
.footer-social a:hover { background: var(--primary-sky); transform: scale(1.1); }

.footer-bottom { 
    margin-top: 80px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem; color: rgba(255,255,255,0.4);
}

/* Animations */
.bounce-in { animation: bounceIn 1s ease; }
@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 992px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .grid-2 { grid-template-columns: 1fr; }

/* Login Page Styles */
.login-page {
    background: var(--bg-alice);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 52, 89, 0.1);
    width: 100%;
    max-width: 450px;
}

.login-logo {
    margin-bottom: 30px;
    text-align: center;
}

.login-form-group {
    margin-bottom: 20px;
}

.login-form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--secondary-navy);
}

.login-input-wrapper {
    position: relative;
}

.login-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-sky);
    opacity: 0.5;
}

.login-input-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fdfdfd;
    font-family: inherit;
    transition: 0.3s;
}

.login-input-wrapper input:focus {
    border-color: var(--primary-sky);
    box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.1);
    outline: none;
}
    .hero-text { padding-left: 5%; text-align: center; }
    .hero-btns { display: flex; flex-direction: column; gap: 15px; align-items: center; }
    .hero-btns .btn-sky { margin-right: 0; }
    .notice-widget { display: none; }
    h1 { font-size: 2.2rem; }
    .grid-4, .grid-3 { grid-template-columns: 1fr; }
}
