 :root {
     /* --primary-color: #EA9940;
     --secondary-color: #518695;
     --dark-teal: #307082;
     --light-blue: #7fb3d3;
     --text-dark: #333;
     --text-light: #666; */
     --primary-color: #EA9940;
     --secondary-color: #518695;
     --dark-teal: #307082;
     --light-blue: #7fb3d3;
     --text-dark: #333;
     --text-light: #666;
 }

 body {
     overflow-x: hidden;
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'IBM Plex Sans Arabic', sans-serif;
 }

 .primaryColor {
     color: var(--primary-color);
 }

 .primaryColor2 {
     /* color: #047185; */
     color: gray;
 }

 .secondaryColor {
     color: var(--secondary-color);
 }

 .wave {
     bottom: 0;
     width: 100%;
 }

 .main {
     /* background-color: var(--dark-teal); */
     /* background-image: url(./assets/hero.png); */
     /* background-size: cover; */
     height: auto;
     /* min-height: 80vh; */
 }

 /* Header Styles */

 .navbar {
     background: transparent;
     padding: 1rem 0;
 }

 .navbar-brand {
     font-family: 'Noto Nastaliq Urdu', serif;
     color: white !important;
     font-weight: bold;
     font-size: 1.5rem;
 }

 .navbar-toggler {
     border: 1px solid rgba(255, 255, 255, 0.3);
     padding: 0.25rem 0.5rem;
 }

 .navbar-toggler:focus {
     box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
 }

 .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, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
 }

 .navbar-nav {
     align-items: center;
 }

 .navbar-nav .nav-link {
     color: rgba(255, 255, 255, 0.9) !important;
     font-weight: 500;
     margin: 0 10px;
     transition: all 0.3s ease;
     padding: 0.5rem 1rem;
     border-radius: 8px;
     white-space: nowrap;
 }

 .navbar-nav .nav-link:hover {
     color: white !important;
     background: rgba(255, 255, 255, 0.1);
     transform: translateY(-2px);
 }

 .dropdown-toggle::after {
     color: rgba(255, 255, 255, 0.9);
 }

 .dropdown-menu {
     background: rgba(0, 0, 0, 0.9);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-radius: 12px;
     margin-top: 0.5rem;
 }

 .dropdown-item {
     color: rgba(255, 255, 255, 0.9) !important;
     transition: all 0.3s ease;
     padding: 0.75rem 1.5rem;
 }

 .dropdown-item:hover {
     background: rgba(255, 255, 255, 0.1);
     color: white !important;
 }

 @media (max-width: 576px) {
     .navbar-nav .nav-link {
         font-size: 1.1rem;
         padding: 1.2rem;
     }

     .btn-register {
         font-size: 1.1rem;
         padding: 1rem 1.5rem;
     }


 }

 /* RTL specific adjustments */
 .dropdown-toggle::after {
     margin-right: 0.255em;
     margin-left: 0;
 }

 /* Demo content */
 .demo-content {
     padding: 4rem 2rem;
     text-align: center;
     color: white;
 }

 .demo-content h1 {
     font-size: 3rem;
     margin-bottom: 1rem;
     opacity: 0.9;
 }

 .demo-content p {
     font-size: 1.2rem;
     opacity: 0.8;
 }

 @media (max-width: 768px) {
     .demo-content h1 {
         font-size: 2rem;
     }

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

 .btn-register {
     background-color: var(--primary-color);
     color: white;
     border: none;
     padding: 12px 25px;
     border-radius: 20px 20px 20px 0px;
     font-weight: 600;
     transition: all 0.3s;
     margin-inline: 60px;
     width: 100px;
 }

 .btn-register:hover {
     background-color: #e07a35;
     transform: translateY(-2px);
     color: white;
 }

 /* Hero Section */
 .hero-section {
     position: relative;
     overflow: hidden;
 }

 .hero-content h1 {
     font-size: 2.5rem;
     font-weight: 700;
     color: white;
     margin-bottom: 1rem;
 }

 .hero-content p {
     font-size: 1.1rem;
     /* margin-bottom: 2rem;  */
     line-height: 1.6;
 }

 .hero-buttons {
     display: flex;
     flex-wrap: wrap;
     gap: 20px;
     justify-content: flex-start;
     align-items: center;
     margin-top: 2rem;
 }

 .hero-image {
     /* position: relative;
     display: inline-block;
     overflow-y: visible !important; */
     position: relative;
     display: flex;
     justify-content: center;
     align-items: center;
     margin: 2rem 0;
 }

 .hero-image img {
     background-color: rgba(255, 255, 255, 0.2);
     border-radius: 15px;
     object-fit: cover;
     border: none;
 }

 .hero-image::before {
     content: '';
     position: absolute;
     top: 52px;
     /* Adjust to account for border thickness */
     left: -6px;
     right: -6px;
     bottom: -6px;
     border: 3px white solid;
     border-radius: 40px;
     transform: rotate(-39deg);
     /* Rotate the border */
     z-index: 1;
     /* Ensure the border is above the image */
 }

 .btn-primary-custom {
     background-color: var(--primary-color);
     color: white;
     border: none;
     padding: 12px;
     border-radius: 8px;
     font-weight: 600;
     text-decoration: none;
     display: inline-block;
     transition: all 0.3s;
     /* width: 25%; */
 }

 .btn-secondary-custom {
     background: transparent;
     color: white;
     border: 2px solid white;
     padding: 12px;
     border-radius: 12px;
     font-weight: 600;
     text-decoration: none;
     display: inline-block;
     transition: all 0.3s;
     /* width: 25%; */
 }

 @media (max-width: 768px) {

     .btn-primary-custom,
     .btn-secondary-custom {
         width: 40%;
     }
 }

 .btn-primary-custom:hover,
 .btn-secondary-custom:hover {
     transform: translateY(-2px);
     color: white;
 }

 .btn-secondary-custom:hover {
     background: white;
     color: var(--secondary-color);
 }

 /* Stats Section */
 .stats-section {
     padding: 60px 0;
 }

 .stat-card {
     gap: 30px;
     text-align: center;
     padding: 2rem;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .stat-icon {
     width: 110px;
     height: 110px;
     border-radius: 100%;
     box-shadow: 0px 4px 12px 0px #00000040;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .stat-icon img {
     width: "50px";
     height: "50px";
 }

 .stat-number {
     font-size: 2rem;
     font-weight: 700;
 }

 .stat-text {
     font-weight: 600;
     font-size: 30px;
     line-height: 30px;
     letter-spacing: 0%;
     text-align: center;
 }

 /* Features Section */
 .features-section {
     /* background-image: url(assets/arabic.png); */
     background: linear-gradient(90deg, #518695 0%, #0E212F 100%);
     /* background: linear-gradient(90deg, #518695 0%, #0E212F 100%); */
     position: relative;
     overflow: hidden;
 }

 .circle {
     width: 180px;
     height: 180px;
     background: white;
     border-radius: 50%;
     position: absolute;
     top: -100px;
     /* Half of circle height to overlap */
     left: 50%;
     transform: translateX(-50%);
     /* Center horizontally */
     z-index: 2;
     /* Above the card */
 }

 .arabic {
     /* background-image: url(assets/arabic.png); */
     background-size: cover;
     width: 100%;
     /* min-height: 100vh; */
     display: flex;
     justify-content: center;
     align-items: center;
     flex-direction: column;
 }


 .features-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 100px;
     background-size: cover;
 }

 .feature-card {
     background: white;
     border-radius: 15px;
     /* padding: 1rem; */
     margin: 1rem 0;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s;
 }

 .divider {
     height: 1px;
     width: 90%;
     background-color: var(--primary-color);
     margin-inline: auto;
 }

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

 .feature-content h3 {
     color: var(--text-dark);
     font-weight: 600;
     margin-bottom: 1rem;
 }

 .feature-card ul {
     list-style: none;
 }


 .feature-highlight {
     background: var(--primary-color);
     color: white;
     padding: 10px 20px;
     border-radius: 20px;
     font-size: 0.9rem;
     font-weight: 600;
     margin-bottom: 1rem;
     display: inline-block;
 }

 /* Courses Section */
 .courses-section {
     padding: 0;
     /* background: #f8f9fa; */
 }

 .section-title {
     text-align: center;
     margin-bottom: 3rem;
 }

 .section-title h2 {
     font-size: 2.2rem;
     font-weight: 700;
     color: var(--text-dark);
     margin-block: 1rem;
 }

 .section-subtitle {
     color: var(--text-light);
     font-size: 1.1rem;
     margin-bottom: 130px;
 }

 .course-card {
     background: white;
     border-radius: 15px;
     padding: 2rem;
     margin-bottom: 2rem;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s;
     height: 100%;
 }

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

 .course-card.primary {
     background: linear-gradient(135deg, var(--primary-color), #ff9a56);
     color: white;
 }

 .course-card.secondary {
     background: linear-gradient(135deg, var(--secondary-color), var(--light-blue));
     color: white;
 }

 .course-card h4 {
     font-weight: 600;
     margin-bottom: 1rem;
 }

 .course-features {
     list-style: none;
     padding: 0;
 }

 .course-features li {
     padding: 0.5rem 0;
     border-bottom: 1px solid rgba(255, 255, 255, 0.2);
 }

 .course-card.light .course-features li {
     border-bottom: 1px solid rgba(0, 0, 0, 0.1);
 }

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


 .card {
     height: 365px;
     border-radius: 40px;
 }

 /* Testimonials Section */
 .testimonials-section {
     /* padding: 80px 0; */
     background: #f0f0f0;
 }

 .testimonial-card {
     background: #A7CCCC;
     color: black;
     font-weight: 500;
     padding: 2rem;
     border-radius: 20px;
     margin: 1rem;
     position: relative;
     height: 100%;
     /* Ensures card fills the column height */
     display: flex;
     flex-direction: column;
 }

 .testimonial-author {
     margin-top: auto;
     /* Pushes author to the bottom */
 }

 .testimonial-card::before {
     content: '';
     position: absolute;
     bottom: -10px;
     right: 30px;
     width: 0;
     height: 0;
     border-left: 10px solid transparent;
     border-right: 10px solid transparent;
     border-top: 10px solid #A7CCCC;
 }

 .testimonial-author {
     display: flex;
     align-items: center;
     margin-top: 1rem;
 }

 .author-avatar {
     width: 50px;
     height: 50px;
     background: rgba(255, 255, 255, 0.2);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-left: 1rem;
 }

 /* Footer */
 .footer {
     background: rgb(1, 52, 66 , .7);
     color: white;
     /* padding: 40px 0 10px; */
 }

 .footer-content {
     margin-bottom: 2rem;
 }

 .footer h5 {
     font-weight: 600;
     margin-bottom: 1rem;
 }

 .footer-links {
     list-style: none;
     padding: 0;
 }

 .footer-links li {
     margin-bottom: 0.5rem;
 }

 .footer-links a {
     color: rgba(255, 255, 255, 0.8);
     text-decoration: none;
     transition: color 0.3s;
 }

 .footer-links a:hover {
     color: white;
 }

 .social-icons a {
     color: white;
     font-size: 1.5rem;
     margin: 0 10px;
     transition: transform 0.3s;
 }

 .social-icons a:hover {
     transform: scale(1.2);
 }

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

 /* Responsive */
 @media (max-width: 768px) {
     .hero-content h1 {
         font-size: 2rem;
     }

     .hero-section {
         padding-bottom: 5% !important;
     }

     .hero-image img {
         width: 250px;
         height: 250px;
     }

     .hero-shape {
         width: 290px;
         height: 290px;
     }
 }





 /* Hero
        Section */
 /* .hero-section {
            position: relative;
            overflow: hidden;
            padding: 80px 0 100px 0;
        } */

 /* .hero-content {
            padding: 20px 0;
        } */

 /* .hero-content p:first-of-type {
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
            opacity: 0.9;
        } */

 /* .hero-content h1 {
            font-size: 2.8rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        } */

 /* .hero-content p:last-of-type {
            font-size: 1.1rem;
            margin-bottom: 2.5rem;
            line-height: 1.6;
            opacity: 0.9;
        } */

 /*
        Hero Image */
 /* .hero-image {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 2rem 0;
        } */

 /* .hero-image .image-placeholder {
            width: 350px;
            height: 350px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.3rem;
            text-align: center;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .hero-image::before {
            content: '';
            position: absolute;
            top: 25px;
            left: -15px;
            right: -15px;
            bottom: -15px;
            border: 3px white solid;
            border-radius: 40px;
            transform: rotate(-39deg);
            z-index: 1;
        }

        .hero-image .image-placeholder {
            position: relative;
            z-index: 2;
        } */