@font-face {
    font-family: principal;
    src: url(resources/Margarine-Regular.ttf);
}
@font-face {
    font-family: paragraphs;
    src: url(resources/Nunito-Medium.ttf);
}
@font-face {
    font-family: secondary;
    src: url(resources/Truculenta_18pt-Light.ttf);
}
@property --color-principal{
    syntax: "<color>";
    inherits: false;
    initial-value:  #79DCF2;
}

@property --color-secundario{
    syntax: "<color>";
    inherits: false;
    initial-value:  #ffd729;
}

@property --color-medioNegro{
    syntax: "<color>";
    inherits: false;
    initial-value:  #262626;
}

@property --color-azulBajito{
    syntax: "<color>";
    inherits: false;
    initial-value:  #B3E0ED;
}

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

/* === MAIN HEADER === */
.site-header {
    width: 100%;
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
/* ---------- LOGO AND NavBar EDITS___*/ 
/* Logo arriba del navbar */
.logo_container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0 10px 0; /* smaller top and bottom space */
    
}

.logo-image {
    height: 15%; /* Smaller size */
    max-width: 180px; /* Optional: limit width */
    width: auto;
    display: block;
}

/* Navbar debajo del logo */
.navbar {
    background-color: var(--color-azulBajito);
    min-height: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 8px 8px -4px #f2f2f2;
}

.navbar__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1300px;
    padding: 0 20px;
    margin-bottom: 10px;
}

.navbar__menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    gap: 10px;
}

.navbar__item {
    height: 70px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.navbar__links {
    color: var(--color-medioNegro);
    text-decoration: none;
    padding: 0 1rem;
    height: 50%;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.navbar__links:hover {
    background-color:#ffd729;
    border-radius: 4px;
}

.navbar__btn a.button {
    background-color:var(--color-principal);
    color: rgba(250,250,250);
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    position: sticky;
    display: flex;
    flex-wrap: wrap;
    transition: background 0.3s ease;
}

.navbar__btn a.button:hover {
    background-color: var(--color-secundario);    
}

/*---- SLIDE SHOW EDITS----*/ 

/* SlideShow container */
.Slideshow{
    width: 100%;
    max-width: max-content;
    margin: auto;
    position:relative;
    object-fit: cover;
    object-position: center;
}

/*hide the images by default*/
.mySlides{
    display: none;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    padding: auto;
    object-position: bottom;
    
}

/* next and previous buttons*/
.prev, .next{
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select:none;
}

/* position the "next-button" to the right*/
.next{
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* on hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover{
    background-color: rgba(0,0,0,0.8);
}

/* caption text */
.text{
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px; 
    width: 100%;
    text-align: center;
}

/* the Dot/bullets/indicators */
.dot{
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease-in;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 5s;
}

@keyframes fade {
    from {opacity: .5}
    to {opacity: 1}
}

/* --------- MISSION VISION DIVIDER -------*/

.aboutUsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px;
    background-color: #f9f9f9;
}

.aboutUsGrid p{
    font-family: paragraphs;
}

.infoCard {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.infoCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.infoImage {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.infoText {
    padding: 20px;
    font-family: 'secondary', sans-serif;
    line-height: 1.5;
    text-align: center;
}

.infoText h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--color-principal);
}


/* --------- MEET OUR TEAM DIVIDER -------*/
.meetOurTeam{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.titleMeetTeam{
    width: 30%;
    padding: 5px;
    text-align: center;
    margin: auto;
    background-color:var(--color-secundario);
    color:rgb(250, 250, 250);
}

.team{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 30%;
}

.teamImg{
    width: 100%;
    object-fit: cover;
    max-width: 400px;
    border-radius: 50%;
}

.teamDescription{
    margin-top: 10px;
    font-family: secondary;
    text-align: center;
    color: #333;
}

@media screen and (max-width: 768px) {
    .team-container {
        flex-direction: column;
        align-items: center;
    }
}

/* ---------- FOOTER -------------*/
.footerContainer{
    background-color: var(--color-secundario);
    width: 100%;
    max-height: 20%;
    display: flex;
    bottom: 0;
    z-index: 999;
    align-items: center;
    justify-content: center;
    gap:100px;
}
.footerContainer a{
    font-family: paragraphs;
}
.logoFooter{
    justify-content: last baseline;
}

/*-------------------------- FAMILY --------------------------*/
.familyResources-container p{
    font-family: paragraphs;
}
.familyResources-container li{
    font-family: paragraphs;

}
.familyResources-container{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;     
}
.familyResources-intro{
    width: 100%;
    padding: 5px;
    padding: 1vw;
    text-align: center;
    text-wrap: balance;
}
.familyResources-images{
    width:50%;
    padding-top: 20px;
    margin: auto;
    object-fit: cover;
    object-position: center;
}

.familyResources-infants,
.familyResources-toddlers,
.familyResources-prek {
    padding: 50px;
    margin-bottom: 40px;
    border-style: dashed;
    border-width: 5px;
    text-align: left;
    text-wrap: break-word;
    list-style-position: inside;  

    width: 80%;          
    min-height: 400px;   
    box-sizing: border-box; 
}

.familyResources-infants {
    border-color: var(--color-principal);
}
.familyResources-infants h1 {
    text-align: center;
    color: var(--color-principal);
}
.familyResources-infants a{
    color: var(--color-principal);
}

.familyResources-toddlers {
    border-color: var(--color-secundario);
}
.familyResources-toddlers h1 {
    text-align: center;
    color: var(--color-secundario);
}
.familyResources-toddlers a{
    color: var(--color-secundario);
}

.familyResources-prek {
    border-color: rgb(138, 56 ,124);
}
.familyResources-prek h1 {
    text-align: center;
    color: rgb(138, 56 ,124);
}
.familyResources-prek a{
    color: rgb(138, 56 ,124);
}


.hotline{
    width: auto;
    font-family: secondary;
    padding-bottom: 20px;
}
.hotlineTitle{
    width: 100%;
    padding: 5px;
    text-align: center;
    margin: auto;
    font-family: secondary;
    color:var(--color-principal)
}
.hotline li{
    font-family: paragraphs;
}

/*-------------------------- Pre-k --------------------------*/
.prekContainer {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    font-family: secondary;
    background-color: #fefefe;
}

.prekTitles {
    font-size: 1.8rem;
    color: #2a4d69;
    margin-bottom: 15px;
    text-align: center;
    
}

.prekImages {
    display: block;
    min-width: 30%;
    margin: 0 auto 10px auto;
}

.prekContainer p,.prekContainer li {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    max-width: 900px;
    margin: auto;
    text-align: justify;
    font-family: paragraphs;
}



.prekContainer a[href$=".pdf"] {
    display: inline-block;
    margin: 0.5rem 0.75rem 0.5rem 0;
    padding: 0.75rem 1.2rem;
    background-color:var(--color-azulBajito) ; /* primary: light blue */
    color: black;
    border: 2px solid var(--color-secundario); /* bright yellow */
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s;
}

.prekContainer a[href$=".pdf"]::before {
    content: "📄 ";
}

.prekContainer a[href$=".pdf"]:hover {
    background-color: #ffffe0; /* azul bajito / lighter yellow */
    transform: scale(1.05);
}
.prekContainer h2 {
    font-size: 1.4rem;
    color: #3e7cb1;
    margin-top: 20px;
    text-align: center;
}

.prekContainer div:last-of-type {
    text-align: center;
    font-style: italic;
    color: #555;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .prekTitles {
        font-size: 1.4rem;
    }

    .prekContainer p {
        font-family: paragraphs;
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .prekImages {
        max-width: 150px;
    }
}
.linktoPage{
    background-color:var(--color-principal);
    width:300px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    color: rgba(250,250,250);
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}

/*-------------------------- Focus --------------------------*/
.focusContainer {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-azulBajito); 

}

.focusIntro {
    margin-top: 20px;
    width: 100%;
    padding: 1vw;
    text-align: center;
    text-wrap: balance;
    background-color: var(--color-azulBajito); 
    color: black;
}

.focusInfoGrid {
    display: grid;
    grid-template-rows: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px;
    background-color: var(--color-azulBajito); 
}

.focusContainer p {
    font-family: paragraphs;
    color: black;
}

.focusCard {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--color-secundario); /* bright yellow accent */
}

.focusCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.focusText {
    padding: 20px;
    font-family: paragraphs;
    line-height: 1.5;
    text-align: center;
    color: black;
}

.helfulResources{
    width: 30%;
    padding: 5px;
}

/* ===== ENROLLMENT ===== */

/* ===== Layout shell ===== */
.enroll-portal{
    width: min(1100px, 92%);
    margin: 40px auto 70px;
    font-family: var(--font-paragraphs);
    color: var(--ink);
}

/* ===== Hero ===== */
.enroll-hero{
    background: linear-gradient(180deg, rgba(121,220,242,.22), rgba(121,220,242,.06)),
                var(--azul-bajito);
    border: 3px dashed var(--color-secundario);
    border-radius: var(--radius-2xl);
    padding: clamp(18px, 4vw, 36px);
    box-shadow: var(--shadow-soft);
    }

.enroll-title{
    font-family: var(--font-primary);
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    margin: 0 0 8px;
    letter-spacing: .3px;
    }

.enroll-intro{
    margin: 0;
    font-family: paragraphs;
    line-height: 1.6;
    font-size: clamp(1rem, 1.4vw, 1.06rem);
    text-wrap: balance;
}

/* ===== Cards grid ===== */
.forms-grid{
    margin-top: 28px;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px){
    .forms-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
    .forms-grid{ grid-template-columns: 1fr; }
}

/* ===== Card ===== */
.form-card{
    background: #fff;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    display: grid;
    grid-template-rows: 180px auto;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease;
    border: 1px solid rgba(0,0,0,.05);
}
.form-card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.form-card__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.02));
}

.form-card__body{
    padding: 18px 18px 20px;
}

.form-card__title{
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin: 4px 0 6px;
}

.form-card__text{
    margin: 0 0 14px;
    line-height: 1.55;
    font-size: .98rem;
    color: #2e2e2e;
}

/* ===== Buttons ===== */
.btn{
    --btn-bg: #fff;
    --btn-ink: #0d0d0d;
    --btn-border: rgba(0,0,0,.12);

    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--btn-border);
    background: var(--btn-bg);
    color: var(--btn-ink);
    line-height: 1;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease;
}
.btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

/* Primary CTA */
.btn-primary{
    --btn-bg: var(--color-principal);
    --btn-ink: #032b35;
    --btn-border: transparent;
    padding: 14px 22px;
    font-size: 1.05rem;
}
.btn-primary:hover{
    background: color-mix(in oklab, var(--color-principal) 88%, black);
}

/* PDF download button with badge & icon */
.pdf-link{
    position: relative;
    padding-left: 48px; /* room for icon */
    background: #fff;
    border-color: var(--color-principal);
    }
.pdf-link::before{
    content: "";
    position: absolute;
    left: 14px;
    width: 22px; height: 22px;
    /* simple inline PDF icon using border shapes */
    background:
        linear-gradient(#e23b2e,#e23b2e);
    clip-path: polygon(0 0, 72% 0, 100% 28%, 100% 100%, 0 100%);
    border-radius: 3px;
}
.pdf-link::after{
    content: "PDF • fillable";
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2px;
    color: #e23b2e;
    background: #fff;
    border: 1.5px solid #e23b2e;
    padding: 3px 6px;
    border-radius: 999px;
    margin-left: 6px;
}

/* ===== Bottom CTA ===== */
.cta-wrap{
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.cta-wrap .btn-primary{
    box-shadow: var(--shadow-soft);
    border: 2px solid color-mix(in oklab, var(--color-principal) 70%, black 10%);
}

/* ===== Focus styles & a11y ===== */
.btn:focus-visible,
.pdf-link:focus-visible{
    outline: 3px solid var(--color-secundario);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  * { transition: none !important; }
}