/********** Template CSS **********/
:root {
    --primary: #FE5D37;
    --light: #FFF5F3;
    --dark: #103741;
}

/* Navbar Fixed Spacing */
body {
    padding-top: 96px; /* 48px header + 48px navbar */
}

.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;
}

 .top-header {
        width: 100%;
        background: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
        z-index: 999;
        position: relative;
    }
    .top-header-contact {
        display: flex;
        gap: 2rem;
        align-items: center;
        margin-left: 1.5rem;
    }
    .top-header-email {
        font-size: 1rem;
        color: #007bff;
        font-weight: 500;
        text-decoration: none;
        min-width: auto;
        display: flex;
        align-items: center;
    }
    .top-header-email:hover {
        text-decoration: underline;
    }
    .top-header-phone {
        font-size: 1rem;
        color: #333;
        font-weight: 500;
        text-align: center;
        min-width: auto;
        display: flex;
        align-items: center;
    }
    .top-header-btns {
        display: flex;
        gap: 0.5rem;
        margin-right: 1.5rem;
    }
    .top-header-btn {
        border: none;
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
        font-weight: 500;
        text-align: center;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border-radius: 8px;
        transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
        position: relative;
        overflow: hidden;
        animation: pulse 1.5s infinite;
        min-width: 120px;
    }
    .btn-first {
        background: #ff5722;
        color: #fff;
    }
    .btn-first:hover {
        background: #e64a19;
        color: #fff;
        transform: scale(1.07) translateY(-2px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    }
    .btn-second {
        background: #3f51b5;
        color: #fff;
    }
    .btn-second:hover {
        background: #283593;
        color: #fff;
        transform: scale(1.07) translateY(-2px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    }
    @keyframes pulse {
        0% { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
        50% { box-shadow: 0 0px 16px 2px #ff572244; }
        100% { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
    }
    @media (max-width: 768px) {
        .top-header {
            flex-direction: column;
            gap: 1rem;
            padding: 0.75rem 0;
        }
        .top-header-contact {
            flex-direction: column;
            gap: 0.75rem;
            margin-left: 0;
            width: 100%;
            justify-content: center;
        }
        .top-header-email,
        .top-header-phone {
            justify-content: center;
            font-size: 0.9rem;
        }
        .top-header-btns {
            gap: 0.3rem;
            margin-right: 0;
            width: 100%;
            justify-content: center;
            flex-wrap: wrap;
        }
        .top-header-btn {
            min-width: 100px;
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
            animation: none;
        }
        .dropdown-menu {
            min-width: 250px !important;
            left: 0 !important;
            transform: none !important;
        }
        .dropdown-menu .w-50 {
            width: 100% !important;
            padding-right: 0 !important;
            padding-left: 0 !important;
            margin-bottom: 0.5rem;
            border-right: none !important;
        }
        .dropdown-menu .pe-3 {
            padding-right: 0 !important;
        }
        .dropdown-menu .ps-3 {
            padding-left: 0 !important;
        }
        .dropdown-menu .col-12.d-flex {
            flex-direction: column;
        }
    }
    @media (max-width: 576px) {
        .top-header-btn {
            min-width: 90px;
            padding: 0.5rem 0.8rem;
            font-size: 0.85rem;
        }
        .top-header-email,
        .top-header-phone {
            font-size: 0.85rem;
        }
        .dropdown-menu {
            min-width: 200px !important;
            padding: 0.5rem !important;
        }
        .dropdown-item {
            padding: 0.4rem 0.5rem !important;
            font-size: 0.9rem;
        }
    }
    
    .form-container {
        background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
        min-height: 100vh;
        padding: 25px 0;
    }
    
    .form-wrapper {
        background: white;
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.12);
        overflow: hidden;
    }
    
    .form-header {
        background: linear-gradient(135deg, #ff5722 0%, #ff7f5c 100%);
        padding: 25px 20px;
        color: white;
        text-align: center;
    }
    
    .form-header h1 {
        font-size: 1.8rem;
        font-weight: 800;
        margin-bottom: 8px;
    }
    
    .form-header p {
        font-size: 0.95rem;
        opacity: 0.95;
        margin: 0;
    }
    
    .form-body {
        padding: 25px 20px;
    }
    
    .intro-section {
        background: #fff7f0;
        border-left: 5px solid #ff5722;
        padding: 15px;
        border-radius: 12px;
        margin-bottom: 20px;
    }
    
    .intro-section h4 {
        color: #ff5722;
        font-weight: 800;
        margin-bottom: 8px;
    }
    
    .intro-section p {
        color: #404040;
        line-height: 1.6;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }
    
    .intro-section p:last-child {
        margin-bottom: 0;
    }
    
    .intro-section a {
        color: #ff5722;
        font-weight: 600;
        text-decoration: none;
    }
    
    .intro-section a:hover {
        text-decoration: underline;
    }
    
    .section-title {
        color: #1a1a2e;
        font-weight: 800;
        font-size: 1.1rem;
        margin-top: 20px;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 3px solid #ff5722;
    }
    
    .section-title:first-of-type {
        margin-top: 0;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-label {
        color: #1a1a2e;
        font-weight: 700;
        font-size: 0.9rem;
        margin-bottom: 6px;
        display: block;
    }
    
    .form-label .required {
        color: #ff5722;
    }
    
    .form-control, .form-select {
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        padding: 8px 12px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        font-family: inherit;
    }
    
    .form-control:focus, .form-select:focus {
        border-color: #ff5722;
        box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
        outline: none;
    }
    
    .form-hint {
        font-size: 0.85rem;
        color: #888;
        margin-top: 8px;
        font-style: italic;
    }
    
    .form-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }
    
    .form-group.full-width {
        grid-column: 1 / -1;
    }
    
    .checkbox-section {
        background: #f9f9f9;
        padding: 18px;
        border-radius: 12px;
        margin: 20px 0;
        border: 2px solid #f0f0f0;
    }
    
    .checkbox-section h5 {
        color: #1a1a2e;
        font-weight: 800;
        margin-bottom: 12px;
    }
    
    .checkbox-section .form-check {
        margin-bottom: 12px;
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }
    
    .checkbox-section .form-check:last-child {
        margin-bottom: 0;
    }
    
    .checkbox-section .form-check-input {
        width: 24px;
        height: 24px;
        margin-top: 2px;
        cursor: pointer;
        accent-color: #ff5722;
        border: 2px solid #ddd;
        flex-shrink: 0;
    }
    
    .checkbox-section .form-check-label {
        color: #404040;
        cursor: pointer;
        line-height: 1.6;
        margin: 0;
        font-weight: 500;
    }
    
    .checkbox-section a {
        color: #ff5722;
        text-decoration: none;
        font-weight: 600;
    }
    
    .checkbox-section a:hover {
        text-decoration: underline;
    }
    
    .submit-btn {
        background: linear-gradient(135deg, #ff5722, #ff7f5c);
        color: white;
        padding: 12px 30px;
        border: none;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 8px 25px rgba(255, 87, 34, 0.3);
        transition: all 0.3s ease;
        width: 100%;
        margin-top: 18px;
    }
    
    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(255, 87, 34, 0.4);
    }
    
    .back-btn {
        text-align: center;
        margin-top: 30px;
    }
    
    .back-btn a {
        color: #666;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }
    
    .back-btn a:hover {
        color: #ff5722;
    }
    
    @media (max-width: 768px) {
        .form-body {
            padding: 15px 12px;
        }
        
        .form-header {
            padding: 18px 15px;
        }
        
        .form-header h1 {
            font-size: 1.5rem;
        }
        
        .section-title {
            font-size: 1.2rem;
        }
        
        .form-grid {
            grid-template-columns: 1fr;
        }
    }
     /* Animated Background */
        .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 100%;
            overflow: hidden;
            z-index: 0;
        }

        .floating-shape {
            position: absolute;
            opacity: 0.15;
            animation: float 20s infinite ease-in-out;
        }

        .shape-1 {
            width: 180px;
            height: 180px;
            background: var(--primary-sunshine);
            border-radius: 50%;
            top: 10%;
            left: 5%;
            animation-delay: 0s;
        }

        .shape-2 {
            width: 140px;
            height: 140px;
            background: var(--primary-sky);
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            top: 60%;
            right: 10%;
            animation-delay: 3s;
        }

        .shape-3 {
            width: 100px;
            height: 100px;
            background: var(--primary-lavender);
            border-radius: 50%;
            bottom: 15%;
            left: 15%;
            animation-delay: 6s;
        }

        .shape-4 {
            width: 120px;
            height: 120px;
            background: var(--primary-coral);
            border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
            top: 40%;
            right: 5%;
            animation-delay: 9s;
        }

        @keyframes float {
            0%, 100% {
                transform: translate(0, 0) rotate(0deg);
            }
            25% {
                transform: translate(20px, -20px) rotate(5deg);
            }
            50% {
                transform: translate(-10px, 20px) rotate(-5deg);
            }
            75% {
                transform: translate(15px, 10px) rotate(3deg);
            }
        }

        /* Hero Section */
        .hero {
            position: relative;
            padding: 100px 20px 80px;
            text-align: center;
            background: linear-gradient(135deg, #FFE5D9 0%, #FFD5E5 50%, #E5DEFF 100%);
            overflow: hidden;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 900px;
            margin: 0 auto;
        }
  .hero-subtitle {
            font-size: 1.15rem;
            color: var(--text-light);
            max-width: 700px;
            margin: 0 auto 40px;
            line-height: 1.8;
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .age-info {
            display: inline-flex;
            align-items: center;
            gap: 20px;
            background: var(--bg-white);
            padding: 20px 35px;
            border-radius: 20px;
            box-shadow: var(--shadow-medium);
            margin-top: 20px;
            animation: fadeInUp 0.8s ease-out 0.6s both;
        }

        .age-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: 'Fredoka', sans-serif;
        }

        .age-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary-sunshine), var(--accent-warm));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }
 .stage-badge {
            display: inline-block;
            background: var(--bg-white);
            padding: 12px 28px;
            border-radius: 50px;
            font-family: 'Fredoka', sans-serif;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--accent-warm);
            box-shadow: var(--shadow-soft);
            margin-bottom: 30px;
            animation: slideDown 0.8s ease-out;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 5px 11px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::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,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.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);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}


/*** 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);
}


/*** 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;
}
