/* ===== NAVBAR FIX FOR PROGRAM PAGE ===== */

/* Navbar styles copied from HOMEPAGE for consistent header */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.navBar {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0;
    margin: 0;
}

.Nav_container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: relative;
    margin: 0 auto;
    max-width: 1400px;
}

.logo {
    color: #2A5D32;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    z-index: 1001;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    width: 40px;
    height: 40px;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #2A5D32;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.Nav_links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.Nav_links a {
    color: #2B1B0F;
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.Nav_links a:hover {
    color: #2A5D32;
}

.Nav_links a::before,
.Nav_links a::after {
    content: "";
    position: absolute;
    height: 2px;
    background: #2A5D32;
    bottom: 0;
    width: 50%;
    transform: scaleX(0);
    transition: transform 240ms cubic-bezier(.2,.9,.2,1);
}

.Nav_links a::before { left: 0; transform-origin: left; }
.Nav_links a::after { right: 0; transform-origin: right; }
.Nav_links a:hover::before,
.Nav_links a:hover::after { transform: scaleX(1); }

/* ===== RESPONSIVE FIXES FOR NAVBAR ===== */

/* Tablet: 768px to 1024px */
@media screen and (max-width: 1024px) {
    /* Navbar */
    .navBar {
        padding: 0;
    }
    
    .Nav_container {
        height: 70px;
        padding: 0 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Hide links by default, show when active */
    .Nav_links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .Nav_links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .Nav_links li {
        width: 100%;
        text-align: center;
    }
    
    .Nav_links a {
        display: block;
        padding: 15px 20px;
        width: 100%;
        font-size: 1.1rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .Nav_links a:last-child {
        border-bottom: none;
    }
    
    .Nav_links a:hover {
        background-color: #f8f9fa;
    }
    
    /* Fix content spacing after navbar */
    .navBar + section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* Mobile: 480px to 767px */
@media screen and (max-width: 767px) {
    /* Navbar */
    .Nav_container {
        height: 60px;
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .menu-toggle {
        width: 36px;
        height: 36px;
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2px;
        margin: 2px 0;
    }
    
    .Nav_links {
        top: 60px;
    }
    
    /* Aggressive fix for content spacing */
    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .navBar {
        position: sticky !important;
        top: 0 !important;
    }
    
    /* Remove all top margins/padding from first content */
    .navBar + section,
    .navBar + .why-choose-section,
    .navBar + .hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* Desktop: Hide hamburger */
@media screen and (min-width: 1025px) {
    .menu-toggle {
        display: none !important;
    }
    
    .Nav_links {
        display: flex !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }
}

/* Make buttons tap-friendly on mobile */
@media (max-width: 767px) {
    button, 
    .menu-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    .Nav_links a {
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===== ICONS FIX - ADDED THIS SECTION ===== */

/* Icon styles for program cards */
.program-icon {
    font-size: 1.6rem;
    display: inline-block;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f9ff;
    color: #2ecc71;
}

/* Specific icons for each program */
.program-card:nth-child(1) .program-icon::before {
    content: "👶";
    font-size: 1.4rem;
}

.program-card:nth-child(2) .program-icon::before {
    content: "🧸";
    font-size: 1.4rem;
}

.program-card:nth-child(3) .program-icon::before {
    content: "🌟";
    font-size: 1.4rem;
}

/* Icon styles for info blocks */
.info-block .icon {
    font-size: 1.4rem;
    display: inline-block;
    margin-right: 10px;
    color: #2ecc71;
}

.info-title .icon::before {
    content: "🏫";
}

.info-subtitle .icon::before {
    content: "🎓";
}

/* ===== KEEP EXISTING PROGRAM PAGE STYLES BELOW ===== */

/* Why Choose Us section styles */
.why-choose-section { 
    background: transparent; 
    padding: 3vw 2.5vw;
}

.why-choose-section h2 { 
    font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; 
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    color: #2B1B0F;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    align-items: stretch;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.why-card {
    background: #0b0b0b;
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: transform 180ms ease, box-shadow 180ms ease;
    position: relative;
    overflow: hidden;
}

.why-card.accent-blue::before,
.why-card.accent-red::before,
.why-card.accent-green::before,
.why-card.accent-yellow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 6px;
    width: 100%;
    background: #2ecc71;
}

.why-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 12px 32px rgba(0,0,0,0.55); 
}

.why-card h3 { 
    margin: 0; 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: #ffffff; 
}

.why-card p { 
    margin: 0; 
    color: #dcdcdc; 
    line-height: 1.6; 
    font-size: 1rem; 
}

.enroll-btn {
    display: inline-block;
    background: #2ecc71;
    color: #071217;
    padding: 0.8rem 1.5rem;
    border-radius: 0.6rem;
    text-decoration: none;
    font-weight: 700;
    transition: background 160ms ease, transform 160ms ease;
}

.enroll-btn:hover { 
    background: #26b86a; 
    transform: translateY(-2px); 
}

.info-section { 
    background: #fbfbfb; 
    padding: 3vw 2.5vw; 
}

.info-container { 
    max-width: 900px; 
    margin: 0 auto; 
}

.info-block { 
    padding: 1.8rem 1.5rem; 
    background: #ffffff; 
    border-radius: 10px; 
    box-shadow: 0 6px 22px rgba(11,11,11,0.06); 
}

.info-block + .info-block { 
    margin-top: 1.5rem; 
}

.info-divider { 
    border: none; 
    height: 1px; 
    background: rgba(0,0,0,0.06); 
    margin: 1.5rem 0; 
}

.info-title { 
    font-size: 1.4rem; 
    font-weight: 700; 
    margin: 0 0 0.8rem 0; 
    color: #111; 
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.info-subtitle { 
    font-size: 1.2rem; 
    font-weight: 700; 
    margin: 0 0 0.8rem 0; 
    color: #111; 
    display: flex;
    align-items: center;
}

.info-text { 
    font-size: 1.05rem; 
    line-height: 1.7; 
    color: #333; 
    margin: 0; 
}

/* Our Daycare Programs styles */
.programs-section { 
    background: #ffffff; 
    padding: 3vw 2.5vw;
}

.programs-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    color: #2B1B0F;
}

.programs-section p {
    margin-top: 0.8rem;
    color: #444;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.program-card {
    background: #fff;
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(11,11,11,0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(11,11,11,0.1);
}

.program-card-head { 
    display: flex; 
    align-items: center; 
    gap: 0.8rem; 
}

.program-card h3 { 
    margin: 0; 
    font-size: 1.2rem; 
    font-weight: 700; 
    color: #2A5D32; 
}

.program-desc { 
    margin: 0; 
    color: #333; 
    line-height: 1.6; 
    font-size: 1.05rem; 
}

.program-features { 
    margin: 0; 
    padding-left: 1.2rem; 
    color: #333; 
    font-size: 1rem; 
}

.program-features li { 
    margin-top: 0.5rem; 
    line-height: 1.5;
}

.learn-more-btn {
    display: inline-block;
    background: #2ecc71;
    color: #071217;
    padding: 0.8rem 1.5rem;
    border-radius: 0.6rem;
    text-decoration: none;
    font-weight: 700;
    transition: background 160ms ease, transform 160ms ease;
    margin-top: 1.5rem;
}

.learn-more-btn:hover { 
    background: #26b86a; 
    transform: translateY(-2px); 
}

/* subtle accent variations for cards */
.program-card.accent-soft-blue,
.program-card.accent-soft-red,
.program-card.accent-soft-green {
    border-top: 6px solid #2ecc71;
}

.clean_footer {
    background: #071217;
    color: #f7f7f7;
    padding: 4vw 2.5vw;
    font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 1.4vw;
    align-items: center;
}

.clean_top .lets-chat {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.clean_middle {
    width: 100%;
    display: flex;
    justify-content: center;
}

.clean_contact {
    text-align: center;
    line-height: 1.6;
    font-size: 1rem;
}

.clean_contact .addr,
.clean_contact .phone {
    margin-bottom: 0.5rem;
}

.clean_bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.clean-sep {
    width: 60%;
    max-width: 720px;
    height: 1px;
    background: rgba(255,255,255,0.06);
    border: none;
}

.clean_copyright {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.clean_nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.clean_nav a {
    color: #f7f7f7;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 4px;
}

.clean_nav a::before,
.clean_nav a::after {
    content: "";
    position: absolute;
    height: 2px;
    background: #f7f7f7;
    bottom: 0;
    width: 50%;
    transform: scaleX(0);
    transition: transform 240ms cubic-bezier(.2,.9,.2,1);
}

.clean_nav a::before { left: 0; transform-origin: left; }
.clean_nav a::after { right: 0; transform-origin: right; }
.clean_nav a:hover::before,
.clean_nav a:hover::after { transform: scaleX(1); }

.clean_nav .sep { color: rgba(255,255,255,0.5); }

/* ===== RESPONSIVE FIXES FOR CONTENT ===== */

/* Tablet: 768px to 1024px */
@media screen and (max-width: 1024px) {
    /* Why Choose Us */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0 20px;
    }
    
    .why-card {
        padding: 1.3rem;
    }
    
    .why-card h3 {
        font-size: 1.1rem;
    }
    
    .why-card p {
        font-size: 1rem;
    }
    
    /* Programs Grid */
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 0 20px;
    }
    
    .program-card {
        padding: 1.3rem;
    }
    
    .program-card h3 {
        font-size: 1.1rem;
    }
    
    .program-desc {
        font-size: 1rem;
    }
    
    /* Info Blocks */
    .info-section {
        padding: 40px 20px;
    }
    
    .info-block {
        padding: 1.5rem;
    }
    
    .info-title {
        font-size: 1.3rem;
    }
    
    .info-subtitle {
        font-size: 1.1rem;
    }
    
    .info-text {
        font-size: 1rem;
    }
    
    /* Section headings */
    .why-choose-section h2,
    .programs-section h2 {
        font-size: 2rem;
    }
    
    /* Clean Footer */
    .clean_footer {
        padding: 40px 20px;
    }
    
    .clean_top .lets-chat {
        font-size: 1.6rem;
    }
    
    .clean_contact {
        font-size: 0.9rem;
    }
    
    .clean_nav a {
        font-size: 0.9rem;
    }
}

/* Mobile: 480px to 767px */
@media screen and (max-width: 767px) {
    /* Why Choose Us */
    .why-grid {
        gap: 1rem;
        padding: 0 15px;
    }
    
    .why-card {
        padding: 1.2rem;
    }
    
    .why-card h3 {
        font-size: 1.05rem;
    }
    
    .why-card p {
        font-size: 0.95rem;
    }
    
    /* Programs Grid */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 15px;
    }
    
    .program-card {
        padding: 1.2rem;
    }
    
    .program-card-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .program-card h3 {
        font-size: 1.1rem;
    }
    
    .program-desc {
        font-size: 1rem;
    }
    
    .program-features {
        font-size: 0.95rem;
    }
    
    .learn-more-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 0.8rem;
        margin: 1.5rem auto;
        display: block;
    }
    
    /* Info Blocks */
    .info-section {
        padding: 30px 15px;
    }
    
    .info-block {
        padding: 1.2rem;
    }
    
    .info-title {
        font-size: 1.2rem;
    }
    
    .info-subtitle {
        font-size: 1.05rem;
    }
    
    .info-text {
        font-size: 0.95rem;
    }
    
    /* Section headings */
    .why-choose-section h2,
    .programs-section h2 {
        font-size: 1.8rem;
    }
    
    .programs-section p {
        font-size: 1rem;
    }
    
    /* Clean Footer */
    .clean_footer {
        padding: 30px 15px;
        gap: 1rem;
    }
    
    .clean_top .lets-chat {
        font-size: 1.4rem;
    }
    
    .clean_contact {
        font-size: 0.85rem;
    }
    
    .clean_nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .clean_nav .sep {
        display: none;
    }
    
    .clean_nav a {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
}

/* Small Mobile: below 480px */
@media screen and (max-width: 480px) {
    .why-choose-section h2,
    .programs-section h2 {
        font-size: 1.6rem;
    }
    
    .why-card h3 {
        font-size: 1rem;
    }
    
    .program-card h3 {
        font-size: 1rem;
    }
    
    .info-title {
        font-size: 1.1rem;
    }
    
    .info-subtitle {
        font-size: 1rem;
    }
    
    .clean_top .lets-chat {
        font-size: 1.3rem;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Make buttons tap-friendly on mobile */
@media (max-width: 767px) {
    button, 
    .enroll-btn, 
    .learn-more-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}