/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
    --primary-orange: #FF7200;
    --primary-orange-hover: #e06400;
    --primary-blue: #001C3D;
    --secondary-blue: #0A2540;
    --accent-blue: #0a3d75;
    --light-bg: #F8F9FA;
    --card-bg: #FFFFFF;
    --text-dark: #2B303B;
    --text-muted: #6B7280;
    --border-color: #E5E7EB;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-dark);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 14px rgba(255, 114, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 114, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-outline-white:hover {
    background-color: #FFFFFF;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Header Section */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(255, 114, 0, 0.2);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.logo-text span {
    color: var(--primary-orange);
    font-size: 1.1rem;
    margin-right: 4px;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-orange);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 100px;
    background-color: #FFFFFF;
    background-image: 
        linear-gradient(rgba(255, 114, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 114, 0, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(255,114,0,0.06) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary-orange);
    position: relative;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-badges {
    display: flex;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-blue);
}

.hero-badge svg {
    color: var(--primary-orange);
}

/* Mockup Display (Faux Laptop & Phone) */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.mockup-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* Pure CSS Laptop Mockup */
.laptop-mockup {
    width: 100%;
    position: relative;
    perspective: 1000px;
}

.laptop-screen {
    background: #000;
    border-radius: 12px 12px 0 0;
    padding: 10px;
    box-shadow: var(--shadow-premium);
    border: 3px solid #333;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.screen-content {
    background: #f0f2f5;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Styled scheduling grid inside the fake screen */
.fake-app-header {
    height: 18px;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 4px;
}
.fake-app-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff5f56;
}
.fake-app-dot:nth-child(2) { background: #ffbd2e; }
.fake-app-dot:nth-child(3) { background: #27c93f; }

.fake-app-body {
    flex: 1;
    padding: 8px;
    display: grid;
    grid-template-columns: 40px 1fr 1fr 1fr;
    grid-template-rows: 20px 1fr 1fr 1fr;
    gap: 4px;
}
.grid-cell {
    background: #fff;
    border-radius: 3px;
    border: 1px solid #e0e0e0;
    font-size: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.grid-header-cell {
    background: #eceff1;
    font-weight: bold;
}
.grid-cell-filled {
    background: rgba(255, 114, 0, 0.15);
    border-left: 2px solid var(--primary-orange);
}
.grid-cell-filled-2 {
    background: rgba(10, 37, 64, 0.1);
    border-left: 2px solid var(--secondary-blue);
}

.laptop-base {
    height: 10px;
    background: #e0e0e0;
    border-radius: 0 0 15px 15px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.laptop-base::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #999;
    border-radius: 0 0 4px 4px;
}

/* Pure CSS Phone Mockup overlapping the laptop */
.phone-mockup {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 240px;
    background: #000;
    border-radius: 20px;
    padding: 6px;
    box-shadow: var(--shadow-premium);
    border: 2px solid #222;
    z-index: 10;
}
.phone-screen {
    background: #fff;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
.phone-notch {
    height: 10px;
    background: #000;
    width: 60px;
    margin: 0 auto;
    border-radius: 0 0 8px 8px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}
.phone-content {
    flex: 1;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #001C3D 0%, #0A2540 100%);
    color: #fff;
}
.phone-logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2px;
}
.phone-logo span {
    color: var(--primary-orange);
}
.phone-sub {
    font-size: 6px;
    opacity: 0.8;
}
.phone-mock-widgets {
    margin-top: 15px;
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.phone-widget {
    background: rgba(255,255,255,0.1);
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 6px;
    gap: 6px;
}
.phone-widget-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-orange);
}
.phone-widget-line {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

/* Why Choose Us Section */
.why-choose {
    background-color: var(--light-bg);
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(255, 114, 0, 0.3);
}

.why-card-icon {
    width: 65px;
    height: 65px;
    background-color: rgba(255, 114, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-orange);
    transition: all 0.3s ease;
}

.why-card:hover .why-card-icon {
    background-color: var(--primary-orange);
    color: #FFFFFF;
    transform: scale(1.1);
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Program Features Section */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-group {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-group:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 28, 61, 0.15);
}

.feature-group-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 15px;
}

.feature-group-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: var(--primary-blue);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-group-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item-icon {
    color: var(--primary-orange);
    flex-shrink: 0;
    margin-top: 3px;
}

.feature-item-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.feature-item-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 80px 0;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.quote-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-orange);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
}

.quote-text {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}

.quote-author {
    font-size: 1.1rem;
    color: var(--primary-orange);
    font-weight: 800;
}

/* Additional Features Grid */
.extra-features {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.extra-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.extra-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.extra-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.extra-icon {
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.extra-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Call To Action (CTA) Section */
.cta-banner {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.cta-box {
    background: linear-gradient(135deg, #FDF0E6 0%, #FFF9F5 100%);
    border: 2px solid rgba(255, 114, 0, 0.15);
    border-radius: 24px;
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-box-content {
    max-width: 600px;
}

.cta-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.cta-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Faux SVG QR Code */
.fake-qr {
    width: 120px;
    height: 120px;
    background-color: #eee;
    background-image: 
        linear-gradient(90deg, #333 50%, transparent 50%),
        linear-gradient(#333 50%, transparent 50%);
    background-size: 10px 10px;
    position: relative;
}
.fake-qr::before {
    content: '';
    position: absolute;
    top: 15px; left: 15px; right: 15px; bottom: 15px;
    background: #fff;
}
.fake-qr::after {
    content: 'QR';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #333;
    font-size: 0.8rem;
    background: #fff;
    padding: 4px;
}

.qr-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* Footer Section */
footer {
    background-color: var(--primary-blue);
    color: #FFFFFF;
    padding: 60px 0 20px;
    border-top: 4px solid var(--primary-orange);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-about p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    max-width: 400px;
}

.footer-links h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links ul a:hover {
    color: #FFFFFF;
    padding-right: 5px;
}

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

.footer-info-badges {
    display: flex;
    gap: 20px;
}

.footer-info-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Media Queries (Responsive Styling) */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta, .hero-badges {
        justify-content: center;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .extra-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-box {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header .container {
        height: auto;
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .extra-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
