/* Font Awesome Base Styles */
.fa, .fas, .far, .fal, .fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fab {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

.fas {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Global Styles */
:root {
    --primary-color: #d7df23;
    --primary-dark: #b8c01e;
    --primary-light: #e8f04a;
    --secondary-color: #1e293b;
    --secondary-light: #334155;
    --accent-color: #d7df23;
    --accent-hover: #c4cc1f;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --gradient-primary: linear-gradient(135deg, #d7df23 0%, #b8c01e 100%);
    --gradient-secondary: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-accent: linear-gradient(135deg, #d7df23 0%, #e8f04a 50%, #b8c01e 100%);
    --shadow-sm: 0 1px 2px 0 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-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-accent: 0 4px 15px rgba(215, 223, 35, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Readex Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--light-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
header {
    background: var(--gradient-secondary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-bottom: 4px solid var(--primary-color);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    top: 0;
    left: 0;
    color: white;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(215, 223, 35, 0.1) 0%, rgba(184, 192, 30, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

header:hover::before {
    opacity: 1;
}

header.scrolled {
    background: var(--gradient-secondary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-bottom: 4px solid var(--primary-color);
    transform: translateY(0);
    padding: 0.8rem 0;
}

header.scrolled .logo {
    height: 45px;
}

header.scrolled .nav-links {
    padding: 0.3rem;
}

header.scrolled .nav-links li a {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

header.scrolled .lang-btn {
    padding: 10px 15px;
    font-size: 13px;
}

/* Header Animation on Load */
@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

header {
    animation: headerSlideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Floating Effect for Navigation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.nav-links:hover {
    animation: float 2s ease-in-out infinite;
}

header .container {
    display: grid;
    grid-template-columns: minmax(auto, 200px) 1fr minmax(auto, 200px);
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
    padding: clamp(0.8rem, 2vw, 1.5rem) 0;
    position: relative;
    max-width: 1400px;
    min-height: 70px;
}

/* Responsive Grid Adjustments */
@media (min-width: 1025px) {
    /* Desktop and large screens - ensure consistent nav design */
    .nav-links {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .nav-links li a {
        font-size: 0.95rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 1200px) {
    header .container {
        grid-template-columns: auto 1fr auto;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* إضافة مسافة علوية للمحتوى لتجنب التداخل مع الهيدر */
    body {
        padding-top: 0;
    }
    
    main {
        margin-top: 0;
    }
    
    header {
        padding: 0.5rem 0;
        min-height: 100px; /* تحديد ارتفاع أدنى للهيدر */
    }
    
    header .container {
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        gap: 0.6rem;
        padding: 0.4rem 0;
        align-items: center;
        max-width: 100%;
    }
    
    .logo {
        justify-self: start;
        grid-column: 1;
        grid-row: 1;
        height: 40px;
    }
    
    .nav-menu {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
        margin: 0;
        width: 100%;
    }
    
    .language-toggle {
        justify-self: end;
        order: 2;
        grid-column: 3;
        grid-row: 1;
    }
    
    .mobile-menu-toggle {
        display: none; /* Hide mobile toggle since nav is always visible */
    }
}

.logo {
    height: 50px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.2));
    position: relative;
    z-index: 2;
}

.logo:hover {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 8px 20px rgba(102, 126, 234, 0.3));
}

.logo:active {
    transform: scale(1.02) translateY(0);
    transition: all 0.1s ease;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    justify-self: center;
    position: relative;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(215, 223, 35, 0.3);
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    display: block;
    overflow: hidden;
    z-index: 1;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 25px;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-links li a:hover::before {
    transform: scale(1);
}

.nav-links li a:hover {
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.nav-links li a:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Active link indicator */
.nav-links li a.active {
    background: var(--gradient-primary);
    color: var(--dark-color);
    box-shadow: var(--shadow-accent);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.mobile-menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    z-index: -1;
}

.mobile-menu-toggle:hover::before {
    transform: scale(1);
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2.5px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    margin: 2px 0;
    position: relative;
    z-index: 1;
}

.mobile-menu-toggle:hover span {
    background: white;
}

.mobile-menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: transparent;
}

/* Mobile Menu Toggle Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,255,255,.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="50" cy="10" r="50" fill="url(%23a)"/></svg>');
    opacity: 0.1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: white;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.hero-content .highlight {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    position: relative;
}

.hero-content .highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.2;
    border-radius: 8px;
    z-index: -1;
    filter: blur(10px);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 90%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.3s both;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 30px;
    z-index: -1;
    animation: floatShadow 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatImage 6s ease-in-out infinite;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 15px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}



/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    text-align: center;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        var(--shadow-accent),
        0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.download-btn.secondary {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 237, 78, 0.2));
    border-color: rgba(255, 215, 0, 0.5);
}

.download-btn.secondary:hover {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: var(--primary-color);
    border-color: #ffd700;
}

.download-btn span {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.download-btn small {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

.download-btn i {
    font-size: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Legal Pages Styles */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 15px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: rgba(248, 250, 252, 0.7);
    font-size: 1rem;
    font-style: italic;
}

.legal-content {
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(30, 41, 59, 0.3);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.legal-section:hover {
    background: rgba(30, 41, 59, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(215, 223, 35, 0.3);
}

.legal-section h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--light-color);
    margin: 25px 0 15px;
}

.legal-section p {
    color: rgba(248, 250, 252, 0.9);
    margin-bottom: 15px;
    text-align: justify;
}

.legal-section ul {
    margin: 20px 0;
    padding-right: 20px;
}

.legal-section li {
    color: rgba(248, 250, 252, 0.85);
    margin-bottom: 10px;
    position: relative;
    padding-right: 20px;
}

.legal-section li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    right: 0;
    font-size: 1.2rem;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-section a:hover {
    color: var(--primary-light);
    text-decoration: none;
}

.contact-info {
    background: rgba(215, 223, 35, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid rgba(215, 223, 35, 0.3);
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--light-color);
}

.contact-info strong {
    color: var(--primary-color);
}

/* Main Content Spacing for Legal Pages */
.main-content {
    min-height: calc(100vh - 80px);
    padding-top: 0;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 15px 40px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-section {
        padding: 15px;
    }
    
    .legal-section ul {
        padding-right: 15px;
    }
    
    .legal-section li {
        padding-right: 15px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 400px) {
    .hero {
        padding: 130px 10px 30px; /* مسافة إضافية للجوالات الصغيرة جداً */
    }
    
    header {
        min-height: 110px; /* زيادة ارتفاع الهيدر قليلاً */
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    .hero {
        padding: 140px 10px 30px; /* مسافة أكبر للجوالات الصغيرة جداً */
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .footer-logo {
        height: 25px;
        max-width: 80px;
    }
}

/* Contact Section Styles */
.contact {
    padding: 100px 0;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
    color: white;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1.5" fill="rgba(255,255,255,0.12)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

.contact .section-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Information Card */
.contact-info {
    animation: slideInLeft 1s ease-out 0.3s both;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.contact-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 15px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.contact-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.contact-card-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.contact-item:hover {
    background: #ffffff;
    border-left-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 15px 0;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.contact-item-icon i {
    font-size: 1.2rem;
    color: #ffffff;
}

.contact-item-content h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.contact-item-content p {
    color: #6c757d;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* WhatsApp Special Styling */
.whatsapp-item {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
}

.whatsapp-item:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    border-left-color: #25d366;
}

.whatsapp-icon {
    background: rgba(255, 255, 255, 0.2) !important;
}

.whatsapp-item .contact-item-content h4,
.whatsapp-item .contact-item-content p {
    color: #ffffff;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.whatsapp-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Social Media */
.social-media {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.social-media h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    color: #ffffff;
}

.social-link.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    color: #ffffff;
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
    color: #ffffff;
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
    color: #ffffff;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Contact Form Section */
.contact-form-section {
    animation: slideInRight 1s ease-out 0.3s both;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-form-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.contact-form-header h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-form-header p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 20px;
    color: #6c757d;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: #ffffff;
    padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 15px;
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 500;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    padding: 10px;
}

/* Submit Button */
.submit-btn {
    background: var(--gradient-primary);
    color: var(--dark-color);
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(215, 223, 35, 0.5);
    background: var(--gradient-accent);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact {
        padding: 80px 0;
    }
    
    .contact-grid {
        gap: 40px;
    }
    
    .contact .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-card,
    .contact-form-card {
        padding: 30px;
    }
    
    .contact .section-title {
        font-size: 2.5rem;
    }
    
    .contact .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-header {
        margin-bottom: 50px;
    }
    
    .contact .section-title {
        font-size: 2rem;
    }
    
    .contact .section-subtitle {
        font-size: 1rem;
    }
    
    .contact-card,
    .contact-form-card {
        padding: 25px;
        border-radius: 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        margin: 0 0 10px 0;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .contact-item-icon {
        width: 40px;
        height: 40px;
        margin: 0 0 10px 0;
    }
    
    .contact-item-icon i {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 40px 0;
    }
    
    .contact-header {
        margin-bottom: 40px;
    }
    
    .contact .section-title {
        font-size: 1.8rem;
    }
    
    .contact-card,
    .contact-form-card {
        padding: 20px;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-item:hover {
        transform: translateY(-3px);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
    }
    
    .form-group label {
        top: 12px;
        left: 15px;
    }
    
    .submit-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* RTL Support */
[dir="rtl"] .contact-icon {
    margin: 0 0 15px 0;
}

[dir="rtl"] .contact-item-icon {
    margin: 0 0 15px 0;
}

[dir="rtl"] .contact-item:hover {
    transform: translateY(-5px);
}

[dir="rtl"] .form-group label {
    left: auto;
    right: 20px;
}

[dir="rtl"] .form-group input:focus + label,
[dir="rtl"] .form-group input:valid + label,
[dir="rtl"] .form-group select:focus + label,
[dir="rtl"] .form-group select:valid + label,
[dir="rtl"] .form-group textarea:focus + label,
[dir="rtl"] .form-group textarea:valid + label {
    left: auto;
    right: 15px;
}

[dir="rtl"] .submit-btn:hover i {
    transform: translateX(-5px);
}

@media (max-width: 576px) {
    [dir="rtl"] .contact-item:hover {
        transform: translateY(-3px);
    }
    
    [dir="rtl"] .form-group label {
        right: 15px;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
    color: white;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    
}

.features h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: start;
}

.feature {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--dark-color);
    transition: var(--transition);
    box-shadow: var(--shadow-accent);
}

.feature-icon i {
    font-size: 2rem;
    transition: var(--transition);
}

.feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-accent);
    box-shadow: 0 12px 35px rgba(215, 223, 35, 0.5);
}

.feature:hover .feature-icon i {
    transform: scale(1.1);
}



.feature h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.feature p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1.1rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.feature-tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--gradient-secondary);
    color: white;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(215,223,35,0.15)" stroke-width="0.8"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.how-it-works .section-title {
    color: #d7df23;
    margin-bottom: 1rem;
    text-align: center;
}

.how-it-works .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateY(-50%);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    background: var(--accent-color);
    color: white;
}

.step-number::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.step h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.step p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-features li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-secondary);
    position: relative;
    color: white;
}

.stats-section .section-title {
    color: var(--primary-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.stat-icon i {
    font-size: 2.5rem;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(215, 223, 35, 0.5);
}

.stat-card:hover .stat-icon i {
    transform: rotate(10deg);
}

/* Contact Section */



/* Phone Input Container */
.phone-input-container {
    display: flex;
    gap: 0.5rem;
}

.country-code-select {
    flex: 0 0 auto;
    width: 120px;
    padding: 1rem 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: inherit;
    cursor: pointer;
}

.country-code-select:focus {
    outline: none;
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.3);
}

.phone-input-container input[type="tel"] {
    flex: 1;
    margin: 0;
}

/* Error Messages */
.error-message {
    display: block;
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

/* Character Counter */
.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* CAPTCHA Styles */
.captcha-group {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.captcha-question {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 120px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.captcha-container input {
    flex: 1;
    max-width: 100px;
}

.refresh-captcha {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-captcha:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(180deg);
}

/* Checkbox Styles */
.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    gap: 0.75rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

/* Form Message */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid #4CAF50;
    color: #4CAF50;
}

.form-message.error {
    background: rgba(255, 68, 68, 0.2);
    border: 2px solid #ff4444;
    color: #ff4444;
}

/* Submit Button Loading State */
.submit-btn {
    position: relative;
    overflow: hidden;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn .loading {
    margin-left: 10px;
}

.submit-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}



/* Footer */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
}

.footer-logo {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    filter: brightness(1.3) drop-shadow(0 2px 8px rgba(102, 126, 234, 0.3));
    transform: scale(1.05);
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-section ul li a::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transition: var(--transition);
}

.footer-section ul li a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a i {
    font-size: 1.2rem;
    line-height: 1;
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
    color: #d7df23;
}

.footer-bottom a {
    color: var(--light-color);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.popup-content h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.popup-content p {
    margin-bottom: 20px;
    color: #666;
}

#close-popup {
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#close-popup:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Scroll Animations */
.section-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation for Grid Items */
.feature-grid > .feature,
.steps > .step,
.stats-container > .stat-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.feature-grid > .feature.visible,
.steps > .step.visible,
.stats-container > .stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Language Toggle Button */
.language-toggle {
    justify-self: end;
    position: relative;
}

.lang-btn {
    background: rgba(30, 41, 59, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 18px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-accent);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 30px;
    z-index: -1;
}

.lang-btn:hover::before {
    transform: scale(1);
}

.lang-btn:hover {
    color: var(--dark-color);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(215, 223, 35, 0.5);
}

.lang-icon {
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-icon i {
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover .lang-icon i {
    transform: rotate(180deg) scale(1.1);
}

.lang-text {
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.lang-btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

/* RTL Support */
body[dir="rtl"] {
    text-align: right;
}

body[dir="rtl"] .hero-content {
    padding-right: 0;
    padding-left: 50px;
}

body[dir="rtl"] .hero-stats {
    justify-content: flex-end;
}

body[dir="rtl"] .download-buttons {
    justify-content: flex-end;
}

body[dir="rtl"] .feature {
    text-align: right;
}

body[dir="rtl"] .feature-tags {
    justify-content: flex-end;
}

body[dir="rtl"] .step {
    text-align: right;
}

body[dir="rtl"] .step-features {
    padding-right: 20px;
    padding-left: 0;
}



body[dir="rtl"] .footer-content {
    text-align: right;
}

body[dir="rtl"] .footer-section ul {
    padding-right: 0;
}

body[dir="rtl"] .language-toggle {
    margin-left: 0;
    margin-right: 20px;
}

body[dir="rtl"] .mobile-menu-toggle {
    margin-left: 0;
    margin-right: auto;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
/* Tablet Styles (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    /* إضافة مسافة علوية للمحتوى لتجنب التداخل مع الهيدر */
    body {
        padding-top: 0;
    }
    
    main {
        margin-top: 0;
    }
    
    .container {
        width: 90%;
        padding: 0 20px;
    }
    
    header .container {
        grid-template-columns: auto auto auto;
        justify-content: space-between;
        gap: 2rem;
    }
    
    /* Hide mobile menu toggle for tablets - use desktop nav */
    .mobile-menu-toggle {
        display: none;
    }
    
    .language-toggle {
        order: 2;
    }
    
    /* Show desktop navigation on tablets */
    .nav-menu {
        display: flex;
        justify-self: center;
    }
    
    .nav-links {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        list-style: none;
        margin: 0;
        padding: 0.4rem;
        background: rgba(30, 41, 59, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 50px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(215, 223, 35, 0.3);
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        justify-content: center;
        z-index: auto;
    }
    
    .nav-links li {
        margin: 0;
        width: auto;
        position: relative;
    }
    
    .nav-links li a {
        color: white;
        font-weight: 600;
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
        border-radius: 25px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        text-decoration: none;
        display: block;
        overflow: hidden;
        z-index: 1;
        width: auto;
        text-align: center;
        background: transparent;
        border: none;
        margin: 0;
    }
    
    .nav-links li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gradient-primary);
        border-radius: 25px;
        transform: scale(0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }
    
    .nav-links li a:hover::before {
        transform: scale(1);
    }
    
    .nav-links li a:hover {
        color: var(--dark-color);
        transform: translateY(-2px);
        box-shadow: var(--shadow-accent);
    }
    
    /* RTL Support for tablets */
    body[dir="rtl"] .nav-links {
        right: auto;
        left: -100%;
    }
    
    body[dir="rtl"] .nav-links.active {
        left: 0;
    }
    
    .hero {
        padding: 140px 20px 80px; /* زيادة المسافة العلوية لتجنب التداخل مع الهيدر */
        min-height: 90vh;
        display: flex;
        align-items: center;
    }
    
    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
        max-width: 900px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
        padding: 0;
        max-width: 100%;
    }
    
    .hero-image {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-image img {
        max-width: 100%;
        transform: perspective(800px) rotateY(-5deg) rotateX(1deg);
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .hero p {
        font-size: clamp(1.1rem, 3vw, 1.4rem);
        text-align: center;
        margin: 0 auto 2rem;
        max-width: 700px;
        line-height: 1.6;
    }
    
    .download-buttons {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .download-btn {
        min-width: 180px;
        padding: 1.2rem 2rem;
    }
    
    .download-buttons {
        justify-content: center;
        margin-top: 30px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .feature {
        text-align: center;
    }
    
    .feature h3 {
        text-align: center;
    }
    
    .feature p {
        text-align: center;
    }
    
    .steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        text-align: center;
        margin-bottom: 30px;
        max-width: 450px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .step h3 {
        text-align: center;
        font-size: 1.4rem;
    }
    
    .step p {
        text-align: center;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .step-features {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .step-features li {
        text-align: center;
        justify-content: center;
        max-width: 300px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        text-align: center;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .section-title {
        text-align: center;
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        text-align: center;
        margin: 0 auto;
        max-width: 600px;
    }
    

    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .footer-logo {
        height: 35px;
        max-width: 120px;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    .footer-section p {
        text-align: center;
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 280px;
        margin: 0 auto 0.8rem;
    }
    
    .footer-section ul {
        gap: 0.4rem;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-width: 768px) {
    .language-toggle {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .lang-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .lang-icon {
        font-size: 14px;
    }
    
    /* Mobile Menu Toggle - Hidden in horizontal layout */
    .mobile-menu-toggle {
        display: none;
    }
    
    body[dir="rtl"] .mobile-menu-toggle {
        display: none;
    }
    
    body[dir="rtl"] .language-toggle {
        margin-left: 10px;
        margin-right: 0;
    }
    
    /* Mobile Navigation Menu - Horizontal Layout */
    .nav-menu {
        display: flex;
        justify-self: center;
        order: 1;
        width: 100%;
        max-width: none;
    }
    
    .nav-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.4rem 0.6rem;
        gap: 0.2rem;
        background: rgba(30, 41, 59, 0.95);
        backdrop-filter: blur(15px);
        border-radius: 30px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0 0.8rem;
        position: static;
        height: auto;
        overflow: visible;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        min-height: 45px;
    }
    
    .nav-links.active {
        /* No change needed for horizontal layout */
    }
    
    /* RTL Support for mobile */
    body[dir="rtl"] .nav-links {
        /* No special positioning needed for horizontal layout */
    }
    
    body[dir="rtl"] .nav-links.active {
        /* No special positioning needed for horizontal layout */
    }
    
    /* Mobile Navigation Links - Horizontal Layout */
    .nav-links li {
        margin: 0;
        flex: 1;
        min-width: 0;
    }
    
    .nav-links li a {
        font-size: 0.75rem;
        padding: 0.5rem 0.3rem;
        border-radius: 18px;
        width: 100%;
        text-align: center;
        display: block;
        background: transparent;
        border: none;
        transition: all 0.3s ease;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 600;
        color: white;
        position: relative;
        min-height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }
    
    .nav-links li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gradient-primary);
        border-radius: 15px;
        opacity: 0;
        transform: scale(0.8);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }
    
    .nav-links li a:hover::before,
    .nav-links li a.active::before {
        opacity: 1;
        transform: scale(1);
    }
    
    .nav-links li a:hover,
    .nav-links li a.active {
        color: white;
        transform: translateY(-1px);
    }
    
    .hero {
        padding: 250px 15px 60px; /* زيادة المسافة العلوية لتجنب التداخل مع الهيدر */
        min-height: 100vh;
        display: flex;
        align-items: flex-start; /* تغيير المحاذاة لتجنب التداخل */
        justify-content: center;
    }
    
    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
        width: 100%;
    }
    
    .hero-content {
        order: 2;
        padding: 1rem 0 0;
        text-align: center;
        max-width: 100%;
        margin-top: 0.5rem;
    }
    
    .hero-image {
        order: 1;
        width: 100%;
        max-width: 280px;
        margin: 2rem auto 0;
        position: relative;
        z-index: 1;
    }
    
    .hero-image img {
        width: 100%;
        max-width: 100%;
        transform: perspective(600px) rotateY(-3deg) rotateX(1deg);
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
    }
    
    body[dir="rtl"] .hero-content {
        padding: 0;
        text-align: center;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        text-align: center;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: clamp(1rem, 4vw, 1.2rem);
        text-align: center;
        margin: 0 auto 2.5rem;
        max-width: 95%;
        line-height: 1.6;
    }
    
    .download-buttons {
        justify-content: center;
        gap: 1rem;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .download-btn {
        width: 100%;
        min-width: auto;
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    
    .download-btn span {
        font-size: 1rem;
    }
    
    .download-btn small {
        font-size: 0.8rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    body[dir="rtl"] .hero-stats {
        justify-content: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    body[dir="rtl"] .download-buttons {
        justify-content: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature {
        text-align: center;
    }
    
    .feature h3 {
        text-align: center;
    }
    
    .feature p {
        text-align: center;
    }
    
    .steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        padding: 0 20px;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        margin-bottom: 30px;
        text-align: center;
        max-width: 350px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 1.5rem;
    }
    
    .step h3 {
        text-align: center;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .step p {
        text-align: center;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
        line-height: 1.5;
    }
    
    body[dir="rtl"] .step {
        text-align: center;
    }
    
    .step-features {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 280px;
        margin: 0 auto;
        gap: 0.4rem;
    }
    
    .step-features li {
        text-align: center;
        justify-content: center;
        max-width: 250px;
        font-size: 0.9rem;
        padding-left: 1.2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        text-align: center;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .section-title {
        text-align: center;
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        text-align: center;
        margin: 0 auto;
        max-width: 90%;
    }
    

    

    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    body[dir="rtl"] .footer-content {
        text-align: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-section {
        margin-bottom: 25px;
        text-align: center;
        padding: 0 20px;
    }
    
    .footer-section h3 {
        text-align: center;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section ul {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-section ul li {
        width: 100%;
        text-align: center;
    }
    
    .footer-section ul li a {
        justify-content: center;
        text-align: center;
    }
    
    .footer-section p {
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 300px;
        margin: 0 auto 1rem;
    }
    
    body[dir="rtl"] .footer-section ul {
        padding-right: 0;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 15px 40px; /* زيادة المسافة العلوية لتجنب تغطية الناف بار */
    }
    
    .hero h1 {
        font-size: 2rem;
        text-align: center;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
        text-align: center;
        margin: 0 auto;
        max-width: 95%;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1rem;
        text-align: center;
        margin: 0 auto;
        max-width: 95%;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .stat-item {
        text-align: center;
        padding: 20px 15px;
    }
    
    .feature {
        text-align: center;
        padding: 20px 15px;
    }
    
    .feature h3 {
        text-align: center;
        font-size: 1.3rem;
    }
    
    .feature p {
        text-align: center;
        font-size: 0.95rem;
    }
    
    .steps {
        padding: 0 15px;
        gap: 1.5rem;
    }
    
    .step {
        text-align: center;
        max-width: 300px;
        width: 100%;
        padding: 1.2rem 1rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 25px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 1rem;
    }
    
    .step h3 {
        text-align: center;
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .step p {
        text-align: center;
        font-size: 0.9rem;
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.4;
    }
    
    .step-features {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 240px;
        margin: 0 auto;
        gap: 0.3rem;
    }
    
    .step-features li {
        text-align: center;
        justify-content: center;
        max-width: 220px;
        font-size: 0.85rem;
        padding-left: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .download-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 5px;
    }
    
    .download-btn img {
        width: 30px;
        height: 30px;
    }
    
    .download-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    

    

    
    .footer-content {
        max-width: 350px;
        gap: 25px;
        padding: 0 10px;
    }
    
    .footer-section {
        text-align: center;
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .footer-section h3 {
        text-align: center;
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-logo {
        height: 30px;
        max-width: 100px;
    }
    
    .footer-section p {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .modal-content {
        margin: 20px;
        padding: 30px 20px;
        text-align: center;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .modal-content p {
        font-size: 1rem;
        text-align: center;
    }
    
    .modal-content .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Hero Animations */
@keyframes backgroundFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    33% {
        transform: translateY(-20px) rotate(1deg);
        opacity: 0.8;
    }
    66% {
        transform: translateY(10px) rotate(-1deg);
        opacity: 0.9;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes floatImage {
    0%, 100% {
        transform: perspective(1000px) rotateY(-8deg) rotateX(2deg) translateY(0px);
    }
    50% {
        transform: perspective(1000px) rotateY(-8deg) rotateX(2deg) translateY(-10px);
    }
}

@keyframes floatShadow {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-5px) scale(1.02);
        opacity: 0.5;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
