/* Reset and Base Styles */
:root {
    /* Main Color Palette */
    --primary-color: #003087;
    --primary-light: #004db3;
    --primary-dark: #001e54;
    --accent-color: #0066cc;
    --text-color: #333333;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 48, 135, 0.1);
    
    /* Additional Colors */
    --accent-light: #7dcce8;
    --accent-dark: #2a9ac2;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --secondary-accent: #bde3f5;
    
    /* Spacing Variables */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Design Elements */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --shadow-sm: 0 2px 10px var(--shadow-color);
    --shadow-md: 0 4px 20px var(--shadow-color);
    --shadow-lg: 0 10px 30px var(--shadow-color);
    --shadow-hover: 0 15px 35px rgba(0, 48, 135, 0.2);
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    --font-size-xxxl: 2.5rem;
    --font-size-hero: 3.5rem;
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-loose: 1.8;
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    --letter-spacing-wider: 0.05em;
    --letter-spacing-widest: 0.1em;
}

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

html {
    scroll-behavior: smooth;
    zoom: 90%;
    -moz-transform: scale(0.9);
    -moz-transform-origin: 0 0;
}

body {
    font-family: 'Cairo', sans-serif;
    font-size: var(--font-size-md);
    line-height: var(--line-height-normal);
    color: var(--text-color);
    background-color: var(--background-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

main {
    flex: 1;
    width: 100%;
}

.footer-top .container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

main {
    flex: 1;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
}

p {
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-loose);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--background-white);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    font-size: var(--font-size-sm);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--background-white);
}

.btn:active {
    transform: translateY(-1px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.btn:hover::before {
    opacity: 1;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
}

.btn-accent::before {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
}

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

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

.mt-0 {
    margin-top: 0;
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mt-xl {
    margin-top: var(--spacing-xl);
}

/* Header Styles */
.main-header {
    background-color: var(--background-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: var(--letter-spacing-tight);
}

.logo-img {
    height: 44px;
    margin-right: var(--spacing-sm);
    border-radius: 4px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px var(--shadow-color));
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo span {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: var(--spacing-xs) 0;
    text-transform: uppercase;
    font-size: var(--font-size-sm);
    letter-spacing: var(--letter-spacing-wider);
    transition: var(--transition);
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
    border-radius: var(--border-radius-sm);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .active a, .nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links .active a::after, .nav-links a.active::after {
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: var(--border-radius-sm);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #001332 0%, #002a5c 40%, #003d8f 100%);
    color: var(--background-white);
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 40%, rgba(58, 180, 217, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 85% 70%, rgba(125, 204, 232, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.footer-top {
    padding: var(--spacing-xxl) 0;
    position: relative;
    z-index: 1;
}

.footer-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 204, 232, 0.3), transparent);
}

.footer-grid {
    display: flex;
    justify-content: center;
    gap: 140px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    text-align: left;
    flex: 0 0 auto;
    width: auto;
    max-width: 280px;
}

.footer-section h3 {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
    color: #ffffff;
    font-weight: 700;
    display: block;
    text-align: left;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #3ab4d9, rgba(125, 204, 232, 0.4));
    border-radius: var(--border-radius-sm);
    transform: none;
}

.footer-section p {
    margin-bottom: var(--spacing-md);
    margin-left: 0;
    padding-left: 0;
    font-size: var(--font-size-sm);
    opacity: 0.9;
    line-height: var(--line-height-loose);
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
}

.footer-section p i {
    width: 18px;
    margin-right: var(--spacing-sm);
    opacity: 0.9;
    color: #7dcce8;
    flex-shrink: 0;
}

.footer-section a {
    color: var(--background-white);
    transition: var(--transition);
}

.footer-section a:hover {
    color: #7dcce8;
    transform: translateX(3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-left: 0;
    margin-left: 0;
    gap: var(--spacing-sm);
}

.footer-links li {
    position: relative;
    padding-left: 0;
    margin-left: 0;
    transition: var(--transition);
    width: 100%;
    text-align: left;
    list-style: none;
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-start;
    width: 100%;
    margin-top: var(--spacing-sm);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(58, 180, 217, 0.15);
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(125, 204, 232, 0.25);
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003087 0%, #0066cc 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.social-icons a:hover::before {
    opacity: 1;
}

.social-icons a i {
    position: relative;
    z-index: 1;
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.footer-bottom {
    background: linear-gradient(180deg, rgba(0, 19, 50, 0.4) 0%, rgba(0, 19, 50, 0.6) 100%);
    padding: var(--spacing-md) 0;
    position: relative;
    z-index: 1;
}

.copyright {
    text-align: center;
    font-size: var(--font-size-sm);
    opacity: 0.7;
}

/* Homepage Styles */
.hero {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-white) 100%);
    margin-bottom: var(--spacing-xxl);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(0, 75, 179, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(0, 75, 179, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(58, 180, 217, 0.02) 0%, transparent 60%);
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, var(--font-size-hero));
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    border-radius: var(--border-radius-sm);
}

.hero p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--line-height-loose);
}

.services {
    padding: var(--spacing-xxl) 0;
    background-color: var(--background-white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    position: relative;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, var(--font-size-xxxl));
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-md);
    font-weight: 700;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    border-radius: var(--border-radius-sm);
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: var(--font-size-md);
    line-height: var(--line-height-loose);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    isolation: isolate;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 1;
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
    border-color: transparent;
}

.service-content {
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 48, 135, 0.05), rgba(0, 48, 135, 0.1));
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 1px solid rgba(248, 181, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    color: var(--accent-color);
}

.service-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    position: relative;
    font-weight: 600;
}

.about {
    padding: var(--spacing-xxl) 0;
    background-color: var(--background-light);
    position: relative;
}

.about::before, .about::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.about::before {
    top: 0;
}

.about::after {
    bottom: 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-md);
    line-height: var(--line-height-loose);
    color: var(--text-light);
}

.about-content .btn {
    margin-top: var(--spacing-md);
}

/* Error Page Styles - Simplified */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    background: transparent;
    margin: -2rem 0;
    position: relative;
    overflow: hidden;
}

.error-content {
    max-width: 600px;
    padding: var(--spacing-xxl);
    background-color: var(--background-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
}

.error-content h1 {
    font-size: 6rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: var(--spacing-md);
    line-height: 1;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-dark);
    font-weight: 700;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.will-animate {
    opacity: 0;
}

.fade-in.animated {
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-in-right.animated {
    animation: slideInRight 0.8s ease-out forwards;
}

.slide-in-left.animated {
    animation: slideInLeft 0.8s ease-out forwards;
}

.scale-in.animated {
    animation: scaleIn 0.8s ease-out forwards;
}

/* Only keep the delay classes that are actually used */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Responsive Styles - Consolidated */
@media (max-width: 1200px) {
    :root {
        --font-size-hero: 3rem;
        --font-size-xxxl: 2.2rem;
    }
    
    .footer-grid {
        gap: 110px;
        max-width: 1150px;
    }
}

@media (max-width: 992px) {
    :root {
        --font-size-hero: 2.5rem;
        --font-size-xxxl: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-grid {
        gap: 90px;
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-hero: 2.2rem;
        --font-size-xxxl: 1.8rem;
        --font-size-xxl: 1.6rem;
    }
    
    html {
        zoom: 100% !important;
        -moz-transform: scale(1);
    }
    
    /* تصميم الهيدر للموبايل */
    .main-header {
        box-shadow: 0 2px 8px rgba(0, 48, 135, 0.1);
        position: fixed;
        width: 100%;
        top: 0;
        background: #ffffff;
        z-index: 1001;
        height: 63px;
    }
    
    .main-header .container {
        padding: 12px 20px;
        height: 100%;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .logo span {
        font-size: 1.3rem;
    }
    
    /* إخفاء القائمة العادية في الموبايل */
    .nav-links {
        display: none;
    }
    
    /* Overlay للخلفية */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1998;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* زر القائمة */
    .mobile-toggle {
        display: block;
        background: transparent;
        border: none;
        padding: 8px;
        cursor: pointer;
        position: relative;
        z-index: 1002;
        width: 40px;
        height: 40px;
    }

    .mobile-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        background-color: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
        position: absolute;
        left: 7px;
    }
    
    .mobile-toggle span:nth-child(1) {
        top: 12px;
    }
    
    .mobile-toggle span:nth-child(2) {
        top: 19px;
    }
    
    .mobile-toggle span:nth-child(3) {
        top: 26px;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 19px;
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 19px;
    }
    
    /* القائمة الكاملة للموبايل */
    .mobile-menu-fullscreen {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
        margin: 0 !important;
        padding: 0;
        background: #ffffff;
        z-index: 2000;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-menu-fullscreen.active {
        transform: translateX(0);
    }
    
    /* هيدر القائمة */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        border-bottom: 1px solid #f0f0f0;
        flex-shrink: 0;
    }
    
    .mobile-menu-close {
        background: transparent;
        border: none;
        font-size: 24px;
        color: var(--text-color);
        cursor: pointer;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-close:hover {
        color: var(--primary-color);
        transform: rotate(90deg);
    }
    
    .mobile-menu-lang {
        display: flex;
        align-items: center;
    }
    
    .lang-toggle {
        background: transparent;
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        padding: 8px 16px;
        border-radius: 6px;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .lang-toggle:hover {
        background: var(--primary-color);
        color: #ffffff;
    }
    
    /* روابط القائمة */
    .mobile-menu-nav {
        flex: 1;
        padding: 12px 0;
        overflow-y: auto;
    }
    
    .mobile-menu-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu-links li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu-links li:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-links a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        color: var(--text-color);
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-links a:hover {
        background: rgba(0, 48, 135, 0.04);
        color: var(--primary-color);
        padding-left: 32px;
    }
    
    .mobile-menu-links a i {
        color: var(--text-light);
        font-size: 1rem;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-links a:hover i {
        color: var(--primary-color);
        transform: translateX(5px);
    }
    
    /* فوتر القائمة */
    .mobile-menu-footer {
        padding: 24px;
        border-top: 1px solid #f0f0f0;
        background: #f8f9fa;
        flex-shrink: 0;
    }
    
    .mobile-menu-emergency {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .emergency-text {
        font-size: 0.95rem;
        color: var(--text-color);
        margin-bottom: 8px;
        font-weight: 500;
    }
    
    .emergency-phone {
        display: block;
        font-size: 1.3rem;
        color: var(--primary-color);
        font-weight: 700;
        text-decoration: none;
        letter-spacing: 0.5px;
    }
    
    .mobile-menu-actions {
        display: flex;
        gap: 12px;
    }
    
    .btn-whatsapp {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 16px 24px;
        background: #25D366;
        color: #ffffff;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    }
    
    .btn-whatsapp:hover {
        background: #20BA5A;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
        color: #ffffff;
    }
    
    .btn-whatsapp i {
        font-size: 1.2rem;
    }
    
    /* منع التمرير عند فتح القائمة */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
    
    html.menu-open {
        overflow: hidden;
        height: 100%;
    }
    
    html.menu-open body {
        overflow: hidden;
        height: 100%;
    }
    
    /* إضافة padding للمحتوى بسبب fixed header */
    main {
        padding-top: 63px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-top {
        padding: var(--spacing-xl) 0;
    }
    
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0;
        padding: 0 var(--spacing-lg);
    }
    
    .footer-section:nth-child(1) {
        order: 1;
        grid-column: 1;
    }
    
    .footer-section:nth-child(2) {
        order: 2;
        grid-column: 1;
    }
    
    .footer-section:nth-child(3) {
        order: 3;
        grid-column: 1;
    }
    
    .footer-section {
        width: 100%;
        max-width: 100%;
        text-align: left;
        padding: var(--spacing-xl) 0;
        border-bottom: 1px solid rgba(125, 204, 232, 0.12);
    }
    
    .footer-section:last-child {
        border-bottom: none;
    }
    
    .footer-section h3 {
        text-align: left;
        font-size: 1.125rem;
        margin-bottom: var(--spacing-xl);
        color: #ffffff;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    
    .footer-section h3::after {
        left: 0;
        transform: none;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #3ab4d9, rgba(125, 204, 232, 0.3));
    }
    
    .footer-section p {
        justify-content: flex-start;
        margin-bottom: var(--spacing-lg);
        font-size: 0.9375rem;
        line-height: 1.7;
    }
    
    .footer-section p i {
        width: 20px;
        margin-right: var(--spacing-md);
        font-size: 1rem;
        color: #7dcce8;
    }
    
    .footer-links {
        align-items: flex-start;
        gap: var(--spacing-lg);
        padding-left: 0;
    }
    
    .footer-links li {
        text-align: left;
        padding: 0;
        width: 100%;
    }
    
    .footer-links li a {
        display: inline-flex;
        align-items: center;
        font-size: 0.9375rem;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .footer-links li a::before {
        content: '›';
        margin-right: var(--spacing-sm);
        font-size: 1.3rem;
        color: #7dcce8;
        transition: transform 0.3s ease;
        line-height: 1;
    }
    
    .footer-links li a:hover::before {
        transform: translateX(3px);
    }
    
    .social-icons {
        justify-content: flex-start;
        gap: var(--spacing-lg);
        margin-top: var(--spacing-lg);
    }
    
    .social-icons a {
        width: 46px;
        height: 46px;
        background: rgba(58, 180, 217, 0.18);
        border: 1px solid rgba(125, 204, 232, 0.3);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .social-icons a i {
        font-size: 1.125rem;
        color: #ffffff;
    }
    
    .footer-bottom {
        padding: var(--spacing-xl) 0;
        background: linear-gradient(180deg, rgba(0, 19, 50, 0.5) 0%, rgba(0, 19, 50, 0.7) 100%);
    }
    
    .copyright {
        font-size: 0.875rem;
        opacity: 0.8;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-hero: 1.8rem;
        --font-size-xxxl: 1.6rem;
    }
    
    .main-header .container {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .logo {
        font-size: var(--font-size-lg);
    }

    .logo-img {
        height: 35px;
    }

    .hero {
        padding: var(--spacing-xl) 0;
    }

    .hero p {
        font-size: var(--font-size-md);
    }

    .service-icon {
        width: 80px;
        height: 80px;
        line-height: 80px;
        font-size: 2.5rem;
    }
    
    .service-title {
        font-size: var(--font-size-lg);
    }
}

/* ========================================
   NEW HOMEPAGE STYLES - PRIVACY FOCUSED
   ======================================== */

/* Hero Privacy Section */
.hero-privacy {
    background: linear-gradient(135deg, #001332 0%, #002a5c 40%, #003d8f 100%);
    padding: 120px 0 90px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-privacy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 40%, rgba(58, 180, 217, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 85% 70%, rgba(125, 204, 232, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    animation: heroGlow 20s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.02); }
}

.hero-privacy .container {
    position: relative;
    z-index: 1;
}

.hero-privacy .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(58, 180, 217, 0.18);
    backdrop-filter: blur(12px);
    padding: 16px 38px;
    border-radius: 60px;
    margin-bottom: 38px;
    font-size: 1.05rem;
    font-weight: 600;
    border: 2px solid rgba(125, 204, 232, 0.35);
    animation: fadeInDown 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(58, 180, 217, 0.15);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge i {
    font-size: 1.4rem;
    color: #7dcce8;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-privacy h1 {
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 28px;
    line-height: 1.12;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    animation: fadeInUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s both;
    letter-spacing: -0.025em;
    color: #ffffff;
    background: linear-gradient(180deg, #ffffff 0%, #e8f4f8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.75;
    margin-bottom: 48px;
    opacity: 0.93;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    animation: fadeInUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s both;
    color: rgba(255, 255, 255, 0.93);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 70px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(58, 180, 217, 0.4);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(58, 180, 217, 0.5);
    background: linear-gradient(135deg, var(--accent-light), var(--secondary-accent));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.btn-secondary:hover {
    background: #ffffff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.4);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 80px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
    position: relative;
    padding-bottom: 0;
    margin-bottom: 0;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border-radius: 3px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: 8px;
    line-height: 1;
    margin-top: 20px;
    text-shadow: 0 2px 10px rgba(58, 180, 217, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Modern Wave Divider - Same as awareness page */
.wave-divider-container {
    position: relative;
    height: 70px;
    background: linear-gradient(135deg, #001e54 0%, #003087 50%, #004db3 100%);
    overflow: hidden;
}

.wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
}

.wave1 {
    bottom: 0;
    height: 100%;
    z-index: 2;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    transform: scaleX(1.5);
}

.wave2 {
    bottom: 0;
    height: 70%;
    opacity: 0.5;
    z-index: 1;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    transform: scaleX(1.7);
}

/* Mission Section */
.mission-section {
    padding: 60px 0;
    background: transparent;
    position: relative;
}

.mission-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.mission-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 35px;
}

.mission-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(58, 180, 217, 0.15);
    border-radius: 50%;
    animation: ripple 3s ease-out infinite;
}

@keyframes ripple {
    0% {
        width: 120px;
        height: 120px;
        opacity: 0.8;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.mission-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #003087 0%, #0066cc 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 48, 135, 0.2), inset 0 -2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.mission-content h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
    font-weight: 800;
}

.mission-text {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--text-light);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(58, 180, 217, 0.1), rgba(58, 180, 217, 0.05));
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 16px;
    border: 2px solid rgba(58, 180, 217, 0.2);
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Privacy Importance Section */
.privacy-importance {
    padding: 60px 0;
    background: transparent;
    position: relative;
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.importance-card {
    background: white;
    padding: 45px 35px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 48, 135, 0.04), 0 1px 3px rgba(0, 48, 135, 0.03);
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    border: 1px solid rgba(0, 48, 135, 0.08);
    position: relative;
    overflow: hidden;
}

.importance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003087 0%, #0066cc 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.importance-card:hover::before {
    transform: scaleX(1);
}

.importance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 48, 135, 0.12), 0 8px 16px rgba(0, 48, 135, 0.08);
    border-color: rgba(0, 48, 135, 0.15);
}

.card-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 28px;
}

.card-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #003087 0%, #0066cc 100%);
    opacity: 0.08;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.importance-card:hover .card-icon-wrapper::before {
    transform: translate(-50%, -50%) rotate(10deg) scale(1.1);
    opacity: 0.12;
}

.importance-card .card-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #003087 0%, #0066cc 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 8px 20px rgba(0, 48, 135, 0.2), inset 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.importance-card:hover .card-icon {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 12px 28px rgba(0, 48, 135, 0.25), inset 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.importance-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 18px;
    font-weight: 700;
}

.importance-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Solutions Section */
.solutions-section {
    padding: 60px 0;
    background: transparent;
}

.solutions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.solution-item {
    display: flex;
    gap: 35px;
    background: white;
    padding: 50px 45px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 48, 135, 0.04), 0 1px 3px rgba(0, 48, 135, 0.03);
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 48, 135, 0.08);
}

.solution-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, #003087 0%, #0066cc 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.solution-item:hover::before {
    transform: scaleY(1);
}

.solution-item:hover {
    transform: translateX(15px);
    box-shadow: 0 20px 40px rgba(0, 48, 135, 0.12), 0 8px 16px rgba(0, 48, 135, 0.08);
    border-color: rgba(0, 48, 135, 0.15);
}

.solution-number-bg {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 48, 135, 0.04);
    line-height: 1;
    user-select: none;
}

.solution-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #003087 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.solution-content {
    flex: 1;
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #003087 0%, #0066cc 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.8rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 8px 20px rgba(0, 48, 135, 0.2), inset 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.solution-item:hover .solution-icon {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 12px 28px rgba(0, 48, 135, 0.25), inset 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.solution-content h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 18px;
    font-weight: 700;
}

.solution-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.solution-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.solution-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.solution-link:hover {
    color: var(--accent-color);
    gap: 14px;
}

.solution-link i {
    transition: transform 0.3s ease;
}

.solution-link:hover i {
    transform: translateX(5px);
}

/* Quick Tips Section */
.quick-tips {
    padding: 60px 0;
    background: transparent;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tip-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(0, 48, 135, 0.08);
    box-shadow: 0 4px 12px rgba(0, 48, 135, 0.04), 0 1px 3px rgba(0, 48, 135, 0.03);
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003087 0%, #0066cc 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.tip-card:hover::before {
    transform: scaleX(1);
}

.tip-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(0, 48, 135, 0.05);
    line-height: 1;
}

.tip-card:hover {
    border-color: rgba(0, 48, 135, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 48, 135, 0.12), 0 8px 16px rgba(0, 48, 135, 0.08);
}

.tip-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #003087 0%, #0066cc 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 8px 20px rgba(0, 48, 135, 0.2), inset 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.tip-card:hover .tip-icon {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 12px 28px rgba(0, 48, 135, 0.25), inset 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.tip-card h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 14px;
    font-weight: 700;
}

.tip-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #001332 0%, #002a5c 40%, #003d8f 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 40%, rgba(58, 180, 217, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 85% 70%, rgba(125, 204, 232, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    animation: heroGlow 20s ease-in-out infinite alternate;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, 30px) rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
}

.cta-icon {
    width: 100px;
    height: 100px;
    background: rgba(58, 180, 217, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px;
    font-size: 3rem;
    border: 3px solid rgba(58, 180, 217, 0.4);
    animation: float 3s ease-in-out infinite;
    color: var(--accent-light);
}

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

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 48px;
    opacity: 0.95;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-light {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
    font-weight: 700;
}

.btn-light:hover {
    background: var(--accent-light);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.35);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 700;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

/* Responsive Design for New Sections */
@media (max-width: 968px) {
    .hero-privacy h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.3rem;
    }
    
    .solution-number-bg {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .hero-privacy {
        padding: 90px 0 70px;
    }
    
    .hero-stats {
        padding-bottom: 0;
        margin-top: 40px;
    }
    
    .wave-divider-container {
        height: 50px;
    }
    
    .hero-privacy h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .mission-content h2,
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .mission-text,
    .section-header p {
        font-size: 1.1rem;
    }
    
    .importance-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-item {
        flex-direction: column;
        padding: 40px 30px;
        gap: 25px;
    }
    
    .solution-number {
        font-size: 3rem;
    }
    
    .solution-number-bg {
        font-size: 5rem;
        top: 15px;
        right: 20px;
    }
    
    .solution-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2.3rem;
    }
    
    .cta-content p {
        font-size: 1.15rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-privacy h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }
    
    .wave-divider-container {
        height: 40px;
    }
    
    .btn {
        padding: 16px 28px;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.9rem;
    }
    
    .cta-content h2 {
        font-size: 1.9rem;
    }
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 48, 135, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTop:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(58, 180, 217, 0.4);
}

#scrollToTop:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #scrollToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.page-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: white;
    animation: float 3s ease-in-out infinite;
}

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

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.page-hero-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.95;
    color: white;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 50px;
    }
    
    .page-hero h1 {
        font-size: 36px;
    }
    
    .page-hero-subtitle {
        font-size: 16px;
    }
    
    .page-hero-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
}

/* إخفاء القائمة الكاملة على الشاشات الكبيرة */
@media (min-width: 769px) {
    .mobile-menu-fullscreen {
        display: none !important;
    }
    
    .menu-overlay {
        display: none !important;
    }
}

