

/* ====================== SOURCE: styles.css ====================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #000080;
    --secondary-blue: #D4AF37;
    --navy-blue: #000080;
    --light-blue: #ffffff;
    --primary-orange: #000080;
    --secondary-orange: #000080;
    --light-orange: #e6f7f8;
    --white: #ffffff;
    --light-gray: #f0fdfa;
    --dark-gray: #000080;
    --text-dark: #0f172a;
    --text-light: #475569;
}

@font-face {
    font-family: 'Muhammadi Quranic';
    src: url('fonts/muhammadi-quranic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.arabic-text {
    font-family: 'Muhammadi Quranic', 'Amiri', serif;
    font-weight: normal;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography 
.arabic-text {
    font-family: 'Algiers', serif;
    font-weight: 700;
}*/

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 2px;
}
.hero{
    background-image: url("images/ai-furqan_logo-removebg-preview.png");
}
/* Hero Image Container */
.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
    max-width: 500px;
    margin: 0 auto;
}

.hero-main-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.hero-image-container:hover .hero-main-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 2rem;
    color: white;
}

.overlay-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.overlay-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    color: white;
}
/* Services Section */
.services {
    padding: 80px 0;
    background: var(--white);
}

.services .section-title {
    margin-bottom: 1rem;
}

.title-our {
    color: var(--primary-blue);
    
    text-decoration-color: var(--primary-blue);
    text-underline-offset: 8px;
}

.title-services {
    color: #5acdd2;
    
    text-decoration-color: #5acdd2;
    text-underline-offset: 8px;
}

.services-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e6f7f8, #b3e5fc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary-blue);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    transform: scale(1.1);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card:nth-child(odd) h3 {
    color: var(--primary-blue);
}

.service-card:nth-child(even) h3 {
    color: #5acdd2;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Scholarship Page Styles */
.scholarship-hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--white) 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.scholarship-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.scholarship-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.moon-icon {
    font-size: 3rem;
    color: var(--primary-blue);
}

.quran-verse {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--secondary-blue);
}

.book-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary-blue);
}
.quran-verse p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
    color: var(--text-dark);
}

.program-intro {
    text-align: left;
    margin-top: 2rem;
}

.program-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.eligibility-section,
.support-types,
.application-section,
.final-note {
    background: var(--white);
    padding: 80px 0;
}

.section-title-dark {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.eligibility-intro,
.support-intro,
.application-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.eligibility-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.eligibility-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary-blue);
}

.eligibility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.eligibility-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.eligibility-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-blue);
}

.eligibility-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary-blue);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.support-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.application-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-radius: 12px;
    border: 2px solid var(--primary-blue);
}

.step-number {
    background: var(--primary-blue);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.application-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary-blue);
}

.scholarship-form h3 {
    color: var(--secondary-blue);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
    
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    border-color: var(--primaryy-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(90, 205, 210, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-dark);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.btn-scholarship {
    background: var(--primary-blue);
    color: var(--white);
    padding: 16px 24px;
    border: 2px solid var(--primary-blue);
    border-radius: 9999px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-scholarship:hover {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.thumbs-up {
    font-size: 1.2rem;
}

.hadith-quote {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    border: 2px solid var(--secondary-blue);
    border-left: 4px solid var(--primary-blue);
}

.hadith-quote p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
    color: var(--text-dark);
}

.conclusion {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 2rem;
}
#scholarship-whatsapp {
    margin-top: 1rem;
    display: block;
    background: #25D366;
    color: white;
    border-color: var(--text-dark);
}
/* Responsive Design */
@media (max-width: 768px) {
    .scholarship-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .application-form-container {
        padding: 2rem;
    }
    
    .eligibility-list,
    .support-grid,
    .application-steps {
        grid-template-columns: 1fr;
    }
}

/* About Page Styles */
.about-hero {
    background: #ffffff;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-hero .hero-text {
    text-align: left;
}

.about-title {
    margin-bottom: 2rem;
}

.about-hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.about-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-hero .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mission-vision {
    padding: 80px 0;
    background: var(--white);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.mission-card,
.vision-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    border: 3px solid var(--secondary-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--primary-blue);
    border-radius: 12px;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mission-card h2,
.vision-card h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.mission-card p,
.vision-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.our-story {
    padding: 80px 0;
    background: var(#ffffff);
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.story-visual {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.story-visual i {
    font-size: 4rem;
    color: var(--white);
}

/* Our Story logo circle */
.story-logo-circle {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #D4AF37,#000080);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.story-logo-image {
    width: 85%;
    height: 85%;
    object-fit: contain;
    border-radius: 50%;
}

.our-values {
    padding: 80px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 3px solid var(--primary-blue);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--secondary-blue);
    border-radius: 12px;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: #000080;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.value-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.value-card:hover .value-icon {
    background: var(--secondary-blue);
}

.value-card:hover .value-icon i {
    color: var(--white);
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}
/* Our team */
.our-team {
    padding: 80px 0;
    background: var(--white);
}

.team-content {
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    border: 3px solid var(--primary-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.member-image {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-image i {
    font-size: 4rem;
    color: var(--white);
}

.member-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.member-title {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 1rem;
}

.member-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.member-qualifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.qualification {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
.team-member:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    border: 3px solid var(--secondary-blue);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .scholarship-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .team-member {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* About Hero Mobile Styles */
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-hero .hero-text {
        text-align: center;
    }
    
    .about-hero .laptop-frame {
        width: 300px;
        height: 200px;
    }
    
    .about-hero .floating-icon {
        width: 50px;
        height: 50px;
    }
    
    .about-hero .floating-icon i {
        font-size: 1.2rem;
    }
    
    .about-hero .hero-buttons {
        justify-content: center;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(30, 58, 138, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    overflow: hidden;
    background: transparent;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.footer-logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--primary-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e0e7ff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23e0e7ff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23e0e7ff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title .arabic-text {
    display: block;
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    animation: slideInLeft 1s ease-out;
}

.hero-title .english-text {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-title .subtitle {
    display: block;
    font-size: 1.2rem;
    color: var(--navy-blue);
    font-weight: 500;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease-out 0.8s both;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: slideInRight 1s ease-out 0.5s both;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

/* Image bubbles with same animation and color framing */
.floating-image {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 6px; /* colored ring */
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

.floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: var(--white);
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    top: 40%;
    right: 10%;
    animation-delay: 4s;
}

/* Position the image bubbles similarly */
.floating-image:nth-child(1) { top: 20%; left: 8%; animation-delay: 0s; }
.floating-image:nth-child(2) { top: 55%; right: 15%; animation-delay: 1.5s; }
.floating-image:nth-child(3) { top: 35%; right: 5%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(-10px) rotate(240deg); }
}

.hero-image {
    position: relative;
    z-index: 2;
}

.laptop-frame {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    transition: transform 0.3s ease;
}

.laptop-frame:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

.screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.teacher-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto;
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex: 1;
}

.course-item {
    background: var(--light-blue);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.course-item:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid var(--primary-blue);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--secondary-blue);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(360deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}


/* Image versions of icons (home features) */
.feature-icon {
    overflow: hidden;
    padding: 6px;
    background: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: var(--white);
}

/* Courses Preview Section */
.courses-preview {
    padding: 80px 0;
    background: var(--light-gray);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

.course-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    transition: all 0.3s ease;
}

.course-card:hover .course-image {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    transform: scale(1.05);
}

.course-content {
    padding: 2rem;
}

.course-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.course-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.course-btn:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
}
/* Courses Preview Section */
.section-title{
    color: var(--secondary-blue);
}
.courses-preview {
    padding: 80px 0;
    background: var(--light-blue);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

.course-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 2rem;
}

.course-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.course-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.course-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--white);
    color: var(--primary-blue);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background: var(--secondary-blue);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.cta .btn-primary:hover {
    background: var(--secondary-orange);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--text-dark);
    padding: 60px 0 20px;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    column-gap: 3rem;
    row-gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.footer-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-blue);
}

.footer-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.footer-section p i {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(90, 205, 210, 0.3);
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    color: var(--text-light);
}
/* ===== IMPROVED FOOTER CONTACT STRUCTURE ===== */

/* Improved contact item structure */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
}

.contact-item i {
    color: var(--primary-blue);
    margin-top: 0.2rem;
    min-width: 20px;
    text-align: center;
}

.contact-item span {
    color: var(--text-light);
    line-height: 1.5;
    text-align: left;
}

/* Mobile fixes for improved structure */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        padding: 0 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item span {
        text-align: center;
        line-height: 1.4;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .contact-item span {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        height: 80px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .course-hero {
        padding: 100px 0 60px;
    }

    .pricing-hero {
        padding: 100px 0 60px;
    }

    .contact-hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title .arabic-text {
        font-size: 2.5rem;
    }

    .hero-title .english-text {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .laptop-frame {
        width: 300px;
        height: 225px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title .arabic-text {
        font-size: 2rem;
    }

    .hero-title .english-text {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .laptop-frame {
        width: 250px;
        height: 188px;
    }
}

/* AOS Animation Attributes */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Course Pages Styles */
.course-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--white) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.course-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.course-title .arabic-text {
    display: block;
    font-size: 3rem;
    color: var(--secondary-orange);
    margin-bottom: 0.5rem;
    animation: slideInLeft 1s ease-out;
}

.course-title .english-text {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.course-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.course-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease-out 0.6s both;
    
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.2);
    border: 2px solid var(--secondary-blue);
}

.highlight-item i {
    color: var(--secondary-orange);
    font-size: 1.2rem;
}

.highlight-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.course-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease-out 0.8s both;
}

.course-hero-image {
    animation: slideInRight 1s ease-out 0.5s both;
}

/* Quranic Verse */
.quranic-verse {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    text-align: center;
    border-left: 5px solid var(--secondary-blue);
}

.arabic-verse {
    font-family: 'muhammadi-quranic''Amiri', serif;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 2;
}

.verse-translation {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.verse-source {
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 500;
}

/* Course Overview */
.course-overview {
    padding: 80px 0;
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.overview-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.overview-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.overview-card:hover .overview-icon {
    transform: scale(1.1) rotate(360deg);
}

.overview-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.overview-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Hifz Plans */
.hifz-plans {
    padding: 80px 0;
    background: var(--white);
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--secondary-blue);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--secondary-blue));
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

.plan-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.plan-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.plan-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Requirements */
.requirements {
    padding: 80px 0;
    background: var(--white);
}

.requirements-content {
    max-width: 800px;
    margin: 0 auto;
}

.requirement-box {
    background: var(--light-blue);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
    border: 2px solid var(--secondary-blue);
    border-left: 5px solid var(--secondary-blue );
}

.requirement-box i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.requirement-box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.requirement-box p {
    color: var(--text-dark);
    line-height: 1.6;
}

.note-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--secondary-blue);
    border-left: 5px solid var(--secondary-blue);
}

.note-box i {
    font-size: 2rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.note-box p {
    color: var(--text-dark);
    font-weight: 500;
}

/* Welcome Message */
.welcome-message {
    padding: 60px 0;
    background: var(--light-blue);
    text-align: center;
}

.welcome-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.welcome-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Benefits */
.benefits {
    padding: 80px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-orange);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(360deg);
}

.benefit-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Course Structure */
.course-structure {
    padding: 80px 0;
    background: var(--light-gray);
}

.structure-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.structure-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-blue), var(--primary-orange));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    flex: 1;
    border: 2px solid var(--secondary-blue);

}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.duration {
    display: inline-block;
    background: var(--light-orange);
    color: var(--secondary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid var(--secondary-blue);

}

/* Course CTA */
.course-cta {
    padding: 80px 0;
    background: var(--white);
    color: var(--primary-blue);
    text-align: center;
}

.course-cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.course-cta .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.course-cta .btn-primary {
    background: var(--primary-orange);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.course-cta .btn-primary:hover {
    background: var(--secondary-orange);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

/* Pricing Page Styles */
.pricing-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    text-align: center;
}

.pricing-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.location-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
}

.location-info i {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

.location-info span {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Pricing Cards */
.pricing-cards {
    padding: 80px 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid var(--secondary-blue);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

.pricing-card.featured {
    border-color: var(--secondary-orange);
    transform: scale(1.05);
    
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -40px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.5rem 2rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;   
}

.card-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.period {
    font-size: 1rem;
    opacity: 0.8;
}

.card-body {
    padding: 2rem;
}

.schedule-info {
    margin-bottom: 1.5rem;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: var(--light-gray);
    border-radius: 10px;
    border: 2px solid var(--secondary-blue);
}

.schedule-item i {
    color: var(--primary-orange);
    font-size: 1.1rem;
}

.schedule-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.course-type {
    text-align: center;
    padding: 0.8rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-type.weekdays {
    background: var(--light-blue);
    color: var(--primary-blue);
    border: 2px solid var(--secondary-blue);
}

.course-type.weekends {
    background: var(--light-orange);
    color: var(--primary-orange);
    border: 2px solid var(--secondary-blue);
}

.card-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

/* Features Included */
.features-included {
    padding: 80px 0;
    background: var(--light-gray);
}

.features-included .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

.feature-item .feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(360deg);
}

.feature-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Payment Options */
.payment-options {
    padding: 80px 0;
    background: var(--white);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.payment-method {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.payment-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.payment-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.payment-method:hover .payment-icon {
    transform: scale(1.1) rotate(360deg);
}

.payment-method h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.payment-method p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
    border-radius: 10px;

}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
    border-radius: 10px;
}

.faq-question:hover {
    background: var(--light-blue);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
}

.faq-question i {
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--light-gray);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Pricing CTA */
.pricing-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    text-align: center;
}

.pricing-cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-cta .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Contact Page Styles */
.contact-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    text-align: center;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Contact Information */
.contact-info {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(360deg);
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.teacher-name {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-detail {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Platforms */
.platforms {
    padding: 80px 0;
    background: var(--white);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.platform-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.platform-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.platform-icon.whatsapp {
    background: #25D366;
}

.platform-icon.google-meet {
    background: #00897B;
}

.platform-icon.zoom {
    background: #2D8CFF;
}

.platform-card:hover .platform-icon {
    transform: scale(1.1) rotate(360deg);
}

.platform-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.platform-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Enrollment Form */
.enrollment-form {
    padding: 80px 0;
    background: var(--white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid var(--primary-blue);
    border-radius: 10px;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 800;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--primary-blue);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Learning Rules */
.learning-rules {
    padding: 80px 0;
    background: var(--white);
}

.rules-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.rule-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.rule-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-orange);
}

.rule-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.rule-item:hover .rule-icon {
    transform: scale(1.1) rotate(360deg);
}

.rule-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Contact CTA */
.contact-cta {
    padding: 80px 0;
    background: white;
    color: var(--primary-blue);
    text-align: center;
}

.contact-cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-cta .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact form: spacing between submit and WhatsApp buttons */
#enroll-whatsapp {
    margin-top: 1rem;
    display: block;
    background: #25D366;
}
.form-group a {
    color: white;
}

/* Responsive Design for Course Pages */
@media (max-width: 768px) {
    .course-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .course-title .arabic-text {
        font-size: 2.5rem;
    }

    .course-title .english-text {
        font-size: 1.8rem;
    }

    .course-highlights {
        align-items: center;
    }

    .highlight-item {
        width: 100%;
        max-width: 300px;
    }

    .quran-book,
    .globe-icon {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }

    .structure-timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 30px;
    }

    .timeline-content {
        margin: 1rem 0 0 0;
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .rules-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .course-hero {
        padding: 100px 0 60px;
    }

    .course-title .arabic-text {
        font-size: 2rem;
    }

    .course-title .english-text {
        font-size: 1.5rem;
    }

    .quran-book,
    .globe-icon {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Plan Details Styles */
.plan-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.plan-details .duration,
.plan-details .price {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.plan-details .price {
    background: var(--white);
    color: var(--primary-orange);
    border: 2px solid var(--secondary-blue);
}
/* Error message styling */
.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile menu body lock */
body.menu-open {
    overflow: hidden;
}

/* Currency switcher active state */
.currency-switcher .btn.active {
    background: var(--primary-blue);
    color: white;
}

/* Ensure images don't break layout */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for floating elements on mobile */
@media (max-width: 768px) {
    .floating-elements {
        display: none;
    }
}

/* Add this to your existing CSS file - styles.css */

.hero-title .arabic-text {
    display: block;
    font-size: 4rem; /* Increased from 3.5rem */
    color: #000080; /* Changed to navy blue */
    margin-bottom: 0.5rem;
    animation: slideInLeft 1s ease-out;
    font-weight: 900; /* Made bolder */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Added subtle shadow for better visibility */
}
.course-title .arabic-text {
    display: block;
    font-size: 4rem; /* Increased from 3.5rem */
    color: #000080; /* Changed to navy blue */
    margin-bottom: 0.5rem;
    animation: slideInLeft 1s ease-out;
    font-weight: 900; /* Made bolder */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Added subtle shadow for better visibility */
}


/* Ensure proper z-index stacking */
.navbar {
    z-index: 1000;
}

/* Adjust hero section margin to account for fixed navbar */
.hero {
    margin-top: 100px;
}

/* Mobile menu adjustments for dropdowns */
@media (max-width: 768px) {
    .nav-menu.active {
        z-index: 1002;
        background: var(--white);
    }
    
    .nav-item.dropdown.active {
        background: var(--light-blue);
    }
    
    .nav-item.dropdown .dropdown-menu {
        background: #f8fafc;
    }
    
    .hamburger {
        z-index: 1003;
    }
}

/* Fix for mobile navigation */
@media (max-width: 768px) {
    .nav-container {
        height: 80px;
    }
    
    .hero {
        margin-top: 80px;
    }
}
/* Team Member Image Fix */
.team-member {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    border: 3px solid var(--primary-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.member-image {
    width: 100%;
    max-width: 280px;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid var(--primary-blue);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-image:hover .member-photo {
    transform: scale(1.05);
 }

/* Image overlay effect */
.member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 128, 0.1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Fallback styling if image doesn't load */
.member-image.fallback::before {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 4rem;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .team-member {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }
    
    .member-image {
        max-width: 250px;
        height: 280px;
        margin: 0 auto;
    }
    
    .member-info h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .team-member {
        padding: 1.5rem;
    }
    
    .member-image {
        max-width: 200px;
        height: 240px;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
    
    .member-title {
        font-size: 1rem;
    }
}

/* Enhanced hover effects */
.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--secondary-blue);
}

/* Qualification badges styling */
.member-qualifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.qualification {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.qualification:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 128, 0.3);
}

/* Blog Section Styles */
.blog-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.blog-section-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.blog-card .blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-card .blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card .blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-card .blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card .blog-meta i {
    color: var(--secondary-blue);
}

.blog-card .blog-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--secondary-blue);
}

.blog-card .blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card .blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card .blog-read-more:hover {
    color: var(--secondary-blue);
    gap: 1rem;
}

.blog-card .blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-card .blog-read-more:hover i {
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ====================== SOURCE: styles_cleaned.css ====================== */


        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-blue: #000080; 
            --secondary-blue: #D4AF37;
            --navy-blue: #000080;
            --light-blue: #ffff;
            --white: #ffffff;
            --light-gray: #f0fdfa;
            --dark-gray: #000080;
            --text-dark: #0f172a;
            --text-light: #475569;
        }

        

/* Muhammadi Quranic Font */
@font-face {
    font-family: 'Muhammadi Quranic';
    src: url('fonts/muhammadi-quranic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Update Arabic text to use the new font */
.arabic-text {
    font-family: 'Muhammadi Quranic', 'Amiri', serif;
    font-weight: normal;
}

        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Typography 
        .arabic-text {
            font-family: 'Amiri', serif;
            font-weight: 900;
        }*/

        .section-title {
            font-size: 2.5rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 3rem;
            color: var(--primary-blue);
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
            border-radius: 2px;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            transition: all 0.3s ease;
            box-shadow: 0 2px 20px rgba(30, 58, 138, 0.1);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 100px;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-icon {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: transparent;
        }

        .logo-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius:  50%;
        }

        .logo-text {
            font-size: 1.8rem;
            font-weight: 700;
            background: var(--primary-blue);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-link {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-blue);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--primary-blue);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .bar {
            width: 25px;
            height: 3px;
            background: var(--primary-blue);
            margin: 3px 0;
            transition: 0.3s;
        }

        /* Hero Section */
        .hero {
            padding: 14px 0 80px;
            /*background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);*/
            position: relative;
            overflow: hidden;
            border: 3px solid var(--secondary-blue);
            background-image: url('images/m2.jpeg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border-radius: 10px;
            margin-top: 200px;
            margin-left: 5px;
            margin-right: 5px;
        }

        /* Dark overlay for opacity effect on background image */
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5); /* Adjust opacity here: 0 to 1 */
            z-index: 1;
            border-radius: 10px;
        }
        /* Make sure content stays above overlay */
        .hero-container {
            position: relative;
            z-index: 2;
        }

        .hero-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .hero-title {
            padding-top: 0px;
            margin-top: 10px;
            margin-bottom: 2rem;
        }

        .hero-title .arabic-text {
            display: block;
            font-size: 4.5rem;
            color: var(--white);
            margin-bottom: 0.5rem;
            animation: slideInLeft 1s ease-out;
            font-weight: 900;
        }

        .hero-title .english-text {
            display: block;
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--secondary-blue);
            margin-bottom: 0.5rem;
            animation: slideInLeft 1s ease-out 0.2s both;
        }

        .hero-title .subtitle {
            display: block;
            font-size: 1.2rem;
            color: var(--secondary-blue);
            font-weight: 500;
            animation: slideInLeft 1s ease-out 0.4s both;
        }

        .hero-description {
            font-size: 1.1rem;
            color: var(--white);
            margin-bottom: 2rem;
            margin-top: 0px;
            line-height: 1.8;
            animation: slideInLeft 1s ease-out 0.6s both;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            animation: slideInLeft 1s ease-out 0.8s both;
        }

        .btn {
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-block;
            text-align: center;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }

        .btn-primary {
            background: var(--primary-blue);
            color: var(--white);
            box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: var(--white);
            border: 2px solid var(--primary-blue);
        }

        .btn-secondary:hover {
            background: var(--secondary-blue);
            color: var(--white);
            transform: translateY(-2px);
            border: 2px solid var(--secondary-blue);
        }

        /* Hero Visual */
        .hero-visual {
            position: relative;
            animation: slideInRight 1s ease-out 0.5s both;
        }

        .hero-image-container {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
            max-width: 500px;
            margin: 40px;
        }

        .hero-main-img {
            width: 100%;
            height: 500px;
            object-fit: cover;
            display: block;
            border-radius: 20px;
            transition: transform 0.3s ease;
        }

        .hero-image-container:hover .hero-main-img {
            transform: scale(1.05);
        }

        .image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
            padding: 2rem;
            color: white;
        }

        .overlay-text h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: white;
            font-weight: 600;
        }

        .overlay-text p {
            font-size: 1rem;
            opacity: 0.9;
            margin: 0;
            color: white;
        }

       /* Enhanced Stats Section with Flags */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    text-align: center;
    overflow: hidden;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--secondary-blue);
    position: relative;
}

.stats-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 2px;
}

/* Flags Track Styles */
.flags-track {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    border: 2px solid var(--secondary-blue);
}

.flags-scroll {
    display: flex;
    animation: scrollFlags 25s linear infinite;
    gap: 2rem;
    padding: 0 1rem;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    min-width: 100px;
    padding: 1rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.flag-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.flag-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.flag-item:hover img {
    transform: scale(1.1);
}

.flag-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
}

/* Animation for scrolling flags */
@keyframes scrollFlags {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100px * 10 - 2rem * 10));
    }
}

/* Pause animation on hover */
.flags-track:hover .flags-scroll {
    animation-play-state: paused;
}

/* Stats Grid Styles (existing, keep as is) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border: 2px solid var(--primary-blue);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-title {
        font-size: 2rem;
    }
    
    .flags-track {
        padding: 20px 0;
        margin-bottom: 2rem;
    }
    
    .flag-item {
        min-width: 80px;
        padding: 0.8rem;
        gap: 0.5rem;
    }
    
    .flag-item img {
        width: 50px;
        height: 35px;
    }
    
    .flag-item span {
        font-size: 0.8rem;
    }
    
    .flags-scroll {
        gap: 1rem;
    }
    
    @keyframes scrollFlags {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-80px * 10 - 1rem * 10));
        }
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 60px 0;
    }
    
    .stats-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .flag-item {
        min-width: 70px;
        padding: 0.6rem;
    }
    
    .flag-item img {
        width: 40px;
        height: 30px;
    }
    
    .flag-item span {
        font-size: 0.7rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

        /* Courses Preview Section */
        .section-title{
            color: var(--secondary-blue);
        }
        .courses-preview {
            padding: 80px 0;
            background: var(--light-blue);
        }

        .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .course-card {
            background: var(--white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 2px solid var(--secondary-blue);
        }

        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
            border: 2px solid var(--primary-blue);
            border-radius: 20px;
        }

        .course-image {
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .course-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.3s ease;
            border-radius: 5px;
        }

        .course-card:hover .course-image img {
            transform: scale(1.05);
        }

        .course-content {
            padding: 2rem;
        }

        .course-content h3 {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }

        .course-content p {
            color: var(--text-light);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .course-btn {
            display: inline-block;
            padding: 10px 25px;
            background: var(--primary-blue);
            color: var(--white);
            text-decoration: none;
            border-radius: 25px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .course-btn:hover {
            background: var(--secondary-blue);
            transform: translateY(-2px);
        }

        /* Who Can Learn Section */
        .features-included {
            padding: 80px 0;
            background: var(--light-blue);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .feature-item {
            background: var(--white);
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 2px solid var(--secondary-blue);
        }

        .feature-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
        }

        .feature-item .feature-icon {
            width: 100px;
            height: 100px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            overflow: hidden;
            background: var(--light-blue);
        }

        .feature-item .feature-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .feature-item h3 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }

        .feature-item p {
            color: var(--text-light);
            line-height: 1.6;
        }

        /* Services Section */
        .services {
            padding: 80px 0;
            background: var(--white);
        }

        .services .section-title {
            margin-bottom: 1rem;
        }

        .title-our {
            color: var(--primary-blue);
            text-decoration-color: var(--primary-blue);
            text-underline-offset: 8px;
        }

        .title-services {
            color: #5acdd2;
            text-decoration-color: #5acdd2;
            text-underline-offset: 8px;
        }

        .services-description {
            text-align: center;
            color: var(--text-light);
            font-size: 1.1rem;
            margin-bottom: 4rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Features Section */
        .features {
            padding: 80px 0;
            background: var(--white);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .feature-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 2px solid var(--secondary-blue);
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
            border-color: var(--primary-blue);
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: var(--white);
            font-size: 2rem;
            transition: all 0.3s ease;
            overflow: hidden;
            padding: 6px;
        }

        .feature-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            background: var(--white);
        }

        .feature-card:hover .feature-icon {
            transform: scale(1.1) rotate(360deg);
            background: var(--secondary-blue);        
        }

        .feature-card h3 {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }

        .feature-card p {
            color: var(--text-light);
            line-height: 1.6;
        }
        .feature-item:hover{
            border-color: var(--primary-blue);
        }
        .feature-item h3:hover{
            color: var(--secondary-blue);
        }
        /* CTA Section */
        .cta {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
            color: var(--white);
            text-align: center;
        }

        .cta-content h2 {
            font-size: 2.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .cta-content p {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .cta .btn-primary {
            background: var(--primary-blue);
            box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
        }

        .cta .btn-primary:hover {
            background: var(--secondary-blue);
            box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
        }

        /* Footer */
        .footer {
            background: var(--white);
            color: var(--text-dark);
            padding: 60px 0 20px;
            border-top: 1px solid #e5e7eb;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            column-gap: 3rem;
            row-gap: 2.5rem;
            margin-bottom: 2rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 1rem;
        }

        .footer-logo-image {
            width: 60px;
            height: 60px;
            object-fit: contain;
        }

        .footer-logo span {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-dark);
        }

        .footer-section h3 {
            color: var(--text-dark);
            margin-bottom: 1rem;
            font-size: 1.2rem;
            font-weight: 600;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-section ul li a {
            color: var(--text-light);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-section ul li a:hover {
            color: var(--primary-blue);
        }

        .footer-section p {
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-light);
        }

        .footer-section p i {
            color: var(--primary-blue);
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            background: var(--secondary-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(90, 205, 210, 0.3);
        }

        .social-links a:hover {
            background: var(--primary-blue);
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid #e5e7eb;
            color: var(--text-light);
        }
        /* ===== IMPROVED FOOTER CONTACT STRUCTURE ===== */

/* Improved contact item structure */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
}

.contact-item i {
    color: var(--primary-blue);
    margin-top: 0.2rem;
    min-width: 20px;
    text-align: center;
}

.contact-item span {
    color: var(--text-light);
    line-height: 1.5;
    text-align: left;
}

/* Mobile fixes for improved structure */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        padding: 0 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item span {
        text-align: center;
        line-height: 1.4;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .contact-item span {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
        

        /* Animations */
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }

            .nav-container {
                height: 80px;
            }

            .nav-menu {
                position: fixed;
                left: -100%;
                top: 80px;
                flex-direction: column;
                background-color: var(--white);
                width: 100%;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
                padding: 2rem 0;
            }

            .nav-menu.active {
                left: 0;
            }

            .logo-icon {
                width: 60px;
                height: 60px;
            }

            .hero {
                padding: 100px 0 60px;
                margin: 10px;
            }

            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 2rem;
            }

            .hero-title .arabic-text {
                font-size: 2.5rem;
            }

            .hero-title .english-text {
                font-size: 2rem;
            }

            .hero-buttons {
                justify-content: center;
                flex-wrap: wrap;
            }

            .section-title {
                font-size: 2rem;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .courses-grid {
                grid-template-columns: 1fr;
            }

            .promo-container {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .promo-content {
                text-align: center;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .contact-person {
                flex-direction: column;
                gap: 5px;
            }
            
            .name-title {
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }

            .hero {
                padding: 100px 0 60px;
            }

            .hero-title .arabic-text {
                font-size: 2rem;
            }

            .hero-title .english-text {
                font-size: 1.5rem;
            }

            .btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }

            .hero-main-img {
                height: 200px;
            }
        }


/* Ensure proper z-index stacking */
.navbar {
    z-index: 1000;
}

/* Adjust hero section margin to account for fixed navbar */
.hero {
    margin-top: 100px;
}

/* Mobile menu adjustments for dropdowns */
@media (max-width: 768px) {
    .nav-menu.active {
        z-index: 1002;
        background: var(--white);
    }
    
    .nav-item.dropdown.active {
        background: var(--light-blue);
    }
    
    .nav-item.dropdown .dropdown-menu {
        background: #f8fafc;
    }
    
    .hamburger {
        z-index: 1003;
    }
}

/* Fix for mobile navigation */
@media (max-width: 768px) {
    .nav-container {
        height: 80px;
    }
    
    .hero {
        margin-top: 80px;
    }
}
/* Flags Section Styles */
.flags-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    overflow: hidden;
    position: relative;
}

.flags-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flags-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-blue);
    position: relative;
}

.flags-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 2px;
}

.flags-track {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.flags-scroll {
    display: flex;
    animation: scrollFlags 30s linear infinite;
    gap: 2rem;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    padding: 1rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.flag-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.flag-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
}

.flag-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
}
/* Special Feature Section */
.requirements {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.requirement-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ff69b4, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 15px;
}

.requirement-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #D4AF37);
    border-radius: 2px;
}

.section-content {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    text-align: center;
}

.requirements-content {
    max-width: 900px;
    margin: 0 auto;
}

.note-box {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #D4AF37;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
    transition: all 0.3s ease;
}

.note-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.3);
}

.note-box i {
    font-size: 2.5rem;
    color: #ff69b4;
    margin-bottom: 1rem;
}

.note-box p {
    color: darkblue;
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

.note-box strong {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .requirements {
        padding: 60px 0;
    }
    
    .requirement-title {
        font-size: 2rem;
    }
    
    .section-content {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .note-box {
        padding: 1.5rem;
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .requirements {
        padding: 40px 0;
    }
    
    .requirement-title {
        font-size: 1.8rem;
    }
    
    .section-content {
        font-size: 1rem;
    }
    
    .note-box {
        padding: 1.2rem;
    }
    
    .note-box p {
        font-size: 1rem;
    }
}
/* Animation for scrolling flags */
@keyframes scrollFlags {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100px * 10 - 2rem * 10)); /* Adjust based on flag item width and gap */
    }
}

/* Pause animation on hover */
.flags-scroll:hover {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
    .flags-title {
        font-size: 2rem;
    }
    
    .flag-item {
        min-width: 80px;
        padding: 0.8rem;
    }
    
    .flag-item img {
        width: 50px;
        height: 35px;
    }
    
    .flag-item span {
        font-size: 0.8rem;
    }
    
    .flags-scroll {
        gap: 1rem;
    }
    
    @keyframes scrollFlags {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-80px * 10 - 1rem * 10));
        }
    }
}

@media (max-width: 480px) {
    .flags-section {
        padding: 40px 0;
    }
    
    .flags-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .flag-item {
        min-width: 70px;
        padding: 0.6rem;
    }
    
    .flag-item img {
        width: 40px;
        height: 30px;
    }
    
    .flag-item span {
        font-size: 0.7rem;
    }
}
/* Sisters Section */
.sisters-section {
    margin-top: 10px;
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5f7 0%, #fff0f5 100%);
    position: relative;
    overflow: hidden;
}

.sisters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff69b4, #D4AF37);
}

.sisters-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sisters-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ff69b4, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 15px;
}

.sisters-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #D4AF37);
    border-radius: 2px;
}

.sisters-quote {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid #ff69b4;
    background: rgba(255, 105, 180, 0.1);
    border-radius: 10px;
    font-style: italic;
}

.sisters-quote p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

.sisters-description {
    margin-bottom: 2.5rem;
}

.sisters-description p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.sisters-highlight {
    font-weight: 600;
    color: #ff69b4 !important;
    font-size: 1.2rem !important;
}

.sisters-urgent {
    font-weight: 700;
    color: #D4AF37 !important;
    font-size: 1.2rem !important;
}

.sisters-call {
    font-weight: 600;
    color: var(--primary-blue) !important;
    font-size: 1.1rem !important;
    margin-top: 1.5rem !important;
}

.sisters-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-sisters {
    background: linear-gradient(135deg, #ff69b4, #D4AF37);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.btn-sisters:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
    background: linear-gradient(135deg, #e0559c, #c19b2e);
}

.btn-sisters-secondary {
    background: transparent;
    color: #ff69b4;
    border: 2px solid #ff69b4;
}

.btn-sisters-secondary:hover {
    background: #ff69b4;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.3);
}

/* Sisters Visual */
.sisters-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.5s both;
}

.sisters-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.2);
    max-width: 500px;
    margin: 0 auto;
    border: 3px solid transparent;
    background: linear-gradient(45deg, #ff69b4, #D4AF37);
    padding: 5px;
}

.sisters-main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    transition: transform 0.5s ease;
}

.sisters-image-container:hover .sisters-main-img {
    transform: scale(1.05);
}

.sisters-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(255, 105, 180, 0.8));
    padding: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.sisters-image-container:hover .sisters-overlay {
    background: linear-gradient(transparent, rgba(212, 175, 55, 0.9));
}

.sisters-overlay-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.sisters-overlay-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sisters-section {
        padding: 60px 0;
    }
    
    .sisters-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .sisters-title {
        font-size: 2rem;
    }
    
    .sisters-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .sisters-buttons {
        justify-content: center;
    }
    
    .sisters-main-img {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .sisters-section {
        padding: 40px 0;
    }
    
    .sisters-title {
        font-size: 1.8rem;
    }
    
    .sisters-quote p {
        font-size: 1.1rem;
    }
    
    .sisters-description p {
        font-size: 1rem;
    }
    
    .sisters-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-sisters, .btn-sisters-secondary {
        width: 100%;
        max-width: 300px;
    }
}
/* Mobile Arabic Text Fix */
@media (max-width: 768px) {
    .hero-title .arabic-text {
        font-size: 3.5rem !important;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .hero-title .arabic-text {
        font-size: 2.8rem !important;
        line-height: 1.1;
    }
}

/* Blog Section Styles */
.blog-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.blog-section-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.blog-card .blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-card .blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card .blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-card .blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card .blog-meta i {
    color: var(--secondary-blue);
}

.blog-card .blog-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--secondary-blue);
}

.blog-card .blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card .blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card .blog-read-more:hover {
    color: var(--secondary-blue);
    gap: 1rem;
}

.blog-card .blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-card .blog-read-more:hover i {
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
/* Mobile adjustment for hero background */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        background-position: center;
    }
    
    .hero::before {
        background: rgba(0, 0, 0, 0.7); /* Slightly darker on mobile for readability */
    }
}
/* ========== SIMPLE YOUTUBE SECTION ========== */
.simple-youtube {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.youtube-channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff0000;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.youtube-channel-btn:hover {
    background: #cc0000;
    transform: scale(1.05);
    color: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-item iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.video-info p {
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-item iframe {
        height: 220px;
    }
}

/* ====================== SOURCE: dropdown-nav.css ====================== */

/* Dropdown Navigation Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    display: none;
    z-index: 1001;
    border: 1px solid #e5e7eb;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-column h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-blue);
}

.dropdown-column ul {
    list-style: none;
}

.dropdown-column ul li {
    margin-bottom: 0.5rem;
}

.dropdown-column ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    border-left: 3px solid transparent;
}

.dropdown-column ul li a:hover {
    color: var(--primary-blue);
    background: var(--light-blue);
    border-left-color: var(--secondary-blue);
    padding-left: 1rem;
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        padding: 1rem;
        box-shadow: none;
        border: none;
        background: var(--light-blue);
        margin-top: 0;
        opacity: 1;
        transform: none;
        border-radius: 0 0 8px 8px;
        margin-top: -5px;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
        padding: 0.8rem 0;
    }

    .dropdown-arrow {
        transition: transform 0.3s ease;
    }

    .nav-item.dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-column ul li a {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        border-left: 4px solid transparent;
    }

    .dropdown-column ul li a:hover {
        padding-left: 1.2rem;
        border-left-color: var(--secondary-blue);
    }
}

/* Desktop hover effects */
@media (min-width: 769px) {
    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 20px;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid var(--white);
    }

    .nav-item.dropdown:hover .nav-link {
        color: var(--primary-blue);
    }

    .nav-item.dropdown:hover .nav-link::after {
        width: 100%;
    }
}

/* Animation for dropdown */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -10px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.dropdown-menu {
    animation: fadeInDown 0.3s ease-out;
}

/* Mobile menu specific styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1rem 0;
        height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f1f1f1;
    }

    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: left;
    }

    .nav-item.dropdown {
        border-bottom: none;
    }

    .dropdown-toggle {
        padding: 1rem 1.5rem;
    }

    .dropdown-column h4 {
        padding-left: 1rem;
        margin-bottom: 0.8rem;
    }
}

/* ====================== SOURCE: admission.css ====================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #000080;
    --secondary-blue: #D4AF37;
    --navy-blue: #000080;
    --light-blue: #ffff;
    --white: #ffffff;
    --light-gray: #f0fdfa;
    --dark-gray: #000080;
    --text-dark: #0f172a;
    --text-light: #475569;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --error-color: #ef4444;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(30, 58, 138, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--primary-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}


/* Admission Container */
.admission-container {
    max-width: 800px;
    margin: 100px auto 50px;
    padding: 0 20px;
}

.admission-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary-blue);
}

.admission-header h1 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.admission-header p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.admission-header h2 {
    font-size: 1.5rem;
    color: var(--secondary-blue);
    font-weight: 600;
}

/* Form Styles */
.admission-form {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary-blue);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.sections-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.sections-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* File Upload Styles */
.file-upload-container {
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload-container:hover {
    border-color: var(--primary-blue);
}

.file-preview {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.file-preview i {
    font-size: 3rem;
    color: var(--secondary-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.file-input {
    display: none;
}

.file-label {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.file-label:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

.file-upload-container small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
}

/* Phone Input Styles */
.phone-input {
    display: flex;
    gap: 10px;
}

.phone-input select {
    flex: 0 0 100px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    font-size: 1rem;
}

.phone-input input {
    flex: 1;
}

/* Submit Section */
.submit-section {
    text-align: center;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.help-section {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-blue);
}

.help-section h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.help-section p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.help-section i {
    color: var(--primary-blue);
    margin-right: 8px;
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: var(--success-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .admission-container {
        margin: 80px auto 30px;
    }
    
    .admission-header {
        padding: 1.5rem;
    }
    
    .admission-header h1 {
        font-size: 1.5rem;
    }
    
    .admission-header h2 {
        font-size: 1.2rem;
    }
    
    .admission-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .phone-input {
        flex-direction: column;
    }
    
    .phone-input select {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .admission-container {
        padding: 0 15px;
    }
    
    .admission-form {
        padding: 1rem;
    }
    
    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
}
.file-label{
    color: #ffffff;
}

/* ====================== SOURCE: course.css ====================== */

/* Course.html Specific Styles */

/* All Courses Section */
.all-courses {
    padding: 80px 0;
    background: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.course-category {
    background: var(--white);
    border: 3px solid var(--secondary-blue);
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.15);
    border: 3px solid var(--primary-blue);
}

.category-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--white), var(--white));
    border-bottom: 1px solid #e5e7eb;
}

.category-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
}

.category-info {
    flex: 1;
}

.category-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.category-info p {
    color: var(--text-light);
    margin: 0;
}

.category-price {
    text-align: right;
}

.price {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.duration {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

.category-content {
    padding: 2rem;
}

.course-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.detail-item i {
    color: var(--primary-blue);
}

.course-description {
    margin-bottom: 2rem;
}

.course-description p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.course-features h4 {
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.course-features ul {
    list-style-type: none;
    padding-left: 0;
}

.course-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.course-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

.course-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Course Comparison Section */
.course-comparison {
    padding: 80px 0;
    background: var(--white);
}

.comparison-table {
    overflow-x: auto;
    border: 3px solid var(--secondary-blue);
    border-radius: 10px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
}
.comparison-table tr{
    border-bottom: 1px solid #e5e7eb;
}
.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    color: var(--text-light);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
}

.comparison-table .fa-check {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

/* Learning Methodology Section */
.learning-methodology {
    padding: 80px 0;
    background: var(--white);
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.method-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid var(--secondary-blue);
}

.method-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.15);
    border: 3px solid var(--primary-blue);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.method-item:hover .method-icon {
    transform: scale(1.1) rotate(360deg);
}

.method-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.method-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Courses Visual */
.courses-visual {
    position: relative;
    text-align: center;
}

.courses-icon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
    animation: float 6s ease-in-out infinite;
}

.floating-courses {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.course-tag {
    position: absolute;
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 4s ease-in-out infinite;
}

.course-tag:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.course-tag:nth-child(2) {
    top: 70%;
    right: 10%;
    animation-delay: 2s;
}

.course-tag:nth-child(3) {
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .category-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .category-price {
        text-align: center;
    }
    
    .course-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .course-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.5rem;
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
    }
}
/* Courses Image Container */
.courses-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
    max-width: 500px;
    margin: 0 auto;
}

.courses-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.courses-image-container:hover .courses-hero-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 2rem;
    color: white;
}

.overlay-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.overlay-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}
.course-cta{
    background: var(--white);
    color: var(--primary-blue);
}


/* Ensure proper z-index stacking */
.navbar {
    z-index: 1000;
}

/* Adjust hero section margin to account for fixed navbar */
.hero {
    margin-top: 100px;
}

/* Mobile menu adjustments for dropdowns */
@media (max-width: 768px) {
    .nav-menu.active {
        z-index: 1002;
        background: var(--white);
    }
    
    .nav-item.dropdown.active {
        background: var(--light-blue);
    }
    
    .nav-item.dropdown .dropdown-menu {
        background: #f8fafc;
    }
    
    .hamburger {
        z-index: 1003;
    }
}

/* Fix for mobile navigation */
@media (max-width: 768px) {
    .nav-container {
        height: 80px;
    }
    
    .hero {
        margin-top: 80px;
    }
}

/* ====================== SOURCE: blog.css ====================== */

/* Blog Section Styles */

/* Blog Section on Home Page */
.blog-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.blog-section-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta i {
    color: var(--secondary-blue);
}

.blog-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--secondary-blue);
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--secondary-blue);
    gap: 1rem;
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ─── Blog page (full layout refresh) ─── */
.blog-page-body .blog-main-v2 {
    font-family: 'Outfit', 'Poppins', sans-serif;
}

.blog-page-body .blog-post-title,
.blog-page-body .blog-featured__title,
.blog-page-body .widget-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
}

/* Blog Page Styles — legacy hero (kept for other pages if referenced) */
.blog-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    text-align: center;
    margin-top: 100px;
}

/* Hero v2 */
.blog-hero-v2 {
    position: relative;
    margin-top: 100px;
    padding: clamp(5rem, 12vw, 7.5rem) 0 clamp(3rem, 8vw, 5rem);
    overflow: hidden;
    background: linear-gradient(165deg, #f8fafc 0%, #e0f2fe 35%, #f0fdfa 100%);
}

.blog-hero-v2__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0, 0, 128, 0.08), transparent 55%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(212, 175, 55, 0.12), transparent 50%);
    pointer-events: none;
}

.blog-hero-v2__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23000080' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 48px 48px;
    pointer-events: none;
}

.blog-hero-v2__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-hero-v2 .blog-breadcrumb {
    justify-content: center;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1.75rem;
    color: var(--text-light);
}

.blog-breadcrumb a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 500;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-breadcrumb__sep {
    opacity: 0.5;
}

.blog-breadcrumb__current {
    color: var(--text-dark);
    font-weight: 500;
}

.blog-hero-v2__content {
    max-width: 42rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.blog-hero-v2__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    justify-content: center;
}

.blog-hero-v2__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-blue), #c9a227);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.blog-hero-v2__title {
    margin-bottom: 1.25rem;
}

.blog-hero-v2__arabic {
    display: block;
    font-size: clamp(2.75rem, 8vw, 4.25rem);
    color: var(--primary-blue);
    margin-bottom: 0.35rem;
    line-height: 1.15;
}

.blog-hero-v2__english {
    display: block;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.blog-hero-v2__lead {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.75;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.blog-hero-v2__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    width: 100%;
}

.blog-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: center;
    text-align: center;
    padding: 1rem 1.35rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 128, 0.1);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    min-width: 7rem;
}

.blog-hero-stat__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.blog-hero-stat__value i {
    font-size: 1.35rem;
    color: var(--secondary-blue);
}

.blog-hero-stat__label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Featured strip */
.blog-featured {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 128, 0.08);
}

.blog-featured__head {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}

.blog-featured__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.blog-featured__subtitle {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.65;
}

.blog-featured__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-featured-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: var(--light-gray);
    border: 1px solid rgba(0, 0, 128, 0.1);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.25s ease;
}

.blog-featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 128, 0.12);
    border-color: var(--secondary-blue);
}

.blog-featured-card__img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-featured-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-featured-card:hover .blog-featured-card__img img {
    transform: scale(1.06);
}

.blog-featured-card__cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.blog-featured-card__body {
    padding: 1.25rem 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.blog-featured-card__h {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
}

.blog-featured-card__cta {
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.blog-featured-card__cta i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.blog-featured-card:hover .blog-featured-card__cta i {
    transform: translateX(4px);
}

/* Toolbar & filters */
.blog-main-v2 {
    padding: clamp(2.5rem, 5vw, 4rem) 0 5rem;
    background: linear-gradient(180deg, #f8fafc 0%, var(--white) 18%);
}

.blog-toolbar {
    margin-bottom: 2.5rem;
}

.blog-toolbar__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 1rem 1.35rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 128, 0.1);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.blog-toolbar__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-blue);
}

.blog-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-filter-pill {
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 128, 0.15);
    background: var(--light-gray);
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-filter-pill:hover {
    border-color: var(--secondary-blue);
    color: var(--primary-blue);
}

.blog-filter-pill.is-active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(0, 0, 128, 0.25);
}

.blog-layout-v2 {
    align-items: start;
}

/* Magazine post layout */
.blog-post--magazine .blog-post-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 0;
    align-items: stretch;
    min-height: 0;
}

.blog-post--magazine .blog-post-image {
    height: 100%;
    min-height: 320px;
}

.blog-post--magazine:nth-child(even) .blog-post-inner {
    direction: rtl;
}

.blog-post--magazine:nth-child(even) .blog-post-inner > * {
    direction: ltr;
}

.blog-post-excerpt {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 1rem;
    margin-top: -0.25rem;
}

.blog-read-full {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-blue);
    text-decoration: none;
    margin-bottom: 1.5rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.blog-read-full:hover {
    color: var(--primary-blue);
    border-bottom-color: var(--secondary-blue);
}

.blog-read-full i {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Sidebar v2 */
.sidebar-widget--search .widget-title i {
    margin-right: 0.45rem;
    color: var(--secondary-blue);
}

.widget-title i {
    margin-right: 0.45rem;
    color: var(--secondary-blue);
    font-size: 0.95em;
}

.category-list-v2 li a {
    justify-content: flex-start;
}

.sidebar-cat-link span {
    margin-left: auto;
}

.recent-posts-v2 .recent-post-item {
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    padding: 0.35rem;
    margin: -0.35rem;
    transition: background 0.2s ease;
}

.recent-posts-v2 .recent-post-item:hover {
    background: rgba(0, 0, 128, 0.04);
}

.recent-posts-v2 .recent-post-content h4 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: color 0.2s ease;
}

.recent-posts-v2 .recent-post-item:hover .recent-post-content h4 {
    color: var(--secondary-blue);
}

.cta-widget-v2 {
    position: relative;
    overflow: hidden;
}

.cta-widget-v2__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.cta-widget-v2__secondary {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cta-widget-v2__secondary:hover {
    color: var(--white);
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-title {
    margin-bottom: 1.5rem;
}

.blog-hero-title .arabic-text {
    display: block;
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.blog-hero-title .english-text {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.blog-hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Blog Main Layout */
.blog-main {
    padding: 80px 0;
    background: var(--white);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

/* Blog Posts */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-post {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary-blue);
    transition: all 0.3s ease;
}

.blog-post:hover {
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.blog-post-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-post-content {
    padding: 2.5rem;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
    color: var(--text-light);
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-meta i {
    color: var(--secondary-blue);
}

.blog-post-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-post-title a {
    color: inherit;
    text-decoration: none;
}

.blog-post-title a:hover {
    text-decoration: underline;
}

/* Standalone blog article pages (blog-*.html): centered column + image contained */
.blog-main-single {
    padding-top: clamp(5.5rem, 14vw, 7.5rem);
    padding-bottom: 4rem;
    overflow-x: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, var(--white) 35%);
}

.blog-main-single .container {
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.blog-main-single .blog-posts {
    gap: 0;
    width: 100%;
}

.blog-main-single .blog-post {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.blog-main-single .blog-post-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

.blog-main-single .blog-post-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.blog-main-single .blog-post:hover .blog-post-image img {
    transform: none;
}

.blog-main-single .blog-back-wrap {
    text-align: center;
    margin-bottom: 1.75rem;
}

.blog-main-single .blog-post-meta {
    justify-content: center;
    gap: 1rem 1.5rem;
}

.blog-main-single .blog-post-meta span {
    justify-content: center;
}

.blog-main-single .blog-post-title {
    text-align: center;
}

.blog-main-single .blog-post-content {
    padding: 2rem 1.5rem 2.5rem;
}

.blog-main-single .blog-post-footer {
    justify-content: center;
    text-align: center;
}

.blog-main-single .blog-post-tags {
    justify-content: center;
}

.blog-main-single .blog-post-share {
    justify-content: center;
}

.blog-back-wrap {
    margin-bottom: 1.5rem;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 500;
}

.blog-back-link:hover {
    text-decoration: underline;
}

.blog-post-body {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-post-body h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-post-body ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.blog-post-body ul li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.blog-post-body ul li strong {
    color: var(--primary-blue);
}

.blog-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-gray);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.blog-post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-post-share span {
    color: var(--text-light);
    font-weight: 500;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary-blue);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-blue);
}

/* Search Form */
.blog-search-form {
    display: flex;
    gap: 0.5rem;
}

.blog-search-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid var(--primary-blue);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.blog-search-input:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.1);
}

.blog-search-btn {
    padding: 0.8rem 1.2rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-search-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

/* Category List */
.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.category-list li a:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
    transform: translateX(5px);
}

.category-list li a i {
    color: var(--secondary-blue);
    margin-right: 0.8rem;
}

.category-list li a span {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.recent-post-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--secondary-blue);
}

.recent-post-content h4 {
    margin-bottom: 0.5rem;
}

.recent-post-content h4 a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.recent-post-content h4 a:hover {
    color: var(--secondary-blue);
}

.recent-post-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    text-align: center;
}

.cta-widget .widget-title {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.cta-widget p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-widget .btn {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1100px) and (min-width: 641px) {
    .blog-featured__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-featured__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        order: -1;
    }

    .blog-layout-v2 .blog-posts {
        order: 1;
    }

    .blog-layout-v2 .blog-sidebar {
        order: 2;
    }

    .sidebar-widget {
        margin-bottom: 0;
    }

    .blog-post--magazine .blog-post-inner {
        grid-template-columns: 1fr;
    }

    .blog-post--magazine:nth-child(even) .blog-post-inner {
        direction: ltr;
    }

    .blog-post--magazine .blog-post-image {
        min-height: 260px;
        height: 260px;
    }
}

@media (max-width: 768px) {
    .blog-hero-v2 {
        margin-top: 80px;
        padding-top: 4.5rem;
    }

    .blog-hero-v2__stats {
        flex-direction: column;
    }

    .blog-hero-stat {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        width: 100%;
        max-width: 20rem;
        margin-left: auto;
        margin-right: auto;
    }

    .blog-toolbar__row {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-filter-pills {
        justify-content: flex-start;
    }

    .blog-section {
        padding: 60px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-hero {
        padding: 120px 0 60px;
        margin-top: 80px;
    }

    .blog-hero-title .arabic-text {
        font-size: 3rem;
    }

    .blog-hero-title .english-text {
        font-size: 2rem;
    }

    .blog-main {
        padding: 60px 0;
    }

    .blog-post-image {
        height: 250px;
    }

    .blog-post-content {
        padding: 1.5rem;
    }

    .blog-post-title {
        font-size: 1.5rem;
    }

    .blog-post-body {
        font-size: 1rem;
    }

    .blog-post-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-meta {
        font-size: 0.85rem;
    }

    .blog-post-meta {
        font-size: 0.85rem;
        gap: 1rem;
    }

    .blog-main-single .blog-post-footer {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .blog-hero-title .arabic-text {
        font-size: 2.5rem;
    }

    .blog-hero-title .english-text {
        font-size: 1.5rem;
    }

    .blog-hero-description {
        font-size: 1rem;
    }

    .blog-post-image {
        height: 200px;
    }

    .blog-main-single .blog-post-image {
        height: auto;
        aspect-ratio: 4 / 3;
        min-height: 180px;
    }

    .blog-post-content {
        padding: 1.2rem;
    }

    .blog-main-single .blog-post-content {
        padding: 1.35rem 1.1rem 2rem;
    }

    .blog-post-title {
        font-size: 1.3rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

    .blog-search-form {
        flex-direction: column;
    }

    .blog-search-btn {
        width: 100%;
    }
}



/* ====================== SOURCE: price.css ====================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #000080;
    --secondary-blue: #D4AF37;
    --navy-blue: #000080;
    --light-blue: #ffffff;
    --primary-orange: #000080;
    --secondary-orange: #000080;
    --light-orange: #e6f7f8;
    --white: #ffffff;
    --light-gray: #ffffff;
    --dark-gray: #000080;
    --text-dark: #0f172a;
    --text-light: #475569;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.arabic-text {
    font-family: 'Amiri', serif;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(30, 58, 138, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    overflow: hidden;
    background: transparent;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.footer-logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--primary-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.pricing-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--white) 0%, var(--white) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Structure Section */
.pricing-structure {
    padding: 80px 0;
    background: var(--light-gray);
}

.pricing-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid var(--secondary-blue);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border: 3px solid var(--primary-blue);
}

.card-header {
    background: linear-gradient(135deg, var(--secondary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--white);
}

.card-body {
    padding: 2rem;
}

.card-body p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.pricing-details {
    margin-top: 2rem;
}

.pricing-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 20px;
    border: 2px solid var(--secondary-blue);
}

.pricing-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.pricing-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

.contact-pricing {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--secondary-blue);
    text-align: center;
}

.contact-pricing h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-pricing p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contact-pricing ul {
    text-align: left;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.contact-pricing ul li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.contact-pricing ul li:before {
    content: '•';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Value Proposition Section */
.value-proposition {
    padding: 80px 0;
    background: var(--white);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border: 2px solid var(--primary-blue);
}

.value-item .value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(360deg);
    background: linear-gradient(135deg, var(--secondary-blue), var(--secondary-blue));
}

.value-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Scholarship Section */
.scholarship-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-blue), var(--secondary-blue));
    color: var(--white);
    text-align: center;
}

.scholarship-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.scholarship-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Features Included */
.features-included {
    padding: 80px 0;
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border: 2px solid var(--primary-blue);
}

.feature-item .feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(360deg);
    background: linear-gradient(135deg, var(--secondary-blue), var(--secondary-blue));
}

.feature-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Payment Options */
.payment-options {
    padding: 80px 0;
    background: var(--white);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.payment-method {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.payment-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.payment-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.payment-method:hover .payment-icon {
    transform: scale(1.1) rotate(360deg);
    background: linear-gradient(135deg, var(--secondary-blue), var(--secondary-blue));
}

.payment-method h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.payment-method p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
    border-radius: 10px;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
    border-radius: 10px;
}

.faq-question:hover {
    background: var(--white);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
}

.faq-question i {
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Pricing CTA */
.pricing-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--white), var(--white));
    color: var(--primary-blue);
    text-align: center;
}

.pricing-cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-cta .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    border: 2px solid var(--primary-blue);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--text-dark);
    padding: 60px 0 20px;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    column-gap: 3rem;
    row-gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.footer-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-blue);
}

.footer-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.footer-section p i {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(90, 205, 210, 0.3);
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    color: var(--text-light);
}
/* Improved contact item structure */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
}

.contact-item i {
    color: var(--primary-blue);
    margin-top: 0.2rem;
    min-width: 20px;
    text-align: center;
}

.contact-item span {
    color: var(--text-light);
    line-height: 1.5;
    text-align: left;
}

/* Mobile fixes for improved structure */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        padding: 0 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item span {
        text-align: center;
        line-height: 1.4;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .contact-item span {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AOS Animation Attributes */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        height: 80px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
    }

    .pricing-hero {
        padding: 100px 0 60px;
    }

    .section-title {
        font-size: 2rem;
    }

    .pricing-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .value-grid,
    .features-grid,
    .payment-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card.featured {
        transform: none;
    }

    .scholarship-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .pricing-hero {
        padding: 100px 0 60px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .card-header h3 {
        font-size: 1.3rem;
    }

    .contact-pricing {
        padding: 1.5rem;
    }

    .pricing-cta .cta-content h2 {
        font-size: 2rem;
    }
}

/* Mobile menu body lock */
body.menu-open {
    overflow: hidden;
}

/* Ensure images don't break layout */
img {
    max-width: 100%;
    height: auto;
}

/* ====================== SOURCE: n-q.css ====================== */

/* Noorani Qaidha Course Specific Styles */

/* Learning Levels Section */
.learning-levels {
    padding: 80px 0;
    background: var(--white);
}

.levels-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.level-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
    position: relative;
    overflow: hidden;
}

.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--secondary-blue));
}

.level-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.level-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.level-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.level-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.level-features {
    list-style: none;
    margin-bottom: 1.5rem;
    text-align: left;
}

.level-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.level-features li i {
    color: var(--primary-orange);
    font-size: 0.9rem;
}

/* Teaching Methodology */
.teaching-methodology {
    padding: 80px 0;
    background: var(--white);
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.method-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-blue);
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-blue);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.method-card:hover .method-icon {
    transform: scale(1.1) rotate(360deg);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue));
}

.method-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.method-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .levels-container {
        grid-template-columns: 1fr;
    }
    
    .methodology-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .level-card,
    .method-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .learning-levels,
    .teaching-methodology {
        padding: 60px 0;
    }
    
    .level-features {
        text-align: center;
    }
    
    .level-features li {
        justify-content: center;
    }
}

/* ====================== SOURCE: premium-enhancements.css ====================== */

/* ==========================================================================
   AL-FURQAN ONLINE QURAN ACADEMY - PREMIUM ENHANCEMENTS & DESIGN UPGRADES
   Branding: Royal Navy (#000080) & Islamic Warm Gold (#D4AF37)
   ========================================================================== */

:root {
    --brand-navy: #000080;
    --brand-navy-dark: #060e26;
    --brand-navy-deep: #0a1638;
    --brand-navy-light: #122863;
    --brand-gold: #D4AF37;
    --brand-gold-light: #F7E7A9;
    --brand-gold-bright: #E5BE39;
    --brand-gold-dark: #A37F15;
    --brand-gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5DE88 50%, #C49B24 100%);
    --brand-gold-gradient-hover: linear-gradient(135deg, #F5DE88 0%, #D4AF37 50%, #A37F15 100%);
    --brand-navy-gradient: linear-gradient(135deg, #000080 0%, #0d276b 100%);
    --brand-surface: #f8fafc;
    --brand-card-bg: #ffffff;
    --wa-green: #25D366;
    --wa-green-hover: #1ebd56;
    --text-primary: #0f172a;
    --text-muted: #475569;
    --border-color: #e2e8f0;
    --gold-border: rgba(212, 175, 55, 0.35);
    --shadow-sm: 0 2px 8px rgba(0, 0, 128, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 128, 0.1);
    --shadow-lg: 0 16px 40px rgba(0, 0, 128, 0.14);
    --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.35);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   1. GLOBAL "BOOK YOUR FREE DEMO" BUTTONS & CTA STYLES
   ========================================================================== */

.btn-demo-header {
    background: var(--brand-gold-gradient);
    color: var(--brand-navy) !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.5px;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-demo-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-25deg);
    transition: 0.6s;
}

.btn-demo-header:hover {
    background: var(--brand-gold-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.5);
    color: var(--brand-navy-dark) !important;
}

.btn-demo-header:hover::before {
    left: 140%;
}

.btn-demo-nav-pulse {
    animation: goldPulse 2.8s infinite;
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Header container with demo button */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Standard Premium Demo Button for Hero and In-Page */
.btn-free-demo {
    background: var(--brand-gold-gradient);
    color: var(--brand-navy) !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn-free-demo:hover {
    background: var(--brand-gold-gradient-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.55);
    color: var(--brand-navy-dark) !important;
}

.btn-free-demo i {
    font-size: 1.15rem;
    transition: transform 0.3s ease;
}

.btn-free-demo:hover i {
    transform: translateX(3px);
}

/* Secondary Button - Outline Gold / Navy */
.btn-secondary-custom {
    background: transparent;
    color: var(--brand-navy) !important;
    border: 2px solid var(--brand-navy);
    font-weight: 600;
    font-size: 1.02rem;
    padding: 13px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-secondary-custom:hover {
    background: var(--brand-navy);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 128, 0.25);
}

/* Hero Section Enhancements */
.hero-enhanced {
    position: relative;
    padding: 150px 0 90px;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.hero-enhanced .hero-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--brand-navy);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-badge-pill i {
    color: var(--brand-gold-dark);
}

.hero-enhanced .hero-title-main {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.22;
    color: var(--brand-navy);
    margin-bottom: 1.25rem;
}

.hero-enhanced .hero-title-main .text-gold {
    color: var(--brand-gold-dark);
    position: relative;
    display: inline-block;
}

.hero-enhanced .hero-subtitle-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 2rem;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.trust-item i {
    color: var(--brand-gold);
    font-size: 1.1rem;
}

/* Hero Visual & Overlays */
.hero-visual-card {
    position: relative;
    border-radius: 24px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(0, 0, 128, 0.2));
    box-shadow: var(--shadow-lg);
}

.hero-visual-inner {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--brand-navy-dark);
}

.hero-visual-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-visual-card:hover .hero-visual-img {
    transform: scale(1.03);
}

.hero-floating-stat {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(10, 22, 56, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold-border);
    border-radius: 14px;
    padding: 16px 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-pill-item {
    text-align: center;
}

.stat-pill-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-gold-light);
    line-height: 1.1;
}

.stat-pill-lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.hero-tag-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gold-border);
    border-radius: 50px;
    padding: 8px 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.hero-tag-badge i {
    color: #16a34a;
}

/* ==========================================================================
   2. FLOATING WHATSAPP BUTTON (GLOBAL)
   ========================================================================== */

.whatsapp-float-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-float-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--wa-green);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.whatsapp-float-btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid var(--wa-green);
    animation: waWave 2.4s infinite;
    opacity: 0.8;
}

@keyframes waWave {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.whatsapp-float-btn:hover {
    background: var(--wa-green-hover);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.65);
    color: #ffffff !important;
}

.whatsapp-float-tooltip {
    background: #0f172a;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    transition: var(--transition-smooth);
    position: relative;
    animation: floatTooltip 3s ease-in-out infinite;
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #0f172a;
}

@keyframes floatTooltip {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-4px);
    }
}

/* Adjust scroll-to-top to sit cleanly above WhatsApp */
.scroll-to-top {
    bottom: 98px !important;
    right: 25px !important;
    z-index: 9998 !important;
    width: 46px !important;
    height: 46px !important;
}

/* ==========================================================================
   3. ONLINE VS OFFLINE LEARNING COMPARISON SECTION
   ========================================================================== */

.comparison-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #f8faff 0%, #eef4ff 100%);
    position: relative;
}

.section-header-center {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3.5rem;
}

.section-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 128, 0.08);
    color: var(--brand-navy);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 128, 0.15);
}

.comparison-main-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.comparison-subtitle {
    font-size: 1.12rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Modern Comparison Table */
.comparison-table-wrapper {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table thead th {
    padding: 22px 24px;
    font-size: 1.05rem;
    font-weight: 700;
}

.col-factor-head {
    width: 26%;
    background: #f1f5f9;
    color: var(--brand-navy);
    border-bottom: 2px solid #cbd5e1;
}

.col-offline-head {
    width: 37%;
    background: #f8fafc;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
}

.col-online-head {
    width: 37%;
    background: var(--brand-navy-gradient);
    color: #ffffff;
    border-bottom: 2px solid var(--brand-gold);
    position: relative;
}

.online-recommend-tag {
    display: inline-block;
    background: var(--brand-gold-gradient);
    color: var(--brand-navy);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 8px;
    letter-spacing: 0.5px;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(241, 245, 249, 0.4);
}

.comparison-table tbody td {
    padding: 18px 24px;
    vertical-align: middle;
    font-size: 0.98rem;
    line-height: 1.55;
}

.factor-cell {
    font-weight: 700;
    color: var(--brand-navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.factor-cell i {
    color: var(--brand-gold-dark);
    font-size: 1.1rem;
    width: 22px;
}

.offline-cell {
    color: #64748b;
    background: #ffffff;
}

.offline-cell i {
    color: #94a3b8;
    margin-right: 8px;
}

.online-cell {
    font-weight: 600;
    color: var(--brand-navy-dark);
    background: rgba(212, 175, 55, 0.04);
    border-left: 2px solid rgba(212, 175, 55, 0.35);
    border-right: 2px solid rgba(212, 175, 55, 0.35);
}

.online-cell i {
    color: #16a34a;
    font-size: 1.05rem;
    margin-right: 8px;
}

/* Respectful Conclusion Box */
.comparison-conclusion-card {
    background: #ffffff;
    border-left: 5px solid var(--brand-gold);
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 2rem;
}

.conclusion-text-wrap {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.conclusion-text-wrap i {
    font-size: 2rem;
    color: var(--brand-gold);
    margin-top: 4px;
    flex-shrink: 0;
}

.conclusion-statement {
    font-size: 1.02rem;
    color: var(--text-primary);
    line-height: 1.65;
    margin: 0;
}

.comparison-cta-btn-wrap {
    flex-shrink: 0;
}

/* ==========================================================================
   4. HOME PAGE EDUCATIONAL CONTENT SECTION
   "Learn the Holy Quran Online – Wherever You Are in the World"
   ========================================================================== */

.educational-benefits-section {
    padding: 95px 0;
    background: #ffffff;
    position: relative;
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 3.5rem;
}

.edu-card {
    background: var(--brand-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px 26px;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.edu-card:hover {
    background: #ffffff;
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-border);
}

.edu-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--brand-navy-gradient);
    color: var(--brand-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 16px rgba(0, 0, 128, 0.2);
}

.edu-card-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.edu-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.edu-audiences-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 10px;
}

.audience-tag {
    background: rgba(0, 0, 128, 0.06);
    color: var(--brand-navy);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 128, 0.1);
}

/* Feature highlight banner */
.edu-highlight-banner {
    background: var(--brand-navy-gradient);
    border-radius: 20px;
    padding: 40px 48px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gold-border);
}

.edu-highlight-banner h3 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--brand-gold-light);
    margin-bottom: 0.75rem;
}

.edu-highlight-banner p {
    font-size: 1.05rem;
    line-height: 1.65;
    opacity: 0.9;
    margin: 0;
}

.edu-highlight-cta {
    text-align: right;
}

/* ==========================================================================
   5. DEDICATED FREE DEMO BOOKING SECTION & FORM
   ========================================================================== */

.free-demo-section {
    padding: 95px 0;
    background: linear-gradient(180deg, #071233 0%, #03081c 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.free-demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.demo-form-wrapper {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.demo-info-side h2 {
    font-size: 2.45rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

.demo-info-side .text-gold {
    color: var(--brand-gold-light);
}

.demo-info-desc {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.demo-perks-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
}

.demo-perks-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: #e2e8f0;
}

.demo-perks-list li i {
    color: var(--brand-gold);
    font-size: 1.25rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.demo-perks-list strong {
    color: #ffffff;
}

.demo-direct-contact-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--gold-border);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon-wa {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--wa-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    flex-shrink: 0;
}

.contact-details p {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.contact-details a {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--brand-gold-light);
}

/* Demo Form Card */
.demo-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 38px 34px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    color: var(--text-primary);
    border: 1px solid var(--gold-border);
}

.demo-form-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.demo-form-header h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.35rem;
}

.demo-form-header p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
}

.demo-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.demo-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.demo-form-group label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.demo-form-group label span.req {
    color: #ef4444;
}

.demo-input,
.demo-select,
.demo-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text-primary);
    background: #f8fafc;
    transition: var(--transition-smooth);
}

.demo-input:focus,
.demo-select:focus,
.demo-textarea:focus {
    outline: none;
    border-color: var(--brand-navy);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.1);
}

.phone-input-combined {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px;
}

.demo-form-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-submit-demo {
    background: var(--brand-gold-gradient);
    color: var(--brand-navy);
    font-weight: 800;
    font-size: 1.05rem;
    padding: 14px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-demo:hover {
    background: var(--brand-gold-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

.btn-wa-demo-alt {
    background: #f0fdf4;
    color: #15803d;
    border: 1.5px solid #86efac;
    font-weight: 700;
    font-size: 0.94rem;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-wa-demo-alt:hover {
    background: var(--wa-green);
    color: #ffffff;
    border-color: var(--wa-green);
}

/* Form success confirmation alert */
.demo-success-box {
    display: none;
    background: #ecfdf5;
    border: 2px solid #34d399;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.demo-success-box i {
    font-size: 3rem;
    color: #059669;
    margin-bottom: 0.75rem;
}

.demo-success-box h4 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 0.5rem;
}

.demo-success-box p {
    font-size: 0.94rem;
    color: #047857;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ==========================================================================
   6. QUICK DEMO ACTION BAR (BELOW HERO)
   ========================================================================== */

.quick-demo-banner {
    background: var(--brand-navy-gradient);
    color: #ffffff;
    padding: 20px 0;
    border-top: 2px solid var(--brand-gold);
    border-bottom: 2px solid var(--brand-gold);
}

.quick-demo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-demo-text {
    display: flex;
    align-items: center;
    gap: 14px;
}

.quick-demo-badge {
    background: var(--brand-gold-gradient);
    color: var(--brand-navy);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.quick-demo-text p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    
}

/* ==========================================================================
   7. PAGE-LEVEL DEMO PROMO BANNERS (COURSES, PRICING, ABOUT, CAREER, CONTACT)
   ========================================================================== */

.page-demo-cta-banner {
    background: linear-gradient(135deg, #071330 0%, #0c2356 100%);
    border-radius: 20px;
    padding: 45px 40px;
    color: #ffffff;
    margin: 60px 0;
    border: 1px solid var(--gold-border);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.page-demo-cta-text h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-gold-light);
    margin-bottom: 0.6rem;
}

.page-demo-cta-text p {
    font-size: 1.05rem;
    color: #e2e8f0;
    margin: 0;
    max-width: 650px;
    line-height: 1.6;
}

/* Teaching Methodology & Steps */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.methodology-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 26px 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition-smooth);
}

.methodology-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-border);
    box-shadow: var(--shadow-md);
}

.step-num-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-navy);
    color: var(--brand-gold-light);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.methodology-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.5rem;
}

.methodology-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Learning Journey Roadmap */
.roadmap-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 2.5rem 0;
    position: relative;
}

.roadmap-step {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.roadmap-step:hover {
    transform: translateY(-4px);
    border-color: var(--brand-gold);
    box-shadow: var(--shadow-md);
}

.roadmap-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-navy-gradient);
    color: var(--brand-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 0.85rem;
}

.roadmap-step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.35rem;
}

.roadmap-step p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

/* ==========================================================================
   8. RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   ========================================================================== */

@media (max-width: 992px) {
    .hero-enhanced .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual-card {
        max-width: 520px;
        margin: 0 auto;
    }

    .edu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .demo-form-wrapper {
        grid-template-columns: 1fr;
    }

    .page-demo-cta-banner {
        flex-direction: column;
        text-align: center;
    }

    .methodology-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .roadmap-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1180px) and (min-width: 769px) {
    .nav-container {
        padding: 0 15px;
    }
    .nav-menu {
        gap: 1rem !important;
    }
    .nav-link {
        font-size: 0.88rem !important;
    }
    .btn-demo-header {
        padding: 8px 14px !important;
        font-size: 0.78rem !important;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 768px) {
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .scroll-to-down {
        display: none !important;
    }

    .hero-enhanced {
        padding: 110px 0 60px;
    }

    .hero-enhanced .hero-title-main {
        font-size: 2.15rem;
    }

    .comparison-main-heading {
        font-size: 1.95rem;
    }

    /* Mobile Table Scroll or Card Transformation */
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table thead th {
        padding: 16px 14px;
        font-size: 0.92rem;
    }

    .comparison-table tbody td {
        padding: 14px 14px;
        font-size: 0.88rem;
    }

    .comparison-conclusion-card {
        flex-direction: column;
        text-align: center;
    }

    .conclusion-text-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .edu-grid {
        grid-template-columns: 1fr;
    }

    .edu-highlight-banner {
        grid-template-columns: 1fr;
        padding: 30px 24px;
        text-align: center;
    }

    .edu-highlight-cta {
        text-align: center;
    }

    .demo-form-card {
        padding: 26px 20px;
    }

    .demo-form-grid {
        grid-template-columns: 1fr;
    }

    .phone-input-combined {
        grid-template-columns: 100px 1fr;
    }

    .quick-demo-container {
        justify-content: center;
        text-align: center;
    }

    .methodology-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-container {
        grid-template-columns: 1fr;
    }

    .whatsapp-float-btn {
        width: 54px;
        height: 54px;
        font-size: 28px;
    }

    .whatsapp-float-tooltip {
        display: none; /* Keep clean on small mobile viewports */
    }

    .btn-demo-header {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
}


/* ====================== SOURCE: site-refinement.css ====================== */


/* ==========================================================================
   AL-FURQAN — CONSISTENT FRONTEND REFINEMENT
   Loaded after page stylesheets to resolve legacy style collisions.
   Brand: Royal Navy #080B55 + Warm Gold #D4AF37
   ========================================================================== */
:root {
  --brand-navy:#080B55;
  --brand-navy-2:#11166f;
  --brand-gold:#D4AF37;
  --brand-gold-light:#F6E8B0;
  --brand-ink:#172033;
  --brand-muted:#647084;
  --brand-bg:#F7F8FC;
  --brand-white:#fff;
  --brand-border:#E7EAF1;
  --brand-shadow:0 14px 38px rgba(8,11,85,.09);
  --brand-radius:20px;
}
html { scroll-behavior:smooth; scroll-padding-top:100px; }
body {
  color:var(--brand-ink);
  background:#fff;
  font-family:'Poppins',sans-serif;
  line-height:1.7;
  overflow-x:clip;
}
img { max-width:100%; }
.container,.nav-container {
  width:min(1200px, calc(100% - 48px));
  margin-inline:auto;
}
section { scroll-margin-top:100px; }
h1,h2,h3,h4 { line-height:1.2; }
p { color:var(--brand-muted); }
a { transition:color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }

/* Header and navigation */
.navbar {
  position:sticky !important;
  top:0;
  z-index:1000;
  width:100%;
  background:rgba(255,255,255,.97) !important;
  border-bottom:1px solid rgba(8,11,85,.08);
  box-shadow:0 5px 24px rgba(8,11,85,.07) !important;
  backdrop-filter:blur(14px);
}
.nav-container {
  min-height:86px;
  height:auto !important;
  padding:12px 0 !important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.nav-logo { flex:0 0 auto; min-width:0; }
.nav-logo > a { display:flex; align-items:center; gap:12px; }
.logo-icon { width:58px !important; height:58px !important; flex:0 0 58px; }
.logo-image { object-fit:contain; }
.logo-text {
  color:var(--brand-navy) !important;
  background:none !important;
  -webkit-text-fill-color:var(--brand-navy) !important;
  font-size:clamp(1.1rem,2vw,1.55rem) !important;
  font-weight:800 !important;
  letter-spacing:.4px;
}
.nav-menu {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:1 1 auto;
  gap:clamp(12px,1.6vw,25px) !important;
  margin:0;
}
.nav-item { position:relative; }
.nav-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:10px 0;
  color:#263047 !important;
  font-size:.88rem;
  font-weight:600 !important;
  white-space:nowrap;
}
.nav-link:hover,.nav-link.active { color:var(--brand-navy) !important; }
.nav-link::after { background:var(--brand-gold) !important; height:2px !important; }
.nav-actions { display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.btn-demo-header,.btn-free-demo {
  background:linear-gradient(135deg,#E7C65B,#D4AF37) !important;
  color:#080B55 !important;
  border:0 !important;
  border-radius:999px !important;
  box-shadow:0 8px 20px rgba(212,175,55,.25) !important;
  font-weight:800 !important;
  text-decoration:none;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px;
  line-height:1.25;
  text-align:center;
}
.btn-demo-header:hover,.btn-free-demo:hover {
  background:linear-gradient(135deg,#F5DE88,#C49B24) !important;
  color:#060E26 !important;
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(212,175,55,.45) !important;
}
.btn-demo-header { padding:11px 19px !important; font-size:.82rem !important; }
.btn-demo-nav-pulse { animation:none !important; }
.dropdown-menu {
  border:1px solid var(--brand-border) !important;
  border-radius:14px !important;
  box-shadow:var(--brand-shadow) !important;
  padding:18px !important;
}
.dropdown-menu a { color:var(--brand-ink) !important; }
.dropdown-menu a:hover { color:var(--brand-navy) !important; background:#F5F6FB !important; }
.hamburger { flex:0 0 auto; padding:8px; }
.bar { background:var(--brand-navy) !important; border-radius:5px; }

/* Hero areas */
.hero-enhanced {
  min-height:600px;
  display:flex;
  align-items:center;
  padding:76px 0 82px !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:
    radial-gradient(circle at 85% 18%,rgba(212,175,55,.14),transparent 28%),
    linear-gradient(135deg,#F8F9FE 0%,#FFFFFF 58%,#F7F6EF 100%) !important;
}
.about-hero,.course-hero,.pricing-hero,.scholarship-hero,.contact-hero {
  padding-top:72px !important;
  padding-bottom:72px !important;
}
.blog-hero-v2 {
  margin-top:0 !important;
  padding:72px 0 64px !important;
}
.hero-enhanced > .container { width:min(1200px,calc(100% - 48px)); }
.hero-content {
  display:grid !important;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  align-items:center;
  gap:clamp(35px,6vw,76px);
}
.hero-text { max-width:650px; }
.hero-badge-pill {
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:9px 15px;
  border:1px solid rgba(212,175,55,.4);
  border-radius:999px;
  background:#fff;
  color:var(--brand-navy) !important;
  font-size:.82rem;
  font-weight:700;
  box-shadow:0 5px 18px rgba(8,11,85,.05);
}
.hero-title-main {
  max-width:720px;
  margin:22px 0 18px !important;
  color:var(--brand-navy) !important;
  font-size:clamp(2.35rem,4.5vw,4.25rem) !important;
  line-height:1.13 !important;
  font-weight:800 !important;
  letter-spacing:-1.5px;
}
.text-gold { color:#B28A17 !important; }
.free-demo-section .text-gold { color:var(--brand-gold-light) !important; }
.hero-subtitle-text {
  max-width:610px;
  margin:0 0 27px !important;
  color:#5C667A !important;
  font-size:1.02rem !important;
  line-height:1.85 !important;
}
.hero-cta-group { display:flex; flex-wrap:wrap; align-items:center; gap:13px !important; }
.btn-free-demo,.btn-secondary-custom {
  min-height:52px;
  padding:14px 23px !important;
  font-size:.88rem !important;
  letter-spacing:.25px;
}
.btn-secondary-custom {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px;
  border:1.5px solid var(--brand-navy) !important;
  color:var(--brand-navy) !important;
  background:#fff !important;
  border-radius:999px !important;
  font-weight:700 !important;
  line-height:1.25;
  text-decoration:none;
  cursor:pointer;
}
.btn-secondary-custom:hover {
  background:var(--brand-navy) !important;
  color:#fff !important;
  border-color:var(--brand-navy) !important;
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(8,11,85,.25) !important;
}
.btn-secondary-light,
.sisters-section .btn-secondary-custom,
.course-cta .btn-secondary-custom,
.dark-hero-banner .btn-secondary-custom {
  background:rgba(255,255,255,.1) !important;
  color:#fff !important;
  border:1.5px solid rgba(255,255,255,.88) !important;
}
.btn-secondary-light:hover,
.sisters-section .btn-secondary-custom:hover,
.course-cta .btn-secondary-custom:hover,
.dark-hero-banner .btn-secondary-custom:hover {
  background:#fff !important;
  color:#080B55 !important;
  border-color:#fff !important;
  box-shadow:0 8px 24px rgba(0,0,0,.28) !important;
}
.hero-trust-badges {
  display:flex;
  flex-wrap:wrap;
  gap:12px 18px !important;
  margin-top:28px;
}
.trust-item { color:#475168 !important; font-size:.82rem; font-weight:600; }
.trust-item i { color:#B28A17 !important; margin-right:5px; }
.hero-visual-card {
  width:100%;
  max-width:510px;
  justify-self:end;
  border-radius:28px !important;
  padding:12px !important;
  background:#fff !important;
  border:1px solid rgba(212,175,55,.35);
  box-shadow:0 24px 60px rgba(8,11,85,.15) !important;
}
.hero-visual-inner { position:relative; border-radius:20px; overflow:hidden; }
.hero-visual-img { display:block; width:100%; height:420px; object-fit:cover; border-radius:20px !important; }
.hero-tag-badge {
  position:absolute;
  top:18px; left:18px;
  border-radius:999px;
  padding:10px 14px;
  background:#fff;
  color:var(--brand-navy) !important;
  font-size:.78rem;
  font-weight:800;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}
.hero-floating-stat {
  position:absolute;
  left:14px; right:14px; bottom:14px;
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px !important;
  padding:12px;
  border-radius:16px;
  background:rgba(8,11,85,.91) !important;
  backdrop-filter:blur(10px);
}
.stat-pill-item { min-width:0; text-align:center; }
.stat-pill-num { color:#F3D56E !important; font-size:1.35rem !important; font-weight:800; line-height:1.2; }
.stat-pill-lbl { color:#fff !important; font-size:.68rem !important; line-height:1.4; }

/* Consistent section rhythm and headings */
section:not(.hero-enhanced) { padding-block:clamp(54px,7vw,88px); }
.section-title {
  color:var(--brand-navy) !important;
  font-size:clamp(1.8rem,3vw,2.65rem) !important;
  font-weight:800 !important;
  line-height:1.2;
  margin:0 auto 20px !important;
  text-align:center;
}
.section-title::after {
  width:66px !important;
  height:4px !important;
  bottom:-12px !important;
  background:linear-gradient(90deg,var(--brand-navy),var(--brand-gold)) !important;
}
.services-description,.section-description {
  max-width:720px;
  margin:24px auto 38px !important;
  text-align:center;
  color:var(--brand-muted) !important;
  line-height:1.8;
}
.quick-demo-banner {
  padding:24px 0 !important;
  background:var(--brand-navy) !important;
}
.quick-demo-container { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.quick-demo-text p { color:rgba(255,255,255,.92) !important; margin:5px 0 0; }
.quick-demo-badge {
  background:linear-gradient(135deg,#E7C65B,#D4AF37) !important;
  color:#080B55 !important;
  font-weight:800 !important;
  letter-spacing:.6px;
  padding:6px 14px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  flex-shrink:0;
}

/* Dark banners, overlays, and Sisters section text visibility */
.edu-highlight-banner {
  background:linear-gradient(135deg,#070A48 0%,#10165F 100%) !important;
  color:#fff !important;
}
.edu-highlight-banner h3 { color:#F7E7A9 !important; }
.edu-highlight-banner p { color:rgba(255,255,255,.88) !important; opacity:1; }

.page-demo-cta-banner {
  background:linear-gradient(135deg,#070A48 0%,#10165F 100%) !important;
  color:#fff !important;
}
.page-demo-cta-text h3 { color:#F7E7A9 !important; }
.page-demo-cta-text p { color:rgba(255,255,255,.9) !important; }

.cta-widget p,.cta-widget-v2 p { color:rgba(255,255,255,.92) !important; }
.image-overlay .overlay-text p,.sisters-overlay-text p { color:rgba(255,255,255,.92) !important; }

.sisters-section {
  background:linear-gradient(135deg,#091a42 0%,#03081c 100%) !important;
  color:#fff !important;
}
.sisters-title {
  background:linear-gradient(135deg,#ff85c0 0%,#F7E7A9 100%) !important;
  -webkit-background-clip:text !important;
  -webkit-text-fill-color:transparent !important;
  background-clip:text !important;
  color:#F7E7A9 !important;
}
.sisters-quote {
  background:rgba(255,255,255,.08) !important;
  border-left:4px solid var(--brand-gold) !important;
  border-radius:12px !important;
}
.sisters-quote p {
  color:#F8FAFC !important;
  font-size:1.15rem;
  line-height:1.7;
}
.sisters-description p {
  color:rgba(255,255,255,.88) !important;
  font-size:1.05rem;
  line-height:1.8;
}
.sisters-buttons {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
}

.scholarship-section {
  background:linear-gradient(135deg,#070A48 0%,#10165F 100%) !important;
  color:#fff !important;
  padding:80px 0;
  text-align:center;
}
.scholarship-section h2 { color:#F7E7A9 !important; margin-bottom:14px; }
.scholarship-section p {
  color:rgba(255,255,255,.88) !important;
  max-width:700px;
  margin:0 auto;
}
.scholarship-section .btn-secondary {
  background:rgba(255,255,255,.1) !important;
  color:#fff !important;
  border:2px solid rgba(255,255,255,.88) !important;
}
.scholarship-section .btn-secondary:hover {
  background:#fff !important;
  color:#080B55 !important;
  border-color:#fff !important;
}

.course-cta {
  background:linear-gradient(135deg,#070A48 0%,#10165F 100%) !important;
  color:#fff !important;
  padding:80px 0 !important;
  text-align:center;
}
.course-cta .cta-content h2 { color:#F7E7A9 !important; margin-bottom:12px; }
.course-cta .cta-content p {
  color:rgba(255,255,255,.88) !important;
  max-width:680px;
  margin:0 auto 28px;
}
.course-cta .btn-primary {
  background:linear-gradient(135deg,#E7C65B,#D4AF37) !important;
  color:#080B55 !important;
  border:2px solid #D4AF37 !important;
}
.course-cta .btn-primary:hover {
  background:linear-gradient(135deg,#F5DE88,#C49B24) !important;
  color:#060E26 !important;
  border-color:#C49B24 !important;
}
.course-cta .btn-secondary {
  background:rgba(255,255,255,.1) !important;
  color:#fff !important;
  border:2px solid rgba(255,255,255,.88) !important;
}
.course-cta .btn-secondary:hover {
  background:#fff !important;
  color:#080B55 !important;
  border-color:#fff !important;
}

.contact-pricing ul { list-style:none; padding:0; }
.contact-pricing ul li { padding-left:0 !important; display:flex; align-items:flex-start; gap:10px; }
.contact-pricing ul li::before { content:none !important; }
.contact-pricing ul li i { margin-top:5px; flex-shrink:0; }

/* Cards, grids and content blocks */
.services-grid,.courses-grid,.features-grid,.team-grid,.blog-grid,.pricing-grid {
  align-items:stretch;
  gap:24px !important;
}
.service-card,.course-card,.feature-card,.team-card,.blog-card,.pricing-card,
.testimonial-card,.stat-card,.contact-card {
  height:100%;
  border:1px solid var(--brand-border) !important;
  border-radius:var(--brand-radius) !important;
  background:#fff !important;
  box-shadow:0 8px 26px rgba(8,11,85,.055) !important;
  overflow:hidden;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease !important;
}
.course-card {
  display:flex;
  flex-direction:column;
}
.course-content {
  display:flex;
  flex-direction:column;
  flex:1;
  padding:1.75rem !important;
}
.course-content p { flex:1; }
.course-btn-row {
  display:flex;
  align-items:stretch;
  gap:10px;
  margin-top:auto;
  padding-top:16px;
}
.course-btn {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:1;
  min-height:44px;
  padding:10px 14px !important;
  border-radius:999px !important;
  background:#080B55 !important;
  color:#fff !important;
  border:1.5px solid #080B55 !important;
  font-size:.88rem !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  text-align:center;
  text-decoration:none;
  white-space:nowrap;
  transition:all .25s ease;
}
.course-btn:hover {
  background:#142278 !important;
  color:#fff !important;
  border-color:#142278 !important;
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(8,11,85,.25);
}
.course-btn--gold {
  background:linear-gradient(135deg,#E7C65B,#D4AF37) !important;
  color:#080B55 !important;
  border-color:#D4AF37 !important;
}
.course-btn--gold:hover {
  background:linear-gradient(135deg,#F5DE88,#C49B24) !important;
  color:#060E26 !important;
  border-color:#C49B24 !important;
  box-shadow:0 6px 18px rgba(212,175,55,.4);
}
.service-card:hover,.course-card:hover,.feature-card:hover,.team-card:hover,
.blog-card:hover,.pricing-card:hover,.testimonial-card:hover {
  transform:translateY(-5px);
  border-color:rgba(212,175,55,.55) !important;
  box-shadow:var(--brand-shadow) !important;
}
.service-card { padding:30px 25px !important; }
.service-icon { background:linear-gradient(135deg,#F8F4E5,#F1E4B5) !important; }
.service-icon i { color:var(--brand-navy) !important; }
.service-card h3,.course-card h3,.feature-card h3 { color:var(--brand-navy) !important; }

/* Unified Button System & Hover Contrast */
button,.btn,.btn-primary,.btn-submit {
  border-radius:999px;
}
.btn {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px;
  min-height:46px;
  padding:12px 26px;
  border-radius:999px !important;
  font-weight:700;
  line-height:1.25;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  border:2px solid transparent;
  transition:all .25s ease;
}
.btn-primary {
  background:linear-gradient(135deg,#080B55 0%,#152b7a 100%) !important;
  color:#fff !important;
  border-color:#080B55 !important;
  box-shadow:0 6px 18px rgba(8,11,85,.22);
}
.btn-primary:hover {
  background:linear-gradient(135deg,#E7C65B 0%,#D4AF37 100%) !important;
  color:#080B55 !important;
  border-color:#D4AF37 !important;
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(212,175,55,.35) !important;
}
.btn-gold {
  background:linear-gradient(135deg,#E7C65B,#D4AF37) !important;
  color:#080B55 !important;
  border:2px solid #D4AF37 !important;
  box-shadow:0 8px 20px rgba(212,175,55,.25);
}
.btn-gold:hover {
  background:linear-gradient(135deg,#F5DE88,#C49B24) !important;
  color:#060E26 !important;
  border-color:#C49B24 !important;
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(212,175,55,.45) !important;
}
.btn-secondary {
  background:#fff !important;
  color:#080B55 !important;
  border:2px solid #080B55 !important;
}
.btn-secondary:hover {
  background:#080B55 !important;
  color:#fff !important;
  border-color:#080B55 !important;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(8,11,85,.22);
}
.btn-outline {
  background:#fff !important;
  color:#080B55 !important;
  border:2px solid #080B55 !important;
  padding:11px 24px !important;
  min-height:46px;
}
.btn-outline:hover {
  background:#080B55 !important;
  color:#fff !important;
  border-color:#080B55 !important;
  transform:translateY(-2px);
}
.btn-scholarship {
  width:auto;
  min-height:52px;
  padding:14px 28px;
  background:#080B55 !important;
  color:#fff !important;
  border:2px solid #080B55 !important;
}
form .btn-scholarship { width:100%; }
.btn-scholarship:hover {
  background:linear-gradient(135deg,#E7C65B,#D4AF37) !important;
  color:#080B55 !important;
  border-color:#D4AF37 !important;
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(212,175,55,.38);
}
.btn-whatsapp {
  background:linear-gradient(135deg,#25D366,#128C7E) !important;
  color:#fff !important;
  border:2px solid transparent !important;
}
.btn-whatsapp:hover {
  background:linear-gradient(135deg,#1ebe5b,#0e7064) !important;
  color:#fff !important;
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(37,211,102,.4);
}
.btn-submit-demo {
  border-radius:12px !important;
  background:linear-gradient(135deg,#E7C65B,#D4AF37) !important;
  color:#080B55 !important;
}
.btn-submit-demo:hover {
  background:linear-gradient(135deg,#F5DE88,#C49B24) !important;
  color:#060E26 !important;
}
.btn-wa-demo-alt {
  background:#f0fdf4 !important;
  color:#15803d !important;
  border:1.5px solid #86efac !important;
}
.btn-wa-demo-alt:hover {
  background:#25D366 !important;
  color:#fff !important;
  border-color:#25D366 !important;
}
.course-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
}
.hero-buttons,.course-buttons,.cta-buttons,.form-actions {
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

input,select,textarea {
  max-width:100%;
  border-radius:10px;
}
input:focus,select:focus,textarea:focus {
  outline:0;
  border-color:var(--brand-gold) !important;
  box-shadow:0 0 0 3px rgba(212,175,55,.16) !important;
}

/* Footer */
footer,.footer {
  background:linear-gradient(135deg,#070A48 0%,#10165F 100%) !important;
  color:#fff !important;
  padding:64px 0 26px !important;
  border-top:2px solid rgba(212,175,55,.38) !important;
  box-shadow:0 -8px 30px rgba(7,10,72,.12) !important;
}
.footer-content {
  display:grid !important;
  grid-template-columns:1.25fr .95fr 1.1fr;
  gap:2.5rem;
  margin-bottom:2rem;
  align-items:start;
}
.footer-logo {
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:1rem;
}
.footer-logo-image {
  width:56px !important;
  height:56px !important;
  border-radius:12px;
  background:#fff;
  padding:4px;
  box-shadow:0 4px 12px rgba(0,0,0,.22);
  object-fit:contain;
}
.footer-logo span {
  color:#fff !important;
  font-size:1.5rem !important;
  font-weight:800 !important;
  letter-spacing:.3px;
}
.footer-section h3 {
  color:#F3D56E !important;
  font-size:1.15rem !important;
  font-weight:700 !important;
  margin-bottom:1.1rem !important;
}
.footer-section p,.footer-section li {
  color:rgba(255,255,255,.84) !important;
  display:block;
  line-height:1.7;
}
.footer-section ul {
  list-style:none;
  padding:0;
  margin:0;
}
.footer-section ul li { margin-bottom:.5rem; }
.footer-section ul li a {
  color:rgba(255,255,255,.84) !important;
  text-decoration:none;
  display:inline-block;
  padding:2px 0;
  transition:color .2s ease,transform .2s ease;
}
.footer-section ul li a:hover {
  color:#F3D56E !important;
  transform:translateX(4px);
}
.footer .contact-item {
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:.45rem 0;
}
.footer .contact-item i {
  color:#F3D56E !important;
  font-size:1rem;
  margin-top:4px;
  min-width:18px;
  text-align:center;
}
.footer .contact-item span,.footer .contact-item a {
  color:rgba(255,255,255,.88) !important;
  line-height:1.55;
  text-align:left;
}
.footer .social-links {
  display:flex;
  gap:12px;
  margin-top:1.25rem;
}
.footer .social-links a {
  width:42px;
  height:42px;
  border-radius:50%;
  background:rgba(255,255,255,.12) !important;
  color:#F3D56E !important;
  border:1px solid rgba(212,175,55,.45);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow:none !important;
  transition:all .25s ease;
}
.footer .social-links a:hover {
  background:linear-gradient(135deg,#E7C65B,#D4AF37) !important;
  color:#080B55 !important;
  border-color:#E7C65B;
  transform:translateY(-3px);
}
.footer-bottom {
  text-align:center;
  padding-top:1.5rem !important;
  margin-top:1rem;
  border-top:1px solid rgba(255,255,255,.16) !important;
}
.footer-bottom p {
  color:rgba(255,255,255,.78) !important;
  margin:0;
  font-size:.92rem;
}

/* Remove floating scroll arrows in case an old page still contains them. */
.scroll-to-top,.scroll-to-down,.scroll-top,.scroll-down,
#scrollToTop,#scrollDown { display:none !important; visibility:hidden !important; pointer-events:none !important; }

/* Responsive layout */
@media (max-width:1100px) {
  .nav-container { gap:14px; }
  .nav-menu { gap:12px !important; }
  .nav-link { font-size:.8rem; }
  .btn-demo-header { padding:10px 14px !important; font-size:.75rem !important; }
}
@media (max-width:900px) {
  .nav-container { min-height:76px; }
  .nav-menu {
    gap:0 !important;
    align-items:stretch;
  }
  .hero-enhanced { padding:58px 0 64px !important; }
  .hero-content { grid-template-columns:1fr; gap:36px; }
  .hero-text { max-width:760px; margin-inline:auto; text-align:center; }
  .hero-badge-pill { margin-inline:auto; }
  .hero-subtitle-text { margin-inline:auto !important; }
  .hero-cta-group,.hero-trust-badges { justify-content:center; }
  .hero-visual-card { justify-self:center; max-width:580px; }
  .hero-visual-img { height:390px; }
  .footer-content { grid-template-columns:1fr !important; text-align:center; gap:2rem; }
  .footer-logo { justify-content:center; }
  .footer .contact-item { justify-content:center; align-items:center; flex-direction:column; gap:.4rem; }
  .footer .contact-item span { text-align:center; }
  .footer .social-links { justify-content:center; }
}
@media (max-width:640px) {
  .container,.nav-container,.hero-enhanced > .container { width:calc(100% - 32px); }
  .nav-container { min-height:70px; padding:8px 0 !important; }
  .logo-icon { width:46px !important; height:46px !important; flex-basis:46px; }
  .logo-text { font-size:1.05rem !important; }
  .nav-actions { gap:6px; }
  .btn-demo-header { padding:9px 12px !important; font-size:.68rem !important; }
  .hero-enhanced { min-height:0; padding:48px 0 54px !important; }
  .hero-title-main { font-size:clamp(2rem,9vw,2.8rem) !important; letter-spacing:-.7px; }
  .hero-subtitle-text { font-size:.92rem !important; }
  .hero-cta-group { flex-direction:column; align-items:stretch; }
  .hero-cta-group a { width:100%; }
  .hero-trust-badges { display:grid; grid-template-columns:1fr 1fr; text-align:left; }
  .hero-visual-card { padding:8px !important; border-radius:20px !important; }
  .hero-visual-img { height:300px; }
  .hero-floating-stat { left:8px; right:8px; bottom:8px; padding:8px; gap:4px !important; }
  .stat-pill-num { font-size:1.05rem !important; }
  .stat-pill-lbl { font-size:.58rem !important; }
  .quick-demo-container { flex-direction:column; align-items:flex-start; }
  .quick-demo-container .btn-demo-header { align-self:flex-start; }
  section:not(.hero-enhanced) { padding-block:48px; }
  .section-title { font-size:1.75rem !important; }
  .course-btn-row { flex-direction:column; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .flags-scroll, .whatsapp-float-btn::before, .whatsapp-float-tooltip, .btn-demo-nav-pulse { animation:none !important; }
}


/* ======================================================================
   AL-FURQAN GLOBAL ALIGNMENT LAYER — shared across every page
   ====================================================================== */
:root {
  --af-content-width: 1200px;
  --af-gutter: clamp(18px, 4vw, 42px);
  --af-section-space: clamp(56px, 7vw, 92px);
}
html { width:100%; overflow-x:hidden; }
body { width:100%; min-width:320px; overflow-x:hidden; }
main, .main-content { width:100%; }
.container, .nav-container, .footer-container {
  width:min(var(--af-content-width), calc(100% - 2 * var(--af-gutter)));
  margin-left:auto !important; margin-right:auto !important;
}
section { position:relative; }
section:not(.hero):not(.hero-section) { scroll-margin-top:100px; }
img, video, iframe { max-width:100%; }
button, input, select, textarea { font:inherit; }
button, .btn, a.btn { max-width:100%; }
/* Keep section headings visually consistent and centered where they are standalone. */
.section-title { max-width: min(900px, 100%); margin-left:auto; margin-right:auto; text-wrap:balance; }
/* Prevent common card/grid overflow and inconsistent heights. */
.cards, .card-grid, .courses-grid, .features-grid, .blog-grid, .pricing-grid,
.testimonials-grid, .stats-grid, .services-grid {
  min-width:0; align-items:stretch;
}
.cards > *, .card-grid > *, .courses-grid > *, .features-grid > *,
.blog-grid > *, .pricing-grid > *, .testimonials-grid > *, .services-grid > * {
  min-width:0; max-width:100%;
}
/* Consistent media sizing without cropping logos or Quranic artwork. */
.logo-image, .nav-logo img, .footer-logo img { object-fit:contain; }
/* Tablet and mobile alignment. */
@media (max-width: 900px) {
  .container, .nav-container, .footer-container {
    width:calc(100% - 36px);
  }
  .nav-container { gap:14px; }
  .section-title { font-size:clamp(1.65rem, 4.5vw, 2.25rem); }
}
@media (max-width: 600px) {
  .container, .nav-container, .footer-container { width:calc(100% - 30px); }
  section:not(.hero):not(.hero-section) { padding-top:clamp(42px, 9vw, 64px); padding-bottom:clamp(42px, 9vw, 64px); }
  .section-title { margin-bottom:2rem; line-height:1.25; }
  .nav-container { min-height:70px; }
  .nav-logo { max-width:calc(100% - 64px); }
  .nav-logo > a { min-width:0; }
  .nav-logo img { flex-shrink:0; }
  p { overflow-wrap:anywhere; }
}

/* ======================================================================
   WRITING ARABIC & URDU PAGE (writinga-u.html)
   ====================================================================== */
.script-showcase {
  background:#f8fafc;
}
.script-tabs {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin:2.2rem 0 2.5rem;
}
.script-tab {
  padding:12px 28px;
  border-radius:999px;
  background:#fff;
  color:var(--brand-navy);
  border:2px solid var(--brand-navy);
  font-weight:700;
  font-size:.95rem;
  cursor:pointer;
  transition:all .25s ease;
  user-select:none;
}
.script-tab:hover {
  background:#eef2ff;
  transform:translateY(-2px);
}
.script-tab.active {
  background:linear-gradient(135deg,#080B55 0%,#152b7a 100%);
  color:#fff;
  border-color:#080B55;
  box-shadow:0 8px 22px rgba(8,11,85,.22);
}
.script-content {
  display:none;
}
.script-content.active {
  display:block;
}
.script-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,370px));
  justify-content:center;
  gap:24px;
  align-items:stretch;
}
.script-card {
  display:flex;
  flex-direction:column;
  width:100%;
  background:#fff;
  border:1px solid var(--brand-border);
  border-radius:var(--brand-radius);
  overflow:hidden;
  box-shadow:0 8px 26px rgba(8,11,85,.06);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.script-card:hover {
  transform:translateY(-5px);
  border-color:rgba(212,175,55,.55);
  box-shadow:var(--brand-shadow);
}
.script-image {
  aspect-ratio:16 / 9;
  width:100%;
  height:auto;
  overflow:hidden;
  background:#f8fafc;
  border-bottom:1px solid var(--brand-border);
}
.script-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}
.script-card:hover .script-image img {
  transform:scale(1.04);
}
.script-details {
  display:flex;
  flex-direction:column;
  flex:1;
  padding:1.65rem;
}
.script-details h3 {
  color:var(--brand-navy);
  font-size:1.28rem;
  font-weight:700;
  margin-bottom:.75rem;
}
.script-details p {
  color:var(--brand-muted);
  margin-bottom:1.1rem;
  line-height:1.65;
}
.script-features {
  list-style:none;
  padding:0;
  margin:0 0 1.25rem;
  flex:1;
}
.script-features li {
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:var(--brand-ink);
  font-size:.93rem;
  margin-bottom:.55rem;
}
.script-features li i {
  color:var(--brand-gold);
  margin-top:4px;
  flex-shrink:0;
}
.script-card-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid var(--brand-border);
}
.script-details .duration {
  padding:7px 14px;
  border-radius:999px;
  background:linear-gradient(135deg,#F8F4E5,#F1E4B5);
  color:var(--brand-navy);
  font-weight:700;
  font-size:.84rem;
  border:1px solid rgba(212,175,55,.45);
  white-space:nowrap;
}
.script-card-footer .course-btn {
  flex:0 0 auto;
  min-height:40px;
  padding:9px 18px !important;
  font-size:.84rem !important;
}

/* Global SEO Coverage Section */
.seo-programs-section {
  background:#f8fafc;
  padding:75px 0;
  border-top:1px solid var(--brand-border);
}
.seo-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
  gap:22px;
  margin-top:2rem;
}
.seo-card {
  background:#fff;
  border:1px solid var(--brand-border);
  border-radius:18px;
  padding:1.6rem;
  box-shadow:0 6px 22px rgba(8,11,85,.05);
  display:flex;
  flex-direction:column;
  gap:.65rem;
}
.seo-card h3 {
  color:var(--brand-navy);
  font-size:1.12rem;
  font-weight:700;
  margin:0;
}
.seo-card p {
  color:var(--brand-muted);
  font-size:.94rem;
  line-height:1.65;
  margin:0;
  flex:1;
}
.seo-card a.seo-link {
  color:var(--brand-navy);
  font-weight:700;
  font-size:.9rem;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.seo-card a.seo-link:hover {
  color:#B28A17;
}
.seo-regions-bar {
  margin-top:2.2rem;
  background:#fff;
  border:1px solid var(--brand-border);
  border-radius:18px;
  padding:1.6rem 1.8rem;
  text-align:center;
}
.seo-regions-bar h3 {
  color:var(--brand-navy);
  font-size:1.15rem;
  font-weight:700;
  margin-bottom:.75rem;
}
.seo-tag-cloud {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-top:1rem;
}
.seo-tag-pill {
  display:inline-block;
  padding:6px 13px;
  border-radius:999px;
  background:#F5F6FB;
  border:1px solid #E2E6F2;
  color:var(--brand-navy);
  font-size:.82rem;
  font-weight:600;
}

.writing-tools {
  background:#fff;
}
.learning-approach {
  background:#f8fafc;
}
.tools-grid,.approach-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
  align-items:stretch;
  margin-top:2rem;
}
.tool-card,.approach-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  background:#fff;
  border:1px solid var(--brand-border);
  border-radius:var(--brand-radius);
  padding:2rem 1.5rem;
  box-shadow:0 8px 26px rgba(8,11,85,.055);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.tool-card:hover,.approach-card:hover {
  transform:translateY(-5px);
  border-color:rgba(212,175,55,.55);
  box-shadow:var(--brand-shadow);
}
.tool-icon,.approach-icon {
  width:68px;
  height:68px;
  border-radius:50%;
  background:linear-gradient(135deg,#F8F4E5,#F1E4B5);
  color:var(--brand-navy);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.65rem;
  margin-bottom:1.2rem;
  transition:all .25s ease;
}
.tool-card:hover .tool-icon,.approach-card:hover .approach-icon {
  background:linear-gradient(135deg,#080B55 0%,#152b7a 100%);
  color:#F3D56E;
}
.tool-card h3,.approach-card h3 {
  color:var(--brand-navy);
  font-size:1.2rem;
  font-weight:700;
  margin-bottom:.65rem;
}
.tool-card p,.approach-card p {
  color:var(--brand-muted);
  line-height:1.65;
  margin:0;
}

/* ======================================================================
   MOBILE & ANIMATION STABILITY LAYER (Flags, WhatsApp, Hamburger, Forms)
   ====================================================================== */
.flags-track {
  overflow:hidden !important;
  width:100%;
  max-width:100%;
}
.flags-scroll {
  display:flex !important;
  width:max-content !important;
  will-change:transform;
  animation:afScrollFlags 36s linear infinite !important;
}
.flags-track:hover .flags-scroll {
  animation-play-state:paused;
}
@keyframes afScrollFlags {
  0% { transform:translate3d(0,0,0); }
  100% { transform:translate3d(-50%,0,0); }
}

@media (max-width: 900px) {
  .flags-scroll {
    animation-duration:42s !important;
    gap:1rem !important;
  }

  /* Header & Hamburger Navigation Drawer */
  .navbar {
    position:sticky;
    top:0;
    z-index:1000;
    width:100%;
    background:#ffffff;
  }
  .nav-container {
    min-height:70px !important;
    height:70px !important;
    padding:8px 0 !important;
    gap:10px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }
  .nav-logo {
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:none !important;
  }
  .nav-logo > a {
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    min-width:0 !important;
  }
  .logo-icon {
    width:44px !important;
    height:44px !important;
    flex:0 0 44px !important;
  }
  .logo-text {
    font-size:1.05rem !important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .nav-actions {
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    flex:0 0 auto !important;
  }
  .hamburger {
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    gap:5px !important;
    width:42px !important;
    height:42px !important;
    padding:8px !important;
    border-radius:10px !important;
    background:#f4f6fb !important;
    border:1px solid #e2e8f0 !important;
    cursor:pointer;
    z-index:1002;
  }
  .hamburger .bar {
    display:block !important;
    width:22px !important;
    height:2.5px !important;
    margin:0 !important;
    background:var(--brand-navy) !important;
    border-radius:4px !important;
    transition:transform .25s ease, opacity .25s ease;
  }
  .hamburger.active .bar:nth-child(1) { transform:translateY(7.5px) rotate(45deg); }
  .hamburger.active .bar:nth-child(2) { opacity:0; }
  .hamburger.active .bar:nth-child(3) { transform:translateY(-7.5px) rotate(-45deg); }

  .nav-menu {
    position:fixed !important;
    top:70px !important;
    left:-100% !important;
    width:100% !important;
    height:calc(100vh - 70px) !important;
    max-height:calc(100dvh - 70px) !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:0 !important;
    padding:12px 20px 36px !important;
    margin:0 !important;
    background:#ffffff !important;
    border-top:1px solid var(--brand-border);
    box-shadow:0 18px 40px rgba(8,11,85,.16) !important;
    transition:left .28s ease !important;
    z-index:1001 !important;
    text-align:left !important;
  }
  .nav-menu.active {
    left:0 !important;
  }
  .nav-menu .nav-item {
    width:100% !important;
    margin:0 !important;
    border-bottom:1px solid #eef2f7;
  }
  .nav-menu .nav-item:last-child { border-bottom:0; }
  .nav-menu .nav-link {
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    padding:14px 4px !important;
    font-size:1rem !important;
    color:var(--brand-navy) !important;
    white-space:normal !important;
  }
  .nav-menu .nav-link::after { display:none !important; }
  .nav-menu .nav-item.dropdown .dropdown-menu {
    position:static !important;
    display:none !important;
    width:100% !important;
    min-width:0 !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    box-shadow:none !important;
    border:1px solid #e6ebf5 !important;
    border-radius:12px !important;
    background:#f8faff !important;
    padding:8px 12px !important;
    margin:0 0 12px !important;
  }
  .nav-menu .nav-item.dropdown.active .dropdown-menu {
    display:block !important;
  }
  .nav-menu .dropdown-menu .dropdown-content,
  .nav-menu .dropdown-menu .dropdown-section {
    display:flex !important;
    flex-direction:column !important;
    gap:4px !important;
    padding:0 !important;
    margin:0 !important;
  }
  .nav-menu .dropdown-menu h4 {
    font-size:.78rem !important;
    text-transform:uppercase;
    letter-spacing:.6px;
    color:var(--brand-muted) !important;
    margin:8px 0 4px !important;
  }
  .nav-menu .dropdown-menu a {
    display:block !important;
    padding:9px 10px !important;
    border-radius:8px !important;
    font-size:.92rem !important;
  }

  /* Sisters & Multi-column Sections */
  .sisters-content {
    grid-template-columns:1fr !important;
    gap:28px !important;
  }
  .sisters-text { text-align:center; }
  .sisters-title::after { margin-inline:auto; }
  .sisters-quote { text-align:left; }
  .sisters-buttons { justify-content:center; }
  .demo-form-wrapper {
    grid-template-columns:1fr !important;
    gap:24px !important;
  }
  .contact-grid, .contact-wrapper, .career-grid {
    grid-template-columns:1fr !important;
    gap:24px !important;
  }
}

@media (max-width: 768px) {
  /* Calm WhatsApp Floating Button on Mobile (No Fast Blinking) */
  .whatsapp-float-container {
    bottom:16px !important;
    right:16px !important;
  }
  .whatsapp-float-btn {
    width:52px !important;
    height:52px !important;
    font-size:26px !important;
  }
  .whatsapp-float-btn::before {
    animation:none !important;
    display:none !important;
  }
  .whatsapp-float-tooltip {
    display:none !important;
    animation:none !important;
  }

  /* Mobile Forms Polish (Demo, Admission, Contact, Career, Scholarship) */
  .demo-form-card,
  .admission-form,
  .contact-form,
  .scholarship-form,
  .career-form {
    padding:22px 18px !important;
    border-radius:18px !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  .admission-container,
  .contact-container,
  .scholarship-form-container {
    width:100% !important;
    max-width:100% !important;
    margin-top:24px !important;
    margin-bottom:32px !important;
  }
  .demo-form-grid,
  .form-row,
  .form-grid {
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  .phone-input,
  .phone-input-combined {
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
  }
  .phone-input select,
  .phone-input input,
  .phone-input-combined select,
  .phone-input-combined input,
  .demo-input,
  .demo-select,
  .demo-textarea,
  .form-group input,
  .form-group select,
  .form-group textarea {
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    font-size:16px !important;
  }
  .form-actions {
    flex-direction:column !important;
    align-items:stretch !important;
    gap:12px !important;
  }
  .form-actions .btn,
  .form-actions button,
  .form-actions a,
  .btn-submit-demo,
  .btn-wa-demo-alt,
  .btn-scholarship {
    width:100% !important;
    max-width:100% !important;
    justify-content:center !important;
  }

  /* Page Hero & CTA Banners */
  .course-header,
  .dark-hero-banner,
  .page-header,
  .pricing-hero {
    padding:48px 0 42px !important;
  }
  .course-header h1,
  .dark-hero-banner h1,
  .page-header h1,
  .pricing-hero h1 {
    font-size:clamp(1.75rem, 6.5vw, 2.3rem) !important;
    line-height:1.25 !important;
  }
  .page-demo-cta-banner {
    padding:26px 18px !important;
    gap:18px !important;
    text-align:center !important;
  }
}

@media (max-width: 640px) {
  .audience-grid,
  .features-grid,
  .courses-grid,
  .services-grid,
  .pricing-grid,
  .blog-grid,
  .testimonials-grid,
  .stats-grid,
  .script-grid,
  .tools-grid,
  .approach-grid,
  .seo-grid,
  .edu-grid,
  .methodology-grid,
  .roadmap-container {
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  .sisters-buttons {
    flex-direction:column !important;
    align-items:stretch !important;
  }
  .sisters-buttons a {
    width:100% !important;
  }
  .script-card-footer {
    flex-direction:column;
    align-items:stretch;
  }
  .script-card-footer .duration {
    text-align:center;
  }
  .script-card-footer .course-btn {
    width:100%;
  }
  .logo-text {
    display:none;
  }
}
