:root {
    --primary-color: #1d8e5a;
    --secondary-color: #1a237e;
    --accent-color: #e67e22;
    --bg-color: #f8f9fa;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
    --arabic-font: 'Amiri', serif;
}
/* Global Styling */
body {
    font-family: var(--body-font);
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    padding-top: 0;
}
a {
    text-decoration: none;
}
/* Top Bar Styling */
.navbar.topbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}
.navbar.topbar .navbar-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}
.navbar.topbar .navbar-text a {
    color: #fff;
    transition: color 0.3s;
}
.navbar.topbar .navbar-text a:hover {
    color: #d1f2eb;
}
.navbar.topbar .arabic-text {
    font-family: var(--arabic-font);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}
.navbar.topbar #languageSelect {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 2px 20px 2px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
}

.navbar.topbar #languageSelect:focus {
    outline: none;
    border-color: rgba(255,255,255,0.4);
}

.navbar.topbar #languageSelect option {
    background: #333;
    color: #fff;
}
/* Modern Menu Bar Styling */
#menu-bar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(20, 39, 31, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#menu-bar.scrolled {
    background: rgba(20, 39, 31, 0.98);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
#menu-bar .navbar-brand {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
#menu-bar .nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    transition: all 0.3s ease;
    position: relative;
}
#menu-bar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #8bc34a;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
#menu-bar .nav-link:hover::after,
#menu-bar .nav-link.active::after {
    width: 30px;
}
#menu-bar .nav-link:hover,
#menu-bar .nav-link.active {
    color: #8bc34a;
}
#menu-bar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
    padding: 8px;
}
#menu-bar .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(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-nav {
    gap: 0.5rem;
}
/* Hero Section Styling */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color), #3f51b5);
    color: white;
    padding: 7rem 0;
    text-align: center;
}
.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://source.unsplash.com/1600x900/?arabic,calligraphy') no-repeat center center/cover;
    opacity: 0.2;
    z-index: -1;
}
.hero-section h1 {
    font-family: var(--heading-font);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hero-section p {
    font-family: var(--body-font);
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
.btn-hero {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    transition: background-color 0.3s;
}
.btn-hero:hover {
    background-color: #178d4b;
}
/* Islamic Carousel Styling */
#islamic-carousel {
    padding: 4rem 0;
}
#islamic-carousel .carousel-item img {
    height: 500px;
    object-fit: cover;
}
#islamic-carousel .carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 1rem;
    border-radius: 5px;
}
/* Footer Styling */
footer {
    background-color: #333;
    color: #ccc;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
}
.hero-banner {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
                url('../image/hero-banner.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}
.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}
.hero-banner .content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    color: #fff;
    max-width: 1000px;
    margin: 0 auto;
}
.hero-banner h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1.2s ease-out;
    background: linear-gradient(45deg, #ffffff, #8bc34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-banner p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    max-width: 700px;
    animation: fadeInUp 1.2s ease-out 0.5s both;
    line-height: 1.8;
}
.btn-cta {
    background: linear-gradient(45deg, var(--primary-color), #2aa876);
    color: #fff;
    padding: 1.2rem 3.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    animation: fadeInUp 1.2s ease-out 1s both;
    position: relative;
    overflow: hidden;
}
.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #2aa876, var(--primary-color));
}
.btn-cta:hover::before {
    transform: translateX(100%);
}
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}
.scroll-indicator .mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 25px;
    position: relative;
}
.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}
/* Carousel Typography */
.carousel-caption h5 {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.carousel-caption p {
    font-family: var(--body-font);
    font-size: 1.1rem;
    font-weight: 300;
}
/* About Section Styling */
.about-section {
    padding: 80px 0;
    background: #fff;
}
.about-section .subtitle {
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}
.about-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 25px;
    line-height: 1.3;
    color: #1a1a1a;
}
.about-section .lead {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}
.importance-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.point {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.point:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.point i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.point h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.point p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.about-video {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.video-caption p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 991.98px) {
    .importance-points {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 50px 0;
    }
    
    .point {
        padding: 20px;
    }
    
    .point i {
        font-size: 2rem;
    }
}
/* Teacher Section Styling */
.teacher-section {
    padding: 80px 0;
    background: #f8f9fa;
}
.teacher-section .subtitle {
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}
.teacher-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 25px;
    line-height: 1.3;
    color: #1a1a1a;
}
.teacher-section .lead {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}
.teacher-profile {
    margin-top: 40px;
}

.teacher-header h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.teacher-header .designation {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.qualification-box, .teaching-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.qualification-box h4, .teaching-box h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qualification-box h4 i, .teaching-box h4 i {
    color: var(--primary-color);
}

.qualification-item {
    margin-bottom: 25px;
}

.qualification-item:last-child {
    margin-bottom: 0;
}

.qualification-item strong {
    color: #333;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.study-places, .specialization {
    list-style: none;
    padding-left: 20px;
}

.study-places li, .specialization li {
    color: #666;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.study-places li:before, .specialization li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.experience-highlight .experience-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.years {
    text-align: center;
    min-width: 100px;
}

.years .number {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.years .text {
    color: #666;
    font-size: 0.9rem;
}

.teaching-approach ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.teaching-approach ul li {
    color: #666;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.teaching-approach ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

@media (max-width: 991.98px) {
    .qualification-box, .teaching-box {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .teacher-header h3 {
        font-size: 1.8rem;
    }
    
    .experience-highlight .experience-content {
        flex-direction: column;
        text-align: center;
    }
    
    .years {
        margin: 0 auto 20px;
    }
}
/* Services Section Styling */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #121d18 0%, #1a2b24 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%23FFFFFF" fill-opacity="0.05" d="M 0 0 L 200 0 L 200 200 L 0 200 Z"/></svg>') repeat;
    opacity: 0.1;
}
.services-section .section-header {
    margin-bottom: 60px;
    position: relative;
}
.services-section .section-header .subtitle {
    color: #8bc34a;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}
.services-section .section-header h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 20px;
    color: #ffffff;
}
.services-section .section-header .section-description {
    max-width: 600px;
    margin: 0 auto;
    color: #a5d6a7;
    font-size: 1.1rem;
    line-height: 1.8;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}
.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #2e7d32, #43a047);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}
.service-card:hover .icon-wrapper {
    transform: scale(1.1);
    background: linear-gradient(45deg, #43a047, #2e7d32);
}
.icon-wrapper i {
    font-size: 2rem;
    color: #ffffff;
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}
.service-card p {
    color: #a5d6a7;
    margin-bottom: 25px;
    line-height: 1.6;
}
.learn-more {
    color: #8bc34a;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.learn-more:hover {
    color: #ffffff;
}
.learn-more i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}
.learn-more:hover i {
    transform: translateX(5px);
}
/* Responsive Styles */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}
/* Why Choose Us Section Styling */
.why-choose-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.why-choose-section .section-header {
    margin-bottom: 60px;
}
.why-choose-section .subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}
.why-choose-section h2 {
    color: #1a1a1a;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 20px;
}
.why-choose-section .section-description {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}
.choose-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.choose-card {
    perspective: 1000px;
    height: 250px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.choose-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card-front {
    color: #333;
}

.card-back {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.card-front .icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-front .icon i {
    font-size: 1.8rem;
}

.card-front h3 {
    color: #333;
    font-size: 1.2rem;
    margin: 0;
    padding: 0 10px;
}

.card-back p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* What We Teach Video Section */
.what-we-teach {
    margin-top: 80px;
}

.video-container {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.video-container iframe {
    border-radius: 10px;
}

@media (max-width: 1200px) {
    .choose-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .choose-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .choose-cards {
        grid-template-columns: 1fr;
    }
    
    .choose-card {
        height: 220px;
    }
}
/* Registration Section Styling */
.registration-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #121d18 0%, #1a2b24 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.registration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%23FFFFFF" fill-opacity="0.05" d="M 0 0 L 200 0 L 200 200 L 0 200 Z"/></svg>') repeat;
    opacity: 0.1;
}
.registration-container {
    margin-top: 50px;
    position: relative;
}
.registration-section .section-header .subtitle {
    color: #8bc34a;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}
.registration-section .section-header h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 20px;
    color: #ffffff;
}
.registration-section .section-header .section-description {
    max-width: 600px;
    margin: 0 auto;
    color: #a5d6a7;
    font-size: 1.1rem;
    line-height: 1.8;
}
.registration-content {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.registration-content h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 30px;
}
.registration-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
/* Form elements styling */
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}
.form-control, .form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    outline: none;
}
.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.country-code {
    min-width: 120px;
    background-color: #f8f9fa;
}
.form-check {
    margin-top: 10px;
}
.btn-register {
    margin-top: 20px;
    width: 100%;
    padding: 15px 25px;
    background: linear-gradient(45deg, #2e7d32, #43a047);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-register:hover {
    background: linear-gradient(45deg, #43a047, #2e7d32);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
}
/* Responsive adjustments */
@media (max-width: 576px) {
    .registration-form {
        padding: 20px;
    }
    
    .input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .country-code {
        width: 100%;
        max-width: 100%;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
}
/* Scroll to Top Button Styling */
.scroll-to-top {
    position: fixed;
    right: 25px;
    bottom: -60px;
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #2e7d32, #43a047);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.scroll-to-top:hover {
    background: linear-gradient(45deg, #43a047, #2e7d32);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(46, 125, 50, 0.3);
}
.scroll-to-top.visible {
    bottom: 25px;
    opacity: 1;
}
@media (max-width: 768px) {
    .scroll-to-top {
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .scroll-to-top.visible {
        bottom: 15px;
    }
}
/* Footer Styling */
.footer-section {
    background-color: #f8f9fa;
    padding: 70px 0 20px;
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.footer-main {
    margin-bottom: 40px;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.footer-contact h4, .footer-links h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h4::after, .footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-form .form-control {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    padding: 8px 15px;
    font-size: 0.9rem;
}

.footer-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.btn-submit {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #43a047;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.links-grid a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.links-grid a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-disclaimer {
    background-color: #eef2f5;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.footer-disclaimer p {
    color: #666;
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom i {
    color: #ff4444;
    margin: 0 3px;
}

@media (max-width: 768px) {
    .footer-section {
        padding: 50px 0 20px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }
}
/* FAQ Section Styling */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}
.faq-container {
    margin-top: 40px;
}
.faq-section h2 {
    color: #1a1a1a;
}
.faq-section .section-description {
    color: #000;
}
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    color: #333;
    background-color: #fff;
    border: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 25px;
    background-color: #fff;
}

.accordion-body ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.accordion-body ul li {
    margin-bottom: 10px;
    color: #666;
}

.accordion-body ul li:last-child {
    margin-bottom: 0;
}

.accordion-body h6 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .col-lg-6:first-child {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 50px 0;
    }
    
    .accordion-button {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .accordion-body {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
}

/* Testimonials Section Styles */
.testimonials-section {
    background-color: #f8f9fa;
    padding: 100px 0;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/pattern-bg.png');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.testimonial-slider-container {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
    position: relative;
}

.testimonial-item {
    min-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.testimonial-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.quote-icon {
    font-size: 30px;
    color: #28a745;
    margin-bottom: 20px;
    opacity: 0.7;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1;
    font-style: italic;
}

.student-info {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
    margin-top: auto;
}

.student-info h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.student-info p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    font-style: normal;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.prev-btn, .next-btn {
    background-color: #fff;
    color: #28a745;
    border: 2px solid #28a745;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #28a745;
    color: #fff;
    transform: translateY(-3px);
}

.prev-btn:active, .next-btn:active {
    transform: translateY(0);
}

.prev-btn i, .next-btn i {
    font-size: 18px;
}

/* Responsive styles for testimonials */
@media (max-width: 768px) {
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .testimonial-content p {
        font-size: 15px;
    }
    
    .student-info h4 {
        font-size: 16px;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
    }
}

/* RTL specific styles for testimonials */
html[dir="rtl"] .testimonial-slider {
    flex-direction: row-reverse;
}

html[dir="rtl"] .testimonial-slider .testimonial-item {
    direction: rtl;
}

html[dir="rtl"] .testimonial-controls {
    flex-direction: row-reverse;
}

/* This is important - change the transform direction for RTL */
html[dir="rtl"] .testimonial-slider {
    transform: translateX(0);
}

/* Fix quote icon position for RTL */
html[dir="rtl"] .quote-icon {
    text-align: right;
}