:root {
    --primary-color: #0a192f;
    --secondary-color: #112240;
    --gold-color: #c5a059;
    --gold-hover: #d4af37;
    --text-light: #e6f1ff;
    --text-gray: #8892b0;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

[dir="rtl"] body { font-family: 'Cairo', sans-serif; }
[dir="ltr"] body { font-family: 'Montserrat', sans-serif; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-dark { background-color: var(--primary-color); color: var(--white); }
.bg-light { background-color: #f8f9fa; }

.text-gold { color: var(--gold-color); }
.text-white { color: var(--white); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-gold {
    background-color: var(--gold-color);
    color: var(--primary-color);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline {
    border: 2px solid var(--gold-color);
    color: var(--gold-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--gold-color);
    color: var(--primary-color);
}

.w-100 { width: 100%; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 10px 0;
    background: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.logo-icon {
    width: 55px;
    height: 55px;
/*    background: var(--gold-color);*/
/*    color: var(--primary-color);*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
/*    border-radius: 5px;*/
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.main-name { font-weight: 700; font-size: 1.2rem; letter-spacing: 1px; }
.sub-name { font-size: 0.7rem; color: var(--gold-color); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold-color);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary-color);
    min-width: 150px;
    list-style: none;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

[dir="rtl"] .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    font-size: 0.85rem;
    color: var(--white);
}

.dropdown-menu li a:hover {
    background: rgba(197, 160, 89, 0.1);
    color: var(--gold-color);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-dashboard {
    background: rgba(197, 160, 89, 0.1);
    color: var(--gold-color);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--gold-color);
    transition: var(--transition);
}

.btn-dashboard:hover {
    background: var(--gold-color);
    color: var(--primary-color);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

[dir="ltr"] .mobile-overlay { transform: translateX(-100%); }

.mobile-overlay.active {
    transform: translateX(0);
}

.mobile-menu-content {
    width: 80%;
    text-align: center;
}

.mobile-header {
    margin-bottom: 40px;
}

.mobile-header .logo { justify-content: center; margin-bottom: 15px; }
.mobile-desc { color: var(--text-gray); font-size: 0.9rem; }

.mobile-links {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-links li { margin-bottom: 20px; }
.mobile-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.mobile-links a:hover { color: var(--gold-color); }

.mobile-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.mobile-lang-selector {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--gold-color);
    color: var(--gold-color);
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
}

.lang-btn.active {
    background: var(--gold-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(197, 160, 89, 0.2);
    border: 1px solid var(--gold-color);
    border-radius: 50px;
    color: var(--gold-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Pearson Section */
.pearson {
    background: #fdfbf7;
    overflow: hidden;
}

.pearson-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.pearson-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pearson-badge img { height: 30px; }
.pearson-badge span {
    font-weight: 700;
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.pearson-desc {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.pearson-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.p-feat-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.p-feat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.15);
}

.p-icon {
    width: 50px;
    height: 50px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--gold-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.p-text h4 { font-size: 1.1rem; margin-bottom: 5px; color: var(--primary-color); }
.p-text p { font-size: 0.85rem; color: #777; line-height: 1.4; }

.pearson-visual {
    position: relative;
}

.main-visual-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.main-visual-card img { width: 100%; display: block; }

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.9));
    color: var(--white);
}

.visual-overlay h3 { font-size: 1.5rem; margin-bottom: 5px; }
.visual-overlay p { color: var(--gold-color); font-weight: 600; }

.floating-elements .float-item {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gold-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.item-1 { top: -20px; right: -20px; }
.item-2 { bottom: 40px; left: -30px; animation-delay: 1s !important; }
.item-3 { top: 40%; right: -40px; animation-delay: 2s !important; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Levels Ticker */
.levels-ticker {
    background: var(--gold-color);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-wrapper {
    display: flex;
}

.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.ticker-content span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 30px;
    text-transform: uppercase;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    vertical-align: middle;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

[dir="ltr"] .ticker-content {
    animation: ticker-ltr 30s linear infinite;
}

@keyframes ticker-ltr {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Sections Header */
.section-subtitle {
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
}

/* About Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
}

.img-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.img-overlay-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gold-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.img-overlay-card h3 { font-size: 2.5rem; font-weight: 900; }
.img-overlay-card p { font-weight: 600; }

.features-list {
    list-style: none;
    margin-top: 30px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.features-list i {
    color: var(--gold-color);
    font-size: 1.2rem;
}

/* Why Us Section */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--secondary-color);
    padding: 40px 30px;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.why-card:hover {
    transform: translateY(-10px);
    background: rgba(197, 160, 89, 0.05);
    border-color: var(--gold-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--gold-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 10px;
    margin-bottom: 25px;
}

.why-card h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.why-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--gold-color);
    font-size: 2rem;
}

.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Contact Section */
.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--gold-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.info-item h4 { font-size: 1.1rem; margin-bottom: 5px; }
.info-item p { color: #666; }

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--gold-color);
    outline: none;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    position: relative;
    padding-top: 100px;
    padding-bottom: 30px;
    overflow: hidden;
}

.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-waves svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.footer-waves .shape-fill {
    fill: #f8f9fa;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col .footer-logo {
    margin-bottom: 25px;
}

.footer-about-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 25px;
    max-width: 300px;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-color);
}

[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--gold-color);
    padding-left: 10px;
}

[dir="rtl"] .footer-col ul li a:hover {
    padding-left: 0;
    padding-right: 10px;
}

.footer-contact-info p {
    display: flex;
    gap: 15px;
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-contact-info i {
    color: var(--gold-color);
    margin-top: 5px;
}

.footer-newsletter {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-newsletter input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 15px;
    border-radius: 5px;
    color: var(--white);
    outline: none;
}

.footer-newsletter button {
    background: var(--gold-color);
    color: var(--primary-color);
    border: none;
    width: 45px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background: var(--gold-hover);
    transform: scale(1.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-gray);
    font-size: 0.9rem;
}

.developer a {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: 700;
}

.developer a:hover {
    text-decoration: underline;
}

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

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--gold-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Recognition Card */
.recognition-card {
    position: absolute;
    right: 5%;
    bottom: 15%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
    transition: var(--transition);
}

[dir="ltr"] .recognition-card {
    right: auto;
    left: 5%;
}

.recognition-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.rec-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
}

.rec-logos {
    display: flex;
    gap: 15px;
}

.rec-logo {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.rec-logo img { width: 100%; }
.rec-logo i { font-size: 1.5rem; color: var(--gold-color); }

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3rem; }
    .pearson-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .grid-2, .grid-4, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links, .btn-dashboard { display: none; }
    .menu-toggle { display: flex; }
    
    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    
    .recognition-card {
        bottom: 5%;
        right: 5%;
        left: 5%;
    }
    
    .img-overlay-card {
        right: 0;
        bottom: -20px;
        padding: 15px;
    }

    .pearson-features { grid-template-columns: 1fr; }
}





