/* Color Palette */
:root {
    --primary-color: #ffffff;
    --secondary-color: #4a90e2; /* A friendlier blue */
    --tertiary-color: #f5a623; /* A warmer orange */
    --text-color: #333333;
    --light-gray: #f4f4f4;
}

/* Global Styles */
body {
    font-family: sans-serif;
    margin: 0;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--tertiary-color);
    text-decoration: none;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo img {
    max-height: 50px;
}

.header-right {
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 700;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    border: 1px solid #eee;
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    margin: 10px 0 0;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 10px 20px;
    margin-left: 0;
}

.cta-button {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    margin-left: 30px;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    margin-left: 15px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: transform 0.3s ease;
}

/* Main Content */
main {
    padding-top: 20px;
}

main section {
    padding: 40px 20px;
}

.our-school, .our-facility, .our-staff, .our-classrooms, .areas-served {
    padding-top: 0;
    padding-bottom: 0;
}

.areas-served h2 {
    text-align: center;
    margin-bottom: 30px;
}

.area-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.areas-served h3 {
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: normal;
    background-color: #e9e9e9;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
}

section h1, section h2 {
    text-align: center;
    margin-bottom: 30px;
}

section h1 {
    font-size: 2.8em;
}

section h2 {
    font-size: 2.2em;
}

.hero {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('helping-hands-interior.webp');
    background-size: cover;
    background-position: center;
    color: var(--primary-color);
    text-align: center;
    z-index: 1;
    padding: 80px 20px;
    border-radius: 20px;
    overflow: hidden;
    margin: 20px;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-buttons .btn {
    margin: 0;
}

.btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

.btn-secondary {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
}

.program-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.program-column {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.enrollment-cta {
    display: inline-block;
    margin: 20px 0;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 40px 20px;
    text-align: center;
    background-color: var(--light-gray);
}

.why-choose-us h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: var(--secondary-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e3f2fd;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
}

.card-text p {
    font-size: 0.95em;
    line-height: 1.5;
}

/* Footer */
footer {
    background-color: #333333;
    color: #ffffff;
    padding: 50px 0;
    font-size: 0.9em;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.footer-logo img {
    width: 50%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

footer a {
    color: #ffffff;
    display: inline-block;
    padding: 5px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--tertiary-color);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    text-align: center;
}

.footer-column {
    flex: 1;
}

.footer-heading {
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 12px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #555;
    padding-top: 25px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 0 15px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        border: 1px solid #eee;
        width: auto;
        margin: 0 15px;
        border-radius: 8px;
        padding: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .cta-button {
        display: block;
        padding: 8px 16px;
        font-size: 14px;
        margin-left: 15px;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown-menu {
        position: static;
        border: none;
        box-shadow: none;
        width: 100%;
        padding: 0;
        background-color: #f8f8f8;
    }

    .dropdown-menu li {
        padding: 0;
        text-align: left;
    }

    .dropdown-menu li a {
        padding: 10px 20px 10px 40px;
    }
    
    .dropdown.submenu-active > .dropdown-menu {
        display: block;
    }

    .hero {
        padding: 50px 20px;
        margin: 15px;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    section h1 {
        font-size: 2.2em;
    }
    
    section h2 {
        font-size: 1.8em;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }
}

.dropdown > a::after {
    content: '';
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
    border-top: 5px solid;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: transform 0.3s ease;
}

.dropdown.submenu-active > a::after {
    transform: rotate(180deg);
}
