:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --primary-light: #e7f1ff;
    --secondary-color: #0dcaf0;
    --text-color: #333333;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --danger: #dc3545;
    --success: #198754;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.bg-light {
    background-color: var(--bg-light);
}

.section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: 800;
}

.section-title .line {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.6);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo i {
    color: var(--secondary-color);
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
    position: relative;
    padding: 80px 0 0 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 500px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 5px solid white;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--success);
    animation: float 3s ease-in-out infinite;
}

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

.wave-bottom {
    margin-top: -50px;
}

.wave-bottom svg {
    display: block;
}

/* Intro Section */
.intro-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.intro-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

.features-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.features-list i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 5px;
}

/* Why Section */
.card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.danger-card:hover {
    border-color: var(--danger);
}

.card-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.danger-card:hover .card-icon {
    background-color: #f8d7da;
    color: var(--danger);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Schedule Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 30px;
    width: 4px;
    background-color: var(--primary-light);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-right: 80px;
}

.timeline-dot {
    position: absolute;
    right: 12px;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 0 0 5px white, 0 0 0 8px var(--primary-light);
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.age-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.note-box {
    background-color: var(--primary-light);
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
    color: var(--primary-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Tips Section */
.tips-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
}

.before-tips {
    border-top: 5px solid var(--secondary-color);
}

.after-tips {
    border-top: 5px solid var(--success);
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.tips-header i {
    font-size: 2rem;
}

.before-tips .tips-header i { color: var(--secondary-color); }
.after-tips .tips-header i { color: var(--success); }

.tips-header h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.custom-list li {
    position: relative;
    padding-right: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.custom-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 2px;
}

.before-tips .custom-list li::before { color: var(--secondary-color); }
.after-tips .custom-list li::before { color: var(--success); }

/* FAQ Section */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: right;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--primary-light);
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: white;
}

.accordion-content p {
    padding-bottom: 20px;
    color: var(--text-color);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-logo i {
    color: var(--secondary-color);
}

.footer-slogan {
    font-size: 1.2rem;
    color: var(--primary-light);
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-text h1 { font-size: 2.8rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px;
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 { font-size: 2.5rem; }
    
    .floating-badge {
        right: 50%;
        transform: translateX(50%);
        bottom: -20px;
        white-space: nowrap;
    }

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

    .timeline::before {
        right: 20px;
    }

    .timeline-item {
        padding-right: 60px;
    }

    .timeline-dot {
        right: 2px;
        width: 36px;
        height: 36px;
    }
}
