/* style.css - Shared styles for أكاديمية أنا وأخي website */

:root {
    --primary: #8e44ad;
    --secondary: #3498db;
    --accent: #e84393;
    --dark-bg: #1a1a2e;
    --dark-card: #16213e;
    --light-bg: #f8f9fa;
    --light-card: #ffffff;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--light-bg);
    color: #333;
    transition: all 0.3s ease;
}

.amiri-font {
    font-family: 'Amiri', serif;
}

body.dark-mode {
    background-color: var(--dark-bg);
    color: #fff;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(248, 249, 250, 0.95);
    padding: 15px 0;
    transition: all 0.3s ease;
}

body.dark-mode .navbar {
    background-color: rgba(26, 26, 46, 0.95);
}

body.dark-mode .navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent);
}



.nav-link {
    color: #333;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s;
}

body.dark-mode .nav-link {
    color: #fff;
}

.nav-link:hover {
    color: var(--accent);
}

body.dark-mode .navbar-toggler-icon {
      filter: invert(100%) brightness(200%);
    }



/* تنسيقات رقم الهاتف في شريط التنقل */
.navbar-phone {
    display: flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 15px;
    transition: all 0.3s ease;
    padding: 5px 12px;
    border-radius: 30px;
    background: rgba(142, 68, 173, 0.1);
    direction: ltr; /* تغيير الاتجاه لليسار للرقم */
    unicode-bidi: bidi-override; /* للتأكد من أن الأرقام تُعرض بشكل صحيح */
}

body.dark-mode .navbar-phone {
    color: var(--accent);
    background: rgba(232, 67, 147, 0.15);
}

.navbar-phone:hover {
    color: #fff;
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

body.dark-mode .navbar-phone:hover {
    background-color: var(--accent);
}

.navbar-phone i {
    margin-right: 8px; /* تغيير الهامش لليسار */
    font-size: 1.1rem;
}

/* Hero Section with Background Image */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('../img/bg_1.jpg') center/cover;
}

@media (max-width: 992px) {
  .hero {
    background: url('../img/bg_1mob.jpg') top/contain;
	  background-repeat: no-repeat;
  }
	
}



.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(142, 68, 173, 0.7), rgba(52, 152, 219, 0.8));
    z-index: 0;
}

body.dark-mode .hero::before {
    background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.8));
}

/* Floating Bubbles */ 
.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(2px);
    animation: float linear infinite;
    opacity: 0.7;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    margin-top: 50px; /* ⬅️ Added */
}

.hero-tagline {
    font-size: 1.5rem;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    
}
.hero-content {
    padding-top: 50px !important;
}



/* Breathing Cards with Image Backgrounds - Taller */
.breathing-card {
    border-radius: 15px;
    padding: 30px;
    height: 380px; /* Increased height */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    border-bottom: 4px solid var(--accent);
    animation: breathing 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.breathing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.9;
}

.breathing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.card-1::before {
    background-image: url('../img/pretile.jpeg');
}

.card-2::before {
    background-image: url('../img/xbg_4.jpg');
	filter: brightness(1.1);
}

.card-3::before {
    background-image: url('../img/cycles.jpg');
	filter: brightness(1.5);
}

.card-4::before {
    background-image: url('../img/parallax1.jpg'); /* Replace with your actual image path */
}

body.dark-mode .breathing-card {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes breathing {
    0% { transform: scale(0.98); }
    50% { transform: scale(1.02); }
    100% { transform: scale(0.98); }
}

.breathing-card:hover {
    transform: translateY(-10px);
    
	 box-shadow: 0 0 40px 10px rgba(255, 255, 255, 0.8), /* Bright white glow */
            0 0 80px 20px rgba(255, 255, 255, 0.5); /* Larger, softer outer glow */
}

body.dark-mode .breathing-card:hover {
    box-shadow: 0 0 40px 10px rgba(255, 255, 255, 0.8), /* Bright white glow */
            0 0 80px 20px rgba(255, 255, 255, 0.5); /* Larger, softer outer glow */
}

.breathing-card {
    animation: breathing 5s ease-in-out infinite;
    /* ^^ This 3s value controls the speed */
}

.breathing-card i {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.breathing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.breathing-card p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}
/* maher
@media (max-width: 1000px) {
	#homecards {margin-top: -50px !important}
}*/

.btn-primary {
    background-color: var(--primary);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.section {
    padding-top: 80px;
    padding-right: 0;
    padding-bottom: 40px;
    padding-left: 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    padding-bottom: 20px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 70px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Headmistress Section */
.headmistress-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

body.dark-mode .headmistress-section {
    background-color: #1a1a2e;
}

.headmistress-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

body.dark-mode .headmistress-card {
    background: var(--dark-card);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.headmistress-img-container {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f1f1;
}

body.dark-mode .headmistress-img-container {
    background: #2d2d42;
}

.headmistress-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.headmistress-content {
    padding: 30px;
}

.headmistress-name {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 5px;
}

.headmistress-role {
    color: var(--secondary);
    margin-bottom: 20px;
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

/* About Section */
.about-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
	
}

/* Features Section */
.feature-box {
    margin-bottom: 40px;
}

.feature-img {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s;
}

body.dark-mode .feature-img {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-img:hover {
    transform: scale(1.03);
}

/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.go-to-top.show {
    opacity: 1;
    visibility: visible;
}

.go-to-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: #e9ecef;
    padding: 60px 0 30px;
}

@media (max-width: 992px) {
  footer {
    text-align: center !important;
  }
}

	
@media (max-width: 992px) {
footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary);
    right: auto !important; /* just in case */
  }
}


body.dark-mode footer {
    background: var(--dark-card);
}

footer h5 {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
	

}

footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 15px;
}

footer ul li a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

body.dark-mode footer ul li a {
    color: #fff;
}

footer ul li a:hover {
    color: var(--accent);
    padding-right: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/* Moon/Sun Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    margin-right: 15px;
    color: #333;
    transition: all 0.3s;
}

body.dark-mode .theme-toggle {
    color: #fff;
}

.theme-toggle:hover {
    color: var(--accent);
    transform: rotate(30deg);
}

.fa-moon {
    display: none;
}

.fa-sun {
    display: inline;
}

body.dark-mode .fa-moon {
    display: inline;
}

body.dark-mode .fa-sun {
    display: none;
}

/* Parallax base styles */
.parallax {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}



/* Content section styles */
.content-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* Overlay for better text readability */
.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
}

/* Ensure text is readable */
.parallax h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.parallax p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar-phone {
        margin: 10px 15px;
        justify-content: center;
        font-size: 1.1rem;
    }
    
    .navbar-phone-container {
        width: 100%;
        display: flex;
        justify-content: center;
        order: 3;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .breathing-card {
        margin-bottom: 30px;
        height: 320px;
    }
    

    
    .section-title:after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .headmistress-img {
        height: 300px;
    }
    
    .parallax {
        height: 80vh;
    }
    
    .parallax h1 {
        font-size: 2.5rem;
    }

    .parallax p {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .parallax h1 {
        font-size: 2.5rem;
    }

    .parallax p {
        font-size: 1.2rem;
    }
}

        
        
        
.page-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(142, 68, 173, 0.7), rgba(52, 152, 219, 0.1));
    z-index: 0;
}

body.dark-mode .page-banner::before {
    background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.1));
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-top: 70px;
}


        

        

        
        /* About Cards */
        .about-card {
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.5s ease;
            border-bottom: 4px solid var(--accent);
            background: white;
            height: 100%;
            text-align: center;
            margin-bottom: 30px;
        }
        
        body.dark-mode .about-card {
            background: var(--dark-card);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            color: #fff;
        }
        
        .about-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }
        
        body.dark-mode .about-card:hover {
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }
        
        .about-icon {
            font-size: 2.5rem;
            color: var(--secondary);
            margin-bottom: 20px;
        }
        
        /* Testimonials Section */
 
             .reviews-section {
            background: linear-gradient(to right, #8EC5FC 0%, #E0C3FC 100%);
            border-radius: 25px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
            padding: 40px 30px;
            margin: 30px 0;
            position: relative;
            overflow: hidden;
            max-width: 1200px;
            width: 100%;
        }
        
        .reviews-section::before {
            content: "";
            position: absolute;
            top: -50px;
            right: -50px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
        }
        
        .reviews-section::after {
            content: "";
            position: absolute;
            bottom: -80px;
            left: -80px;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
        }
        
        
        
        .review-card {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 20px;
            padding: 25px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 2px solid #E0C3FC;
            box-shadow: 0 8px 16px rgba(94, 53, 177, 0.1);
            text-align: center;
            height: 550px;
            display: flex;
            flex-direction: column;
        }
        /*
        .review-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 20px rgba(94, 53, 177, 0.2);
        }
*/
        
        .client-icon {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            background: linear-gradient(to right, #448AFF, #536DFE);
            margin: 0 auto 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 4px solid #FF9800;
            color: white;
            font-size: 2.5rem;
            flex-shrink: 0;
        }
        
        .client-name {
            font-weight: 700;
            margin-bottom: 5px;
            font-size: 1.3rem;
            color: #5E35B1;
            flex-shrink: 0;
        }
        
        .child-name {
            color: #FF5722;
            font-size: 1.1rem;
            margin-bottom: 15px;
            font-weight: 600;
            flex-shrink: 0;
        }
        
        .review-text {
            line-height: 1.8;
            color: #455A64;
            font-size: 1.05rem;
            text-align: justify;
            overflow: hidden;
            flex-grow: 1;
            display: flex;
            align-items: center;
			
        }
        
        .review-text-content {
            width: 100%;
        }
        
        .stars {
            color: #FFC107;
            margin: 15px 0;
            font-size: 1.3rem;
            flex-shrink: 0;
        }
        
        .carousel-control-prev, .carousel-control-next {
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            opacity: 0.9;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border: 2px solid #5E35B1;
        }
        
        .carousel-control-prev {
            left: -30px;
        }
        
        .carousel-control-next {
            right: -30px;
        }
        
        .carousel-control-prev:hover, .carousel-control-next:hover {
            opacity: 1;
            background: #5E35B1;
            color: white;
        }
        
        .carousel-control-prev-icon, .carousel-control-next-icon {
            background-image: none;
            color: #5E35B1;
            font-size: 1.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .carousel-control-prev:hover .carousel-control-prev-icon,
        .carousel-control-next:hover .carousel-control-next-icon {
            color: white;
        }
        
        .carousel-indicators {
            bottom: -50px;
        }
        
        .carousel-indicators button {
            background-color: #5E35B1;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 5px;
        }
        
        @media (max-width: 992px) {
            .review-card {
                height: 520px;
            }
            
            .carousel-control-prev {
                left: -15px;
            }
            
            .carousel-control-next {
                right: -15px;
            }
        }
        
        @media (max-width: 768px) {
            .reviews-section {
                padding: 30px 20px;
            }
            
            .review-card {
                height: auto;
                min-height: 500px;
                margin-bottom: 20px;
            }
            
            .client-icon {
                width: 70px;
                height: 70px;
                font-size: 2rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .carousel-control-prev, .carousel-control-next {
                display: none;
            }
        }

/************************ carouse custom ***********************/
/* Ensure all review cards have the same height */
#reviewsCarousel .review-card {
    display: flex;
    flex-direction: column;
    min-height: 550px; /* Default height for desktop */
}

/* Adjust card height for mobile devices */
@media (max-width: 767.98px) {
    #reviewsCarousel .review-card {
        min-height: 450px; /* Reduced height for mobile */
    }
    
    /* Optional: Adjust text size for better fit on mobile */
    .review-text {
        font-size: 0.95rem;
    }
}

/* Ensure all cards in a row have equal height */
.carousel-item .row {
    display: flex;
}

.carousel-item .col-md-4 {
    display: flex;
}

/* Fix for mobile view where only one card is shown */
@media (max-width: 767.98px) {
    .carousel-item .row {
        display: block;
    }
    
    .carousel-item .col-md-4 {
        display: block;
        width: 100%;
    }
}
/***************************************************************/
        
        .kindergarten-theme {
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 2rem;
            color: #5E35B1;
        }
        
        .facebook-section {
            text-align: center;
            margin-top: 40px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 15px;
            border: 2px dashed #5E35B1;
        }
        
        .facebook-link {
            display: inline-block;
            margin-top: 15px;
            color: #3b5998;
            font-size: 2.5rem;
            transition: transform 0.3s ease;
        }
        
        .facebook-link:hover {
            transform: scale(1.2);
            color: #2d4373;
        }
        
        .more-reviews {
            font-size: 1.2rem;
            color: #5E35B1;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .verified-note {
            font-size: 1rem;
            color: #5E35B1;
            margin-top: 40px;
            text-align: center;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.3);
            padding: 10px;
            border-radius: 10px;
        }
			
			
			
			/* توسيط قسم آراء أولياء الأمور فقط */
.reviews-section {
    margin: 30px auto !important; /* توسيط أفقي مع هوامش */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* توسيط المحتويات أفقيًا */
}

/* توسيط عنوان القسم */
.section-title {
    text-align: center !important;
    width: 100% !important;
}

/* توسيط مؤشرات الكاروسيل */
.carousel-indicators {
    justify-content: center !important;
}

/* توسيط قسم الفيسبوك */
.facebook-section {
    text-align: center !important;
    width: 100% !important;
}   

        

        
        /* Stats Section */
        .stats-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            padding: 80px 0;
            color: white;
        }
        
        .stat-item {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .stat-text {
            font-size: 1.2rem;
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .page-banner {
                height: 35vh;
            }
            
            .page-title {
                font-size: 2.2rem;
            }
            
            .section-title:after {
                right: 50%;
                transform: translateX(50%);
            }
            
            .timeline::before {
                right: 30px;
            }
            
            .timeline-content {
                width: 80%;
                margin-left: auto !important;
                margin-right: auto !important;
            }
            
            .timeline-content::after {
                right: -30px !important;
                left: auto !important;
            }
            
            .testimonial-card {
                margin: 10px;
                padding: 20px;
            }
            
            .carousel-control-prev,
            .carousel-control-next {
                display: none;
            }
        }

        /* Why Choose Us Section */
        .feature-box {
            padding: 2rem;
            border-radius: 15px;
            background: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .feature-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #4e89d8;
        }

 body.dark-mode .feature-box {
            background: var(--dark-card);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            color: #fff;
        }
        
        .feature-box:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }
        
        body.dark-mode .feature-box:hover {
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }

/************************/
.nav-item {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
    padding: 0;
    margin: 0;
    list-style: none;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}

/* Show menu on toggle */
.nav-item.show .dropdown-menu {
    display: block;
}

        /* Gallery Styles */
        .gallery-filter {
            margin-bottom: 30px;
            text-align: center;
        }
        
        .filter-btn {
            background: none;
            border: 2px solid var(--primary);
            color: var(--primary);
            padding: 8px 20px;
            margin: 5px;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .filter-btn:hover, .filter-btn.active {
            background: var(--primary);
            color: white;
        }
        
        body.dark-mode .filter-btn {
            color: #fff;
            border-color: var(--accent);
        }
        
        body.dark-mode .filter-btn:hover, 
        body.dark-mode .filter-btn.active {
            background: var(--accent);
            color: white;
        }
        
        .gallery-item {
            margin-bottom: 30px;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        body.dark-mode .gallery-item {
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        body.dark-mode .gallery-item:hover {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }
        
        .gallery-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: all 0.5s ease;
            cursor: pointer;
        }
        
        .gallery-item:hover .gallery-img {
            transform: scale(1.05);
        }
        
        .gallery-caption {
            padding: 15px;
            background: white;
        }
        
        body.dark-mode .gallery-caption {
            background: var(--dark-card);
        }
        
        .gallery-caption h4 {
            color: var(--accent);
            margin-bottom: 5px;
        }

/* contact */
        /* Contact Cards */
        .contact-card {
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.5s ease;
            border-bottom: 4px solid var(--accent);
            background: white;
            height: 100%;
            text-align: center;
            margin-bottom: 30px;
        }
        
        body.dark-mode .contact-card {
            background: var(--dark-card);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            color: #fff;
        }
        
        .contact-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }
        
        body.dark-mode .contact-card:hover {
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }
        
        .contact-icon {
            font-size: 2.5rem;
            color: var(--secondary);
            margin-bottom: 20px;
        }
        
        /* Contact Form */
        .contact-form {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        body.dark-mode .contact-form {
            background: var(--dark-card);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

body.dark-mode .form-control::placeholder {
    color: #fff;
    
}
        
        .form-control {
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 20px;
            border: 2px solid #e9ecef;
            transition: all 0.3s;
        }
        
        .form-control:focus {
            border-color: var(--secondary);
            box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
        }
        
        body.dark-mode .form-control {
            background-color: #2d2d42;
            border-color: #444;
            color: #fff;
        }
        
        body.dark-mode .form-control:focus {
            background-color: #2d2d42;
            border-color: var(--secondary);
            color: #fff;
        }
        
        .btn-primary {
            background-color: var(--primary);
            border: none;
            padding: 12px 30px;
            border-radius: 30px;
            font-weight: 600;
            transition: all 0.3s;
            width: 100%;
        }
        
        .btn-primary:hover {
            background-color: var(--accent);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        /* Map */
        .map-container {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            height: 400px;
        }
        
        body.dark-mode .map-container {
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        
        /* FAQ Section */
        .accordion-button {
            font-weight: 600;
            padding: 20px;
        }
        
        .accordion-button:not(.collapsed) {
            background-color: var(--primary);
            color: white;
        }
        
        .accordion-button:focus {
            box-shadow: none;
            border-color: var(--accent);
        }
        
        body.dark-mode .accordion-item {
            background-color: var(--dark-card);
            border-color: #444;
        }
        
        body.dark-mode .accordion-button {
            background-color: var(--dark-card);
            color: #fff;
        }
        
        body.dark-mode .accordion-body {
            background-color: var(--dark-bg);
            color: #fff;
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .page-banner {
                height: 35vh;
            }
            
            .page-title {
                font-size: 2.2rem;
            }
            
            .section-title:after {
                right: 50%;
                transform: translateX(50%);
            }
            
            .contact-form {
                padding: 25px;
            }
        }


/** whatsapp moda pic **/
.wappmodal-image {
    background-image: url('../img/1xmob.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100%;
}

#intro {
    
    border: 1px solid #e0dcd5;
    border-radius: 16px;
    padding: 60px 50px;
    max-width: 900px;
    margin: 60px auto;
    font-family: 'Cairo', 'Amiri', 'Tajawal', sans-serif;
    color: #333;
    font-size: 1.25rem;
    line-height: 2.2;
    direction: rtl;
    text-align: justify;
    position: relative;
    background: linear-gradient(135deg, #fdfaf6, #ffffff);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}



body.dark-mode #intro {
	background: #16213e;
	color:#333;
}

#intro p {
    position: relative;
    z-index: 1;
    padding: 20px 20px;
}

/* Large decorative quotation marks inside the <p> */
#intro p::before,
#intro p::after {
    font-family: 'Georgia', serif;
    font-size: 6rem;
    color: rgba(200, 180, 160, 0.2);
    position: absolute;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

#intro p::before {
    content: "“";
    top: -30px;
    right: -10px;
}

#intro p::after {
    content: "”";
    bottom: -30px;
    left: -10px;
}

body.dark-mode #intro p::before {
    content: "“";
    color: white;
}

body.dark-mode #intro p::after {
    content: "”";
	color: white;
}

@media (max-width: 1000px) {
    #intro p {
        font-size: 0.9rem; /* smaller text on mobile */
        padding: 15px;      /* optional: adjust padding too */
		padding-left: 2px;
		padding-right: 2px;
    }

    #intro p::before,
    #intro p::after {
        font-size: 4rem; /* smaller decorative quotes */
    }

    #intro p::before {
        top: -20px;
        right: -5px;
    }

    #intro p::after {
        bottom: -20px;
        left: -5px;
    }
}


		
body.dark-mode #intro{
	background-color: transparent; /* Soft cream background */
	color: white;
}

/*advices*/
.tips-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

body.dark-mode .tips-section {
    background-color: #1a1a2e;
}

.tip-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border-bottom: 4px solid var(--accent);
}

body.dark-mode .tip-card {
    background: #16213e;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.tip-icon {
    font-size: 2.5rem;
    color: #8e44ad;
    margin-bottom: 15px;
}

.tip-card h4 {
    color: #3498db;
    margin-bottom: 15px;
    font-weight: 700;
}

body.dark-mode .tip-card h4 {
    color: #e84393;
}

.tip-card p {
    color: #555;
    line-height: 1.6;
}

body.dark-mode .tip-card p {
    color: #ddd;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

body.dark-mode .section-intro {
    color: #ddd;
}
		#terms a {
    color: #e84393;
    text-decoration: none;
    font-weight: bold;
}

		#terms a:hover{
			color:blueviolet;
				text-decoration: none;
				
		}

.core-message {
  background-color: rgba(142, 68, 173, 0.1);
  border-bottom: 4px solid #8e44ad;
  padding: 1.5rem;
  margin-top: 2rem;
  font-family: 'Cairo', sans-serif;
  border-radius: 8px;
  text-align: center;
}

.core-message strong {
  display: block;
  color: #8e44ad;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.core-message p {
  color: #333;
  font-size: 1rem;
  line-height: 1.9;
}

/***************************ticker****************************/
.ticker-xx {
            
            margin: 5px auto;
            overflow: hidden;
            position: relative;
            height: 260px; /* Matches image height */
	direction: ltr; /* Force LTR for the ticker to prevent RTL reversal */
        }
        .ticker-wrapper {
            display: flex;
            width: max-content; /* Allows content to extend beyond container */
        }
        .ticker-content {
            display: flex;
            animation: ticker 60s linear infinite; /* Adjusted duration for wider slides */
        }
        .ticker-content:hover {
            animation-play-state: paused; /* Pause on hover */
        }
        .ticker-slide {
            flex: 0 0 auto;
            width: 450px; /* Wider images */
            height: 260px; /* Higher images */
            margin-right: 10px; /* Small gap between images */
        }
        .ticker-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        @keyframes ticker {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%); /* Move half the total width for seamless loop */
            }
        }
        @media (max-width: 768px) {
            .ticker-container {
                height: 266px; /* Scaled for smaller screens */
            }
            .ticker-slide {
                width: 400px; /* Smaller width for mobile */
                height: 266px; /* Maintain aspect ratio */
            }
        }

/**********************************************/

