/* General Styles */
:root {
    --primary: #20B27C;   /* Logo Green */
    --secondary: #EF584E; /* Logo Red/Orange */
    --accent: #FCC844;    /* Logo Yellow */
    --dark: #333;
    --light: #f9f9f9;
}

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

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: #fff;
}

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

/* Header & Nav */
header {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* Logo Styling */
.logo img {
    height: 70px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 28px;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

/* Navigation & Dropdown Styling */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 15px;
    padding: 10px 0;
    transition: 0.3s;
}

.nav-links .btn-nav {
    background: var(--primary);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50px;
}

.nav-links .btn-nav:hover {
    opacity: 0.9;
}

.arrow {
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Dropdown Hidden by Default */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    border-top: 3px solid var(--primary);
    border-radius: 0 0 10px 10px;
    z-index: 1;
    padding: 10px 0;
    top: 100%;
    left: 0;
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content a {
    color: var(--dark);
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.dropdown-content a:hover {
    background-color: var(--light);
    color: var(--primary);
}

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

.dropdown:hover .dropbtn {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-btns {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary { background: var(--secondary); color: #fff; }
.btn-secondary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: scale(1.05); opacity: 0.9; }

/* Values */
.values { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 36px; color: var(--primary); }

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

.value-card {
    text-align: center;
    padding: 40px;
    background: var(--light);
    border-radius: 20px;
    transition: 0.3s;
}

.value-card:hover { transform: translateY(-10px); }
.value-card .icon { font-size: 40px; margin-bottom: 15px; }

/* Locations */
.locations { background: var(--accent); color: #fff; padding: 80px 0; }
.locations h2 { color: #fff; }
.location-flex {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.loc-box {
    background: rgba(255,255,255,0.2);
    padding: 30px;
    border-radius: 15px;
    flex: 1;
    min-width: 300px;
}

.loc-box.coming-soon {
    background: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.4);
    position: relative;
}

.soon-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--secondary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.loc-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.text-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.text-link:hover {
    opacity: 0.8;
}

.phone-link {
    position: relative;
    background: #fff;
    color: var(--accent) !important;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
}

.phone-link:hover {
    transform: scale(1.05);
    opacity: 1 !important;
}

.phone-link::after {
    content: attr(data-number);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    margin-bottom: 8px;
}

.phone-link::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

@media (min-width: 769px) {
    .phone-link:hover::after,
    .phone-link:hover::before {
        opacity: 1;
        visibility: visible;
    }
}

/* Contact Form */
.contact { padding: 80px 0; }
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form select, .contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
}

/* Page Hero (Subpages) */
.page-hero {
    background: var(--primary);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
}

/* Page Content */
.page-content {
    padding: 60px 20px;
}

.page-content h2 {
    color: var(--primary);
    font-size: 28px;
    margin: 40px 0 20px;
}

.page-content p {
    margin-bottom: 20px;
}

/* About Page */
.about-story {
    margin-bottom: 60px;
}

.about-values {
    margin-bottom: 40px;
}

.about-values .values-grid {
    margin-top: 30px;
}

.values-list {
    margin-top: 50px;
}

.values-list h3 {
    text-align: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

.founder-section {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.founder-img {
    width: 280px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.founder-text p {
    margin: 0;
}

@media (max-width: 768px) {
    .founder-section {
        flex-direction: column;
        align-items: center;
    }

    .founder-img {
        width: 200px;
        margin-bottom: 20px;
    }
}

/* Intro Box */
.intro-box {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--primary);
    margin-bottom: 40px;
}

.intro-box p {
    margin: 0;
}

/* Meals Grid */
.meals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.meal-item {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.meal-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.meal-item h3 {
    margin: 0;
    color: var(--primary);
}

/* Fees Page */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0 40px;
}

.info-card {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    border-top: 4px solid var(--primary);
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.info-card p {
    margin: 8px 0;
}

.ratios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0 40px;
}

.ratio-item {
    background: var(--primary);
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.ratio-item .ratio {
    font-size: 36px;
    font-weight: 700;
    display: block;
}

.ratio-item p {
    margin: 10px 0 0;
}

.info-list {
    list-style: none;
    margin: 20px 0 40px;
}

.info-list li {
    padding: 12px 15px;
    background: var(--light);
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid var(--primary);
}

.vouchers-box {
    background: var(--accent);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.vouchers-box h3 {
    margin: 0 0 10px;
}

.vouchers-box p {
    margin: 0;
}

/* Fees Page Tables */
.fees-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 40px;
}

.fees-table th,
.fees-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.fees-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}

.fees-table tr:nth-child(even) {
    background: var(--light);
}

.fees-table tr:hover {
    background: #e9e9e9;
}

.fees-table.small {
    max-width: 500px;
    margin: 20px 0;
}

.fee-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0;
}

/* FAQ Section */
.faq-section {
    margin: 20px 0 40px;
}

.faq-item {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-item p {
    margin: 0;
}

/* Discount Section */
.discount-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0 40px;
}

.discount-card {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    border-top: 4px solid var(--secondary);
}

.discount-card.sibling {
    border-top-color: var(--primary);
}

.discount-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

.discount-card ul {
    margin: 15px 0 0;
    padding-left: 20px;
}

.discount-card li {
    margin-bottom: 10px;
}

/* Vouchers Section */
.vouchers-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0 40px;
}

.voucher-card {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
}

.voucher-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.childcare-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.activity-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.activity-list li {
    padding: 10px 15px;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.routine-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 40px;
}

.routine-table th,
.routine-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.routine-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}

.routine-table tr:nth-child(even) {
    background: var(--light);
}

.routine-table tr:hover {
    background: #e9e9e9;
}

.cta-box {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    border-left: 5px solid var(--accent);
}

.cta-box a {
    color: var(--primary);
    font-weight: 700;
}

/* Mobile Phone Bar */
.mobile-phone-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    z-index: 1000;
}

.mobile-phone-bar a {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.mobile-phone-bar a:first-child {
    border-right: 1px solid rgba(255,255,255,0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    background: #333;
    color: #fff;
}

.footer-credit {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-credit p {
    margin: 0;
    font-size: 14px;
}

.footer-credit a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.footer-credit a:hover {
    text-decoration: underline;
}

.footer-credit span {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .contact-container { grid-template-columns: 1fr; }
    .hero-content h2 { font-size: 32px; }

    .mobile-phone-bar {
        display: flex;
    }

    footer {
        padding-bottom: 80px;
    }
}
