﻿/********** Template CSS **********/
:root {
    --primary: #FE5D37;
    --light: #FFF5F3;
    --dark: #103741;

}

.container-xxl {
  background: linear-gradient(135deg, #fff7ed 0%, #f0f9ff 100%) !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}




/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}



/*** Header ***/
.header-carousel::before,
.header-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Desktop-Only Major Adjustment */
@media (min-width: 992px) {
    .header-carousel .owl-carousel-item .container {
        position: relative;
        top: -8vh !important; /* Increased from previous */
    }
    
    .header-carousel .owl-carousel-item h1.display-2 {
        transform: translateY(-25px) !important; /* Increased Y-axis movement */
        margin-bottom: 1rem !important;
    }
    
    .header-carousel .owl-carousel-item p.fs-5 {
        transform: translateY(-15px) !important; /* Larger upward shift */
        margin-bottom: 1.5rem !important;
    }
    
    .header-carousel .btn-group {
        transform: translateY(-20px) !important; /* Buttons move up more */
        margin-top: -1rem !important;
    }
    
    /* Compensate for Owl Carousel nav positioning */
    .header-carousel .owl-nav {
        top: 55% !important; /* Adjust navigation arrows position */
    }
}


/* Mobile Optimization */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .header-carousel .owl-carousel-item {
        height: 100vh !important;
        min-height: auto !important;
    }

    .header-carousel .owl-carousel-item img {
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    
 .header-carousel .owl-carousel-item .container {
        padding: 15px !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 26px !important;
        line-height: 1.3;
        margin-bottom: 15px !important;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        line-height: 1.4;
    }

    .header-carousel .btn {
        padding: 8px 20px !important;
        font-size: 14px !important;
        margin: 5px 0 !important;
        display: inline-block;
        width: auto;
    }


    .header-carousel .owl-nav {
        display: none !important;
    }

    .container-fluid {
        padding: 0 !important;
    }

    .col-10.col-lg-8 {
        width: 100% !important;
        max-width: 95%;
        margin: 0 auto;
        text-align: center;
    }
}



/* Custom Facility Styles */
.facility-item {
    transition: transform 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.facility-item:hover {
    transform: translateY(-10px);
}

.facility-icon {
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.facility-text {
    padding: 2rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Pastel Color Scheme */
.bg-pastel-blue { background-color: #e3f2fd; }
.bg-pastel-yellow { background-color: #fff9c4; }
.bg-pastel-green { background-color: #e8f5e9; }
.bg-pastel-pink { background-color: #fce4ec; }
.bg-pastel-purple { background-color: #f3e5f5; }
.bg-pastel-orange { background-color: #ffe0b2; }

/* Soft Backgrounds */
.bg-soft-blue { background-color: #f5fbff; }
.bg-soft-yellow { background-color: #fffde7; }
.bg-soft-green { background-color: #f1f8e9; }
.bg-soft-pink { background-color: #fdf2f6; }
.bg-soft-purple { background-color: #f8f5fc; }
.bg-soft-orange { background-color: #fff3e0; }

/* Custom Colors */
.text-purple { color: #6a1b9a; }
.text-orange { color: #ef6c00; }
.highlight-text { 
    color: #2e7d32;
    font-weight: 600;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
}

@media (max-width: 768px) {
    .facility-text {
        min-height: auto;
        padding: 1.5rem;
    }
    .facility-item {
        margin-bottom: 1.5rem;
    }
}











/*** Classes ***/
.classes-item {
    transition: .5s;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.classes-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.classes-item img {
    transition: .5s;
}

.classes-item:hover img {
    transform: scale(1.1);
}

.classes-item .bg-light {
    background-color: #f8f9fa !important;
}

.classes-item h3 {
    color: #00008B; /* Dark blue heading */
    font-weight: 600;
}

.classes-item p {
    color: #555; /* Dark gray text */
    font-size: 14px;
}

.classes-item .btn-primary {
    background-color: #ce006d; /* Vibrant pink/purple */
    border-color: #ce006d;
    transition: .5s;
}

.classes-item .btn-primary:hover {
    background-color: #b3005e; /* Slightly darker on hover */
    border-color: #b3005e;
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .classes-item {
        margin-bottom: 20px;
    }

    .classes-item h3 {
        font-size: 20px;
    }

    .classes-item p {
        font-size: 13px;
    }
}



/* Principal Horizontal Section */
/*.principal-horizontal {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}*/

.message-content, .icon-grid {
    background: #f8f9fa; /* Light gray background */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure full height */
    border-radius: 1rem; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

.message-content:hover, .icon-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.quote-box {
    border-left: 4px solid #00008B;
    background: #f8f9fa; /* Same background color */
    transition: all 0.3s ease;
    border-radius: 0.75rem; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

.quote-box:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.signature {
    border-top: 2px solid #ce006d;
    padding-top: 1rem;
}

.icon-item {
    padding: 10px;
    border-radius: 0.75rem; /* Rounded corners */
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9); /* Slightly lighter background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

.icon-item:hover {
    background: rgba(206, 0, 109, 0.05);
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.btn-primary {
    background: #ce006d;
    border: none;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 2rem; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

.btn-primary:hover {
    background: #b3005e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    opacity: 0; /* Start hidden */
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in[data-delay="0.2s"] {
    animation-delay: 0.2s;
}

.animate-fade-in[data-delay="0.3s"] {
    animation-delay: 0.3s;
}

.animate-fade-in[data-delay="0.4s"] {
    animation-delay: 0.4s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .message-content, .icon-grid {
        padding: 1.5rem !important;
    }

    .icon-item {
        margin-bottom: 1rem;
    }

    .quote-box {
        font-size: 0.95rem;
    }

    .btn-primary {
        width: 100%;
    }
}



/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}
/* Add this rule to change "Masoom Kids Admission FAQ" to black */
.faq-section .text-primary {
    color: #000000 !important; /* Black */
}

.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background: #f8f9fa;
    font-weight: 600;
    color: #00008B;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: #f8f9fa;
    color: #00008B;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300008B'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .accordion-button {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }

    .accordion-body {
        padding: 0.75rem 1rem;
    }
}




/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Address alignment */
.footer p.d-flex {
    line-height: 1.6;
}

/* Map styling */
.footer .ratio {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Link alignment */
.footer .btn-link {
    padding-left: 0 !important;
    text-decoration: none !important;
}

.footer .btn-link:hover {
    padding-left: 5px !important;
}

/* Icon alignment */
.footer .fa-map-marker-alt {
    min-width: 20px;
}




/* Bright Bunnies Animated About Section Start */

/* Base Styles */
.bbs-about {
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
}

.bbs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Title Section */
.bbs-main-title {
    color: #ff6b6b;
    font-size: 3rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.2s ease-in-out;
}

.bbs-intro-text {
    color: #374151;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-weight: 500;
}

/* Features Grid */
.bbs-highlights {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.bbs-feature {
    flex: 1;
    min-width: 280px;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.bbs-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.icon-bounce {
    color: #ff6b6b;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

/* Unique Features List (With Animations) */
.bbs-unique {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 20px;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;  /* Start hidden */
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

/* Add Slide-Up Animation to Each Feature */
.bbs-benefits {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.bbs-benefits li {
    color: #475569;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0;  /* Start hidden */
    transform: translateY(20px);
    animation: slideUp 0.6s ease-out forwards;
}

/* Stagger Animation Delay for Each List Item */
.bbs-benefits li:nth-child(1) { animation-delay: 0.2s; }
.bbs-benefits li:nth-child(2) { animation-delay: 0.4s; }
.bbs-benefits li:nth-child(3) { animation-delay: 0.6s; }
.bbs-benefits li:nth-child(4) { animation-delay: 0.8s; }

.bbs-benefits .fa-carrot {
    color: #ff6b6b;
    position: absolute;
    left: 0;
    top: 0.3rem;
}

/* CTA Button */
.bbs-cta {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9770 100%);
    color: white !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.cta-arrow {
    margin-left: 0.8rem;
    transition: transform 0.3s ease;
}

.bbs-cta:hover {
    background: linear-gradient(135deg, #ff9770 0%, #ff6b6b 100%);
    transform: translateY(-3px);
}

.bbs-cta:hover .cta-arrow {
    transform: translateX(5px);
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .bbs-main-title {
        font-size: 2.4rem;
    }
    
    .bbs-feature {
        padding: 1.5rem;
    }
    
    .bbs-benefits {
        flex-direction: column;
        align-items: center;
    }
}


/* Bright Bunnies Animated About Section End */


/* Program Cards Styling */


.program-card {
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-icon {
    margin-bottom: 1.5rem;
    text-align: center;
}

.program-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 1rem;
}

.program-features {
    list-style: none;
    padding-left: 0;
}

.program-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.8rem; /* Increased spacing for icon */
}

.program-features li::before {
    content: "\f00c"; /* Font Awesome check icon */
    color: #27ae60;
    position: absolute;
    left: 0;
}

.cta-text {
    font-size: 1.1rem;
    color: #34495e;
    border-top: 2px solid #bdc3c7;
    padding-top: 1.5rem;
    display: inline-block;
}

/* Color Scheme */
.text-artistic-pink { color: #e84393; }
.text-sunshine { color: #f1c40f; }
.text-sky { color: #3498db; }
.text-nature { color: #2ecc71; }
.text-earth { color: #d35400; }
.text-discovery { color: #8e44ad; }

.bg-pastel-pink { background: #fadbd8; }
.bg-pastel-yellow { background: #fcf3cf; }
.bg-pastel-blue { background: #d6eaf8; }
.bg-pastel-green { background: #d5f5e3; }
.bg-pastel-peach { background: #fdebd0; }
.bg-pastel-lavender { background: #e8daef; }

@media (max-width: 768px) {
    .program-card {
        margin-bottom: 1.5rem;
    }
}

/* Program Cards Styling End */







