
:root {
    /* الألوان الأساسية */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #343A40;
    --black: #212529;
    
    /* ألوان مربعات المهن - ألوان فاتحة ومتنوعة */
    --career-color-1: #E3F2FD; /* أزرق فاتح */
    --career-color-2: #F3E5F5; /* بنفسجي فاتح */
    --career-color-3: #E8F5E8; /* أخضر فاتح */
    --career-color-4: #FFF3E0; /* برتقالي فاتح */
    --career-color-5: #FCE4EC; /* وردي فاتح */
    --career-color-6: #E0F2F1; /* فيروزي فاتح */
    
    /* ألوان التمييز */
    --accent-blue: #2196F3;
    --accent-dark: #1976D2;
    --dark-blue: #014c67;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Almarai', sans-serif;
    line-height: 1.7;
    color: var(--black);
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 50%, var(--medium-gray) 100%);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Premium Header */
.premium-header {
    background: var(--accent-blue);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border-bottom: 1px solid var(--medium-gray);
}
.premium-header {
position: relative;
z-index: 100;
}
.nav-toggle {
display: none;
background: none;
border: none;
font-size: 2rem;
color: white;
cursor: pointer;
}

/* Mobile Navigation - Removed duplicate styles */
.premium-header.scrolled {
    padding: 10px 0;
    backdrop-filter: blur(10px);
    background: rgba(50, 50, 50, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Desktop navigation spacing */
@media (min-width: 992px) {
    .premium-nav {
        margin-right: 20px; /* Bring nav closer to logo */
    }
    
    .premium-nav ul {
        gap: 3px; /* Reduce spacing between nav items */
        margin-left: 30px;
    }
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 70px;
    height: 70px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.4);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: rotate(10deg);
    box-shadow: 0 0 30px rgba(33, 150, 243, 0.6);
}

.logo i {
    font-size: 2rem;
    color: white;
}

.logo-text {
    color: var(--white);
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--white) 0%, var(--white) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.premium-nav ul {
    display: flex;
    list-style: none;
}

.premium-nav ul li {
    margin: 0 15px;
    position: relative;
}

.premium-nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.premium-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.premium-nav ul li a:hover {
    color: #000;
}

.premium-nav ul li a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
}

.premium-cta {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.premium-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.5);
}

/* Dropdown styles */
.dropdown {
position: relative;
}
.dropdown-menu {
display: none;
position: absolute;
top: 110%;
right: 0;
background: #fff;
min-width: 200px;
box-shadow: 0 8px 24px rgba(0,0,0,0.08);
border-radius: 10px;
z-index: 100;
padding: 0.5rem 0;
}
.dropdown-menu li {
width: 100%;
}
.dropdown-menu .dropdown-item {
color: #222;
padding: 10px 20px;
display: block;
text-align: right;
font-weight: 500;
transition: background 0.2s, color 0.2s;
}
.dropdown-menu .dropdown-item:hover {
background: #f0f4fa;
color: #000;
}

/* Dropdown menu only on click */
.dropdown .dropdown-menu {
display: none;
}
.dropdown.open .dropdown-menu {
display: block;
}
.dropdown-toggle i {
margin-right: 8px;
font-size: 0.9em;
vertical-align: middle;
transition: transform 0.3s;
}
.dropdown.open .dropdown-toggle i {
transform: rotate(180deg);
}

/* Luxury Hero Section */
.luxury-hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--dark-gray);
    padding: 200px 0 150px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(33, 150, 243, 0.2);
    color: var(--accent-dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    border: 1px solid rgba(33, 150, 243, 0.3);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--dark-gray);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--dark-gray);
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.8);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--dark-gray);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-luxury {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-dark) 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-gray);
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: rgba(33, 150, 243, 0.1);
    transform: translateY(-3px);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-element {
    position: absolute;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

.floating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: -5s;
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 40%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* NCA Exam Section */
.nca-exam-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.nca-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nca-text {
    flex: 1;
}

.nca-badge {
    display: inline-block;
    background: rgba(33, 150, 243, 0.2);
    color: var(--accent-dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.nca-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 25px;
    line-height: 1.2;
}

.nca-subtitle {
    font-size: 1.3rem;
    color: var(--accent-blue);
    margin-bottom: 30px;
    font-weight: 600;
}

.nca-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.nca-features {
    list-style: none;
    margin-bottom: 40px;
}

.nca-features li {
    color: var(--dark-gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.nca-features li i {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

.nca-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nca-image {
    flex: 1;
    text-align: center;
}

.nca-certificate {
    width: 100%;
    height: 700px;
    max-width: 627px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.nca-certificate:hover {
    transform: scale(1.03);
}

/* Interactive Career Paths */
.career-paths {
    padding: 45px 0;
    background: var(--light-gray);
}

.career-paths-header {
    text-align: center;
    margin-bottom: 80px;
}

.career-paths-header .section-badge {
    background: rgba(33, 150, 243, 0.2);
    color: var(--accent-dark);
}

.career-paths-header .section-title {
    color: var(--dark-gray);
}

.career-paths-header .section-title::after {
    background: var(--accent-blue);
}

.career-paths-header .section-subtitle {
    color: var(--dark-gray);
}

.path-item {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    height: 500px;
    background: var(--white);
}

.path-item:nth-child(even) {
    flex-direction: row-reverse;
}

.path-image {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.path-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.path-item:hover .path-image img {
    transform: scale(1.05);
}

.path-content {
    flex: 1;
    padding: 60px;
    background: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--medium-gray);
}

.path-item:nth-child(even) .path-content {
    border-right: none;
    border-left: 1px solid var(--medium-gray);
}

.path-content h3 {
    font-size: 2.2rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.path-content p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.path-features {
    list-style: none;
    margin-bottom: 30px;
}

.path-features li {
    color: var(--dark-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.path-features li i {
    color: var(--accent-blue);
}

.path-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.path-link:hover {
    gap: 15px;
    color: var(--accent-dark);
}

/* Professional Skills Section - بألوان متنوعة */
.professional-skills {
    padding: 60px 0;
    background: var(--white);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.skill-card {
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ألوان مختلفة لكل بطاقة */
.skill-card:nth-child(1) {
    background: var(--career-color-1);
}

.skill-card:nth-child(2) {
    background: var(--career-color-2);
}

.skill-card:nth-child(3) {
    background: var(--career-color-3);
}

.skill-card:nth-child(4) {
    background: var(--career-color-4);
}

.skill-card:nth-child(5) {
    background: var(--career-color-5);
}

.skill-card:nth-child(6) {
    background: var(--career-color-6);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-dark) 100%);
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.skill-card h4 {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-weight: 600;
}

.skill-card p {
    color: var(--dark-gray);
    opacity: 0.8;
    line-height: 1.7;
}

/* Training Programs Section */
.training-programs {
    padding: 80px 0;
    background: var(--light-gray);
}

.programs-header {
    text-align: center;
    margin-bottom: 80px;
}

.programs-header .section-badge {
    background: rgba(52, 58, 64, 0.1);
    color: var(--dark-gray);
}

.programs-header .section-title {
    color: var(--dark-gray);
}

.programs-header .section-title::after {
    background: var(--accent-blue);
}

.programs-header .section-subtitle {
    color: var(--dark-gray);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.program-card-premium {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--medium-gray);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: 500px;
}

.program-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-blue);
}

.program-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card-premium:hover .program-image img {
    transform: scale(1.1);
}

.program-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.program-content {
    padding: 30px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.program-content p {
    color: var(--dark-gray);
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.7;
}

.program-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    border-top: 1px solid var(--medium-gray);
    padding-top: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--accent-blue);
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.program-link:hover {
    gap: 15px;
    color: var(--accent-dark);
}

/* Exclusive Stats Section */
.exclusive-stats {
    padding: 60px 0;
    background: var(--white);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-dark) 100%);
}

.stat-number-premium {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-gray);
    display: block;
    margin-bottom: 10px;
}

.stat-label-premium {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 600;
}

/* New Training Programs Section */
.training-programs-section-1 {
    padding: 80px 0;
    background: var(--light-gray);
}

.programs-grid-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.program-card-compact {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--medium-gray);
    height: 500px; /* Increased height to accommodate larger images */
    display: flex;
    flex-direction: column;
}

.program-card-compact:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-blue);
}

.program-image-compact {
    height: 250px; /* Increased height for better visibility */
    overflow: hidden;
    position: relative;
}

.program-image-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Ensure images are centered */
    transition: transform 0.5s ease;
}

.program-card-compact:hover .program-image-compact img {
    transform: scale(1.1);
}

.program-badge-compact {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.program-content-compact {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-content-compact h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.program-content-compact p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.program-button-compact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.program-button-compact:hover {
    gap: 12px;
    color: var(--accent-dark);
}

/* Distinguished Testimonials */
 .distinguished-testimonials {
            padding: 60px 0;
            background: var(--light-gray);
            position: relative;
            overflow: hidden;
              direction: rtl;
        }

        .testimonials-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .section-badge {
            display: inline-block;
            background: rgba(33, 150, 243, 0.2);
            color: var(--accent-dark);
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .section-title {
            font-size: 2.5rem;
            color: var(--dark-gray);
            margin-bottom: 20px;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            right: 50%;
            transform: translateX(50%);
            width: 80px;
            height: 4px;
            background: var(--accent-blue);
            border-radius: 2px;
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: var(--dark-gray);
            max-width: 600px;
            margin: 30px auto 0;
            line-height: 1.7;
        }
        
.testimonials-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0 80px;
  overflow-x: auto; /* خليها auto بدل hidden */
  scroll-behavior: smooth;
}

.testimonials-container::-webkit-scrollbar {
  display: none; /* يخفي شريط التمرير في كروم */
}

.testimonials-grid {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}
     
.testimonial-card-premium {
  flex: 0 0 350px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: right;
}

       .testimonials-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #007bff;
  border: none;
  color: white;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
}


  .testimonials-nav:hover {
  background: #0056b3;
}

.testimonials-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.testimonials-nav.prev {
  left: 15px;
}


.testimonials-nav.next {
  left: 15px;
}

@media (max-width: 768px) {
  .testimonial-card-premium {
    flex: 0 0 80%;
  }
  .testimonials-nav.prev {
    right: 5px;
  }
  .testimonials-nav.next {
    left: 5px;
  }
}

/*        .testimonial-card-premium {*/
/*            min-width: 350px;*/
/*            max-width: 400px;*/
/*            flex: 0 0 auto;*/
/*            background: var(--white);*/
/*            border-radius: 20px;*/
/*            padding: 40px 30px;*/
/*            transition: all 0.4s ease;*/
/*            border: 1px solid var(--medium-gray);*/
/*            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);*/
/*            position: relative;*/
/*            height: 320px;*/
/*            display: flex;*/
/*            flex-direction: column;*/
/*            justify-content: space-between;*/
/*            opacity: 1;*/
/*            visibility: visible;*/
/*        }*/

/*        .testimonial-card-premium:hover {*/
/*            transform: translateY(-10px);*/
/*            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);*/
/*            border-color: var(--accent-blue);*/
/*        }*/

/*        .testimonial-card-premium::before {*/
/*            content: '"';*/
/*            position: absolute;*/
/*            top: 20px;*/
/*            right: 30px;*/
/*            font-size: 5rem;*/
/*            color: rgba(33, 150, 243, 0.2);*/
/*            font-family: Georgia, serif;*/
/*            line-height: 1;*/
/*        }*/
        
/*.testimonial-card-premium {*/
/*  backface-visibility: hidden;*/
/*  transform-style: preserve-3d;*/
/*  will-change: transform;*/
/*}*/

        .testimonial-text {
            color: var(--dark-gray);
            font-style: italic;
            line-height: 1.8;
            margin-bottom: 30px;
            position: relative;
            z-index: 2;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
        }

        .author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 20px;
            background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-dark) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 20px;
            color: white;
            font-size: 1.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .author-info h4 {
            color: var(--dark-gray);
            margin-bottom: 5px;
            font-size: 1.1rem;
        }

        .author-info p {
            color: var(--accent-blue);
            font-size: 0.9rem;
        }
        
/*        .testimonials-nav {*/
/*  opacity: 0.9;*/
/*  transition: all 0.3s ease;*/
/*}*/

/*.testimonials-nav:disabled {*/
/*  opacity: 0;*/
/*  visibility: hidden;*/
/*  pointer-events: none;*/
/*  transform: translateY(-50%) scale(0.8);*/
/*}*/


/* Partners Section - Modern Redesign */
.partners-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.partners-section .container {
    position: relative;
    z-index: 2;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.partner-logo {
    background: var(--white);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.1), transparent);
    transition: left 0.6s ease;
}

.partner-logo:hover::before {
    left: 100%;
}

.partner-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-blue);
    background: linear-gradient(135deg, var(--white) 0%, rgba(33, 150, 243, 0.05) 100%);
}

/* Special styling for major partners */
.partner-logo:nth-child(1),
.partner-logo:nth-child(2),
.partner-logo:nth-child(3) {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-dark) 100%);
    color: white;
    transform: scale(1.05);
}

.partner-logo:nth-child(1):hover,
.partner-logo:nth-child(2):hover,
.partner-logo:nth-child(3):hover {
    transform: scale(1.1) translateY(-8px);
    box-shadow: 0 20px 50px rgba(33, 150, 243, 0.3);
}

/* Premium Footer */
.premium-footer {
    background: var(--dark-gray);
    color: var(--light-gray);
    padding: 80px 0 30px;
    position: relative;
    border-top: 1px solid var(--medium-gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--accent-blue);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-blue);
}

.footer-column p {
    color: var(--light-gray);
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column ul li a:hover {
    color: var(--accent-blue);
    transform: translateX(-5px);
}

.social-links-premium {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links-premium a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-gray);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links-premium a:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* MOBILE NAVIGATION */
@media (max-width: 991px){
/* Mobile header layout - logo left, toggle right */
.header-container {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

.nav-toggle { 
    display: block !important; 
    margin-left: 0;
    order: 2; /* Move to right side */
    z-index: 1001;
    position: relative;
    cursor: pointer;
    padding: 10px;
    border: none;
    background: transparent;
}

.nav-toggle:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.nav-toggle:active {
    transform: scale(0.95);
}

.navbar-brand {
    order: 1; /* Move logo to left side */
}

/* mobile nav covers under header; full width */
.premium-nav {
    position: fixed;
    top: 80px; /* adjust based on header height */
    left: 0;
    right: 0;
    background: #fff;
    display: none;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    z-index: 9999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    border-top: 1px solid #eee;
    transition: all 0.3s ease;
    min-height: 200px; /* Ensure minimum height for visibility */
}

.premium-nav.open { 
    display: flex !important; 
    border: 2px solid var(--accent-blue); /* Debug border */
    background: #f8f9fa !important; /* Light background for visibility */
}

/* Debug: Make sure all text is visible */
.premium-nav.open * {
    color: #333 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Body class for mobile nav open state */
body.nav-open {
    overflow: hidden;
}

body.nav-open .premium-nav {
    display: flex !important;
}

.premium-nav ul { 
    display: flex !important; /* Ensure ul is visible */
    flex-direction: column; 
    gap: 0; 
    direction: rtl; 
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.premium-nav li { 
    border-bottom: 1px solid #eee; 
    padding: 15px 0; 
    width: 100%;
    display: block !important; /* Ensure li is visible */
}

.premium-nav a { 
    color: #333 !important; 
    font-size: 1.1rem;
    font-weight: 600;
    display: block !important; /* Ensure links are visible */
    width: 100%;
    text-decoration: none;
    padding: 10px 0;
}

/* dropdown in mobile - toggle open with JS */
.dropdown .dropdown-menu { 
    position: static; 
    box-shadow: none; 
    background: transparent; 
    padding: 0; 
    display: none !important; /* Force hidden by default */
    margin-top: 10px;
}

.dropdown.open > .dropdown-menu { 
    display: block !important; 
}

/* Ensure dropdown is closed by default on mobile */
.dropdown:not(.open) .dropdown-menu {
    display: none !important;
}

.dropdown .dropdown-item { 
    padding: 10px 20px; 
    background: #f9f9f9; 
    margin: 5px 0; 
    border-radius: 6px; 
    text-align: right; 
    font-size: 1rem;
    color: #555;
}

.dropdown .dropdown-item:hover {
    background: #e3f2fd;
    color: #1976d2;
}

/* Ensure dropdown toggle is visible and clickable on mobile */
.dropdown-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.dropdown-toggle i {
    margin-right: 8px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
}
}


/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .nca-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .path-item {
        flex-direction: column !important;
        height: auto;
    }
    
    .path-image, .path-content {
        flex: none;
        width: 100%;
    }
    
    .path-content {
        height: auto;
    }
    
    .feature-card-elite, .skill-card, .stat-card {
        height: auto;
        min-height: 380px;
    }
    
    .program-card-premium {
        height: auto;
    }
    
    .program-card-compact {
        height: auto;
        min-height: 450px;
    }
    
    .testimonial-card-premium {
        height: auto;
        min-height: 320px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .partner-logo {
        min-height: 100px;
        padding: 20px 15px;
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    /* Remove the display: none that was hiding mobile nav links */
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .programs-grid-1 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .nca-content {
        flex-direction: column;
    }
    
    .nca-image {
        order: -1;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-luxury {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nca-title {
        font-size: 2rem;
    }
    
    .features-grid, .programs-grid, .testimonials-grid, .skills-grid, .programs-grid-1 {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .path-content {
        padding: 40px 30px;
    }
    
    .path-content h3 {
        font-size: 1.8rem;
    }
    
    .nca-buttons {
        flex-direction: column;
    }
    
    /*.testimonials-container {*/
    /*    padding: 0 60px;*/
    /*}*/
    
    .testimonials-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .testimonials-nav.prev {
        left: 10px;
    }
    
    .testimonials-nav.next {
        right: 10px;
    }
    
    .testimonial-card-premium {
        min-width: 300px;
        max-width: 350px;
        height: auto;
        min-height: 280px;
    }
}

@media (max-width: 576px) {
    .header-container {
        /*flex-direction: column;*/
        text-align: center;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    .premium-cta {
        margin-top: 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .path-content {
        padding: 30px 20px;
    }
    
    .program-content-compact {
        padding: 20px;
    }
    
    .nca-title {
        font-size: 1.8rem;
    }
    
    /*.testimonials-container {*/
    /*    padding: 0 50px;*/
    /*}*/
    
    .testimonials-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .testimonials-nav.prev {
        left: 5px;
    }
    
    .testimonials-nav.next {
        right: 5px;
    }
    
    .testimonial-card-premium {
        min-width: 280px;
        max-width: 320px;
        height: auto;
        min-height: 260px;
        padding: 30px 20px;
    }
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
position: fixed;
width: 60px;
height: 60px;
bottom: 30px;
right: 30px;
z-index: 100;
}

.whatsapp-link {
display: flex;
align-items: center;
justify-content: center;
width: 65px;
height: 65px;
background-color: #25d366;
border-radius: 50%;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
position: relative;
}

.whatsapp-link:hover {
background-color: #128C7E;
transform: scale(1.1);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.fab  {
color: white;
transition: all 0.3s ease;
}

.whatsapp-link:hover .whatsapp-icon {
transform: rotate(15deg);
}

/* Tooltip */
.tooltip {
position: absolute;
right: 70px;
width: max-content;
padding: 8px 12px;
background-color: #333;
color: white;
border-radius: 4px;
font-size: 14px;
font-family: Arial, sans-serif;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
direction:rtl;
}

.whatsapp-link:hover .tooltip {
opacity: 1;
visibility: visible;
right: 80px;
}

/* Pulse Animation */
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
animation: pulse 2s infinite;
}


