/* ===== GENERAL STYLES ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: rgb(5, 229, 236);
    font-family: Arial, sans-serif;
    color: #000000;
    overflow-x: hidden;
    width: 100%;
}

/* ===== TOP BAR SECTION ===== */
.top-bar {
    background: #cce9f8;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.search-container {
    flex-grow: 1;
    text-align: left;
    position: relative;
}

.logo-container {
    text-align: right;
}

.logo {
    max-width: 200px;
    height: auto;
    display: inline-block;
    margin: 0 15px;
}

.slogan-container {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.slogan-container h1 {
    font-size: 24px;
    font-weight: bold;
    color: black;
}

.title-container {
    text-align: center;
    flex-grow: 2;
}

.academy-title {
    font-size: 40px;
    font-weight: bold;
    color: #0e0d0d;
    margin-bottom: 30px;
}

.slogan {
    font-size: 30px;
    font-weight: bold;
    color: #0a0000;
    margin: 0;
}

.search-bar {
    width: 200px;
    height: 20px;
    padding: 5px;
    margin: 10px;
    font-size: 14px;
    border: 1px solid #ffffff;
    border-radius: 18px;
    background-color: white;
    color: #000000;
}

.search-bar::placeholder {
    color: #666666;
}

.search-bar:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: black;
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #f8f9fa;
    border-top: 1px solid #ddd;
    padding: 10px;
}

.mobile-nav .btn {
    width: 100%;
    margin: 5px 0;
    justify-content: center;
}

.btn {
    background-color: #ddd8e2;
    color: rgb(7, 7, 7);
    padding: 10px 20px;
    border: none;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn:hover {
    background-color: #4c3f58;
}

.icon-button {
    width: 24px;
    height: 24px;
}

/* ===== DARK MODE TOGGLE ===== */
.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    margin: 0;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
}

/* ===== MAIN CONTENT SECTIONS ===== */
.main-content {
    padding: 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.content-section {
    padding: 60px 20px;
    margin-bottom: 40px;
    background: #cce9f8;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.content-section h2 {
    text-align: center;
    color: black;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

/* ===== SERVICES HERO SECTION ===== */
.services-hero {
    background: linear-gradient(135deg, #00796b 0%, #004d40 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.services-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.services-hero .hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid #1E88E5;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: #1E88E5;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #1E88E5;
    margin-top: 0;
    margin-bottom: 1rem;
}

.service-features {
    margin: 1.5rem 0;
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    text-align: left;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: '•';
    color: #1E88E5;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

/* ===== CTA BUTTONS ===== */
.cta-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-btn.primary {
    background-color: #1E88E5;
    color: white;
}

.cta-btn.secondary {
    background-color: transparent;
    color: #1E88E5;
    border: 2px solid #1E88E5;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

.cta-btn.primary:hover {
    background-color: #1565c0;
}

.cta-btn.secondary:hover {
    background-color: #1E88E5;
    color: white;
}

/* ===== SERVICE PROCESS ===== */
.service-process {
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #1E88E5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h4 {
    color: #1E88E5;
    margin-bottom: 1rem;
}

/* ===== UPDATED PRICING SECTION ===== */
.pricing-section {
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid #1E88E5;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #1E88E5;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-card h3 {
    color: #1E88E5;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1E88E5;
    margin: 1rem 0;
}

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

.package-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
    padding: 0;
}

.package-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.package-features li:before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-options {
    margin: 1.5rem 0;
    text-align: left;
}

.option-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    font-size: 0.9rem;
}

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

.option-name {
    color: #666;
}

.option-price {
    font-weight: bold;
    color: #1E88E5;
}

.registration-fee {
    color: #666;
    font-size: 0.9rem;
    margin: 1rem 0;
    font-style: italic;
}

/* Class Structure Information */
.class-structure-info {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: left;
}

.class-structure-info h3 {
    text-align: center;
    color: #1E88E5;
    margin-bottom: 2rem;
}

.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.structure-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.structure-item i {
    font-size: 2rem;
    color: #1E88E5;
    margin-bottom: 1rem;
    display: block;
}

.structure-item h4 {
    color: #1E88E5;
    margin-bottom: 1rem;
}

.structure-item ul {
    list-style: none;
    padding: 0;
}

.structure-item li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.policy-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.policy-note ul {
    margin: 0.5rem 0 0 1.5rem;
}

.parent-friendly-note {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.parent-friendly-note h4 {
    color: #155724;
    margin-bottom: 0.5rem;
}

/* ===== RESPONSIVE UPDATES ===== */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .structure-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .class-structure-info {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .package-options {
        font-size: 0.85rem;
    }

    .option-item {
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .pricing-card {
        padding: 1rem;
    }

    .price {
        font-size: 2rem;
    }

    .package-features li {
        font-size: 0.85rem;
        padding-left: 1.25rem;
    }

    .structure-item {
        padding: 1rem;
    }

    .class-structure-info {
        padding: 1rem;
    }
}

/* ===== SEARCH RESULTS ===== */
.search-results {
    position: absolute;
    background: white;
    width: 250px;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    margin-top: 5px;
    display: none;
}

.search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #000000;
}

.search-result-item:hover {
    background-color: #ffe6e6;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
    }

    .academy-title {
        font-size: 1.5rem !important;
        margin-bottom: 15px;
    }

    .slogan {
        font-size: 1.1rem !important;
    }

    .logo {
        max-width: 120px;
        margin: 10px 0;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        left: 15px;
        top: 15px;
    }

    .search-container {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }

    .search-bar {
        width: 100%;
        margin: 5px 0;
    }

    .title-container {
        order: 2;
        width: 100%;
    }

    .logo-container {
        order: 1;
        width: 100%;
    }

    .services-hero {
        padding: 3rem 1rem;
    }

    .services-hero .hero-content h1 {
        font-size: 2rem;
    }

    .services-hero .hero-content p {
        font-size: 1rem;
    }

    .content-section {
        padding: 40px 15px;
        margin-bottom: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .service-actions {
        flex-direction: column;
        gap: 10px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .social-icons, .footer-links, .footer-details {
        min-width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 30px 10px;
    }

    .content-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .service-card {
        padding: 15px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-features li {
        padding-left: 1rem;
        font-size: 0.9rem;
    }

    .cta-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .process-step {
        padding: 1.5rem 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .price {
        font-size: 2.5rem;
    }
}

/* Mobile menu active state */
.mobile-nav.active {
    display: flex;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}