/* CSS Variables - iOS 26 Dark Theme */
:root {
    --primary-color: #0A84FF;
    --primary-light: #409CFF;
    --primary-dark: #0055CC;
    --secondary-color: #5E5CE6;
    --accent-color: #30D158;
    --accent-orange: #FF9F0A;
    --accent-red: #FF453A;
    --accent-purple: #BF5AF2;
    
    --text-primary: #FFFFFF;
    --text-secondary: #8E8E93;
    --text-tertiary: #636366;
    
    --bg-primary: #000000;
    --bg-secondary: #1C1C1E;
    --bg-tertiary: #2C2C2E;
    --bg-quaternary: #3A3A3C;
    
    --system-gray: #8E8E93;
    --system-gray2: #636366;
    --system-gray3: #48484A;
    --system-gray4: #3A3A3C;
    --system-gray5: #2C2C2E;
    --system-gray6: #1C1C1E;
    
    --border-color: #38383A;
    --separator-color: #38383A;
    
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-large: 0 10px 40px rgba(0, 0, 0, 0.5);
    
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 16px;
    --radius-extra: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    --blur: blur(20px);
    --blur-light: blur(10px);
}

[data-theme="light"] {
    --primary-color: #007AFF;
    --primary-light: #409CFF;
    --primary-dark: #0055CC;
    --secondary-color: #5856D6;
    --accent-color: #34C759;
    --accent-orange: #FF9500;
    --accent-red: #FF3B30;
    --accent-purple: #AF52DE;
    
    --text-primary: #000000;
    --text-secondary: #8E8E93;
    --text-tertiary: #AEAEB2;
    
    --bg-primary: #FFFFFF;
    --bg-secondary: #F2F2F7;
    --bg-tertiary: #E5E5EA;
    --bg-quaternary: #D1D1D6;
    
    --system-gray: #8E8E93;
    --system-gray2: #AEAEB2;
    --system-gray3: #C7C7CC;
    --system-gray4: #D1D1D6;
    --system-gray5: #E5E5EA;
    --system-gray6: #F2F2F7;
    
    --border-color: #C6C6C8;
    --separator-color: #C6C6C8;
    
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-large: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: var(--transition);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-large);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    font-size: 1rem;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    
    /* تأثير زجاجي احترافي */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    
    /* تدرج لوني شفاف */
    background-image: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.15) 0%, 
            rgba(255, 255, 255, 0.05) 50%, 
            rgba(255, 255, 255, 0) 100%);
    
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    
    /* حدود زجاجية */
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* تأثير اللمعان المتحرك */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

/* تأثير الإضاءة عند التحويم */
.btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* تأثير عند النقر */
.btn:active {
    transform: translateY(1px) scale(0.98);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.15),
        0 3px 10px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* تأثير إضافي للزر الأساسي */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-large);
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* لون محدد للزر (اختياري) */
.btn-primary {
    background: rgba(117, 115, 249, 0.15);
    border: 1px solid rgba(117, 115, 249, 0.25);
}

.btn-primary:hover {
    background: rgba(117, 115, 249, 0.25);
}

/* تأثير النص والأيقونة */
.btn span, .btn i {
    position: relative;
    z-index: 2;
}

/* زر صغير (مثل زر العودة للأعلى) */
.btn-small {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* زر دائري */
.btn-circle {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow);
}


/* Browser Window Styles */
.browser-window {
    background: var(--bg-secondary);
    border-radius: var(--radius-medium) var(--radius-medium) 0 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.browser-header {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.browser-controls {
    display: flex;
    gap: 8px;
}

.browser-controls .control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: var(--transition);
}

.browser-controls .control.close {
    background: var(--accent-red);
}

.browser-controls .control.minimize {
    background: var(--accent-orange);
}

.browser-controls .control.maximize {
    background: var(--accent-color);
}

.browser-controls .control:hover {
    transform: scale(1.1);
}

.browser-url {
    flex: 1;
    margin: 0 16px;
    background: var(--bg-primary);
    padding: 8px 16px;
    border-radius: var(--radius-small);
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browser-url i {
    color: var(--accent-color);
}

.browser-actions {
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
}

.browser-actions:hover {
    background: var(--bg-quaternary);
}

.browser-body {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.browser-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

.iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-tertiary);
    border-left: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Updated Modal Styles for Browser */
.modal-content {
    max-width: 1200px;
    width: 95%;
}

.modal-body {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.browser-window {
    flex: 1;
    min-height: 0;
}

.modal-details {
    flex-shrink: 0;
    max-height: 300px;
    overflow-y: auto;
}

/* Responsive Browser */
/* Mobile Menu Fixes */
/* إصلاح القائمة المتنقلة */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        border-left: 1px solid var(--border-color);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        margin: 0;
        gap: 0;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        border-radius: var(--radius-medium);
        transition: all 0.3s ease;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a:hover {
        background: var(--bg-tertiary);
        transform: translateX(10px);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-actions {
        margin-top: 2rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

    .hamburger span {
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* منع التمرير عند فتح القائمة */
    body.menu-open {
        overflow: hidden;
    }
}

/* إصلاح تداخل الهيدر */
.main-content {
    margin-top: 80px;
}

.hero-section {
    margin-top: -80px;
    padding-top: 80px;
    height: 100vh;
}

.portfolio-page {
    margin-top: 80px;
}

/* تحسين الهيدر */
.main-header {
    height: 80px;
}

.navbar {
    height: 80px;
}

/* تحسين التكبير للشاشات الكبيرة */
@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
}

@media (min-width: 1200px) {
    body {
        zoom: 0.9;
    }
}
/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    margin-bottom: 2rem;
}

.loading-logo .logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-subtitle {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: loadingProgress 2s ease-in-out infinite;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: var(--blur);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .main-header {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: 2rem;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.theme-toggle {
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(15deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(10, 132, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(10, 132, 255, 0.3);
    backdrop-filter: var(--blur-light);
}

.company-name {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.company-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(10px);
    }
    60% {
        transform: translateX(-50%) translateY(5px);
    }
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

section {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

/* About Section */
.about-section {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
}

.about-text h2::after {
    left: 0;
    transform: none;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    position: relative;
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;

    /* Glass background with animated gradient */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);

    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.35);

    transition: all 0.4s ease;
    overflow: hidden;
}

/* Animated color glow */
.skill-tag::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        #ff6a00,
        #ee0979,
        #6a11cb,
        #2575fc
    );
    opacity: 0.25;
    z-index: -1;
    animation: gradientMove 6s linear infinite;
    background-size: 300% 300%;
}

/* Hover effect */
.skill-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

/* Gradient animation */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.code-terminal {
    background: var(--bg-primary);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.terminal-header {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.close { background: var(--accent-red); }
.minimize { background: var(--accent-orange); }
.maximize { background: var(--accent-color); }

.terminal-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
}

.code-line {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.prompt {
    color: var(--accent-color);
    margin-right: 8px;
    font-weight: 600;
}

.output {
    color: var(--text-secondary);
    margin-left: 20px;
}

.blinking {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-large);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-features li:last-child {
    border-bottom: none;
}

/* Featured Projects */
.featured-projects {
    background: var(--bg-secondary);
}

.projects-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Portfolio Page */
.portfolio-page {
    padding-top: 100px;
    min-height: 100vh;
}

.portfolio-hero {
    text-align: center;
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #00000000, #161551);
    color: white;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.portfolio-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 1000 1000" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.1)" d="M0,0 L1000,0 L1000,1000 L0,1000 Z"></path></svg>');
    background-size: cover;
}

.portfolio-hero .page-title {
    color: white;
    margin-bottom: 1rem;
}

.portfolio-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-filters {
    margin-bottom: 4rem;
}
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 20px;
    border-radius: var(--radius-large);
    
    /* خلفية زجاجية للحاوية */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.filter-btn {
    padding: 12px 24px;
    
    /* تصميم زجاجي أساسي */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-medium);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    
    /* تأثيرات النص */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    
    /* تأثيرات الظل */
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    
    /* منع حدوث تداخل مع العناصر الأخرى */
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* تأثير اللمعان المتحرك الخلفي */
.filter-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 cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

/* تأثيرات التحويم */
.filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(var(--primary-color-rgb, 117, 115, 249), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.filter-btn:hover::before {
    left: 100%;
}

/* حالة النشطة */
.filter-btn.active {
    /* تدرج لوني زجاجي */
    background: linear-gradient(
        135deg, 
        rgba(var(--primary-color-rgb, 117, 115, 249), 0.25), 
        rgba(var(--secondary-color-rgb, 100, 100, 200), 0.15)
    );
    
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
    
    /* تأثير إشعاعي للتوهج */
    box-shadow: 
        0 8px 25px rgba(var(--primary-color-rgb, 117, 115, 249), 0.2),
        0 4px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 0 20px rgba(var(--primary-color-rgb, 117, 115, 249), 0.1);
    
    /* تأثير النص في الحالة النشطة */
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(var(--primary-color-rgb, 117, 115, 249), 0.3);
}

/* تأثير النشطة عند التحويم */
.filter-btn.active:hover {
    background: linear-gradient(
        135deg, 
        rgba(var(--primary-color-rgb, 117, 115, 249), 0.35), 
        rgba(var(--secondary-color-rgb, 100, 100, 200), 0.25)
    );
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(var(--primary-color-rgb, 117, 115, 249), 0.25),
        0 6px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 25px rgba(var(--primary-color-rgb, 117, 115, 249), 0.15);
}

/* تأثير الضغط على الزر */
.filter-btn:active {
    transform: translateY(1px) scale(0.98);
    transition: all 0.1s ease;
}

.filter-btn.active:active {
    transform: translateY(-1px) scale(0.98);
}

/* تأثير إضافي: توهج متقطع للزر النشط */
@keyframes activeGlow {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(var(--primary-color-rgb, 117, 115, 249), 0.2),
            0 4px 15px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.05),
            0 0 20px rgba(var(--primary-color-rgb, 117, 115, 249), 0.1);
    }
    50% {
        box-shadow: 
            0 8px 25px rgba(var(--primary-color-rgb, 117, 115, 249), 0.3),
            0 4px 15px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1),
            0 0 25px rgba(var(--primary-color-rgb, 117, 115, 249), 0.2);
    }
}

/* تطبيق تأثير التوهج المتقطع (اختياري) */
.filter-btn.active {
    animation: activeGlow 3s ease-in-out infinite;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .filter-buttons {
        gap: 0.75rem;
        padding: 15px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .filter-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .filter-btn {
        width: 80%;
        justify-content: center;
    }
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-image::before {
    opacity: 1;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    display: inline-block;
    background: rgba(10, 132, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    backdrop-filter: var(--blur);
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-large);
    max-width: 900px;
    margin: 50px auto;
    box-shadow: var(--shadow-large);
    animation: modalFadeIn 0.3s ease;
    border: 1px solid var(--border-color);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    background: var(--bg-tertiary);
}

.close-modal:hover {
    background: var(--accent-red);
    color: white;
}

.modal-body {
    display: flex;
    flex-direction: column;
}

.modal-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 2.5rem;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-medium);
}

.info-item h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.modal-technologies {
    margin: 2rem 0;
}

.modal-technologies h3 {
    margin-bottom: 1rem;
}

.modal-technologies ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.modal-technologies li {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: var(--radius-small);
    font-size: 0.9rem;
}

.modal-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-items {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-medium);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--bg-quaternary);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.contact-details h4 {
    margin-bottom: 0.3rem;
}

.contact-details a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--radius-large);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #00000000, #161551);
    color: white;
    text-align: center;
    padding: 4rem 0;
}


.newsletter-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 1rem;
}

.input-group input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: var(--radius-medium);
    background: rgb(103 58 183 / 54%);
    color: var(--text-primary);
}

.input-group input::placeholder {
    color: var(--text-secondary);
}

/* Footer */
.main-footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

/* Fix Header Overlap */
.main-content {
    padding-top: 80px; /* Match header height */
}

.hero-section {
    padding-top: 0; /* Remove extra padding since main-content already has it */
    height: calc(100vh - 80px); /* Subtract header height */
}

.portfolio-page {
    padding-top: 80px; /* Match header height */
}

/* Ensure all sections have proper spacing */
section {
    padding: 6rem 0;
    position: relative;
}

/* Specific fix for hero content positioning */
.hero-content {
    margin-top: 0;
    padding-top: 2rem;
}

/* Mobile header height adjustment */
@media (max-width: 768px) {
    .main-content {
        padding-top: 70px;
    }
    
    .hero-section {
        height: calc(100vh - 70px);
    }
    
    .portfolio-page {
        padding-top: 70px;
    }
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
   position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    /* تأثير الزجاج */
    background: rgba(117, 115, 249, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
     background: rgba(117, 115, 249, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .input-group {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        background: var(--bg-secondary);
        width: 80%;
        height: calc(100vh - 80px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-large);
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .company-name {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .modal-links {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    section {
        padding: 4rem 0;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .project-info-grid {
        grid-template-columns: 1fr;
    }
}

/* iOS 26 Specific Enhancements */
@media (max-width: 428px) {
    /* iPhone 12/13 Pro Max and similar sizes */
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .service-card,
    .project-card {
        margin: 0 10px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-text,
    .company-name,
    .section-title {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
.form-group select {
width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
    font-size: 1rem;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 40px;
}
/* Country Select Styling */
.country-select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 16px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.country-select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.country-flag {
    display: inline-block;
    width: 24px;
    height: 16px;
    margin-right: 10px;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.country-option {
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.country-option-text {
    display: flex;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .country-select {
        font-size: 14px;
        padding: 10px 35px 10px 10px;
    }
}
.country-select-wrapper {
    display: flex;
    align-items: center;
}

.country-select-wrapper img {
    border-radius: 3px;
}

