/* ==========================================================================
   BROCHURE-INSPIRED GLOBAL BRAND STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d2346;   /* Exact Deep Navy Blue from Brochure */
    --accent-color: #f0a818;    /* Exact Gold / Mustard Accent */
    --text-dark: #1e293b;
    --text-light: #ffffff;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
}

/* Base element styles */
p {
    margin-bottom: 20px; 
}

p:last-child {
    margin-bottom: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 160px; /* Shift content down so the fixed header doesn't cut it off */
    overflow-x: hidden; /* Prevents edge-to-edge banners from creating horizontal scrollbars */
}

/* ==========================================================================
   HEADER & NAVIGATION MANAGEMENT
   ========================================================================== */
header.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    border-bottom: 4px solid var(--accent-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    z-index: 1000;
}

.brand-title h1 {
    color: var(--text-light);
    font-size: 24px;
    font-weight: 700;
}

.brand-title p {
    color: var(--accent-color);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

nav a:hover, nav a.active {
    color: var(--accent-color);
}

/* ==========================================================================
   HERO BANNER (Fallback/Legacy)
   ========================================================================== */
.hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 10%;
    text-align: center;
    border-bottom: 5px solid var(--accent-color);
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.hero p {
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   LAYOUT STRUCTURES & CARDS
   ========================================================================== */
section.main-content {
    padding: 50px 10%;
}

.section-block {
    background: var(--bg-card);
    padding: 35px;
    margin-bottom: 30px;
    border-left: 5px solid var(--accent-color);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.section-block h2 {
    color: var(--primary-color);
    font-size: 24px;
    text-transform: uppercase;
    margin-top: 35px;     /* Adds perfect spacing above headings */
    margin-bottom: 15px;  /* Keeps the consistent space below the headings */
}

/* Keeps the very first heading flush with the top of the card */
.section-block h2:first-of-type {
    margin-top: 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.card {
    background: var(--bg-card);
    padding: 25px;
    border-top: 4px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 18px;
}

/* ==========================================================================
   GALLERY MATRIX
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps aspect ratio while filling the container */
    display: block;
}

/* ==========================================================================
   FOOTER PATTERN (3-COLUMN LAYOUT FROM IMAGE_07C20F.PNG)
   ========================================================================== */
footer.main-footer {
    background-color: var(--primary-color); 
    color: var(--text-light);              
    padding: 60px 10% 30px 10%;
    border-top: 4px solid var(--accent-color);
    font-size: 15px;
    text-align: left; 
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
}

.footer-column h2 {
    color: var(--text-light);
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Red accent underline beneath headings matching image_07c20f.png */
.footer-heading-underline {
    width: 35px;
    height: 2px;
    background-color: #b90e31; 
    margin-bottom: 25px;
}

.footer-column p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    opacity: 0.95;
    margin-bottom: 25px;
}

/* Logo placement inside column 1 */
.footer-logo-wrapper {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.footer-logo {
    max-height: 50px;
    width: auto;
}

/* Link Lists with Checkmarks styling */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links-list a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

/* Stylized circular check icons mimicking image_07c20f.png */
.check-icon {
    font-size: 12px;
    font-weight: bold;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-links-list a:hover .check-icon {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Bottom centered copyright line wrapper */
.footer-bottom-bar {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15); 
    text-align: center;
}

.footer-bottom-bar p {
    font-size: 14px;
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 0;
}

/* Responsive breakpoint for tablet/mobile devices */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    footer.main-footer {
        padding: 40px 5%;
    }
}

/* ==========================================================================
   HOMEPAGE BOTTOM MOTTO STYLES
   ========================================================================== */
.motto-container {
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
    background-color: var(--bg-card);
    border-radius: 4px;
}

.motto-text {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.motto-text .gold-text {
    color: var(--accent-color);
    font-weight: 800;
}

/* ==========================================================================
   CONTACT PAGE THREE-COLUMN DASHBOARD STYLES
   ========================================================================== */
.contact-dashboard {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 30px;
    align-items: start;
    margin-top: 20px;
}

.contact-info-panel, 
.contact-form-panel, 
.contact-map-panel {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-panel h2 {
    font-size: 22px;
    color: #000000;
    margin-bottom: 20px;
    text-transform: none;
}

.details-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.details-list li {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 500;
}

.sub-detail {
    font-size: 13px;
    color: #64748b;
    padding-left: 22px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    font-size: 16px;
    transition: filter 0.2s ease;
}

.btn-action:hover {
    filter: brightness(0.9);
}

.btn-whatsapp { background-color: #1cb65d; }
.btn-call { background-color: #0066ff; }
.btn-email { background-color: #f0a818; }

.contact-form-panel {
    padding: 40px 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    background-color: #ffffff;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: #1a3a6e;
}

.contact-map-panel {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.map-header {
    display: flex;
    justify-content: flex-start;
}

.btn-maps {
    padding: 8px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #0066ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    background: #ffffff;
}

.map-placeholder {
    background-color: #f1f5f9;
    border: 1px dashed #cbd5e1;
    height: 300px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.map-marker-text {
    font-weight: bold;
    font-size: 18px;
    color: #334155;
}

@media (max-width: 992px) {
    .contact-dashboard {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ==========================================================================
   FIXED SLIDER MATRIX: SEAMLESS CROSS-FADE WITH ZERO BLACK GAP (5 SLIDES)
   ========================================================================== */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background-color: #000000;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideSequence5 25s infinite linear;
}

.slide-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomSequence5 25s infinite linear;
    z-index: 1;
}

.slide-image-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.bg-img-1 { background-image: url('../images/image1.png'); background-color: #0d2346; }
.bg-img-2 { background-image: url('../images/image2.png'); background-color: #1e293b; }
.bg-img-3 { background-image: url('../images/image3.png'); background-color: #0d2346; }
.bg-img-4 { background-image: url('../images/image4.png'); background-color: #1e293b; }
.bg-img-5 { background-image: url('../images/image5.png'); background-color: #0d2346; }

.item-1, .item-1 .slide-image-bg { animation-delay: 0s; }
.item-2, .item-2 .slide-image-bg { animation-delay: 5s; }
.item-3, .item-3 .slide-image-bg { animation-delay: 10s; }
.item-4, .item-4 .slide-image-bg { animation-delay: 15s; }
.item-5, .item-5 .slide-image-bg { animation-delay: 20s; }

.slide-overlay-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 20px;
}

.slide-subtitle {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.slide-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.slide-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.slide-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.btn-red { background-color: #b90e31; }
.btn-gold { background-color: var(--accent-color); }

@keyframes slideSequence5 {
    0% { opacity: 0; z-index: 1; }
    4% { opacity: 1; z-index: 2; }       
    20% { opacity: 1; z-index: 2; }      
    24% { opacity: 0; z-index: 1; }      
    100% { opacity: 0; z-index: 1; }
}

@keyframes zoomSequence5 {
    0% { transform: scale(1); }
    24% { transform: scale(1.08); }     
    100% { transform: scale(1); }
}

/* ==========================================================================
   ENROLL YOUR CHILD FOOTER SECTION UNDER SLIDER
   ========================================================================== */
.enroll-info-bar {
    background-color: var(--primary-color);
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid var(--accent-color);
}

.enroll-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.enroll-icon-circle {
    background: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent-color);
}

.icon-clip {
    font-size: 26px;
}

.enroll-bar-text h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.enroll-bar-text p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 0;
}

.btn-outline-contact {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 20px;
    transition: background-color 0.2s, color 0.2s;
}

.btn-outline-contact:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .slider-wrapper { height: 400px; }
    .slide-title { font-size: 32px; }
    .enroll-info-bar {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .enroll-bar-left {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================================================
   HOMEPAGE ENROLLMENT STEPS PROGRESS TRACKER
   ========================================================================== */
.enrollment-tracker-section {
    background-color: #ffffff;
    padding: 60px 10%;
    text-align: center;
    position: relative;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.tracker-header h2 {
    color: #475569; 
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.tracker-subtitle {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 15px;
}

.tracker-decorative-line {
    position: relative;
    width: 120px;
    height: 2px;
    background-color: #b90e31;
    margin: 0 auto 50px auto;
}

.line-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    border: 2px solid #b90e31;
    border-radius: 50%;
}

.tracker-timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-connecting-line {
    position: absolute;
    top: 45px; 
    left: 5%;
    width: 90%;
    height: 2px;
    border-top: 2px dashed #cbd5e1;
    z-index: 1;
}

.tracker-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tracker-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 32px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.circle-navy { background-color: var(--primary-color); }
.circle-red { background-color: #b90e31; }

.step-label {
    color: #475569;
    font-size: 22px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .tracker-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .timeline-connecting-line {
        display: none; 
    }
    .step-number {
        width: 75px;
        height: 75px;
        font-size: 26px;
    }
    .step-label {
        font-size: 18px;
    }
}

/* ==========================================================================
   HOMEPAGE FINALIZATION EXTRACTION HOOKS
   ========================================================================== */
.stats-counter-banner {
    background: linear-gradient(rgba(13, 35, 70, 0.85), rgba(13, 35, 70, 0.85)), url('../images/resource-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0; 
    color: #ffffff;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; 
    width: 100%;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center; 
}

.stat-icon {
    font-size: 36px;
    opacity: 0.9;
}

.stat-info h3 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.stat-info p {
    font-size: 14px;
    color: #cbd5e1;
    margin: 0;
    font-weight: 500;
}

/* ==========================================================================
   UPDATED EDGE-TO-EDGE EXPANSIONS FOR CALL TO ACTION & NEWSLETTER
   ========================================================================== */
.action-strip-banner {
    background-color: #f1f5f9;
    padding: 30px 0; 
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.action-strip-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.action-strip-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.action-icon-wrapper {
    background-color: #ffffff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    flex-shrink: 0;
}

.paper-plane-icon {
    font-size: 28px;
    color: #b90e31;
}

.action-text-block h3 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
}

.action-text-block p {
    color: #475569;
    font-size: 15px;
    margin: 0;
}

.btn-strip-contact {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #b90e31;
    color: #b90e31;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 25px;
    transition: all 0.2s ease;
    background-color: transparent;
    white-space: nowrap;
}

.btn-strip-contact:hover {
    background-color: #b90e31;
    color: #ffffff;
}

.newsletter-subscription-bar {
    background-color: #ffffff;
    padding: 30px 0; 
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.newsletter-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px; 
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
}

.newsletter-left-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.newsletter-icon-circle {
    background-color: #ffffff;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.envelope-badge {
    font-size: 32px;
}

.newsletter-left-wrapper h2 {
    color: var(--primary-color);
    font-size: 26px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap; 
}

.newsletter-input-form {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 480px; 
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    padding: 6px 6px 6px 20px;
    background-color: #f8fafc;
}

.newsletter-input-form input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 15px;
    color: var(--text-dark);
}

.btn-newsletter-submit {
    background-color: #b90e31;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.btn-newsletter-submit:hover {
    background-color: #940b27;
}

@media (max-width: 992px) {
    .action-strip-container,
    .newsletter-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .action-strip-content,
    .newsletter-left-wrapper {
        flex-direction: column;
        gap: 10px;
    }
}