/* Modern Portfolio CSS with RTL Support */

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

/* Prevent horizontal overflow on mobile - especially during AOS animations */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure main content wrapper also clips overflow */
#app {
    overflow-x: hidden;
}

:root {
    /* Color Palette */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --bg-card: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-family-primary: 'Rubik', sans-serif;
    --font-family-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Borders */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Dark theme variables */
[data-theme="dark"] {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-card: #1f2937;
    --border-color: #374151;
}

/* Dark mode specific adjustments for pricing section */
[data-theme="dark"] .pricing-quote {
    background: #0f172a;
}

/* === ALL 4 TRACK CARDS - DARK MODE === */
[data-theme="dark"] .track-card {
    background: #1e293b !important;
    border-color: #475569;
}

[data-theme="dark"] .track-card h3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none;
    font-weight: 600;
}

[data-theme="dark"] .track-card > p {
    color: #e2e8f0 !important;
    -webkit-text-fill-color: #e2e8f0 !important;
}

[data-theme="dark"] .track-card .track-features li {
    color: #cbd5e1 !important;
    -webkit-text-fill-color: #cbd5e1 !important;
}

[data-theme="dark"] .track-card .track-features li i {
    color: #22c55e !important;
}

[data-theme="dark"] .track-card .track-icon {
    background: linear-gradient(135deg, #818cf8, #6366f1);
}

[data-theme="dark"] .track-card .btn-track {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
}

[data-theme="dark"] .track-card:hover,
[data-theme="dark"] .track-card.selected {
    border-color: #818cf8;
    background: #1e293b !important;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* Highlight card in dark mode - same dark background, NOT white */
[data-theme="dark"] .track-card.highlight {
    background: #1e293b !important;
    border-color: #f59e0b;
}

[data-theme="dark"] .track-card.highlight h3 {
    color: #fbbf24 !important;
    -webkit-text-fill-color: #fbbf24 !important;
}

[data-theme="dark"] .track-card.highlight > p {
    color: #e2e8f0 !important;
    -webkit-text-fill-color: #e2e8f0 !important;
}

[data-theme="dark"] .track-card.highlight .track-features li {
    color: #cbd5e1 !important;
    -webkit-text-fill-color: #cbd5e1 !important;
}

[data-theme="dark"] .quote-details {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .module-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(245, 158, 11, 0.03) 100%);
    border-color: #334155;
}

[data-theme="dark"] .maintenance-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(245, 158, 11, 0.03) 100%);
    border-color: #334155;
}

[data-theme="dark"] .hosting-info {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
}

[data-theme="dark"] .payment-step {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(245, 158, 11, 0.04) 100%);
}

[data-theme="dark"] .quote-note {
    background: rgba(245, 158, 11, 0.15);
}

/* Base HTML and Body */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--border-radius-lg);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

/* Dark mode button adjustments */
[data-theme="dark"] .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

/* Dark mode header */
[data-theme="dark"] .header {
    background: rgba(17, 24, 39, 0.95);
    border-bottom-color: #374151;
}

[data-theme="dark"] .header.scrolled {
    background: rgba(17, 24, 39, 0.98);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition-normal);
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-normal);
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.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-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-text h1 {
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero section highlight text only */
.hero .highlight {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-text {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
    min-height: 3rem;
}

.text-cycle {
    display: inline-block;
    animation: fadeInUp 0.5s ease-in-out;
}

.cursor {
    animation: blink 1s infinite;
}

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

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.profile-image {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto var(--spacing-lg);
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-full);
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.status-indicator {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: var(--border-radius-full);
    border: 3px solid white;
}

.floating-elements {
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    pointer-events: none;
}

.tech-stack {
    position: absolute;
    top: 20%;
    left: -20%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.tech-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    font-size: 0.9rem;
    color: white;
    animation: float 3s ease-in-out infinite;
}

.tech-item:nth-child(2) { animation-delay: 0.5s; }
.tech-item:nth-child(3) { animation-delay: 1s; }
.tech-item:nth-child(4) { animation-delay: 1.5s; }

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

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-full);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.service-card p {
    margin-bottom: var(--spacing-lg);
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.service-features li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Portfolio Section */
.portfolio {
    padding: var(--spacing-3xl) 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 2px solid var(--border-color);
    background: transparent;
    border-radius: var(--border-radius-full);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.portfolio-item {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(99, 102, 241, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
    opacity: 0;
    transition: opacity var(--transition-normal);
    color: white;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info h4 {
    margin-bottom: var(--spacing-sm);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-md);
}

.tech-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
}

.btn-view {
    margin-top: var(--spacing-lg);
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all var(--transition-normal);
}

.btn-view:hover {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

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

.contact-intro h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-normal);
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.method-info h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.method-info p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-normal);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: var(--spacing-xl) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-normal);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.scroll-top {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Google Review Section */
.footer-google-section {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 var(--spacing-lg);
}

.google-review-card {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.google-review-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(66, 133, 244, 0.3);
}

.google-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.google-icon i {
    font-size: 24px;
    color: white;
}

.google-content h4 {
    color: white;
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
}

.google-content p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 0.9rem;
}

.google-link {
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all var(--transition-normal);
}

.google-link:hover {
    color: #5a95f5;
    text-decoration: underline;
}

.google-link i {
    font-size: 14px;
    transition: transform var(--transition-normal);
}

.google-link:hover i {
    transform: translateX(2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 0.75rem;
        --spacing-lg: 1rem;
        --spacing-xl: 1.5rem;
        --spacing-2xl: 2rem;
        --spacing-3xl: 2.5rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .navbar {
        padding: var(--spacing-md);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--spacing-xl);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-google-section {
        margin: 0;
        order: 2;
    }

    .google-review-card {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }

    .google-content h4 {
        font-size: 0.9rem;
    }

    .google-content p {
        font-size: 0.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .portfolio-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--spacing-sm);
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
        padding: var(--spacing-xl) 0;
    }

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

    .profile-image {
        width: 120px;
        height: 120px;
    }

    /* Tech stack now visible on small screens for consistency */

    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* ============================================
   PRICING QUOTE SECTION
   ============================================ */

.pricing-quote {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
    position: relative;
}


/* Tracks Grid */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-2xl) 0;
}

.pricing-quote .track-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.track-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
}

.track-card:hover::before,
.track-card.selected::before {
    transform: scaleX(1);
}

.track-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.track-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Light mode selected card background */
.track-card.selected {
    background: var(--bg-card);
}

/* Dark mode - ensure selected card stays visible */
[data-theme="dark"] .track-card.selected {
    background: #1e293b;
    border-color: var(--primary-color);
}

.track-card.highlight {
    border-color: var(--secondary-color);
    -webkit-text-fill-color: initial;
    background-clip: border-box;
}

/* Ensure highlight card text is visible in both modes */
.track-card.highlight h3 {
    color: #1f2937 !important;
    -webkit-text-fill-color: #1f2937 !important;
}

.track-card.highlight > p {
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
}

.track-card.highlight .track-features li {
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
}

/* Dark mode highlight rules moved to top of file for consistency */

.track-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(30%);
}

.track-card.disabled:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

/* Track Badges */
.badge-hot {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    animation: pulse 2s infinite;
    z-index: 3;
}

.badge-soon {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--text-secondary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
}

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

/* Track Icon */
.track-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.track-card:hover .track-icon {
    transform: rotate(5deg) scale(1.1);
}

.track-icon i {
    font-size: 2rem;
    color: white;
}

/* Ensure text is visible and on top */
.track-card h3,
.track-card p,
.track-features {
    position: relative;
    z-index: 2;
    direction: rtl;
    text-align: right;
}

.pricing-quote .track-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: #1f2937;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.pricing-quote .track-card > p {
    color: #4b5563;
    margin-bottom: var(--spacing-lg);
    line-height: 1.55;
    position: relative;
    z-index: 2;
}

/* Track Features */
.track-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.pricing-quote .track-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: #4b5563;
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.track-features i {
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Track Button */
.btn-track {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.btn-track:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-track.disabled {
    background: var(--text-light);
    cursor: not-allowed;
}

.btn-track.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Quote Details */
.quote-details {
    background: var(--bg-card);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

/* Quote Header */
.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: var(--spacing-xl);
}

.quote-title-section h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.quote-title-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.quote-summary {
    display: flex;
    gap: var(--spacing-xl);
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.summary-item .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.summary-item .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Quote Modules */
.quote-modules {
    margin-bottom: var(--spacing-2xl);
}

.quote-modules h4,
.quote-additional h4,
.quote-payment h4 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-weight: 700;
}

.module-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(245, 158, 11, 0.02) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-normal);
}

.module-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    gap: var(--spacing-lg);
}

.module-header h5 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.module-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.module-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    white-space: nowrap;
}

.module-features {
    list-style: none;
}

.module-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    padding-right: var(--spacing-md);
    font-size: 0.95rem;
}

.module-features i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Quote Additional Services */
.quote-additional {
    margin-bottom: var(--spacing-2xl);
}

.quote-additional h4 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

/* Maintenance Options Styling */
.maintenance-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.maintenance-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(245, 158, 11, 0.02) 100%);
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
}

.maintenance-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
    transform: translateY(-5px);
}

.maintenance-card h5 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-color);
}

.maintenance-card ul {
    list-style: none;
    padding: 0;
}

.maintenance-card ul li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.maintenance-card ul li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.hosting-info {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: #f0f9ff;
    border-radius: var(--border-radius-lg);
    border-right: 4px solid var(--primary-color);
}

.hosting-info h5 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.hosting-info ul {
    list-style: none;
    padding: 0;
}

.hosting-info ul li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
}

.additional-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.additional-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.additional-item.included {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--accent-color);
}

.additional-item i {
    font-size: 1.5rem;
    margin-top: 2px;
}

.additional-item.included i {
    color: var(--accent-color);
}

.additional-item.optional i {
    color: var(--secondary-color);
}

.additional-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

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

.badge-included {
    background: var(--accent-color);
    color: white;
    padding: 2px 8px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: auto;
}

/* Quote Payment */
.quote-payment {
    margin-bottom: var(--spacing-2xl);
}

.quote-payment h4 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.payment-terms {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.payment-step {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(245, 158, 11, 0.02) 100%);
    border-radius: var(--border-radius-md);
    border-right: 4px solid var(--primary-color);
    color: var(--text-primary);
    font-weight: 500;
}

.payment-step > span:not(.step-number) {
    color: var(--text-primary);
}

.step-number {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Quote Actions */
.quote-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.btn-large {
    flex: 1;
    min-width: 200px;
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: 1.1rem;
}

/* Quote Note */
.quote-note {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--border-radius-md);
    border-right: 4px solid var(--secondary-color);
}

.quote-note i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 2px;
}

.quote-note p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.quote-note strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* More Tracks Coming Message */
.more-tracks-coming {
    text-align: center;
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.more-tracks-coming p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    margin: 0;
    flex-wrap: wrap;
}

.more-tracks-coming i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.more-tracks-coming strong {
    color: var(--text-primary);
}

/* Coming Soon Message */
.coming-soon-message {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.coming-soon-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    padding: var(--spacing-3xl) var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    border: 2px dashed var(--border-color);
}

.coming-soon-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.coming-soon-content h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.coming-soon-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-quote {
        padding: var(--spacing-2xl) 0;
    }

    .tracks-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .quote-header {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .quote-title-section h3 {
        font-size: 1.5rem;
    }

    .quote-summary {
        width: 100%;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .summary-item {
        align-items: center;
        text-align: center;
    }

    .summary-item .value {
        font-size: 1.5rem;
    }

    .quote-modules h4,
    .quote-additional h4,
    .quote-payment h4 {
        font-size: 1.25rem;
    }

    .module-header {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .module-price {
        align-self: flex-start;
        font-size: 1.25rem;
    }

    .maintenance-options {
        grid-template-columns: 1fr;
    }

    .additional-grid {
        grid-template-columns: 1fr;
    }

    .quote-actions {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        min-width: unset;
    }

    .quote-details {
        padding: var(--spacing-lg);
    }

    .track-icon {
        width: 60px;
        height: 60px;
    }

    .track-icon i {
        font-size: 1.75rem;
    }

    .badge-hot,
    .badge-soon {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .pricing-quote {
        padding: var(--spacing-xl) 0;
    }

    .quote-title-section h3 {
        font-size: 1.25rem;
    }

    .quote-title-section p {
        font-size: 1rem;
    }

    .summary-item .value {
        font-size: 1.25rem;
    }

    .summary-item .label {
        font-size: 0.85rem;
    }

    .track-card {
        padding: var(--spacing-lg);
    }

    .module-card {
        padding: var(--spacing-md);
    }

    .maintenance-card {
        padding: var(--spacing-lg);
    }

    .quote-note {
        padding: var(--spacing-md);
        font-size: 0.9rem;
    }

    .payment-step {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .scroll-indicator,
    .scroll-top,
    .quote-actions {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }

    .quote-details {
        box-shadow: none;
        border: 2px solid var(--border-color);
    }
}
