:root {
    --primary: #8e0000;
    --primary-dark: #6a0000;
    --secondary: #d4af37;
    --light: #f8f9fa;
    --dark: #212529;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: white;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.top-bar .contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar .btn-donate {
    background-color: var(--secondary);
    color: var(--primary-dark);
    padding: 7px 15px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar .btn-donate:hover {
    background-color: #b6952c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
    transition: var(--transition);
}

.navbar a {
    color: white !important;
    font-weight: bold;
    transition: 0.3s;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 45px;
    margin-right: 10px;
    transition: var(--transition);
}

.navbar-toggler {
    border: none;
    color: white;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    position: relative;
    padding: 0.8rem 1rem !important;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.kindergarten-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1541692641319-981cc79ee10a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 15px;
}

.kindergarten-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.kindergarten-hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Section Styles */
.kindergarten-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Program Cards */
.program-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: rgba(142, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 2rem;
}

/* Gallery */
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    transition: var(--transition);
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info h5 {
    color: var(--secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info p {
    margin-bottom: 25px;
    padding-left: 35px;
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    transition: var(--transition);
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(142, 0, 0, 0.15);
}

.btn-maroon {
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-maroon:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 70px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--secondary), #b6952c);
}

.footer h5 {
    color: var(--secondary);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer a i {
    font-size: 0.8rem;
    color: var(--secondary);
}

.footer p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .kindergarten-hero h1 {
        font-size: 2.8rem;
    }
    
    .kindergarten-hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .top-bar .contact-info {
        justify-content: center;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .top-bar .btn-donate {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .kindergarten-hero {
        height: 60vh;
    }
    
    .kindergarten-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .kindergarten-hero {
        height: 50vh;
    }
    
    .kindergarten-hero h1 {
        font-size: 1.8rem;
    }
}