/* RTL Support and Custom Styles for Kiddina Kindergarten */

/* Import Persian Fonts */
@font-face {
    font-family: 'Iran Sans';
    src: url('../fonts/iran-sans-400.woff2') format('woff2'),
         url('../fonts/iran-sans-400.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Iran Sans';
    src: url('../fonts/iran-sans-700.woff2') format('woff2'),
         url('../fonts/iran-sans-700.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

/* Root Variables */
:root {
    --primary-color: #20c997;
    --secondary-color: #6f42c1;
    --accent-color: #fd7e14;
    --first-color: #CD2C58;
    --second-color :#5B6DF7;
    --yellow-color: #ffc107;
    --white: #ffffff;
    --dark: #1e293b;
    --light-gray: #f8f9fa;
    --border-radius: 15px;
    --box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --dark-color: #1e293b;
    --transition: all 0.3s ease;
}
html{
    width: 100%;
    overflow-x: hidden;
}

/* Typography System - Unified Font Sizes */
:root {
    --title-xl: 2.5rem;      /* Main hero title */
    --title-lg: 2rem;         /* Section titles */
    --title-md: 1.5rem;       /* Feature titles, card titles */
    --title-sm: 1.25rem;      /* Small titles */
    --text-lg: 1.125rem;      /* Large text */
    --text-md: 1rem;          /* Regular text */
    --text-sm: 0.875rem;      /* Small text */
}

/* Base Styles */

/* Header styles can be added here if needed */
body {
    font-family: 'Iran Sans', 'Tahoma', sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background: #fff;
}

/* RTL Bootstrap Overrides */
.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 18px;
    color: #313131!important;
}
.navbar-nav .nav-link.active {
    font-weight: 600;
    color: var(--first-color)!important;
}

/* Top Bar */
.top-bar {
    background: var(--first-color);
    color: var(--white);
    padding: 0.2rem 0;
    font-size: 0.9rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 30px;
    height: 30px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
}

.contact-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-btn {
    background: var(--secondary-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
}

.login-btn:hover {
    background: #5a32a3;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
    padding: 1rem 0;
    box-shadow: 0px 5px 17px #e2e2e2;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    width: 200px;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.25);
}

.search-box i {
    color: white;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    border-bottom: 1px solid #0000000d;
    position: relative;
}



.hero-title {
    font-size: var(--title-xl);
    font-weight: 700;
    color: var(--first-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: var(--first-color)70 1px 0 1px;
}
.hero-title-span {
    color: var(--first-color);
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1rem;
    color: #313131;
    line-height: 2;
    text-align: justify;
}

.btn-pink {
    background: var(--first-color);
    border: none;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(232, 62, 140, 0.3);
}

.btn-pink:hover {
    background: #d63384;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 62, 140, 0.4);
    color: var(--white);
}

.hero-image {
    position: relative;
    text-align: center;
    max-height: calc(95vh - 215px);
    min-height: 300px;
}

.hero-image img {
    border-radius: 20px;
    max-height: inherit;
    min-height: 300px;
    object-fit: contain;
    /* box-shadow: var(--box-shadow); */
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    /* background: var(--white); */
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
    /* transition removed to prevent auto-return */
}
.floating-icon.second {
    position: absolute;
    left: 0;
    top: 33%;
    /* background: var(--white); */
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
    /* transition removed to prevent auto-return */
}
.music-note {
    top: 50%;
    left: 50%;
    background: url('../images/elem1.png');
    animation-delay: 0s;
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50% , -50%);
    background-position: center;
}

.alphabet {
    background: url('../images/elem2.png');
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50% , -50%);
    background-position: center;
    top: 60%;
    left: 5%;
    animation-delay: 1s;
}

.floating-icon.airplane {
    top: 40%;
    right: 5%;
    color: var(--accent-color);
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Enhanced mouse interaction effects */
.floating-icon:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Smooth transitions for mouse-following movement */
.floating-icon {
    will-change: transform;
}


/* Learning Section */
.learning-section {
    position: relative;
}
.learning-container {
    background: #fff;
    padding: 120px 0;

}
.learning-container::before {
    content: '';
    position: absolute;
    top: 0;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="%23ffc107" opacity="0.3"/><circle cx="80" cy="40" r="2" fill="%23e83e8c" opacity="0.3"/><circle cx="40" cy="80" r="4" fill="%2320c997" opacity="0.5"/></svg>');
    pointer-events: none;
}

.feature-card {
    /* background: #f2f8f9; */
    padding: 30px 20px;
    text-align: right;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 32px -2px rgba(0,0,0,.1),0 8px 16px -2px rgba(0,0,0,.08);
    min-height: 282px;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid #ced6e0;
}

.feature-card:before {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    right: 0px;
    background: var(--first-color);
    height: 6px;
    width: 100%;
    transform-origin: top right;
    transition: all 0.3s ease-out;
}

.feature-card:hover:before {
    height: 100%;
    width: 100%;
    bottom: 0;
    right: 0;
}

.feature-card:hover {
    transform: scale(1.075);
}

.feature-card:hover .feature-title {
    transition: all 0.5s ease-out;
    color: #fff;
}

.feature-card:hover .feature-description {
    transition: all 0.5s ease-out;
    color: rgba(255, 255, 255, 0.8);
}

.feature-card:hover .feature-icon i {
    transition: all 0.5s ease-out;
    color: #fff;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.feature-icon i {
    font-size: 48px;
    color: var(--first-color);
}

.feature-title {
    font-size: var(--title-md);
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.3;
    text-align: center;
    position: relative;
    z-index: 2;
}

.feature-description {
    font-size: 13px;
    color: #313131;
    line-height: 2;
    margin: 0;
    text-align: justify;
    position: relative;
    z-index: 2;
}

.learning-image {
    position: relative;
    text-align: center;
}

.learning-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.result-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.3);
}

.section-title {
    font-size: var(--title-lg);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    padding-bottom: 20px;
}

.section-titlee {
    font-size: var(--title-lg);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    padding-bottom: 20px;
}

.section-text {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateX(-5px);
}

.feature-icon {
    color: var(--first-color);
    font-size: 1.5rem;
}

.session-timings {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-right: 4px solid var(--primary-color);
}

.session-timings h4 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.timing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.timing-item:last-child {
    border-bottom: none;
}

/* Age Groups Section */
.age-groups-section {
    padding: 5rem 0;
    background: #fff;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #212121;
    margin-bottom: 3rem;
}

.age-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.age-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.age-image {
    margin-bottom: 1.5rem;
}

.age-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.age-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.slider-dots {
    margin-top: 2rem;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
}

/* Core Values Section */

.core-value-parent {
    position: relative;
    
}


/* Step Description Styles */
.step-description {
    margin: 3rem 0;
}

.step-text {
    display: none;
    color: white;
    transition: all 0.3s ease;
}

.step-text.active {
    display: block;
}

.step-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.step-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Step Boxes Styles */
.kidoosteps {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.step-box {
    flex: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    color: var(--dark-color);
    padding: 1rem;
    /* background: rgba(255, 255, 255, 0.1); */
    backdrop-filter: blur(10px);
    border: 1px solid #1e293b26;
}



.step-box.active {
    background: var(--first-color);
    /* border-color: #fff; */
    /* transform: translateY(-5px); */
    color: #ffffff;
}

.step-box .kidooworkstep1item,
.step-box .kidooworkstep2item,
.step-box .kidooworkstep3item,
.step-box .kidooworkstep4item {
    text-align: center;
    /* color: white; */
    font-weight: 600;
    font-size: 0.9rem;
}

/* Step Images */
.step-images {
    text-align: center;
}

.step-image {
    display: none;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transition: all 0.5s ease;
    max-height: calc(100vh - 280px);
    transform: scale(1.1);
    min-height: 420px;
}

.step-image.active {
    display: block;
}

/* .core-value-parent::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    z-index: 1;
    right: 0;
    height: 70px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23fff"></path></svg>');
    background-size: cover;
} */

/* .core-value-parent::after {
    content: '';
    position: absolute;
    bottom: -1px;
    z-index: 1;
    left: 0;
    right: 0;
    height: 70px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23fff"></path></svg>');
    background-size: cover;
    transform: rotate(180deg);
} */
.core-value-container {
    z-index: 2;
    position: relative;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
}

.value-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.value-icon {
    margin-bottom: 1rem;
}

.value-icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.value-item h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Teachers Section */
.teachers-section {
    padding: 5rem 0;
    background: var(--white);
}

.teacher-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.teacher-image {
    margin-bottom: 1.5rem;
}

.teacher-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.teacher-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.teacher-info p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Registration Section */
.contact-cta-section {
    padding: 3rem 0;
    background: #EEF1FB;
}

.contact-cta-section .section-title {
    color: var(--dark-color);
    font-size: var(--title-lg);
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-cta-section .section-subtitle {
    color: var(--dark-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    margin: 1.5rem 0;
}

.contact-form .form-control {
    border-radius: 25px;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    text-align: center;
}

.contact-form .form-control:focus {
    border-color: var(--first-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 92, 207, 0.25);
    background: white;
}

.contact-form .btn-primary {
    background: var(--first-color);
    border-color: var(--first-color);
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: bold;
    font-size: 1rem;
}

.contact-form .btn-primary:hover {
    background: var(--first-color);
    border-color: var(--first-color);
    opacity: 0.9;
    transform: translateY(-2px);
}

.contact-note {
    color: var(--dark-color);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-cta-section {
        padding: 3rem 0;
    }
    .hero-subtitle {
        padding: 0 12px;
    }
    .learning-container::before {
        display: none;
    }
    .contact-cta-section .section-title {
        font-size: var(--title-lg);
    }
    
    .contact-cta-section .section-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-form .form-control {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .contact-form .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-note {
        font-size: 0.8rem;
    }
}

/* Clubs Section */
.pricing-section {
    padding: 3rem 0;
    background: #fff;
}

/* Responsive pricing cards */
@media (max-width: 991px) {
    .pricing-section {
        padding: 2rem 0;
    }
    
    .pricing-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        width: calc(100% - 40px);
        margin: auto;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .pricing-card h4 {
        font-size: var(--title-md);
    }
    
    .pricing-price .amount {
        font-size: 2rem;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
        padding: 6px 0;
    }
    
    .pricing-footer .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

.pricing-card {
    background: #ffffff00;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 3px solid var(--first-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--first-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.pricing-header {
    /* margin-bottom: 2rem; */
}

.pricing-icon {
    width: 69px;
    height: 69px;
    background: var(--first-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.pricing-card h4 {
    font-size: var(--title-md);
    font-weight: bold;
    margin-bottom: 0rem;
    color: #333;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    /* margin-bottom: 1rem; */
}

.pricing-price .currency {
    font-size: 0.8rem;
    color: var(--dark-color);
}

.pricing-price .amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--first-color);
}

.pricing-price .period {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    flex: 1;
    /* margin-bottom: 2rem; */
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--dark-color);
    position: relative;
    /* padding-right: 20px; */
    font-size: 14px;
}



.pricing-footer {
    margin-top: 16px;
}

.pricing-footer .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pricing-footer .btn-primary {
    background: var(--second-color);
    border-color: var(--second-color);
}

.pricing-footer .btn-primary:hover {
    background: var(--first-color);
    border-color: var(--first-color);
    opacity: 0.9;
}

.pricing-footer .btn-outline-primary {
    color: var(--second-color);
    border-color: var(--second-color);
}

.pricing-footer .btn-outline-primary:hover {
    background: var(--first-color);
    border-color: var(--first-color);
    color: white;
}

.pricing-footer .btn:hover {
    transform: translateY(-2px);
}

.club-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.club-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.club-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.club-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.club-card ul {
    list-style: none;
    padding: 0;
}

.club-card li {
    padding: 0.5rem 0;
    color: #6c757d;
    position: relative;
    padding-right: 1.5rem;
}



/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.testimonial-card {
    background: var(--secondary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: serif;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stars {
    color: var(--yellow-color);
}

.slider-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--first-color);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-btn:hover {
    background: #d63384;
    transform: scale(1.1);
}

/* Admission Section */
.admission-section {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
}
.topBarAddressBox {
    align-items: center;
    display: flex;
    gap: 10px;
    height: 40px;
}
.topBarAddressP {
    color: #f0f0f0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
/* Mobile navbar styles - only apply on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1111111 !important;
        width: calc(100% - 60px) !important;
        height: 100% !important;
        background-color: var(--first-color) !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        overflow: hidden !important;
    }
}

/* Mobile navbar animation styles */
@media (max-width: 991.98px) {
    /* Slide in from left animation */
    .navbar-collapse.collapsing {
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        height: 100% !important;
    }

    .navbar-collapse.show {
        transform: translateX(0) !important;
        transition: transform 0.3s ease !important;
        height: 100% !important;
    }

    .navbar-collapse:not(.show):not(.collapsing) {
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        height: 100% !important;
    }

    /* Override Bootstrap's default transition and height */
    .navbar-collapse.collapse {
        transition: transform 0.3s ease !important;
        height: 100% !important;
    }

    /* Force height on all states */
    .navbar-collapse[style*="height"] {
        height: 100% !important;
    }
}

/* Mobile menu overlay - only show on mobile */
@media (max-width: 991.98px) {
    .navbar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1111110;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .navbar-overlay.show {
        opacity: 1;
        visibility: visible;
    }
}

/* Hide overlay on desktop */
@media (min-width: 992px) {
    .navbar-overlay {
        display: none !important;
    }
}
.topBarPhoneBox {
    align-items: center;
    display: flex;
    gap: 8px;
    height: 40px;
    justify-content: end;
}
.topBarPhoneIcon {
    background: url('../images/call.svg');
    background-size: contain;
    height: 24px;
    width: 24px;
}
.topBarPhoneP {
    color: #f0f0f0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 24px;
}
.topBarAddressIcon {
    background: url('../images/addres.svg');
    background-size: contain;
    height: 24px;
    width: 24px;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="%23ffc107" opacity="0.3"/><circle cx="80" cy="40" r="2" fill="%23e83e8c" opacity="0.3"/><circle cx="40" cy="80" r="4" fill="%2320c997" opacity="0.5"/></svg>');
    pointer-events: none;
}
.downloadbutton {
    background-color: var(--second-color);
    border: none;
    padding: 8px 36px;
    border-radius: 34px;
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.downloadbutton:hover {
    text-decoration: none;
    color: #ffffff;
}



.gotoappbutton {
    background-color: var(--second-color);
    border: none;
    padding: 8px 36px;
    border-radius: 34px;
    color: #ffffff;
    font-size: 16px;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.gotoappbutton:hover {
    text-decoration: none;
    color: #ffffff;
}


.downloadbutton i {
    font-size: 14px;
}

.admission-images {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.admission-images img {
    width: 150px;
    height: 150px;
    border-radius: var(--border-radius);
    object-fit: cover;
    box-shadow: var(--box-shadow);
}

.benefits {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.admission-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.admission-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.admission-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.25);
}

/* Supporters Section */
.supporters-section {
    padding: 3rem 0;
    background: var(--light-gray);
}

.supporter-logo {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 700;
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

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

/* News Section */
.herocontainer {
    position: relative;
    z-index: 1;
    background: #fff;
}

/* News Section - Compact Blog Cards */
.news-section {
    padding: 5rem 0;
    /* background: #fafafa; */
}

.news-card {
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 2px 8px rgb(0 0 0 / 94%); */
    height: 100%;
    border: 1px solid #1d1b1b26;
}

.news-image {
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
}

.news-date {
    position: absolute;
    bottom: 32px;
    left: 16px;
    /* background: var(--first-color); */
    color: var(--dark);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    z-index: 2;
}

.news-content {
    padding: 1rem;
}

.news-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.news-content p {
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-size: 0.8rem;
    min-height: 40px;
}

.news-content .btn {
    background: var(--first-color);
    border: none!important;
    color: #efefef;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.75rem;
    margin-bottom: 15px;
}

/* Instagram Section */
.instagram-section {
    padding: 3rem 0;
    background: var(--light-gray);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.instagram-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.instagram-item:hover {
    transform: scale(1.05);
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background: #fff;
    color: var(--white);
    position: relative;
}

.upcoming-events {
    /* background: rgba(255, 255, 255, 0.1); */
    padding: 2rem 0;
    backdrop-filter: blur(10px);
}

.event-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.event-info i {
    color: var(--first-color);
    font-size: 1.5rem;
}
.nav-item {
    position: relative;
    margin: 0 6px;
}
.nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #00000042;
    height: 40%;
    width: 1px;
}
.logoitem {
    color: var(--first-color);
}
.countdown {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--first-color);
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--dark-color);
}

.footer-content {
    padding: 0rem 0 3rem 0;
    background-color: var(--dark-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-content h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    /* color: var(--white); */
}

.footer-content p {
    /* color: rgba(255, 255, 255, 0.8); */
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom p {
    /* color: rgba(255, 255, 255, 0.6); */
    margin: 0;
}

.footer-bottom .social-links {
    justify-content: flex-end;
}

.footer-bottom .social-links a {
    background: var(--first-color);
    color: var(--white);
}

.footer-bottom .social-links a:hover {
    background: var(--yellow-color);
    color: var(--dark);
}

/* Responsive Typography */
@media (max-width: 1200px) {
    :root {
        --title-xl: 2.25rem;
        --title-lg: 1.875rem;
        --title-md: 1.375rem;
    }
}

@media (max-width: 991px) {
    :root {
        --title-xl: 2rem;
        --title-lg: 1.75rem;
        --title-md: 1.25rem;
    }
    
    .hero-title {
        font-size: var(--title-xl);
    }
    
    .section-title {
        font-size: var(--title-lg);
    }
    
    .section-titlee {
        font-size: var(--title-lg);
    }
    
    .feature-title {
        font-size: var(--title-md);
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown {
        justify-content: center;
        gap: 1rem;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .admission-images {
        justify-content: center;
    }
    
    .floating-icon {
        display: none;
    }
    
    /* Step boxes responsive */
    .kidoosteps {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step-box {
        flex: none;
        padding: 0.75rem;
        text-align: center;
        width: calc(100% - 110px);
        margin: auto;
    }
    
    .step-box .kidooworkstep1item,
    .step-box .kidooworkstep2item,
    .step-box .kidooworkstep3item,
    .step-box .kidooworkstep4item {
        font-size: 0.8rem;
    }
    
    /* Step images responsive */

}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .learning-section,
    .age-groups-section,
    .teachers-section,
    .clubs-section,
    .testimonials-section,
    .news-section {
        padding: 3rem 0;
    }
    
    .news-content {
        padding: 0.75rem;
    }
    
    .news-image {
        height: 140px;
    }
    
    .news-content h4 {
        font-size: 0.85rem;
    }
    
    .news-content p {
        font-size: 0.75rem;
    }
    
    .news-content .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .news-date {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .countdown {
        flex-wrap: wrap;
    }
}

/* Animation Classes */
.fade-in {
    /* opacity: 0; */
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--first-color);
}

::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

/* Sub-step styles for How Kiddo Works section */
.step-details {
    margin-top: 20px;
}

.sub-step {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 0;
}

.sub-step-number {
    background: var(--first-color);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: bold;
    margin-left: 12px;
    flex-shrink: 0;
}

.sub-step-text {
    color: var(--dark-color);
    font-size: 17px;
    line-height: 1.5;
    flex: 1;
}

/* Core Values Section */
.core-values-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

/* Responsive adjustments for core values */
@media (max-width: 768px) {
    :root {
        --title-xl: 1.75rem;
        --title-lg: 1.5rem;
        --title-md: 1.25rem;
        --title-sm: 1.125rem;
    }
    
    .hero-title {
        font-size: var(--title-xl);
    }
    
    .section-title {
        font-size: var(--title-lg);
    }
    
    .section-titlee {
        font-size: var(--title-lg);
    }
    
    .feature-title {
        font-size: var(--title-md);
    }
}

@media (max-width: 991px) {
    .core-values-section {
        padding: 6rem 0;
    }
    
    .section-titlee {
        font-size: var(--title-lg) !important;
        margin-bottom: 1rem !important;
        text-align: center;
    }
    
    .step-description {
        margin: 2rem 0 !important;
    }
    
    .sub-step {
        margin-bottom: 12px;
        padding: 6px 0;
    }
    
    .sub-step-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin-left: 10px;
    }
    
    .sub-step-text {
        font-size: 14px;
        text-align: right;
    }
    
}


/* Owl Carousel Custom Styling */
.news-carousel {
    position: relative;
}

.news-carousel .owl-nav {
    position: absolute;
    top: 40%;
    width: calc(100% + 60px);
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
}

.news-carousel .owl-nav button {
    position: absolute;
    background: var(--first-color)!important;
    color: white !important;
    border: none !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.news-carousel .owl-nav button:hover {
    background: rgba(78, 92, 207, 1) !important;
}

.news-carousel .owl-nav .owl-prev {
    left: -25px;
}

.news-carousel .owl-nav .owl-next {
    right: -25px;
}

.news-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.news-carousel .owl-dots .owl-dot {
    background: #ddd !important;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.news-carousel .owl-dots .owl-dot.active {
    background: var(--first-color)!important;
}

.news-carousel .owl-dots .owl-dot:hover {
    background: #4e5ccf !important;
}

/* Responsive adjustments for carousel */
@media (max-width: 991px) {
    .news-carousel .owl-nav {
        display: none;
    }
    .step-text h3 {
        text-align: center;
    }
    .step-details {
        width: calc(100% - 30px);
        margin: 20px auto 0;
    }
    
    .news-carousel .owl-dots {
        margin-top: 20px;
    }
    .top-bar {
        display: none;
    }
    .navbar {
        background-color: var(--first-color);
    }
    .navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl {
        justify-content: end;
    }

    .nav-item {
        text-align: center;
    }
    .navbar-nav .nav-link.active {
        color: white!important;
    }
    .navbar-nav .nav-link {
        color: white!important;
    }
    .navbar-nav {
        margin-top: 50px;
    }
    .navbar-collapse {
        background-color: #2f2d39!important;
    }
    .search-box {
        margin-top: 32px;
        justify-content: center;
    }

    .hero-title {
        text-align: center;
    }
    .floating-elements {
        display: none;
    }
    .learning-container {
        padding: 0 0;
    }
    .feature-card {
        width: 88%;
        margin: auto;
    }
    .footer-content {
        padding: 1rem 0.5rem;
    }
    .footer-bottom .social-links {
        justify-content: center;
        margin-top: 24px;
    }
}

@media (max-width: 992px) {
    .news-carousel .owl-nav .owl-prev {
        right: -15px;
    }
    
    .news-carousel .owl-nav .owl-next {
        left: -15px;
    }
}

/* Mobile Navbar Close Button */
.navbar-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 1050;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.ctaInput {
    border: 1px solid #333!important;
}

/* Navbar Toggler Styling */
.navbar-toggler {
    border-color : white!important
}
.footerphone {
    color: var(--light-gray);
    text-decoration: none;
}
.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")!important;
}
.gap-y-60px {
    gap: 60px 0;
}
.news-card.fade-in {
    transform: translateY(0);
}

.about-section{
    margin-bottom: 6rem;
}
.section-about-description{
    line-height: 41px;
    text-align: justify;
}