/* Font */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Backround */
Body {
    background: linear-gradient(to bottom, #f8e8e8, #e8f4f8, #f0f8e8);
    margin: 0;
    padding: 0;
    padding-top: 70px; /* Space for fixed nav */
}

/* Logo Container - Full Screen Hero */
.logo-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    padding-top: 0;
    transform: translateY(-50px);
}

/* Logo Styles */
.logo {
    width: 1000px;
    max-width: 98%;
    height: auto;
    transition: transform 0.3s ease;
    z-index: 10;
    opacity: 0;
    animation: fadeInLogo 1s ease-in-out 0.7s forwards;
}

@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fef2ff;
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

nav.visible {
    opacity: 1;
    transform: translateY(0);
}

.navbar {
    list-style-type: none;
    padding: 20px;
    margin: 0 auto; /* Centers the navbar */
    display: flex;
    justify-content: center;
    background-color: transparent;
    text-align: center;
    max-width: 800px; /* Limits width */
}
.navbar li {
    margin: 15px 20px;
}
.navbar a {
    text-decoration: none;
    color: #545454;
    font-weight: bold;
}
.navbar a:hover {
    color: #000000;
}
.logo:hover {
    transform: scale(1.25);
}

/* Text Styles */
h1 {
    color: rgb(0, 0, 0);
    font-size: 36px;
    text-align: center;
    font-family: Playfair Display, serif;
    margin: 10px auto;
    padding: 20px;
    background-color: #fef2ff;
    border-radius: 5px;
    max-width: 600px;
    font-weight: 600;
}

.TopText.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: grandEntrance 1.2s ease-out forwards;
}

@keyframes grandEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
        text-shadow: none;
    }
    50% {
        transform: translateY(-10px) scale(1.05);
        text-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        text-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }
}

/* Text Backround */
p, ul {
    background-color: #fef2ff;
    padding: 20px;
    border-radius: 5px;
    font-family: 'Times New Roman', Times, serif, sans-serif;
    font-size: 18px;
    color: #333;
    max-width: 600px;
    margin: 10px auto;
    text-align: center;
}

/* Link Styles */
.LocationLink {
    display: block; 
    background-color: #fef2ff;
    padding: 20px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #000000;
    max-width: 600px;
    margin: 10px auto;
    text-align: center;
    text-decoration: none;
    text-decoration: underline;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 600px;
    margin: 20px auto;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Progress Bar Timer */
.carousel-progress-container {
    margin: 15px auto;
    max-width: 600px;
    height: 8px;
    background-color: rgb(0, 0, 0);
    border-radius: 4px;
    overflow: hidden;
}

.carousel-progress-bar {
    height: 100%;
    background: linear-gradient(5deg, #d4b5ff, #e8d0ff);
    border-radius: .1px;
    width: 0%;
    transition: width 0.1s linear;
}

/* Meet the Teachers Section */
.teachers-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.section-title {
    color: rgb(0, 0, 0);
    font-size: 42px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    margin: 20px 0;
    font-weight: 600;
}

.section-description {
    background-color: #fef2ff;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    color: #333;
    max-width: 800px;
    margin: 20px auto 40px auto;
    text-align: center;
    font-style: italic;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin: 30px auto;
    max-width: 1400px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1200px) {
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .teachers-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 1fr);
    }
}

.teacher-card {
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Individual Teacher Card Colors - Kids Shirt Colors from Logo */
.teacher-1 {
    background-color: #ffb3d9; /* Soft Pink */
}

.teacher-2 {
    background-color: #b3e5ff; /* Sky Blue */
}

.teacher-3 {
    background-color: #b3ffb3; /* Light Green */
}

.teacher-4 {
    background-color: #ffe6b3; /* Peach/Orange */
}

.teacher-5 {
    background-color: #e6b3ff; /* Light Purple */
}

.teacher-6 {
    background-color: #ffffe6; /* Light Yellow */
}

.teacher-7 {
    background-color: #ffb3b3; /* Coral/Light Red */
}

.teacher-8 {
    background-color: #b3fff0; /* Mint Green */
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.teacher-image {
    width: 130px;
    height: 130px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: 180px;
    padding-top: 10px;
}

.teacher-name {
    color: #333;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin: 8px 0;
    font-weight: 600;
    line-height: 1.2;
}

.teacher-title {
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    margin: 5px 0;
    background-color: rgba(255,255,255,0.7);
    padding: 6px 12px;
    border-radius: 12px;
    display: inline-block;
}

.teacher-bio {
    color: #555;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    line-height: 1.4;
    margin: 6px 0;
    flex: 1;
    display: flex;
    align-items: center;
}

/* Google Maps Section */
.maps-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.maps-title {
    color: rgb(0, 0, 0);
    font-size: 28px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    margin: 20px 0;
    font-weight: 600;
}

.map-container {
    background-color: #fef2ff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.map-container iframe {
    border-radius: 10px;
    width: 100%;
    height: 300px;
}

.map-description {
    background-color: #fef2ff;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    color: #333;
    margin: 15px 0;
    font-style: italic;
}

/* Contact Information Styles */
.contact-info-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    max-width: 800px;
    flex-wrap: wrap;
}

.contact-box {
    background-color: #fef2ff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 250px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    color: #333;
}

.contact-box strong {
    display: block;
    margin-bottom: 8px;
    color: #000;
    font-size: 16px;
}

.phone-number {
    color: #000000;
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
    display: block;
}

.phone-number:hover {
    color: #000000;
    background-color: rgba(212, 181, 255, 0.3);
    padding: 2px 4px;
    border-radius: 3px;
}

.email-link {
    color: #000000;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #000000;
    background-color: rgba(212, 181, 255, 0.3);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Copy Notification */
.copy-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #d4b5ff;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10000;
    animation: fadeInOut 3s ease-in-out forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* Enrollment Form Styles */
.form-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.enrollment-form {
    background-color: #fef2ff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(212, 181, 255, 0.3);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section .section-title {
    color: #000000;
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
    font-weight: 600;
    padding-left: 15px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    background-color: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4b5ff;
    box-shadow: 0 0 8px rgba(212, 181, 255, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    margin-bottom: 0;
    transform: scale(1.2);
}

.form-actions {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(212, 181, 255, 0.3);
}

.submit-btn {
    background: linear-gradient(135deg, #d4b5ff, #e8d0ff);
    color: #333;
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 181, 255, 0.4);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #c7a2ff, #d4b5ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 181, 255, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-note {
    margin: 10px 0 5px 0;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Responsive Design for Forms */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-container {
        padding: 10px;
    }
    
    .enrollment-form {
        padding: 20px;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* Programs Page Styles */
.programs-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.program-card {
    background-color: #fef2ff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.program-title {
    color: #000000;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.program-age {
    color: #666;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    background-color: rgba(212, 181, 255, 0.3);
    padding: 5px 10px;
    border-radius: 12px;
    display: inline-block;
}

.program-description {
    color: #333;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.program-features {
    list-style: none;
    padding: 0;
}

.program-features li {
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.program-features li:before {
    content: "✓";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Las Cruces Landscape Section */
.landscape-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
    background-color: rgba(240, 230, 255, 0.4);
    border-radius: 20px;
}

.landscape-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.program-type-card {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);

}

.program-type-title {
    color: #000000;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.program-type-description {
    color: #333;
    font-family: 'Times New Roman', Times, serif;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.typical-features h4 {
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: bold;
}

.typical-features ul {
    list-style: none;
    padding: 0;
    background-color: transparent;
    margin: 0;
}

.typical-features li {
    color: #555;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

.typical-features li:before {
    content: "•";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Special Programs Section */
.special-programs-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
}

.special-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.special-program-card {
    background: linear-gradient(135deg, #fef2ff, #f8e8ff);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-top: 4px solid #d4b5ff;
}

.special-program-title {
    color: #000000;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.special-program-card p {
    background-color: transparent;
    padding: 0;
    margin: 0 0 15px 0;
    max-width: none;
    color: #333;
    font-size: 15px;
    text-align: left;
}

.special-program-card ul {
    background-color: transparent;
    padding: 0;
    margin: 0;
    max-width: none;
    list-style: none;
}

.special-program-card li {
    color: #555;
    font-size: 14px;
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
    text-align: left;
}

.special-program-card li:before {
    content: "→";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Why Choose Section */
.why-choose-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
    
    border-radius: 20px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.advantage-item {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.advantage-item h4 {
    color: #000000;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.advantage-item p {
    background-color: transparent;
    padding: 0;
    margin: 0;
    max-width: none;
    color: #333;
    font-size: 14px;
    text-align: center;
}

/* Responsive Design for Programs */
@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        max-width: 400px;
    }
    
    .landscape-content {
        grid-template-columns: 1fr;
    }
    
    .special-programs-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        max-width: 400px;
    }
}

/* Back to Home Button */
.back-home-container {
    text-align: center;
    margin: 40px auto;
    padding: 20px;
}

.back-home-btn {
    display: inline-block;
    background-color: #fef2ff;
    color: #000000;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: none;
}

.back-home-btn:hover {
    background-color: #d4b5ff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 181, 255, 0.4);
}

.back-home-btn:active {
    transform: translateY(0);
}