/* =============================================
   Leadership - Software & Services Company
   Orange Gradient Theme
   ============================================= */

/* ---- CSS Variables ---- */
:root {
    --orange-100: #fff7ed;
    --orange-200: #ffedd5;
    --orange-300: #fdba74;
    --orange-400: #e8853a;
    --orange-500: #d97520;
    --orange-600: #c2680e;
    --orange-700: #a85a0c;
    --orange-800: #8a4810;
    --orange-900: #6e3a12;
    
    --gradient-primary: linear-gradient(135deg, #d97520 0%, #c2680e 50%, #a85a0c 100%);
    --gradient-light: linear-gradient(135deg, #e8853a 0%, #d97520 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 30%, #1a1a2e 60%, #0f3460 100%);
    --gradient-dark: linear-gradient(135deg, #f5f5f5 0%, #ececec 50%, #f8f4f0 100%);
    --gradient-card: linear-gradient(135deg, rgba(217, 117, 32, 0.04) 0%, rgba(194, 104, 14, 0.01) 100%);
    --gradient-text: linear-gradient(135deg, #d97520, #e8853a, #c2680e);
    
    --dark-bg: #ffffff;
    --dark-card: #ffffff;
    --dark-card-hover: #faf8f5;
    --dark-border: rgba(0, 0, 0, 0.08);
    --dark-text: #2d2d2d;
    --dark-text-muted: #6b7280;
    
    --light-bg: #f5f5f5;
    --light-bg-alt: #fafafa;
    --light-section: #f0f0f0;
    
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-orange: 0 4px 25px rgba(217, 117, 32, 0.2);
    --shadow-orange-lg: 0 10px 40px rgba(217, 117, 32, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--orange-500) #f0f0f0;
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: #f0f0f0;
}

html::-webkit-scrollbar-thumb {
    background: var(--orange-500);
    border-radius: 4px;
}

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background-color: #ffffff;
    color: var(--dark-text);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* ---- Gradient Text ---- */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Preloader ---- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(217, 117, 32, 0.15);
    border-top-color: var(--orange-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-slow);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .logo {
    color: #1a1a2e;
}

.navbar.scrolled .nav-links a {
    color: #6b7280;
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--orange-500);
    background: rgba(217, 117, 32, 0.08);
}

.navbar.scrolled .hamburger span {
    background: #1a1a2e;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    z-index: 1001;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: var(--shadow-orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange-400);
    background: rgba(249, 115, 22, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-nav {
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-orange);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange-lg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-orange-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(249, 115, 22, 0.5);
}

.btn-outline:hover {
    background: rgba(249, 115, 22, 0.1);
    border-color: var(--orange-500);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--orange-600);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---- Hero Section ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(251, 146, 60, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(234, 88, 12, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: var(--radius-xl);
    color: var(--orange-400);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-badge i {
    animation: rocketBounce 2s ease-in-out infinite;
}

@keyframes rocketBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--dark-text-muted);
    line-height: 1.9;
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(249, 115, 22, 0.1);
    border-radius: var(--radius-md);
    min-width: 100px;
    transition: var(--transition);
}

.stat-item:hover {
    border-color: rgba(249, 115, 22, 0.3);
    background: rgba(249, 115, 22, 0.05);
    transform: translateY(-3px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    margin-top: 3px;
}

/* Hero Visual - Video */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-wrapper {
    position: relative;
    width: 520px;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-video-border {
    position: absolute;
    inset: -3px;
    border-radius: 22px;
    background: conic-gradient(
        from 0deg,
        var(--orange-500),
        var(--orange-300),
        transparent,
        transparent,
        var(--orange-500)
    );
    animation: borderSpin 4s linear infinite;
    z-index: 1;
}

.hero-video-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 3px;
    background: conic-gradient(
        from 0deg,
        var(--orange-500),
        var(--orange-300),
        transparent 40%,
        transparent 60%,
        var(--orange-500)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderSpin 4s linear infinite;
    z-index: 2;
    pointer-events: none;
}

.hero-video-wrapper::after {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 30px;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.15), transparent 70%);
    animation: videoPulse 3s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    position: relative;
    z-index: 1;
}

@keyframes borderSpin {
    to { --border-angle: 360deg; }
}

@keyframes videoPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
}

/* Fallback for browsers that don't support @property */
@supports not (background: conic-gradient(from var(--x) , red, blue)) {
    .hero-video-wrapper::before {
        background: linear-gradient(135deg, var(--orange-500), transparent, var(--orange-500));
        animation: videoPulse 3s ease-in-out infinite;
    }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: fadeInUp 1s ease 1.5s both;
}

.hero-scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--dark-text-muted);
    font-size: 0.8rem;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(249, 115, 22, 0.4);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--orange-500);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 25px; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(30px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Section Headers ---- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(217, 117, 32, 0.08);
    border: 1px solid rgba(217, 117, 32, 0.15);
    border-radius: var(--radius-xl);
    color: var(--orange-500);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---- About Section ---- */
.about {
    background: #f7f7f7;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.about-item:hover {
    border-color: rgba(217, 117, 32, 0.2);
    background: #ffffff;
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
}

.about-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
}

.about-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.about-item p {
    color: var(--dark-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-shape {
    position: absolute;
    border-radius: 50%;
}

.about-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    opacity: 0.1;
    top: 20%;
    right: 10%;
    animation: morphShape 8s ease-in-out infinite;
}

.about-shape.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-light);
    opacity: 0.08;
    bottom: 10%;
    left: 15%;
    animation: morphShape 6s ease-in-out infinite reverse;
}

@keyframes morphShape {
    0%, 100% { border-radius: 50% 50% 50% 50%; transform: rotate(0deg) scale(1); }
    25% { border-radius: 60% 40% 60% 40%; transform: rotate(90deg) scale(1.1); }
    50% { border-radius: 40% 60% 40% 60%; transform: rotate(180deg) scale(1); }
    75% { border-radius: 55% 45% 55% 45%; transform: rotate(270deg) scale(1.1); }
}

.about-info-card {
    position: absolute;
    top: 15%;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    animation: float1 5s ease-in-out infinite;
    z-index: 2;
}

.info-card-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.about-info-card h4 {
    color: #1a1a2e;
    font-size: 0.9rem;
    font-weight: 700;
}

.about-info-card p {
    color: var(--orange-400);
    font-size: 0.85rem;
}

.about-experience-badge {
    position: absolute;
    bottom: 15%;
    left: 10%;
    text-align: center;
    padding: 30px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-orange-lg);
    animation: float2 7s ease-in-out infinite;
    z-index: 2;
}

.exp-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
}

.exp-text {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 120px;
}

/* ---- Services Section ---- */
.services {
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(217, 117, 32, 0.2);
    transform: translateY(-8px);
    box-shadow: var(--shadow-orange);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: rgba(217, 117, 32, 0.15);
    background: linear-gradient(180deg, rgba(217, 117, 32, 0.04) 0%, #ffffff 100%);
}

.service-card.featured::before {
    opacity: 1;
}

.service-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: rgba(217, 117, 32, 0.08);
    border: 1px solid rgba(217, 117, 32, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--orange-400);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.service-features {
    margin-bottom: 18px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    margin-bottom: 8px;
}

.service-features li i {
    color: var(--orange-400);
    font-size: 0.75rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-400);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--orange-300);
    gap: 12px;
}

/* ---- Features Section ---- */
.features {
    background: #f7f7f7;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    border-color: rgba(217, 117, 32, 0.2);
    transform: translateY(-10px);
    box-shadow: var(--shadow-orange);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(217, 117, 32, 0.08);
    border-radius: 50%;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper::before {
    background: rgba(217, 117, 32, 0.12);
    transform: scale(1.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--orange-400);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    color: var(--orange-300);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---- Portfolio Section ---- */
.portfolio {
    background: #ffffff;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--dark-text-muted);
    border-radius: var(--radius-xl);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-orange);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(217, 117, 32, 0.08) 0%, #f0f0f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--orange-400);
    transition: var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(249, 115, 22, 0.9) 100%);
    opacity: 0;
    transition: var(--transition-slow);
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.1);
}

.portfolio-info h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
}

.portfolio-tags span {
    padding: 3px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    color: var(--white);
}

/* ---- Programs Section ---- */
.programs {
    background: #f7f7f7;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.program-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 35px;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.program-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-slow);
}

.program-card:hover {
    border-color: rgba(217, 117, 32, 0.2);
    transform: translateY(-8px);
    box-shadow: var(--shadow-orange);
}

.program-card:hover::after {
    opacity: 1;
}

.program-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 20px;
    box-shadow: var(--shadow-orange);
    transition: var(--transition);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
}

.program-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.program-card > p {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.program-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.program-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(217, 117, 32, 0.06);
    border: 1px solid rgba(217, 117, 32, 0.1);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    color: var(--orange-400);
}

/* ---- Process Section ---- */
.process {
    background: #ffffff;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--orange-500) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-radius: 3px;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.process-step:nth-child(odd) {
    flex-direction: row;
    padding-left: calc(50% + 40px);
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
    padding-right: calc(50% + 40px);
}

.step-number {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--white);
    z-index: 2;
    box-shadow: var(--shadow-orange);
}

.step-content {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition);
    flex: 1;
    box-shadow: var(--shadow-sm);
}

.step-content:hover {
    border-color: rgba(217, 117, 32, 0.2);
    transform: translateY(-5px);
    box-shadow: var(--shadow-orange);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: rgba(217, 117, 32, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-400);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---- Technologies Section ---- */
.technologies {
    background: #f7f7f7;
    overflow: hidden;
}

.tech-marquee {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.tech-marquee::before,
.tech-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.tech-marquee::before {
    right: 0;
    background: linear-gradient(to left, #f7f7f7, transparent);
}

.tech-marquee::after {
    left: 0;
    background: linear-gradient(to right, #f7f7f7, transparent);
}

.tech-track {
    display: flex;
    gap: 40px;
    animation: marquee 30s linear infinite;
    width: fit-content;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.tech-item:hover {
    border-color: rgba(217, 117, 32, 0.2);
    background: rgba(217, 117, 32, 0.04);
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--orange-400);
}

.tech-item span {
    font-weight: 600;
    color: #333;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- Testimonials Section ---- */
.testimonials {
    background: #ffffff;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: #f59e0b;
    font-size: 1.1rem;
}

.testimonial-card > p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.9;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.testimonial-author h4 {
    color: #1a1a2e;
    font-size: 1rem;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--orange-400);
    font-size: 0.85rem;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-btn {
    width: 45px;
    height: 45px;
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    color: var(--orange-400);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dots .dot.active {
    background: var(--orange-500);
    width: 30px;
    border-radius: 5px;
}

/* ---- Team Section ---- */
.team {
    background: #f7f7f7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.team-card {
    text-align: center;
    padding: 40px 25px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    border-color: rgba(217, 117, 32, 0.2);
    transform: translateY(-8px);
    box-shadow: var(--shadow-orange);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
}

.team-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-orange);
    transition: var(--transition);
}

.team-card:hover .team-placeholder {
    transform: scale(1.1);
}

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.team-role {
    display: block;
    color: var(--orange-400);
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.team-card p {
    color: var(--dark-text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 38px;
    height: 38px;
    background: rgba(217, 117, 32, 0.06);
    border: 1px solid rgba(217, 117, 32, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
}

/* ---- CTA Section ---- */
.cta {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float1 10s ease-in-out infinite;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ---- Contact Section ---- */
.contact {
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    border-color: rgba(217, 117, 32, 0.2);
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
}

.contact-card h4 {
    color: #1a1a2e;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.contact-card p {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
}

.contact-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-400);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: #f9f9f9;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
    color: #333;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(217, 117, 32, 0.1);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23f97316' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
}

.form-group select option {
    background: #ffffff;
    color: #333;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ---- Footer ---- */
.footer {
    background: #1a1a2e;
    position: relative;
    padding-top: 60px;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    color: #ffffff;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(217, 117, 32, 0.1);
    border: 1px solid rgba(217, 117, 32, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-col ul li a:hover {
    color: var(--orange-400);
    padding-right: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--orange-400);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom i {
    color: #ef4444;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ---- Scroll to Top ---- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-orange);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-orange-lg);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* ---- Particles ---- */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--orange-400);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 0.6;
        transform: translateY(-20px) scale(1);
    }
    90% {
        opacity: 0.2;
    }
    100% {
        opacity: 0;
        transform: translateY(-600px) scale(0.5);
    }
}

/* ---- Responsive Design ---- */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: flex;
    }
    
    .hero-video-wrapper {
        width: 360px;
        height: 360px;
    }
    
    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        height: 350px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline::before {
        right: 30px;
        transform: none;
    }
    
    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        flex-direction: row;
        padding-left: 0;
        padding-right: 80px;
    }
    
    .step-number {
        right: 5px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    
    .hamburger {
        display: flex;
    }
    
    .btn-nav {
        display: none;
    }
    
    .hero-visual {
        display: flex;
        justify-content: center;
    }
    
    .hero-video-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-item {
        min-width: 80px;
        padding: 10px 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .features-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        padding-right: 70px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-card > p {
        font-size: 1rem;
    }
}

/* ---- Custom AOS Animations ---- */
[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="flip-left"] {
    transform: perspective(2500px) rotateY(50deg);
}

/* Selection Color */
::selection {
    background: rgba(249, 115, 22, 0.3);
    color: var(--white);
}

/* Mobile Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ================================================
   MOBILE SIDEBAR
   ================================================ */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark-text);
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.sidebar-logo .logo-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 800;
}

.sidebar-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    color: #666;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: var(--orange-500);
    color: #fff;
    transform: rotate(90deg);
}

.sidebar-nav {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: #444;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-link i {
    width: 22px;
    text-align: center;
    font-size: 1rem;
    color: #999;
    transition: color 0.3s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: linear-gradient(135deg, rgba(217, 117, 32, 0.08), rgba(217, 117, 32, 0.04));
    color: var(--orange-500);
}

.sidebar-link:hover i,
.sidebar-link.active i {
    color: var(--orange-500);
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.sidebar-divider {
    height: 1px;
    background: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.06), transparent);
    margin: 5px 25px;
}

.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 18px 25px;
}

.sidebar-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #666;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.sidebar-social a:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(217, 117, 32, 0.3);
}

.sidebar-contact {
    padding: 15px 25px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    color: #777;
}

.sidebar-contact-item i {
    width: 18px;
    text-align: center;
    color: var(--orange-500);
    font-size: 0.85rem;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ================================================
   FLIP CARDS
   ================================================ */
.flip-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.flip-cards-full {
    grid-template-columns: repeat(3, 1fr);
}

.flip-card {
    perspective: 1200px;
    height: 360px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 25px;
    text-align: center;
}

.flip-card-front {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
}

.flip-card-front .flip-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(217, 117, 32, 0.1), rgba(217, 117, 32, 0.05));
    border-radius: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.flip-card-front .flip-card-icon i {
    font-size: 2rem;
    color: var(--orange-500);
}

.flip-card-front h4 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.flip-card-cat {
    display: inline-block;
    padding: 5px 16px;
    background: #f5f5f5;
    color: #888;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: 'Cairo', sans-serif;
    margin-bottom: 15px;
}

.flip-hint {
    font-size: 0.8rem;
    color: #bbb;
    font-family: 'Cairo', sans-serif;
    margin-top: 10px;
}

.flip-hint i {
    margin-left: 4px;
    animation: spin-slow 3s linear infinite;
}

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.flip-card-back {
    background: var(--gradient-primary);
    transform: rotateY(180deg);
    color: #fff;
    gap: 12px;
}

.flip-card-back h4 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.flip-card-back p {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.92;
}

.flip-card-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.flip-card-techs span {
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: 'Cairo', sans-serif;
}

.flip-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 5px;
}

.flip-card-btn:hover {
    background: #fff;
    color: var(--orange-500);
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* ================================================
   PAGE HEADER (Sub Pages)
   ================================================ */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
    text-align: center;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(217, 117, 32, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(217, 117, 32, 0.1) 0%, transparent 40%);
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--orange-500);
}

.breadcrumb i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.breadcrumb span {
    color: var(--orange-500);
}

.page-header h1 {
    font-family: 'Cairo', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.page-header p {
    font-family: 'Cairo', sans-serif;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ================================================
   PORTFOLIO PAGE SPECIFIC
   ================================================ */
.portfolio-page {
    background: #f7f7f7;
}

.portfolio-page .portfolio-filter {
    margin-bottom: 10px;
}

/* ================================================
   COURSES PAGE STYLES
   ================================================ */

/* --- Courses Hero --- */
.courses-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 0 80px;
}

.courses-hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.courses-hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 60%, rgba(217, 117, 32, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 25%, rgba(217, 117, 32, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(15, 52, 96, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.courses-hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.c-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.c-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--orange-500);
    top: -80px;
    right: -100px;
    animation: c-float 8s ease-in-out infinite;
}

.c-shape-2 {
    width: 250px;
    height: 250px;
    border: 2px solid var(--orange-500);
    bottom: 10%;
    left: 5%;
    animation: c-float 10s ease-in-out infinite reverse;
}

.c-shape-3 {
    width: 120px;
    height: 120px;
    background: var(--orange-500);
    top: 30%;
    left: 15%;
    animation: c-float 6s ease-in-out infinite 1s;
}

.c-shape-4 {
    width: 180px;
    height: 180px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    bottom: 20%;
    right: 10%;
    animation: c-float 12s ease-in-out infinite 2s;
}

@keyframes c-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
}

.courses-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.courses-hero-visual {
    order: -1;
}

.courses-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(217, 117, 32, 0.15);
    border: 1px solid rgba(217, 117, 32, 0.25);
    border-radius: 50px;
    color: var(--orange-500);
    font-family: 'Cairo', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.courses-hero-badge i {
    font-size: 1rem;
}

.courses-hero-title {
    font-family: 'Cairo', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 22px;
}

.courses-hero-desc {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.9;
    margin-bottom: 35px;
    max-width: 520px;
}

.courses-hero-stats {
    display: flex;
    gap: 35px;
    margin-bottom: 35px;
}

.c-stat {
    text-align: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    min-width: 100px;
}

.c-stat-num {
    font-family: 'Cairo', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange-500);
    display: inline;
}

.c-stat-plus {
    font-family: 'Cairo', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--orange-500);
}

.c-stat-label {
    display: block;
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.courses-hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Hero Visual / Image */
.courses-hero-img-wrapper {
    position: relative;
}

.courses-hero-img {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.08);
}

.courses-hero-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.courses-hero-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 46, 0.4) 100%);
    pointer-events: none;
}

/* Floating badges on image */
.courses-hero-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    z-index: 3;
}

.courses-hero-float i {
    color: var(--orange-500);
    font-size: 1.1rem;
}

.courses-hero-float-1 {
    top: 20px;
    left: -30px;
    animation: float-badge 4s ease-in-out infinite;
}

.courses-hero-float-2 {
    bottom: 80px;
    right: -25px;
    animation: float-badge 5s ease-in-out infinite 1s;
}

.courses-hero-float-3 {
    bottom: 20px;
    left: 20px;
    animation: float-badge 6s ease-in-out infinite 0.5s;
}

.c-float-avatars {
    display: flex;
}

.c-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: -8px;
    border: 2px solid #fff;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Consulting Grid (already exists, inherits) --- */

/* --- Premium Square Course Cards --- */
.courses-square-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 45px;
}

.course-sq {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.course-sq:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.course-sq-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 14px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    z-index: 3;
    letter-spacing: 0.3px;
}

.course-sq-visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.course-sq-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-sq:hover .course-sq-visual img {
    transform: scale(1.08);
}

.course-sq-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(26, 26, 46, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.course-sq:hover .course-sq-overlay {
    opacity: 1;
}

.course-sq-btn-circle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    box-shadow: 0 4px 15px rgba(217, 117, 32, 0.4);
}

.course-sq:hover .course-sq-btn-circle {
    transform: translateY(0);
}

.course-sq-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-sq-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 14px;
}

.course-sq-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.8rem;
    color: #999;
}

.course-sq-meta span i {
    color: var(--orange-500);
    font-size: 0.78rem;
}

.course-sq-body h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
    line-height: 1.5;
}

.course-sq-body p {
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    color: var(--dark-text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.course-sq-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.course-sq-tags span {
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(217, 117, 32, 0.08), rgba(217, 117, 32, 0.03));
    color: var(--orange-500);
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    border: 1px solid rgba(217, 117, 32, 0.1);
}

.course-sq-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.course-sq-cert {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.78rem;
    color: #aaa;
}

.course-sq-cert i {
    color: var(--orange-500);
}

.course-sq-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--orange-500);
    text-decoration: none;
    transition: all 0.3s ease;
}

.course-sq-link:hover {
    gap: 10px;
}

.course-sq-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.course-sq-link:hover i {
    transform: translateX(-4px);
}

/* --- Consulting Grid --- */
.consulting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.consulting-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.consulting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.consulting-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(217, 117, 32, 0.1), rgba(217, 117, 32, 0.05));
    border-radius: 18px;
    margin-bottom: 20px;
}

.consulting-icon i {
    font-size: 1.8rem;
    color: var(--orange-500);
}

.consulting-card h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.consulting-card p {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    color: var(--dark-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.consulting-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.consulting-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    color: #555;
}

.consulting-features li i {
    color: var(--orange-500);
    font-size: 0.75rem;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.course-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 5px 14px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 20px;
    font-size: 0.78rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    z-index: 1;
}

.course-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px 20px;
}

.course-icon i {
    font-size: 3rem;
    color: var(--orange-500);
}

.course-content {
    padding: 0 30px 30px;
}

.course-content h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.course-content p {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    color: var(--dark-text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.course-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 18px;
}

.course-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    color: #888;
}

.course-detail i {
    color: var(--orange-500);
    font-size: 0.8rem;
}

.course-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.course-topics span {
    padding: 4px 12px;
    background: #f5f5f5;
    color: #777;
    border-radius: 15px;
    font-size: 0.78rem;
    font-family: 'Cairo', sans-serif;
}

.btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
}

/* Why Choose Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.why-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.why-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(217, 117, 32, 0.1), rgba(217, 117, 32, 0.05));
    border-radius: 16px;
    margin: 0 auto 15px;
}

.why-icon i {
    font-size: 1.5rem;
    color: var(--orange-500);
}

.why-card h4 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.why-card p {
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    color: var(--dark-text-muted);
    line-height: 1.7;
}

/* ================================================
   RESPONSIVE: FLIP CARDS, COURSES, CONSULTING
   ================================================ */
@media (max-width: 1024px) {
    .flip-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .consulting-grid,
    .courses-grid,
    .courses-square-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
    .courses-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .courses-hero-title {
        font-size: 2.6rem;
    }
    .courses-hero-content {
        text-align: center;
    }
    .courses-hero-desc {
        max-width: 100%;
    }
    .courses-hero-stats {
        justify-content: center;
    }
    .courses-hero-btns {
        justify-content: center;
    }
    .courses-hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .flip-cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .flip-card {
        height: 320px;
    }
    .consulting-grid,
    .courses-grid,
    .courses-square-grid,
    .why-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .page-header {
        padding: 130px 0 60px;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .page-header p {
        font-size: 1rem;
    }
    .courses-hero {
        padding: 110px 0 60px;
        min-height: auto;
    }
    .courses-hero-title {
        font-size: 2rem;
    }
    .courses-hero-stats {
        gap: 15px;
    }
    .c-stat {
        min-width: 80px;
        padding: 12px 14px;
    }
    .c-stat-num {
        font-size: 1.5rem;
    }
    .courses-hero-float-1 {
        left: 10px;
        top: 10px;
    }
    .courses-hero-float-2 {
        right: 10px;
    }
    .courses-hero-img img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .flip-card {
        height: 300px;
    }
    .flip-card-front h4 {
        font-size: 1.05rem;
    }
    .mobile-sidebar {
        width: 280px;
    }
    .courses-hero-title {
        font-size: 1.7rem;
    }
    .courses-hero-stats {
        flex-wrap: wrap;
    }
    .courses-hero-btns {
        flex-direction: column;
        align-items: stretch;
    }
    .courses-hero-float {
        font-size: 0.75rem;
        padding: 8px 12px;
    }
}