* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BASE ================= */
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    background: #f6f2ee;
    color: #1f1f1f;
    font-size: 22px;
    line-height: 1.85;
    overflow-x: hidden;
}

/* ================= HEADER ================= */
.main-header {
    background: #ffffff;
    animation: slideDown 1s ease forwards;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

.header-container {
    max-width: 1450px;
    margin: auto;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo img {
    height: 70px;
    animation: fadeIn 1.5s ease forwards;
}

/* Navigation */
.nav {
    display: flex;
    gap: 35px;
    position: relative;
}

.nav > a,
.nav > .dropdown > a {
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    position: relative;
    letter-spacing: 0.35px;
    transition: color 0.25s ease;
    padding: 8px 0;
    display: inline-block;
}

/* REMOVED: Black underline on hover */
.nav > a:hover,
.nav > .dropdown > a:hover {
    color: #000;
}

.nav > a.active,
.nav > .dropdown > a.active {
    color: #000;
}

/* ================= DROPDOWN STYLES ================= */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Remove ALL default dropdown arrows */
.dropdown > a::after,
.dropdown-toggle::after,
[class*="dropdown"]::after,
.dropdown > a:after {
    display: none !important;
    content: "" !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Add only ONE gold arrow */
.dropdown > a.dropdown-toggle::before {
    content: "";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #c8a34d;
    transition: transform 0.3s ease;
}

.dropdown:hover > a.dropdown-toggle::before,
.dropdown.keep-open > a.dropdown-toggle::before {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: #c8a34d;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    z-index: 1001;
    overflow: hidden;
    animation: dropdownFade 0.3s ease forwards;
    border: 1px solid rgba(200, 163, 77, 0.15);
    margin-top: 10px;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show dropdown on hover and when keep-open class is present */
.dropdown:hover .dropdown-menu,
.dropdown.keep-open .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* FIX: Ensure dropdown stays open when hovering over it */
.dropdown-menu:hover {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.dropdown-menu a {
    display: block;
    padding: 14px 24px;
    color: #555;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.dropdown-menu a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(200, 163, 77, 0.1), 
        transparent
    );
    transition: left 0.5s ease;
}

.dropdown-menu a:hover::before {
    left: 100%;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(200, 163, 77, 0.05) 0%, transparent 100%);
    color: #c8a34d;
    border-left-color: #c8a34d;
    padding-left: 30px;
}

.dropdown-menu a:not(:last-child) {
    border-bottom: 1px solid rgba(200, 163, 77, 0.08);
}

.dropdown-menu a i {
    margin-right: 10px;
    color: #c8a34d;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.dropdown-menu a:hover i {
    transform: translateX(3px);
}

/* Dropdown animation */
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= AUTH ================= */
.auth {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.auth a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
}

/* REMOVED: Black underline from auth links */
.auth a:hover {
    color: #000;
}

.auth span {
    color: #e0e0e0;
    font-weight: 300;
}

/* User Icon for Admin Login */
.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #555;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border: 1px solid #e8e6e1;
    width: 40px;
    height: 40px;
    margin-right: 5px;
    position: relative;
    overflow: hidden;
}

.user-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    transition: left 0.7s ease;
}

.user-icon:hover::before {
    left: 100%;
}

.user-icon:hover {
    background: linear-gradient(135deg, #c8a34d 0%, #d4b15c 100%);
    color: white;
    border-color: #c8a34d;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(200, 163, 77, 0.25);
}

.user-icon:active {
    transform: translateY(-1px) scale(1.02);
}

.user-icon svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.user-icon:hover svg {
    fill: white;
}

/* ================= HERO ================= */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f9f7f4 0%, #f6f2ee 100%);
    position: relative;
    padding: 40px 20px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 1100px;
    padding: 40px;
    animation: fadeUp 1.4s ease forwards;
    z-index: 3;
}

/* ================= COAT OF ARMS - FLOATING & LARGER ================= */
.hero-coat {
    width: 750px;
    opacity: 0.16;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    
    /* Single animation for floating effect */
    animation: float 8s ease-in-out infinite;
}

/* ================= FLOATING ANIMATION ================= */
@keyframes float {
    0% {
        transform: translate(-50%, -50%) translateY(0px) scale(1) rotate(0deg);
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
        opacity: 0.16;
    }
    25% {
        transform: translate(-50%, -50%) translateY(-25px) scale(1.03) rotate(0.3deg);
        filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.2));
        opacity: 0.18;
    }
    50% {
        transform: translate(-50%, -50%) translateY(-40px) scale(1.05) rotate(0deg);
        filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.25));
        opacity: 0.20;
    }
    75% {
        transform: translate(-50%, -50%) translateY(-25px) scale(1.03) rotate(-0.3deg);
        filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.2));
        opacity: 0.18;
    }
    100% {
        transform: translate(-50%, -50%) translateY(0px) scale(1) rotate(0deg);
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
        opacity: 0.16;
    }
}

/* ================= TITLES ================= */
/* Arabic Text - Traditional Calligraphic Style */
.hero h1 {
    font-family: 'Noto Naskh Arabic', 'Amiri', serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #1a1a1a 0%, #2c1810 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    padding-bottom: 25px;
}

/* Decorative underline for Arabic text */
.hero h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        #c8a34d 25%, 
        #c8a34d 75%, 
        transparent
    );
    border-radius: 2px;
}

/* French Text - Modern Elegant Style - NOW BOLD */
.hero h2 {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    letter-spacing: 1.2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08);
    margin-top: 15px;
    position: relative;
    z-index: 2;
    padding: 15px 40px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #c8a34d;
    border-right: 4px solid #c8a34d;
}

/* ================= PARTNERS SECTION ================= */
.partners-section {
    background: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.partners-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #c8a34d;
    border-radius: 2px;
}

.section-header p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #666;
    margin-top: 20px;
}

/* Carousel Container */
.partners-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

/* Carousel Track for Infinite Scroll */
.partners-track {
    display: flex;
    gap: 40px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

/* Stop animation on hover */
.partners-track:hover {
    animation-play-state: paused;
}

/* Partner Items */
.partner-item {
    flex: 0 0 200px;
    height: 120px;
    background: #f8f8f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(200, 163, 77, 0.1);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: white;
    border-color: #c8a34d;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #c8a34d;
    color: #c8a34d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(200, 163, 77, 0.2);
}

.carousel-btn:hover {
    background: #c8a34d;
    color: white;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Infinite Scroll Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ================= ABOUT SECTION (NEW LAYOUT) ================= */
.about-section {
    background: linear-gradient(135deg, #f9f7f4 0%, #f5f1eb 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Language Selector */
.language-selector {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(200, 163, 77, 0.1);
}

.lang-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border: 1.5px solid #e8e6e1;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    letter-spacing: 0.3px;
    flex: 1;
    min-width: 100px;
    text-align: center;
}

.lang-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(200, 163, 77, 0.15);
    border-color: #c8a34d;
    color: #c8a34d;
    background: white;
}

.lang-btn.active {
    background: linear-gradient(135deg, #c8a34d 0%, #d4b15c 100%);
    color: white;
    border-color: #c8a34d;
    box-shadow: 0 8px 24px rgba(200, 163, 77, 0.25);
    transform: translateY(-2px);
}

.lang-btn[data-lang="ar"] {
    font-family: 'Noto Naskh Arabic', 'Amiri', serif;
    font-size: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
}

/* About Content Layout - NEW 2x2 GRID */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

/* Row 1: Text Left (60%) - Image Right (40%) */
.about-row-1 {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 40px;
    align-items: start;
}

/* Row 2: Image Left (40%) - Text Right (60%) */
.about-row-2 {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

/* Text Content */
.text-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #c8a34d;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(200, 163, 77, 0.05) 0%, transparent 70%);
    border-radius: 0 0 0 100%;
}

.text-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 20px;
}

.text-content h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c8a34d, #d4b15c);
    border-radius: 2px;
}

.text-content p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 25px;
    letter-spacing: 0.2px;
}

.text-content p:last-child {
    margin-bottom: 0;
}

/* Arabic text specific */
#ar-text h3,
#ar-text p {
    font-family: 'Noto Naskh Arabic', 'Amiri', serif;
    font-size: 19px;
    line-height: 2;
    text-align: right;
    direction: rtl;
}

#ar-text h3::after {
    left: auto;
    right: 0;
}

/* Image Content */
.image-content {
    position: relative;
    height: 100%;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatImage 8s ease-in-out infinite;
    height: 100%;
    min-height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    animation-play-state: paused;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Image 1 specific */
.about-row-1 .about-image {
    animation-delay: 0s;
    transform: rotate(1deg);
}

/* Image 2 specific */
.about-row-2 .about-image {
    animation-delay: 2s;
    transform: rotate(-1deg);
}

/* Floating animation for images */
@keyframes floatImage {
    0%, 100% {
        transform: translateY(0px) rotate(var(--rotate, 0deg));
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    }
    50% {
        transform: translateY(-20px) rotate(var(--rotate, 0deg));
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    }
}

/* Language content switching */
.lang-content {
    display: none;
    animation: fadeInUp 0.5s ease forwards;
}

.lang-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= FOOTER ================= */
.main-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c1810 100%);
    color: #f6f2ee;
    padding: 60px 0 0 0;
    font-family: 'Inter', sans-serif;
}

.main-footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Footer Sections - All at same level */
.footer-section {
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #c8a34d;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #c8a34d, #d4b15c);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e8e6e1;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 4px 0;
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #c8a34d;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Footer Center - Exam CTA */
.footer-center {
    text-align: center;
    padding: 30px;
    background: rgba(200, 163, 77, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(200, 163, 77, 0.2);
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.exam-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.4;
}

.exam-btn {
    display: inline-block;
    background: linear-gradient(135deg, #c8a34d 0%, #d4b15c 100%);
    color: white;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(200, 163, 77, 0.3);
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.exam-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 32px rgba(200, 163, 77, 0.4);
    background: linear-gradient(135deg, #d4b15c 0%, #c8a34d 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.exam-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Social Media Icons */
.social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(200, 163, 77, 0.3);
}

.social-icon:hover {
    background: #c8a34d;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(200, 163, 77, 0.3);
    border-color: #c8a34d;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Contact Section Specific */
.contact-section .contact-info {
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.address {
    font-size: 16px;
    line-height: 1.8;
    color: #e8e6e1;
    margin-bottom: 25px;
    font-style: normal;
    padding-left: 20px;
    position: relative;
}

.address::before {
    content: "📍";
    position: absolute;
    left: 0;
    top: 2px;
}

.contact-details {
    font-size: 15px;
    line-height: 1.8;
    color: #e8e6e1;
}

.contact-details p {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.contact-details p strong {
    color: #c8a34d;
    font-weight: 600;
    min-width: 80px;
    display: inline-block;
}

.contact-details p:nth-child(1)::before { content: "📞"; position: absolute; left: 0; }
.contact-details p:nth-child(2)::before { content: "📠"; position: absolute; left: 0; }
.contact-details p:nth-child(3)::before { content: "✉️"; position: absolute; left: 0; }
.contact-details p:nth-child(4)::before { content: "📧"; position: absolute; left: 0; }

/* Footer Bottom */
.footer-bottom {
    margin-top: 60px;
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    border-top: 1px solid rgba(200, 163, 77, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: #aaa;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.footer-bottom p:hover {
    color: #c8a34d;
    transition: color 0.3s ease;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
    .hero-coat {
        width: 1000px;
    }
    .hero h1 {
        font-size: 50px;
    }
    .hero h2 {
        font-size: 32px;
        font-weight: 700;
    }
    
    .partner-item {
        flex: 0 0 180px;
        height: 100px;
    }
    
    .about-row-1,
    .about-row-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-row-2 {
        margin-top: 0;
    }
    
    .text-content {
        padding: 40px;
    }
    
    .about-image {
        min-height: 350px;
        order: -1;
    }
    
    .about-row-1 .about-image {
        order: -1;
    }
    
    .about-row-2 .about-image {
        order: -1;
    }
    
    .main-footer .container {
        grid-template-columns: 1fr 1.5fr 1fr;
        gap: 40px;
    }
    
    .contact-section {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 1100px) {
    .nav {
        gap: 25px;
    }
    
    .nav a,
    .nav > .dropdown > a {
        font-size: 16px;
    }
    
    .dropdown-menu {
        min-width: 200px;
    }
    
    .dropdown-menu a {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .dropdown > a.dropdown-toggle::before {
        right: -12px;
    }
    
    .hero-coat {
        width: 900px;
    }
    
    .hero h1 {
        font-size: 46px;
    }
    
    .hero h2 {
        font-size: 30px;
        font-weight: 700;
        padding: 12px 30px;
    }
    
    .section-header h3 {
        font-size: 36px;
    }
    
    .text-content h3 {
        font-size: 32px;
    }
    
    .exam-cta h3 {
        font-size: 24px;
    }
    
    .exam-btn {
        padding: 14px 35px;
        font-size: 17px;
    }
}

@media (max-width: 1000px) {
    .hero-coat {
        width: 800px;
    }
    .hero h1 {
        font-size: 42px;
    }
    .hero h2 {
        font-size: 28px;
        font-weight: 700;
    }
    
    .partner-item {
        flex: 0 0 160px;
        height: 90px;
    }
    
    .partners-track {
        gap: 30px;
    }
    
    .about-section .container {
        padding: 0 30px;
    }
    
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .nav {
        gap: 20px;
    }
    
    .nav a,
    .nav > .dropdown > a {
        font-size: 15px;
    }
    
    .dropdown-menu {
        min-width: 180px;
        padding: 6px 0;
    }
    
    .dropdown-menu a {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .dropdown-menu a:hover {
        padding-left: 22px;
    }
    
    .dropdown > a.dropdown-toggle::before {
        right: -10px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid #c8a34d;
    }
    
    .hero-coat {
        width: 750px;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero h2 {
        font-size: 26px;
        font-weight: 700;
    }
    
    .partners-section {
        padding: 60px 0;
    }
    
    .about-section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .language-selector {
        margin-bottom: 50px;
        max-width: 450px;
    }
    
    .lang-btn {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 90px;
    }
    
    .main-footer .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-center {
        order: -1;
        grid-column: 1 / -1;
    }
    
    .exam-cta h3 {
        font-size: 26px;
    }
    
    .contact-section {
        grid-column: 1 / -1;
        grid-row: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }
    
    .nav {
        gap: 15px;
        display: none; /* Hide nav on mobile, use hamburger menu instead */
    }
    
    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav > a,
    .nav > .dropdown > a {
        font-size: 16px;
        padding: 10px 0;
        width: 100%;
        text-align: left;
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border: none;
        margin-top: 0;
        padding-left: 20px;
        background: rgba(200, 163, 77, 0.05);
        border-radius: 8px;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown > a.dropdown-toggle::before {
        float: right;
        margin-top: 8px;
    }
    
    .hero-coat {
        width: 650px;
    }
    
    .hero h1 {
        font-size: 36px;
        padding-bottom: 20px;
    }
    
    .hero h2 {
        font-size: 22px;
        font-weight: 700;
        padding: 10px 25px;
    }
    
    .hero h1::after {
        width: 250px;
    }
    
    .section-header h3 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .partner-item {
        flex: 0 0 140px;
        height: 80px;
        padding: 15px;
    }
    
    .partners-track {
        gap: 25px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .about-section .container {
        padding: 0 25px;
    }
    
    .language-selector {
        padding: 15px;
        margin-bottom: 40px;
    }
    
    .text-content {
        padding: 35px;
    }
    
    .text-content h3 {
        font-size: 28px;
    }
    
    .text-content p {
        font-size: 16px;
    }
    
    #ar-text h3,
    #ar-text p {
        font-size: 18px;
    }
    
    .about-image {
        min-height: 300px;
    }
    
    .main-footer {
        padding: 50px 0 0 0;
    }
    
    .main-footer .container {
        padding: 0 25px;
        gap: 30px;
    }
    
    .footer-title {
        font-size: 22px;
    }
    
    .exam-cta h3 {
        font-size: 24px;
    }
    
    .exam-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 600px) {
    /* Add hamburger menu for mobile */
    .hamburger-menu {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }
    
    .hamburger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        margin: 5px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-coat {
        width: 500px;
    }
    
    .hero h1 {
        font-size: 30px;
        padding-bottom: 15px;
    }
    
    .hero h2 {
        font-size: 19px;
        font-weight: 700;
        padding: 8px 20px;
    }
    
    .hero h1::after {
        width: 200px;
    }
    
    .partners-section {
        padding: 50px 0;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .section-header h3 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    .text-content {
        padding: 30px;
    }
    
    .text-content h3 {
        font-size: 26px;
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    
    .text-content h3::after {
        width: 60px;
    }
    
    .language-selector {
        max-width: 100%;
        padding: 15px;
    }
    
    .lang-btn {
        padding: 10px 15px;
        font-size: 13px;
        min-width: 80px;
    }
    
    .lang-btn[data-lang="ar"] {
        font-size: 14px;
    }
    
    .about-row-1,
    .about-row-2 {
        gap: 30px;
    }
    
    .exam-cta h3 {
        font-size: 22px;
    }
    
    .exam-btn {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    .contact-details p strong {
        min-width: 70px;
    }
    
    .social-media {
        gap: 12px;
    }
    
    .social-icon {
        width: 34px;
        height: 34px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 500px) {
    .hero-coat {
        width: 400px;
    }
    .hero h1 {
        font-size: 26px;
    }
    .hero h2 {
        font-size: 17px;
        font-weight: 700;
    }
    
    .carousel-controls {
        gap: 15px;
        margin-top: 30px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .text-content {
        padding: 25px;
    }
    
    .text-content h3 {
        font-size: 24px;
    }
    
    .text-content p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 20px;
    }
    
    #ar-text h3,
    #ar-text p {
        font-size: 16px;
    }
    
    .about-image {
        min-height: 250px;
    }
    
    .exam-cta h3 {
        font-size: 20px;
    }
    
    .exam-btn {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    .address,
    .contact-details p {
        font-size: 14px;
    }
    
    .main-footer .container {
        padding: 0 20px;
        gap: 30px;
    }
    
    .footer-center {
        padding: 20px;
    }
    
    .social-media {
        gap: 10px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* FORCE REMOVE ALL UNDERLINES AND EXTRA ARROWS */
nav a,
nav a:link,
nav a:visited,
nav a:hover,
nav a:active,
nav a:focus,
.nav a,
.nav a:link,
.nav a:visited,
.nav a:hover,
.nav a:active,
.nav a:focus,
.dropdown > a,
.dropdown > a:link,
.dropdown > a:visited,
.dropdown > a:hover,
.dropdown > a:active,
.dropdown > a:focus,
.auth a,
.auth a:link,
.auth a:visited,
.auth a:hover,
.auth a:active,
.auth a:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
    background-image: none !important;
}

/* Remove any Font Awesome or Bootstrap dropdown arrows */
.fa-chevron-down:before,
.fa-angle-down:before,
.fa-caret-down:before,
[class*="fa-"]:before,
[class*="fas"]:before,
[class*="far"]:before,
[class*="fal"]:before,
[class*="fab"]:before,
.bi-chevron-down:before,
.bi-caret-down:before {
    display: none !important;
    content: "" !important;
}

/* Ensure only our gold arrow shows */
.dropdown > a:not(.dropdown-toggle)::before {
    display: none !important;
}