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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --darker-color: #111827;
    --light-color: #f9fafb;
    --lighter-color: #ffffff;
    --gray-color: #6b7280;
    --gray-light: #9ca3af;
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --dark-color: #f9fafb;
    --darker-color: #1f2937;
    --light-color: #111827;
    --lighter-color: #1f2937;
    --gray-color: #d1d5db;
    --gray-light: #9ca3af;
}

body {
    font-family: var(--font-ar);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--lighter-color);
    transition: var(--transition);
    overflow-x: hidden;
}

body.english {
    font-family: var(--font-en);
    direction: ltr;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced Loading Screen with Logo */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--lighter-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.logo-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.logo-loader .logo-container {
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-loader .logo-image {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1.1);
    transform-origin: center;
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
    border-radius: 50%;
    filter: blur(10px);
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.loader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.loader-text .logo-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    letter-spacing: -0.5px;
}

.loader-text .logo-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-color);
    letter-spacing: 0.5px;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

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

/* Image Loader Styles */
.image-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 5;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.image-loader span {
    color: white;
    font-size: 0.9rem;
}

/* Language Toggle */
.lang-toggle {
    position: fixed;
    left: 40px;
    z-index: 1001;
    top: 21px;
}

body.english .lang-toggle {
    left: auto;
    right: 40px;
}

.lang-btn {
    background: var(--lighter-color);
    color: var(--dark-color);
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 10px;
}

[data-theme="dark"] .lang-btn {
    background: var(--light-color);
    color: var(--dark-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.english .back-to-top {
    left: auto;
    right: 30px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

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

[data-theme="dark"] .header {
    background: rgba(17, 24, 39, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Professional Logo Styles */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-image {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1.1);
    transform-origin: center;
}

.nav-logo:hover .logo-image {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.2);
}

.nav-logo:hover .logo-glow {
    opacity: 0.6;
    transform: scale(1.1);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 50%;
    filter: blur(8px);
}

.logo-text {
    display: flex;
    flex-direction: column;
    margin-right: 12px;
    line-height: 1.2;
}

.logo-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    transition: color 0.3s ease;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-color);
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .logo-title {
    color: var(--dark-color);
}

[data-theme="dark"] .logo-subtitle {
    color: var(--gray-light);
}

/* Logo theme switching */
.logo-dark,
.logo-light {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .logo-dark {
    opacity: 1;
    transform: scale(1);
    display: block;
}

[data-theme="light"] .logo-light {
    opacity: 0;
    transform: scale(0.8);
    display: none;
}

[data-theme="dark"] .logo-light {
    opacity: 1;
    transform: scale(1);
    display: block;
}

[data-theme="dark"] .logo-dark {
    opacity: 0;
    transform: scale(0.8);
    display: none;
}

.header.scrolled .logo-image {
    height: 38px;
}

.header.scrolled .logo-text {
    margin-right: 10px;
}

.header.scrolled .logo-title {
    font-size: 1.1rem;
}

.header.scrolled .logo-subtitle {
    font-size: 0.7rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
    padding: 8px 0;
    position: relative;
    z-index: 2;
}

body:not(.english) .nav-logo {
    margin-left: 3pc;
}
body.english .nav-logo {
    margin-right: 3px;
}

body.english .logo-text {
    margin-left: 3px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

body.english .nav-link::after {
    right: auto;
    left: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.theme-toggle:hover {
    background: var(--light-color);
    transform: rotate(30deg);
}

[data-theme="dark"] .theme-toggle {
    color: var(--dark-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
}

.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);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--darker-color) 0%, var(--dark-color) 100%);
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    padding: 2rem 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-highlight {
    color: var(--accent-color);
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    animation: underlinePulse 2s ease-in-out infinite;
}

@keyframes underlinePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.cta-button.primary {
    background: var(--primary-color);
    color: white;
}

.cta-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

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

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    left: 5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    right: 20%;
    animation-delay: 2s;
}

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

.main-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 400px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.3) 0%, rgba(16, 185, 129, 0.3) 100%);
}

/* Sections Common Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-description {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--lighter-color);
}

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

.service-card {
    background: var(--lighter-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

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

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.icon-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    transform: rotate(45deg);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray-color);
    position: relative;
    padding-right: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

body.english .service-features li::before {
    right: auto;
    left: -20px;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--light-color);
}

.projects-section {
    padding: 100px 0;
    background: var(--light-color);
}

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

.project-card {
    background: var(--lighter-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.project-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: var(--light-color);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

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

.project-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.images-count {
    color: white;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.project-description {
    color: var(--gray-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: var(--light-color);
    color: var(--gray-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-size: 3rem;
}

/* Enhanced Gallery Modal with Backdrop Blur */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease-out;
}

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

.gallery-modal.active {
    display: flex;
}

.modal-wrapper {
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: slideUpModal 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, var(--darker-color), rgba(0, 0, 0, 0.95));
    padding: 1.5rem 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.modal-close {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 50px;
    min-height: 50px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

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

.modal-close:hover::before {
    width: 100px;
    height: 100px;
}

.modal-close:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

/* Main Gallery Area */
.gallery-main {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(20, 20, 40, 0.5));
    padding: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    overflow: hidden;
}

.gallery-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1) contrast(1.1);
    animation: imageZoomIn 0.6s ease-out;
}

@keyframes imageZoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.main-image:hover {
    filter: brightness(1.1) contrast(1.2);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.3);
    transform: scale(1.02);
}

.main-image.loading {
    opacity: 0.6;
    filter: blur(8px);
}

/* Gallery Navigation Buttons */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    min-width: 60px;
    min-height: 60px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    overflow: hidden;
}

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

.gallery-nav:hover::before {
    width: 120px;
    height: 120px;
}

.gallery-nav:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.6);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-nav.prev {
    right: 30px;
}

.gallery-nav.next {
    left: 30px;
}

body.english .gallery-nav.prev {
    right: auto;
    left: 30px;
}

body.english .gallery-nav.next {
    left: auto;
    right: 30px;
}

/* Image Counter */
.image-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(16, 185, 129, 0.95));
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

/* Enhanced Professional Thumbnails Section */
.thumbnails-section {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95), rgba(0, 0, 0, 0.98));
    padding: 1.5rem 2rem;
    border-radius: 0 0 20px 20px;
    border-top: 1px solid rgba(99, 102, 241, 0.3);
}

.thumbnails-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.thumbnails-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.thumbnails-controls {
    display: flex;
    gap: 0.5rem;
}

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

.thumbnails-track-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gallery-thumbnails {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem;
    scroll-behavior: smooth;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-thumbnails::-webkit-scrollbar {
    display: none;
}

.thumb-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

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

.thumb-nav:hover::before {
    width: 100%;
    height: 100%;
}

.thumb-nav:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.thumb-nav:active {
    transform: scale(0.95);
}

.thumb-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

/* Enhanced Professional Thumbnail Styles */
.thumbnail {
    min-width: 110px;
    height: 85px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transform-origin: center;
    animation: slideInUp 0.5s ease-out;
}

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

.thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0) 0%, rgba(99, 102, 241, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.thumbnail:hover {
    border-color: var(--accent-color);
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

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

.thumbnail.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.7), inset 0 0 20px rgba(99, 102, 241, 0.2);
    transform: scale(1.1);
    background: rgba(99, 102, 241, 0.15);
}

.thumbnail.active::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.thumbnail:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.thumbnail.active img {
    filter: brightness(1.2) contrast(1.1);
    transform: scale(1.05);
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.thumbnail-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Progress Bar */
.thumbnails-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 2px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Smooth Scroll Indicators */
.thumbnails-track-container::before,
.thumbnails-track-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnails-track-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(15, 15, 35, 0.9), transparent);
}

.thumbnails-track-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(15, 15, 35, 0.9), transparent);
}

.thumbnails-track-container.scrollable-start::before {
    opacity: 1;
}

.thumbnails-track-container.scrollable-end::after {
    opacity: 1;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--lighter-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.about-story-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.story-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--lighter-color);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.story-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

.story-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

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

.story-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.story-content p {
    color: var(--gray-color);
    line-height: 1.7;
    margin: 0;
}

.about-values {
    margin-top: 3rem;
}

.about-values h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--dark-color);
    text-align: center;
}

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

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--lighter-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.value-item:hover .value-icon {
    transform: scale(1.1);
}

.value-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.value-item p {
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

.about-visual {
    position: relative;
}

.visual-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

.visual-container:hover .about-image {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-color);
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.exp-text {
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 600;
}

[data-theme="dark"] .story-item,
[data-theme="dark"] .value-item {
    background: var(--darker-color);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .experience-badge {
    background: rgba(17, 24, 39, 0.95);
    color: var(--dark-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--lighter-color);
}

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

.contact-info {
    padding: 2rem 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.8rem;
    background: var(--lighter-color);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--lighter-color), rgba(99, 102, 241, 0.05));
}

.method-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: var(--transition);
}

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

.method-info {
    flex: 1;
}

.method-info h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
    font-size: 1.1rem;
}

.phone-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    transform: translateX(8px);
}

body.english .phone-link:hover {
    transform: translateX(-8px);
}

.phone-link i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.phone-link:hover i {
    transform: scale(1.2);
}

.email-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}

.email-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    transform: translateY(-2px);
}

.email-link i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.email-link:hover i {
    transform: scale(1.2);
}

.address-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-container p {
    color: var(--gray-color);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.8rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 25px;
    border: 2px solid transparent;
    width: fit-content;
}

.location-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.location-link i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.location-link:hover i {
    transform: scale(1.2);
}

.business-hours {
    background: var(--lighter-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin: 2rem 0;
    border: 2px solid transparent;
    transition: var(--transition);
}

.business-hours:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.business-hours h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    text-align: center;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 12px;
    transition: var(--transition);
}

.hour-item:hover {
    background: rgba(99, 102, 241, 0.05);
    transform: translateX(5px);
}

.hour-item span:first-child {
    font-weight: 600;
    color: var(--dark-color);
}

.hours {
    color: var(--primary-color);
    font-weight: 600;
}

.closed {
    color: #ef4444;
    font-weight: 600;
}

[data-theme="dark"] .contact-method,
[data-theme="dark"] .business-hours {
    background: var(--darker-color);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hour-item {
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
    background: var(--darker-color);
    color: var(--dark-color);
    padding: 80px 0 0;
    border-top: 3px solid var(--primary-color);
    position: relative;
}

[data-theme="dark"] .footer {
    background: var(--light-color);
    border-top: 3px solid var(--accent-color);
}

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

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
   color: #d4dae1;
    font-weight: 700;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

body.english .footer-section h4::after {
    right: auto;
    left: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-image {
    height: 50px;
}

.footer-logo .logo-text {
    margin-right: 0;
}

.footer-logo .logo-title {
    font-size: 1.4rem;
    color: #d4dae1; 
}

.footer-logo .logo-subtitle {
    font-size: 0.8rem;
    color: #d4dae1;
}

.footer-description {
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #d4dae1;
    font-size: 1rem;
}

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

.footer-social .social-link {
    width: 45px;
    height: 45px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
}

.footer-social .social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.footer-links a::before {
    content: '›';
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 8px;
}

body.english .footer-links a:hover {
    padding-right: 0;
    padding-left: 8px;
}

.footer-links a:hover::before {
    transform: translateX(-3px);
}

body.english .footer-links a:hover::before {
    transform: translateX(3px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-color);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-bottom {
    border-top: 2px solid rgba(99, 102, 241, 0.2);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .footer-bottom {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--gray-color);
    margin: 0;
}

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

.footer-bottom-links a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.under-footer {
    background: var(--darker-color);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .under-footer {
    background: var(--light-color);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.under-footer p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-top: 10px;
    font-style: italic;
}

.color-line {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    margin: 10px 0;
    border-radius: 2px;
    width: 100%;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-visual {
        order: -1;
    }
    
    .about-image {
        height: 400px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background: var(--lighter-color);
        width: 80%;
        height: calc(100vh - 80px);
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
    }
    
    body.english .nav-menu {
        right: auto;
        left: -100%;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    body.english .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .theme-toggle {
        display: flex !important;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Gallery Modal Mobile */
    .modal-wrapper {
        width: 95%;
        max-height: 95vh;
    }

    .gallery-main {
        padding: 1rem;
        min-height: 350px;
    }

    .main-image-container {
        height: 350px;
    }

    .gallery-nav {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }

    .gallery-nav.prev {
        right: 15px;
    }

    .gallery-nav.next {
        left: 15px;
    }

    body.english .gallery-nav.prev {
        right: auto;
        left: 15px;
    }

    body.english .gallery-nav.next {
        left: auto;
        right: 15px;
    }

    /* Professional Thumbnails Responsive */
    .thumbnails-section {
        padding: 1rem;
    }
    
    .thumbnails-wrapper {
        gap: 0.8rem;
    }
    
    .thumb-nav {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .thumbnail {
        min-width: 90px;
        height: 70px;
    }
    
    .gallery-thumbnails {
        gap: 0.6rem;
        padding: 0.6rem;
    }

    /* About Section */
    .story-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Methods */
    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .method-icon {
        align-self: center;
    }
    
    .phone-numbers,
    .address-container {
        align-items: center;
    }
    
    .hour-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-logo {
        justify-content: center;
        text-align: center;
    }
    
    .footer-logo .logo-text {
        text-align: right;
    }
    
    body.english .footer-logo .logo-text {
        text-align: left;
    }
    
    /* Language & Back to Top */
    .lang-toggle {
        top: 20px;
        left: 84px;
    }
    
    body.english .lang-toggle {
        left: auto;
        right: 84px;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
    }
    
    body.english .back-to-top {
        left: auto;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    /* Extra small gallery adjustments */
    .gallery-main {
        padding: 0.5rem;
        min-height: 280px;
    }

    .main-image-container {
        height: 280px;
    }

    .gallery-thumbnails {
        padding: 0.8rem;
        gap: 0.6rem;
    }

    .thumbnail {
        min-width: 75px;
        height: 60px;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-title {
        font-size: 1.2rem;
    }
    
    /* Professional Thumbnails Extra Small */
    .thumbnails-section {
        padding: 0.8rem;
    }
    
    .thumbnails-wrapper {
        gap: 0.5rem;
    }
    
    .thumb-nav {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .thumbnail {
        min-width: 70px;
        height: 55px;
    }
    
    .gallery-thumbnails {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .story-item {
        padding: 1.2rem;
    }
    
    .value-item {
        padding: 1.5rem 1rem;
    }
    
    .experience-badge {
        top: 1rem;
        left: 1rem;
        padding: 1rem;
    }
    
    .exp-number {
        font-size: 2rem;
    }
    
    .contact-methods {
        gap: 1.2rem;
    }
    
    .contact-method {
        padding: 1.2rem;
    }
    
    .method-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .business-hours {
        padding: 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    .footer-social .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .contact-item i {
        align-self: center;
    }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

.theme-toggle:focus-visible,
.gallery-nav:focus-visible,
.modal-close:focus-visible,
.thumb-nav:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .gallery-thumbnails {
        scroll-behavior: auto;
    }
    
    .thumbnail,
    .thumbnail img {
        transition: none;
    }
    
    .floating-card {
        animation: none;
    }
    
    .modal-wrapper {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .thumbnail.active {
        border-width: 4px;
        border-color: #000;
    }
    
    [data-theme="dark"] .thumbnail.active {
        border-color: #fff;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth animations for enhanced user experience */
.gallery-thumbnails {
    scroll-behavior: smooth;
}

.thumbnail {
    animation: slideInUp 0.5s ease-out;
}

/* Enhanced focus styles for better accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .back-to-top,
    .lang-toggle {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Particle animations */
@keyframes floatParticle {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(var(--particle-x, 100px), var(--particle-y, 100px)); opacity: 0; }
}