/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Utility Classes for Better Responsive Control */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }

.grid { display: grid; }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr)); }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.gap-3 { gap: 3rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* Responsive Containers */
.container-fluid {
    width: 100%;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 54rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-md {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-lg {
    max-width: 96rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-xl {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Improved Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.col {
    flex: 1;
    padding: 0 1rem;
    min-width: 0;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }

/* Responsive Column Classes */
@media (min-width: 576px) {
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
    .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
    .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
    .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
    .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
}

@media (min-width: 768px) {
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
    .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-md-9 { flex: 0 0 75%; max-width: 75%; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
}

@media (min-width: 992px) {
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
    .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
}

@media (min-width: 1200px) {
    .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
    .col-xl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
    .col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-xl-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
    .col-xl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
    .col-xl-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-xl-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.4rem; }
h4 { font-size: 2rem; }
h5 { font-size: 1.8rem; }
h6 { font-size: 1.6rem; }

p { margin-bottom: 1.5rem; }

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Color Variables */
:root {
    --primary-color: #ff6b9d;
    --secondary-color: #4ecdc4;
    --accent-color: #ffd93d;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --white: #ffffff;
    --gray: #7f8c8d;
    --light-gray: #f8f9fa;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    overflow: hidden;
    opacity: 0.8;
    transition: var(--transition);
}

.language-selector:hover {
    opacity: 1;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 0.6rem 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
    transition: var(--transition);
    color: var(--gray);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand .logo {
    color: var(--primary-color);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0;
}

.nav-brand .tagline {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 2.5rem;
    height: 0.3rem;
    background: var(--dark-color);
    margin: 0.3rem 0;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 3rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.2rem;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1.6rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #ff5287;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--dark-color);
    box-shadow: var(--shadow);
}

.btn-accent:hover {
    background: #ffce00;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 12rem 2rem 6rem;
    background: linear-gradient(135deg, #ff6b9d10 0%, #4ecdc410 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ff6b9d" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ff6b9d" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    z-index: -1;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 120rem;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h2 {
    font-size: clamp(3.2rem, 5vw, 5.6rem);
    color: var(--dark-color);
    margin-bottom: 2rem;
    line-height: 1.1;
    font-weight: 700;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    color: var(--gray);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 50rem;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: -2rem;
    right: -2rem;
    bottom: -2rem;
    background: linear-gradient(45deg, var(--primary-color)20, var(--secondary-color)20);
    border-radius: 50%;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Force images to be always visible */
.hero-img,
.gallery-img,
.about-img {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

/* Remove any conflicting animations */
.hero-img *,
.gallery-img *,
.about-img * {
    animation: none !important;
}

/* Simplified Image Styles */
.hero-img,
.gallery-img,
.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
    display: block;
}

.hero-img {
    max-width: 45rem;
    height: 35rem;
    box-shadow: var(--shadow-hover);
}

.hero-img:hover {
    transform: scale(1.02);
}

.gallery-img {
    height: 25rem;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.about-img {
    height: 40rem;
    box-shadow: var(--shadow);
}

.about-img:hover {
    transform: scale(1.02);
}

/* Simplified Image Loading - No disappearing animations */
.hero-img,
.gallery-img,
.about-img {
    opacity: 1;
    /* Removed problematic animations */
}

/* Simple lazy loading placeholder */
.gallery-img[loading="lazy"] {
    background: var(--light-gray);
}

/* Remove problematic loading states */

/* Image error handling */
.hero-img:not([src]),
.gallery-img:not([src]),
.about-img:not([src]) {
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1.4rem;
}

.hero-img:not([src])::after,
.gallery-img:not([src])::after,
.about-img:not([src])::after {
    content: 'Image not available';
}

/* Enhanced gallery item styling */
.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 25rem;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1;
}

.gallery-item:hover::before {
    background: rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Hero image container improvements */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: -2rem;
    right: -2rem;
    bottom: -2rem;
    background: linear-gradient(45deg, var(--primary-color)20, var(--secondary-color)20);
    border-radius: 50%;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(5deg); 
    }
}

/* About image styling */
.about-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, var(--primary-color)10 100%);
    pointer-events: none;
}

/* Sections */
section {
    padding: 8rem 0;
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: 5rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    background: var(--light-gray);
}

.services h2 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    color: var(--gray);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.quote-banner {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 4rem;
}

.quote-banner h3 {
    margin-bottom: 1rem;
}

.quote-banner p {
    margin-bottom: 2rem;
}

/* Gallery Section */
.gallery h2 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 25rem;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* Gallery item improvements */
.gallery-item {
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin-bottom: 0;
}

/* About Section */
.about {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about h2 {
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 3rem;
}

.about-features {
    display: grid;
    gap: 2rem;
}

.feature h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--gray);
    margin-bottom: 0;
}

/* About section image already styled above */

/* Contact Section */
.contact h2 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-top: 4rem;
}

.contact-info h3 {
    color: var(--dark-color);
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
}

.contact-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--gray);
    margin-bottom: 0;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-container {
    display: flex;
    flex-direction: column;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 12rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: var(--light-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--light-color);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    font-size: 2rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    text-align: center;
    color: var(--light-color);
}

/* Responsive Design with Enhanced Breakpoints */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 140rem;
    }
    
    .hero h2 {
        font-size: 5.6rem;
    }
    
    .hero-text {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) and (max-width: 1399px) {
    .hero {
        min-height: 90vh;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Laptop */
@media (min-width: 769px) and (max-width: 1023px) {
    .container {
        padding: 0 3rem;
    }
    
    .hero {
        padding: 10rem 3rem 6rem;
        min-height: 85vh;
    }
    
    .hero h2 {
        font-size: 4.2rem;
    }
    
    .hero-content {
        max-width: 55rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        gap: 4rem;
    }
    
    .contact-content {
        gap: 4rem;
    }
}

/* Tablet */
@media (min-width: 601px) and (max-width: 768px) {
    .language-selector {
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 8rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 8rem);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 4rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .nav-menu a {
        font-size: 2rem;
        padding: 1.2rem;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(0.5rem, 0.5rem);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(0.7rem, -0.6rem);
    }
    
    .hero {
        padding: 11rem 2rem 6rem;
        min-height: 90vh;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero h2 {
        font-size: clamp(3.4rem, 6vw, 4.2rem);
    }
    
    .hero-text {
        font-size: clamp(1.6rem, 2.5vw, 1.8rem);
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-image .hero-img {
        max-width: 35rem;
        height: 28rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .service-card {
        padding: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .gallery-item {
        height: 22rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Large Mobile */
@media (min-width: 481px) and (max-width: 600px) {
    .language-selector {
        top: 1rem;
        right: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 7.5rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 7.5rem);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.2rem 0;
    }
    
    .nav-menu a {
        font-size: 1.8rem;
        padding: 1rem;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(0.5rem, 0.5rem);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(0.7rem, -0.6rem);
    }
    
    .hero {
        padding: 9rem 2rem 5rem;
        min-height: 85vh;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero h2 {
        font-size: clamp(3rem, 7vw, 3.6rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-text {
        font-size: clamp(1.5rem, 3vw, 1.7rem);
        margin-bottom: 2.5rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        max-width: 30rem;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-image .hero-img {
        max-width: 32rem;
        height: 25rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .service-card {
        padding: 2.5rem 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .gallery-item {
        height: 18rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    html {
        font-size: 55%; /* Optimized base font size for small mobile */
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .language-selector {
        top: 0.8rem;
        right: 0.8rem;
        transform: scale(0.9);
    }
    
    .header {
        padding: 0.8rem 0;
    }
    
    .nav-brand .logo {
        font-size: 2rem;
    }
    
    .nav-brand .tagline {
        font-size: 1.1rem;
    }
    
    .nav-toggle {
        display: flex;
        transform: scale(0.9);
    }
    
    .nav-menu {
        position: fixed;
        top: 7rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 7rem);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 998;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        font-size: 1.8rem;
        padding: 1rem 2rem;
    }
    
    .hero {
        padding: 8rem 1.5rem 4rem;
        min-height: 80vh;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .hero h2 {
        font-size: clamp(2.6rem, 8vw, 3.2rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-text {
        font-size: clamp(1.4rem, 4vw, 1.6rem);
        margin-bottom: 2.5rem;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 1.4rem 2rem;
        font-size: 1.5rem;
    }
    
    .hero-image .hero-img {
        height: 25rem;
        max-width: 28rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        font-size: 3.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        height: 20rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-image .about-img {
        height: 25rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1.4rem 1.2rem;
        font-size: 1.6rem;
    }
    
    .quote-banner {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    html {
        font-size: 52%;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 7rem 1rem 3rem;
    }
    
    .hero h2 {
        font-size: 2.6rem;
    }
    
    .service-card {
        padding: 1.8rem 1.2rem;
    }
    
    .contact-form {
        padding: 1.8rem 1.2rem;
    }
    
    .quote-banner {
        padding: 2rem 1.2rem;
    }
}

/* Performance Optimizations - Simplified */
.loading {
    opacity: 1;
    /* Removed fade animation that caused disappearing */
}

.lazy-load {
    opacity: 1;
    /* Removed problematic transition */
}

.lazy-load.loaded {
    opacity: 1;
}

/* Improved button interactions */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::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;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* Enhanced card hover effects */
.service-card,
.gallery-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color)05, var(--secondary-color)05);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

/* Smooth scrolling enhancements */
@supports (scroll-behavior: smooth) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus improvements for better accessibility */
.focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Optimized animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero::before {
        animation: none;
    }
    
    .hero-image::before {
        animation: none;
    }
}

/* Image Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.modal-title {
    color: var(--white);
    margin-top: 1rem;
    text-align: center;
    font-size: 1.8rem;
}

.modal-close {
    position: absolute;
    top: -4rem;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Image Error Placeholder */
.image-error-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    color: var(--gray);
}

.error-content {
    text-align: center;
}

.error-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.error-text {
    font-size: 1.4rem;
}

/* Image Loading States - Simplified */
.hero-img.loading,
.gallery-img.loading,
.about-img.loading {
    opacity: 1;
    background: var(--light-gray);
}

.hero-img.loaded,
.gallery-img.loaded,
.about-img.loaded {
    opacity: 1;
    /* Removed sliding animation */
}

/* Responsive Image Optimizations */
.mobile-optimized {
    image-rendering: auto;
}

.tablet-optimized {
    image-rendering: -webkit-optimize-contrast;
}

.desktop-optimized {
    image-rendering: crisp-edges;
}

.high-dpi {
    image-rendering: -webkit-optimize-contrast;
}

/* Gallery improvements for touch devices */
@media (hover: none) and (pointer: coarse) {
    .gallery-item {
        cursor: pointer;
    }
    
    .gallery-item:active {
        transform: scale(0.98);
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    }
}

/* Print optimizations */
@media print {
    .language-selector,
    .nav-toggle,
    .hero-buttons,
    .contact-form,
    .scroll-top-btn,
    .image-modal {
        display: none !important;
    }
    
    .header {
        position: static;
        box-shadow: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
        page-break-after: avoid;
    }
    
    .service-card,
    .gallery-item,
    .contact-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .btn {
        border: 1px solid black;
        background: white;
        color: black;
    }
    
    .hero-img,
    .gallery-img,
    .about-img {
        max-height: 15cm;
        object-fit: contain;
    }
}