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

:root {
    /* The100Website Color Palette */
    --primary-bg: #2a2a2a;
    --secondary-bg: #1f1f1f;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-color: #ffffff;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --container-max-width: 1400px;
    --section-padding: 120px 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Grid Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
}

.logo-text {
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.05rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--text-primary);
    color: var(--primary-bg);
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.05rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-radius: 4px;
    margin-left: 1rem;
}

.nav-cta:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 1px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary-bg);
    padding: 120px 60px 80px;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 1000px;
}

.hero-intro {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.hero-title .highlight {
    color: var(--text-primary);
    font-weight: 500;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--primary-bg);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--text-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    margin-top: 0.5rem;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--text-primary);
    transform: scale(1.2);
}

.nav-dot:hover {
    background: var(--text-primary);
    transform: scale(1.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    z-index: 100;
}

.scroll-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    font-weight: 300;
}

/* Section Styles */
section {
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    line-height: 1;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-bg);
    padding: var(--section-padding);
}

.services-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    border-color: var(--text-primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-title {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.service-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: 600;
}

.service-btn {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-btn:hover {
    color: var(--text-secondary);
}

.services-process {
    margin-top: 5rem;
}

.process-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: block;
}

.process-step h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

/* Value Proposition Styles */
.value-proposition {
    margin-top: 5rem;
    margin-bottom: 4rem;
}

.value-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--text-primary);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.value-icon {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.value-item h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
    font-size: 0.9rem;
}

/* Add-On Services Styles */
.add-on-services-section {
    margin-top: 5rem;
    margin-bottom: 4rem;
}

.add-on-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.add-on-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    font-size: 1.1rem;
}

.add-on-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.add-on-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.add-on-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.add-on-item:hover {
    border-color: var(--text-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.add-on-item:hover::before {
    opacity: 1;
}

.add-on-icon {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.add-on-item h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.add-on-price {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.add-on-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

/* Package Price Styles */
.service-card .package-price {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.service-card.featured {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.02);
}

.service-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

/* Projects Section */
.projects {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-bg);
    padding: var(--section-padding);
}

.projects-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

/* Portfolio Carousel */
.portfolio-carousel {
    position: relative;
    margin-bottom: 4rem;
}

.carousel-container {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-card {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    overflow: hidden;
    opacity: 0.7;
    transition: all 0.6s ease;
    position: relative;
    min-height: 600px; /* Increased height */
}

.carousel-card.active {
    opacity: 1;
}

.card-preview {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    top: 0;
    left: 0;
}

.card-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
    grid-column: 2;
}

.card-header {
    margin-bottom: 3rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-item.featured {
    grid-column: span 2;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-preview {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--secondary-bg);
    transition: all 0.3s ease;
    pointer-events: none;
    transform: scale(1);
    transform-origin: center;
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(1px);
}

.project-item:hover .project-preview {
    transform: scale(1);
    opacity: 0.2;
}

/* Loading state for iframes */
.project-preview::before {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
    z-index: 1;
}

/* Responsive iframe adjustments */
@media (max-width: 768px) {
    .project-preview {
        transform: scale(1);
        opacity: 0.35;
    }
    
    .project-item:hover .project-preview {
        transform: scale(1);
        opacity: 0.35;
    }
    
    .card-content {
        grid-column: 1;
        background: rgba(0, 0, 0, 0.5);
    }
}

.project-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.project-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.project-info {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}

.project-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-category {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.project-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.project-btn {
    background: var(--text-primary);
    color: var(--primary-bg);
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.project-btn:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
}

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

.project-btn.secondary:hover {
    background: var(--text-primary);
    color: var(--primary-bg);
}

/* Carousel Navigation */
.carousel-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    padding: 0 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: rgba(42, 42, 42, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    transform: none;
    background: rgba(42, 42, 42, 0.9);
    border-color: var(--border-color);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    transform: scale(1.2);
}

.indicator:hover {
    border-color: var(--text-primary);
    transform: scale(1.1);
}

.projects-cta {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.projects-cta h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-primary);
}



/* Pricing Section */
.pricing {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-bg);
    padding: var(--section-padding);
}

.pricing-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

.pricing-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.pricing-card:hover {
    border-color: var(--text-primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: var(--primary-bg);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.package-header {
    margin-bottom: 2rem;
}

.package-title {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.package-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.package-price {
    margin-bottom: 1rem;
}

.price-range {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    display: block;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.package-features li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 300;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: 600;
}

.pricing-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
}

.pricing-btn:hover {
    background: var(--text-primary);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.pricing-btn.primary {
    background: var(--text-primary);
    color: var(--primary-bg);
}

.pricing-btn.primary:hover {
    background: var(--text-secondary);
}

.service-pricing {
    margin-bottom: 4rem;
}

.service-pricing-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.service-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-price-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative; /* Create stacking context */
    z-index: 1; /* Base z-index */
    isolation: isolate; /* Isolate stacking context */
}

.service-price-item:hover {
    border-color: var(--text-primary);
    transform: translateY(-5px);
    z-index: 2; /* Increase z-index on hover to ensure tooltip visibility */
}

.service-price-item h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.price-basic {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.price-comprehensive-wrapper {
    position: relative;
    cursor: pointer;
    isolation: isolate; /* Create a new stacking context */
}

.price-comprehensive {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.price-comprehensive::after {
    content: "ⓘ";
    display: inline-block;
    margin-left: 5px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.price-comprehensive-wrapper:hover .price-comprehensive {
    color: var(--text-primary);
}

.price-comprehensive-wrapper:hover .price-comprehensive::after {
    color: var(--text-primary);
}

.price-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    background: rgba(42, 42, 42, 0.98);
    border: 1px solid var(--text-primary);
    border-radius: 8px;
    padding: 1rem;
    z-index: 100; /* High z-index within its stacking context */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    isolation: isolate; /* Create a new stacking context */
    overflow: hidden; /* Prevent content from spilling out */
}

.price-comprehensive-wrapper:hover .price-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
    pointer-events: auto; /* Enable interactions with the tooltip */
}

/* Adjust tooltip position for items at the edges */
.service-price-item:first-child .price-tooltip,
.service-price-item:nth-child(4) .price-tooltip {
    left: 20px;
    transform: translateX(0);
}

.service-price-item:first-child .price-tooltip::after,
.service-price-item:nth-child(4) .price-tooltip::after {
    left: 20px;
    margin-left: 0;
}

.service-price-item:nth-child(3) .price-tooltip,
.service-price-item:nth-child(6) .price-tooltip {
    left: auto;
    right: 20px;
    transform: translateX(0);
}

.service-price-item:nth-child(3) .price-tooltip::after,
.service-price-item:nth-child(6) .price-tooltip::after {
    left: auto;
    right: 20px;
    margin-left: 0;
}

.price-tooltip h5 {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.price-tooltip ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.price-tooltip li {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
    text-align: left;
}

.price-tooltip li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: 600;
}

/* Add a small arrow at the bottom of the tooltip */
.price-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: var(--text-primary) transparent transparent transparent;
}

/* Styles for tooltips that appear below the item instead of above */
.tooltip-bottom::after {
    top: auto;
    bottom: 100%;
    border-color: transparent transparent var(--text-primary) transparent;
}

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

.maintenance-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.maintenance-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.maintenance-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.maintenance-card:hover {
    border-color: var(--text-primary);
    transform: translateY(-5px);
}

.maintenance-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.maintenance-price {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.maintenance-card ul {
    list-style: none;
    text-align: left;
}

.maintenance-card li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.maintenance-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-primary);
}

.maintenance-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Contact Section */
.contact {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-bg);
    padding: var(--section-padding);
}

.contact-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.contact-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 300;
}

.contact-benefits {
    margin-bottom: 3rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.benefit-icon {
    width: 20px;
    height: 20px;
    background: var(--text-primary);
    color: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.benefit span {
    color: var(--text-secondary);
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-link:hover {
    color: var(--text-secondary);
}

.phone-link {
    font-size: 1.3rem;
}

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

.contact-detail p {
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

.contact-form-section {
    background: transparent;
}

.form-title {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: 0.02rem;
}

.form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    font-weight: 300;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.submit-btn {
    background: var(--text-primary);
    color: var(--primary-bg);
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    font-family: var(--font-primary);
}

.submit-btn:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.form-note {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 1rem;
    font-weight: 300;
}

/* Footer */
.footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 300;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--text-primary);
    color: var(--primary-bg);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 300;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--text-secondary);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
}

.floating-cta.show {
    opacity: 1;
    transform: translateY(0);
}

.floating-btn {
    background: var(--text-primary);
    color: var(--primary-bg);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    background: var(--text-secondary);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
/* Responsive tooltip adjustments */
@media (max-width: 1024px) {
    .price-tooltip {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .price-tooltip {
        width: 220px;
        padding: 0.8rem;
    }
    
    .price-tooltip h5 {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .price-tooltip li {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }
}

@media (max-width: 1024px) {
    .nav-container,
    .services-container,
    .pricing-container,
    .projects-container,
    .contact-container,
    .footer-container {
        padding: 0 40px;
    }
    
    .hero {
        padding: 120px 40px 80px;
    }
    
    .side-nav {
        left: 40px;
    }
    
    .scroll-indicator {
        right: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-item.featured {
        grid-column: span 1;
    }
    
    /* Carousel responsive adjustments */
    .carousel-card {
        grid-template-columns: 1fr;
        min-height: 700px; /* Increased height for mobile */
    }
    
    .card-preview {
        height: 100%;
    }
    
    .card-content {
        padding: 2rem;
    }
    
    .carousel-navigation {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(42, 42, 42, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-container,
    .services-container,
    .pricing-container,
    .projects-container,
    .contact-container,
    .footer-container {
        padding: 0 30px;
    }
    
    .hero {
        padding: 120px 30px 80px;
    }
    
    .side-nav {
        left: 30px;
    }
    
    .scroll-indicator {
        right: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    

    
    /* Mobile carousel adjustments */
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-navigation {
        padding: 0 0.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .card-preview {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .nav-container,
    .services-container,
    .pricing-container,
    .projects-container,
    .contact-container,
    .footer-container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 120px 20px 80px;
    }
    
    .side-nav {
        left: 20px;
    }
    
    .scroll-indicator {
        right: 20px;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-content {
        gap: 3rem;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

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

/* Section Transitions */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Focus Styles for Accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus,
.nav-dot:focus {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 1rem;
}

.language-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    transition: all 0.3s ease;
}

.language-btn:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(42, 42, 42, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 150px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: left;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.language-option.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.lang-code {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    min-width: 20px;
}

.lang-name {
    font-weight: 400;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .language-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .hero-cta {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-stats {
    flex-direction: row-reverse;
}

[dir="rtl"] .services-grid {
    direction: rtl;
}

[dir="rtl"] .service-card {
    text-align: right;
}

[dir="rtl"] .service-features {
    text-align: right;
}

[dir="rtl"] .service-features li {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .service-features li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .value-grid {
    direction: rtl;
}

[dir="rtl"] .value-item {
    text-align: right;
}

[dir="rtl"] .add-on-grid {
    direction: rtl;
}

[dir="rtl"] .add-on-item {
    text-align: right;
}

[dir="rtl"] .process-steps {
    direction: rtl;
}

[dir="rtl"] .process-step {
    text-align: right;
}

[dir="rtl"] .pricing-packages {
    direction: rtl;
}

[dir="rtl"] .pricing-card {
    text-align: right;
}

[dir="rtl"] .package-features {
    text-align: right;
}

[dir="rtl"] .package-features li {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .package-features li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .contact-content {
    direction: rtl;
}

[dir="rtl"] .contact-info {
    text-align: right;
}

[dir="rtl"] .contact-form {
    direction: rtl;
}

[dir="rtl"] .form-row {
    direction: rtl;
}

[dir="rtl"] .footer-content {
    direction: rtl;
}

[dir="rtl"] .footer-brand {
    text-align: right;
}

[dir="rtl"] .footer-links {
    direction: rtl;
}

[dir="rtl"] .footer-column {
    text-align: right;
}

[dir="rtl"] .footer-bottom-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .side-nav {
    left: auto;
    right: 60px;
}

[dir="rtl"] .scroll-indicator {
    right: auto;
    left: 60px;
}

[dir="rtl"] .carousel-navigation {
    flex-direction: row-reverse;
}

[dir="rtl"] .project-actions {
    flex-direction: row-reverse;
}

/* Language switching loading state */
.language-switching {
    opacity: 0.7;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Mobile RTL adjustments */
@media (max-width: 1024px) {
    [dir="rtl"] .side-nav {
        right: 40px;
    }
    
    [dir="rtl"] .scroll-indicator {
        left: 40px;
    }
}

@media (max-width: 768px) {
    [dir="rtl"] .side-nav {
        right: 30px;
    }
    
    [dir="rtl"] .scroll-indicator {
        left: 30px;
    }
    
    [dir="rtl"] .nav-menu {
        text-align: center;
    }
    
    .language-switcher {
        margin: 0;
        order: -1;
    }
    
    [dir="rtl"] .language-switcher {
        margin: 0;
    }
}

@media (max-width: 480px) {
    [dir="rtl"] .side-nav {
        right: 20px;
    }
    
    [dir="rtl"] .scroll-indicator {
        left: 20px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .side-nav,
    .scroll-indicator,
    .floating-cta,
    .language-switcher {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}