:root {
    /* Color Palette */
    --primary-color: #0F172A;
    /* Deep Navy - Professionalism */
    --secondary-color: #1E293B;
    /* Lighter Navy - Sections */
    --accent-color: #D4AF37;
    /* Metallic Gold - Premium/Excellence */
    --text-light: #F8FAFC;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --background-light: #FFFFFF;
    --background-off-white: #F1F5F9;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Spacing */
    --container-padding: 2rem;
    --section-gap: 5rem;
    --brand-turquoise: #01ABCC;
    /* Almaarefa Turquoise */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    background-color: var(--background-off-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-turquoise), var(--brand-blue-slate));
    color: white;
    box-shadow: 0 4px 15px rgba(1, 171, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 171, 204, 0.5);
    background: linear-gradient(135deg, var(--brand-blue-slate), var(--brand-turquoise));
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: var(--brand-black);
}

.section {
    padding: var(--section-gap) 0;
}

/* Top Bar */
.top-bar {
    background-color: var(--brand-turquoise);
    /* Almaarefa Turquoise */
    color: white;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-right,
.top-bar-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar a {
    color: white;
    opacity: 0.8;
}

.top-bar a:hover {
    opacity: 1;
}

/* Header */
header {
    background-color: var(--background-light);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
    /* Reduced from 110px */
    gap: 2rem;
}

.logo-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Specific fix to pull logos closer to the right edge */
nav>.logo-container:first-child {
    margin-right: -1.5rem;
}

/* Nav Links - Center */
.nav-links {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: var(--brand-blue-slate);
    font-weight: 700;
    position: relative;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.5rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-turquoise);
}

/* Turquoise underline effect */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background-color: var(--brand-turquoise);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Header Actions (Left side) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-container {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 5px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.search-container:hover,
.search-container.active {
    border-color: #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#search-input {
    border: none;
    background: transparent;
    outline: none;
    width: 0;
    padding: 0;
    transition: width 0.4s ease-in-out, padding 0.4s;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.search-container.active #search-input {
    width: 200px;
    padding: 0 10px;
}

#search-btn {
    background: transparent;
    border: none;
    color: var(--brand-blue-slate);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    transition: color 0.3s;
}

#search-btn:hover {
    color: var(--brand-turquoise);
}

/* Login Button in Header */
.btn-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--brand-turquoise);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-login:hover {
    background-color: #0190ac;
    /* Slightly darker shade */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 171, 204, 0.3);
}

.btn-login i {
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(80, 97, 120, 0.9), rgba(1, 171, 204, 0.8)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    /* Original Background Image with Overlay */
    background: linear-gradient(rgba(80, 97, 120, 0.9), rgba(1, 171, 204, 0.8)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0 3rem;
    /* Reduced padding further */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    /* Centered */
}

.hero h1 {
    font-size: 3.5rem;
    /* Reduced from 4.5rem */
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: white;
    color: white;
    font-weight: 800;
}

.hero h1 .highlight {
    color: #D4AF37 !important;
    -webkit-text-fill-color: #D4AF37 !important;
    /* Ensuring overrides */
    display: inline-block;
    /* Changed from block to inline-block to allow text next to it */
}

.hero p {
    font-size: 1.2rem;
    /* Reduced from 1.4rem */
    margin-bottom: 2.5rem;
    color: #f1f5f9;
    /* Lighter text for better contrast on turquoise */
    border: none;
    padding: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.iso-badge-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.iso-badge-hero span {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.hero-partners {
    margin-top: 4rem;
    display: inline-flex;
    justify-content: center;
    /* Centered */
    gap: 2rem;
    padding: 0;
    background: none;
    backdrop-filter: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    width: 100%;
}

/* Custom Buttons for Hero */
.btn-hero-primary {
    background-color: #D4AF37;
    /* Matching 'Digital Trust' Gold */
    color: #001A41;
    border: none;
}

.btn-hero-primary:hover {
    background-color: #eac44e;
    /* Slightly lighter gold */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* Features/About */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s;
    border-top: 4px solid var(--accent-color);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* Curriculum Slider Styles */
.courses-slider-wrapper {
    position: relative;
    padding: 0 40px;
    /* Space for arrows */
}

.courses-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding: 1rem 0.5rem;
    /* Shadow space */
    scrollbar-width: none;
    /* Firefox */
}

.courses-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.course-card {
    min-width: 300px;
    flex: 0 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.course-visual {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem;
    text-align: center;
    color: white;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.course-visual i {
    font-size: 3rem;
    color: var(--accent-color);
}

.course-visual h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.course-details {
    padding: 1.5rem;
    text-align: center;
}

.iso-badge {
    display: inline-block;
    background-color: #f1f5f9;
    color: var(--secondary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.instructor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.instructor i {
    color: var(--brand-turquoise);
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e2e8f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    z-index: 10;
    color: var(--primary-color);
    transition: all 0.3s;
}

.slider-btn:hover {
    background: var(--brand-turquoise);
    color: white;
    border-color: var(--brand-turquoise);
}

.prev-btn {
    right: 0;
    /* RTL */
}

.next-btn {
    left: 0;
    /* RTL */
}

/* New Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.course-card-new {
    background-color: white;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-thumb {
    width: 100%;
    height: 140px;
    overflow: hidden;
    position: relative;
}

.course-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 26, 65, 0.3) 0%, rgba(1, 171, 204, 0.4) 100%);
    transition: opacity 0.3s ease;
}

.course-card-new:hover .course-thumb::after {
    opacity: 0.7;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    z-index: 1;
}

.course-card-new:hover .course-thumb img {
    transform: scale(1.05);
}

.course-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--brand-turquoise);
}

.course-number {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--brand-turquoise);
    opacity: 0.15;
    line-height: 1;
    z-index: 2;
    font-family: 'Outfit', sans-serif;
}

.course-icon-box {
    width: 50px;
    height: 50px;
    background: var(--brand-turquoise);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -25px auto 1rem auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(1, 171, 204, 0.3);
}

.course-icon-box i {
    font-size: 1.3rem;
    color: white;
}

.course-info {
    position: relative;
    z-index: 2;
    padding: 0 1.5rem 1.5rem;
    text-align: center;
}

.course-card-new h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    color: #001A41;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-weight: 700;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.iso-tag {
    background: var(--brand-turquoise);
    color: white;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
}

.instructor-tag {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Cairo', sans-serif;
}

.instructor-tag i {
    color: var(--brand-turquoise);
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* Target Audience */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.audience-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.check-icon {
    color: var(--accent-color);
    font-weight: bold;
}

/* Pricing */
.pricing-card {
    background: linear-gradient(135deg, var(--brand-blue-slate), var(--brand-turquoise));
    color: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.price-placeholder {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1.5rem 0;
}

.pricing-features {
    text-align: right;
    margin: 2rem auto;
    max-width: 400px;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 3rem auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

/* Footer */
footer {
    background-color: #001A41;
    /* Deep Navy */
    color: white;
    padding: 5rem 0 0;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: right;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--brand-turquoise);
    /* Or Gold based on preference, using turquoise for now */
}

.footer-col p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-col a {
    color: #cbd5e1;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--brand-turquoise);
    padding-right: 5px;
}

/* Contact List specific */
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.footer-contact i {
    color: var(--brand-turquoise);
    width: 20px;
}

/* Social Icons in Footer */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--brand-turquoise);
    transform: translateY(-3px);
}

/* Footer Bottom Bar */
.copyright-bar {
    background-color: #00122e;
    /* Darker shade */
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .copyright-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Admin Dashboard Styles */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
}

.sidebar-menu li {
    margin-bottom: 1rem;
}

.sidebar-menu a {
    display: block;
    padding: 0.8rem;
    border-radius: 8px;
}

.sidebar-menu a.active,
.sidebar-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-content {
    flex: 1;
    padding: 2rem;
    background-color: #f8fafc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.login-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-card);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 6rem 0 4rem;
    }
}

/* Services Strip */
.services-strip {
    position: relative;
    z-index: 10;
    margin-top: 0;
    margin-bottom: 4rem;
}

.services-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.service-item {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 1px solid #f1f5f9;
    min-width: 250px;
}

.service-item:last-child {
    border-left: none;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #EFF6FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-turquoise);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-content h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.service-content span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Special Dark Box (Check Licenses) - Last child (Left visually in RTL) */
.service-item.special-blue {
    background-color: #001A41;
    color: white;
    flex: 1.2;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Right in RTL? No, start is Right in RTL. */
    /* wait. flex-direction column. align-items defaults to stretch or start. 
       In RTL, start is Right. 
       We want text to be aligned naturally. 
    */
    position: relative;
    border: none;
    justify-content: center;
    gap: 0;
}

.service-item.special-blue::before {
    content: '\f3ed';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: -20px;
    bottom: -30px;
    font-size: 9rem;
    color: rgba(255, 255, 255, 0.05);
    transform: rotate(15deg);
}

.service-item.special-blue .service-content {
    width: 100%;
}

.service-item.special-blue h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.service-item.special-blue span {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: block;
}

.btn-check-now {
    background: var(--brand-turquoise);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-block;
    transition: 0.3s;
    text-align: center;
}

.btn-check-now:hover {
    background: white;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .services-strip {
        margin-top: 2rem;
    }

    .services-container {
        flex-direction: column;
    }

    .service-item {
        border-left: none;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
    }

    .service-item.special-blue {
        width: 100%;
        align-items: flex-start;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

.whatsapp-btn i {
    font-size: 1.8rem;
    color: white;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

@media (max-width: 576px) {
    .whatsapp-btn span {
        display: none;
    }

    .whatsapp-btn {
        padding: 0;
        background: none;
        box-shadow: none;
    }

    .whatsapp-btn i {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--brand-turquoise);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(1, 171, 204, 0.4);
    transition: all 0.3s ease;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(1, 171, 204, 0.5);
    background: #001A41;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #001A41;
    font-family: 'Cairo', sans-serif;
    text-align: right;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question i {
    color: var(--brand-turquoise);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

/* Course Card Register Button */
.btn-register-course {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--brand-turquoise) 0%, #0891b2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-register-course:hover {
    background: linear-gradient(135deg, #0891b2 0%, var(--brand-turquoise) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(1, 171, 204, 0.4);
}

.course-card-new:hover .btn-register-course {
    background: linear-gradient(135deg, #0891b2 0%, var(--brand-turquoise) 100%);
}