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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #1a1a1a;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Prevent horizontal scroll on desktop */
@media (min-width: 769px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }
    
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Ensure proper viewport handling */
    .hero {
        min-height: 100vh;
        padding-top: 70px;
        width: 100%;
        max-width: 100vw;
        padding-bottom: 20px; /* Add bottom padding to prevent image cutoff */
    }
    
    /* Make background grid less visible and wider on mobile - same color as desktop */
    .hero::before {
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.6; /* Less visible grid */
    }
    
    /* Make falling drops more visible on mobile */
    .falling-drops {
        opacity: 0.8; /* Increase opacity for mobile */
    }
    
    .drop {
        background: rgba(255, 255, 255, 0.4); /* Make drops more visible */
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Add glow effect */
    }
    
    .drop::before {
        background: rgba(255, 255, 255, 0.6); /* Make drop trail more visible */
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.4); /* Add glow to trail */
    }
    
    /* Better touch targets */
    .btn, .nav-link, .hamburger {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve text readability */
    .hero-title, .section-title, .nav-link {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Enhanced mobile navigation - removed duplicate styles */
    
    /* Mobile button improvements */
    .btn {
        border-radius: 25px;
        font-weight: 600;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        width: 100%;
        max-width: 100%;
    }
    
    .btn:active {
        transform: scale(0.95);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    /* Mobile image improvements - keep same size as desktop */
    .print-container {
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        width: 400px; /* Same size as desktop */
        height: 300px; /* Same size as desktop */
        margin: 20px auto; /* Center the image */
    }
    
    /* Mobile form improvements */
    .form-container {
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        width: 100%;
        max-width: 100%;
    }
    
    .custom-form .form-group input,
    .custom-form .form-group textarea,
    .custom-form .form-group select {
        border-radius: 10px;
        border: 2px solid #e1e5e9;
        transition: all 0.3s ease;
    }
    
    .custom-form .form-group input:focus,
    .custom-form .form-group textarea:focus,
    .custom-form .form-group select:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }
}

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

/* Falling Drops Animation */
.falling-drops {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.drop {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: fall linear infinite;
}

.drop::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 50% 50% 0 0;
}

.drop-1 { left: 10%; animation-duration: 8s; animation-delay: 0s; }
.drop-2 { left: 20%; animation-duration: 10s; animation-delay: 1s; }
.drop-3 { left: 30%; animation-duration: 7s; animation-delay: 2s; }
.drop-4 { left: 40%; animation-duration: 9s; animation-delay: 0.5s; }
.drop-5 { left: 50%; animation-duration: 11s; animation-delay: 1.5s; }
.drop-6 { left: 60%; animation-duration: 8.5s; animation-delay: 3s; }
.drop-7 { left: 70%; animation-duration: 9.5s; animation-delay: 0.8s; }
.drop-8 { left: 80%; animation-duration: 7.5s; animation-delay: 2.2s; }
.drop-9 { left: 90%; animation-duration: 10.5s; animation-delay: 1.8s; }
.drop-10 { left: 15%; animation-duration: 8.8s; animation-delay: 3.5s; }

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

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

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

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

/* Hamburger menu - show only on mobile, hide on desktop */
.hamburger {
    display: none; /* Hide by default */
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

/* Hide hamburger on desktop - show normal navigation */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: static !important;
        background: none !important;
        backdrop-filter: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 2rem !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        top: auto !important;
    }
    
    .nav-menu .nav-item {
        opacity: 1 !important;
        transform: none !important;
        transition-delay: 0s !important;
        position: static !important;
    }
    
    .nav-container {
        justify-content: space-between !important;
    }
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: relative !important;
        z-index: 1001 !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 8px !important;
        padding: 12px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    .hamburger:hover {
        background: rgba(255, 255, 255, 0.25) !important;
        transform: scale(1.05) !important;
    }
    
    .hamburger:active {
        transform: scale(0.95) !important;
    }
    
    /* Ensure hamburger bars are visible */
    .hamburger .bar {
        background: #fff !important;
        width: 25px !important;
        height: 3px !important;
        margin: 3px 0 !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
        display: flex !important;
    }
    
    .nav-container {
        justify-content: space-between !important;
    }
    
    .nav-logo {
        margin: 0;
    }
    
    /* Ensure mobile navigation items are properly styled */
    .nav-menu .nav-item {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu .nav-item:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu .nav-item:nth-child(5) { transition-delay: 0.5s; }
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

/* Hamburger animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #333 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: #fff;
}

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

.title-line {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    animation: typewriter 0.8s steps(20) forwards;
}

.title-line::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: #fff;
    animation: blink 0.5s infinite;
}

.title-line:nth-child(1) { animation-delay: 0s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.4s; }

@keyframes typewriter {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.3s ease 0.6s forwards;
}

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

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.3s ease 0.7s forwards;
}

.hero-buttons .btn {
    animation: buttonBounce 0.2s ease 0.8s both;
}

@keyframes buttonBounce {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* Sports Car Animation */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.print-container {
    position: relative;
    width: 500px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #1a1a1a, #333);
}

.print-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.print-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.print-container:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.overlay-content i {
    color: #ffd700;
    font-size: 18px;
}











.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: sparkleFloat 2s ease-in-out infinite;
}

.sparkle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 40%; right: 20%; animation-delay: 0.4s; }
.sparkle:nth-child(3) { bottom: 30%; left: 30%; animation-delay: 0.8s; }
.sparkle:nth-child(4) { top: 60%; right: 10%; animation-delay: 1.2s; }
.sparkle:nth-child(5) { bottom: 20%; right: 40%; animation-delay: 1.6s; }

@keyframes sparkleFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
    50% { opacity: 1; transform: translateY(-20px) scale(1); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

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

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8f8f8;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #000;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

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

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #000, #333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: #fff;
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.service-features span {
    background: #f0f0f0;
    color: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #fff;
}

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

.about-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #000;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.gallery-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #f8f8f8;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #000;
    background: transparent;
    color: #000;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #000;
    color: #fff;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.gallery-image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #000, #333);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

.placeholder-content {
    text-align: center;
    color: #fff;
    z-index: 2;
    position: relative;
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.placeholder-content p {
    font-size: 1.1rem;
    font-weight: 500;
}

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

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

.gallery-info {
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.gallery-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-info p {
    font-size: 1rem;
    opacity: 0.9;
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

.gallery-cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f8f8;
}

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

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #000, #333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

.contact-details p {
    color: #666;
}

.contact-details a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #007bff;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    background: #333;
}

    .contact-form {
        background: #fff;
        padding: 2.5rem;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 50px 0 20px;
}

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

.footer-logo h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: none !important;
    }

    .nav-menu {
        display: none !important;
    }

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

    /* Mobile navigation items - using styles from main mobile section */

    .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 1.2rem;
        font-weight: 600;
        color: #fff;
        text-decoration: none;
        position: relative;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: -20px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 2px;
        background: #fff;
        transition: width 0.3s ease;
    }

    .nav-link:hover::before {
        width: 15px;
    }

    .nav-link:hover {
        color: #fff;
        transform: translateX(10px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 15px 30px;
        font-size: 1rem;
    }

    .print-container {
        max-width: 350px;
        margin: 0 auto;
        height: 250px;
    }

    .print-image {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }

    .about-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .stats {
        flex-direction: column;
        gap: 0.8rem;
    }

    .stat {
        text-align: center;
        padding: 0.5rem;
    }

    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    /* Better image display on mobile */
    .gallery-item img,
    .print-image,
    .gallery-image-placeholder {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 12px;
        display: block;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .gallery-item img:hover,
    .print-image:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .gallery-item {
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .gallery-image-placeholder {
        height: 200px;
    }
    
    .placeholder-content i {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .placeholder-content p {
        font-size: 1rem;
    }
    
    .gallery-overlay {
        background: rgba(0, 0, 0, 0.7);
        opacity: 1;
        transform: none;
    }
    
    .gallery-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .gallery-info p {
        font-size: 0.9rem;
    }

    /* Enhanced mobile navigation - additional styles */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.5;
        pointer-events: none;
    }

    .nav-menu .nav-item {
        position: relative;
        width: 100%;
        max-width: 300px;
    }

    .nav-menu .nav-item::after {
        content: '';
        position: absolute;
        bottom: -0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, #007bff, transparent);
        transition: width 0.3s ease;
    }

    .nav-menu .nav-item:hover::after {
        width: 80%;
    }

    .gallery-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .filter-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        min-width: auto;
        flex: 0 0 auto;
    }

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

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .contact-icon {
        margin: 0 auto;
        width: 50px;
        height: 50px;
    }

    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-card {
        padding: 1.2rem;
        margin: 0 5px;
    }

    .service-features {
        flex-direction: column;
        gap: 0.4rem;
    }

    .service-features span {
        text-align: center;
        font-size: 0.85rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links ul {
        justify-content: center;
        gap: 1rem;
    }

    .container {
        padding: 0 12px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    /* Responsive falling drops */
    .falling-drops {
        opacity: 0.2;
    }

    .drop {
        width: 2px;
        height: 2px;
    }

    .drop::before {
        width: 1px;
        height: 4px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        max-width: 260px;
    }

    .print-container {
        width: 350px; /* Slightly smaller but still good size */
        height: 260px; /* Maintain aspect ratio */
        margin: 15px auto; /* Center the image */
    }

    /* Make background grid less visible and wider on small screens - same color as desktop */
    .hero::before {
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="18" height="18" patternUnits="userSpaceOnUse"><path d="M 18 0 L 0 0 0 18" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.5; /* Less visible grid */
    }

    /* Make falling drops even more visible on small screens */
    .falling-drops {
        opacity: 0.9; /* Higher opacity for small screens */
    }
    
    .drop {
        background: rgba(255, 255, 255, 0.5); /* Even more visible drops */
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.4); /* Stronger glow effect */
    }
    
    .drop::before {
        background: rgba(255, 255, 255, 0.7); /* More visible drop trail */
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Stronger glow to trail */
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .service-card {
        padding: 1rem;
        margin: 0 5px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .stat {
        padding: 0.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

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

    .contact-details h3 {
        font-size: 1rem;
    }

    .contact-details p {
        font-size: 0.9rem;
    }

    .nav-logo h2 {
        font-size: 1.5rem;
    }

    .nav-container {
        height: 60px;
        padding: 0 15px;
    }

    .nav-menu {
        display: none !important;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .hamburger {
        display: none !important;
    }

    .bar {
        width: 18px;
        height: 2px;
    }

    .container {
        padding: 0 12px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .contact-item {
        padding: 0.8rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }
}

/* Very small mobile devices */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        max-width: 240px;
    }

    .print-container {
        width: 300px; /* Good size for very small screens */
        height: 225px; /* Maintain aspect ratio */
        margin: 10px auto; /* Center the image */
    }

    /* Make background grid less visible and wider on very small screens - same color as desktop */
    .hero::before {
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="16" height="16" patternUnits="userSpaceOnUse"><path d="M 16 0 L 0 0 0 16" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.4; /* Less visible grid */
    }

    /* Make falling drops even more visible on very small screens */
    .falling-drops {
        opacity: 1; /* Full opacity for very small screens */
    }
    
    .drop {
        background: rgba(255, 255, 255, 0.6); /* Very visible drops */
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); /* Strong glow effect */
    }
    
    .drop::before {
        background: rgba(255, 255, 255, 0.8); /* Very visible drop trail */
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.6); /* Strong glow to trail */
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .service-card {
        padding: 0.8rem;
        margin: 0 2px;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .service-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .about-text h2 {
        font-size: 1.4rem;
    }

    .about-text p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .stat {
        padding: 0.3rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .contact-details h3 {
        font-size: 0.9rem;
    }

    .contact-details p {
        font-size: 0.8rem;
    }

    .nav-logo h2 {
        font-size: 1.3rem;
    }

    .nav-container {
        height: 50px;
        padding: 0 10px;
    }

    .nav-menu {
        display: none !important;
    }

    .container {
        padding: 0 8px;
    }

    .contact-item {
        padding: 0.6rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .gallery-filters {
        gap: 0.3rem;
        margin-bottom: 1.5rem;
    }

    .filter-btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        border-radius: 15px;
        min-width: auto;
        flex: 0 0 auto;
    }
}

/* Tablet devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
        padding: 0 30px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .print-container {
        width: 450px;
        height: 320px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .about-content {
        gap: 3rem;
    }

    .contact-content {
        gap: 3rem;
    }

    .container {
        padding: 0 30px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px; /* Minimum touch target size */
    }

    .nav-link {
        padding: 0.75rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-card {
        cursor: pointer;
    }

    .service-card:hover {
        transform: none; /* Disable hover effects on touch devices */
    }

    .contact-item:hover {
        transform: none;
    }

    .social-link {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 60px 0 20px;
    }

    .hero-content {
        gap: 0.8rem;
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .print-container {
        width: 300px;
        height: 200px;
        margin-top: 10px; /* Adjust top margin for landscape */
        margin-bottom: 15px; /* Adjust bottom margin for landscape */
    }

    /* Make background grid less visible and wider in landscape mode - same color as desktop */
    .hero::before {
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="22" height="22" patternUnits="userSpaceOnUse"><path d="M 22 0 L 0 0 0 22" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.6; /* Less visible grid */
    }

    .nav-menu {
        display: none !important;
    }

    .nav-menu .nav-item {
        margin: 0.3rem 0;
    }

    .form-container {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .print-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

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

    .print-container {
        transform: none;
    }

    .print-container:hover {
        transform: none;
    }

    .sparkles {
        display: none;
    }

    .falling-drops {
        display: none;
    }
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #333;
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Body scroll lock when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile navigation overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(5px);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile-specific body styles when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Ripple effect for hamburger */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced mobile menu animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile menu item animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* Form fallback styling */
.form-fallback {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.form-fallback i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.form-fallback h3 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-fallback p {
    color: #666;
    margin-bottom: 1.5rem;
}

.form-fallback .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-fallback .btn-primary {
    background: #007bff;
    color: #fff;
}

.form-fallback .btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.form-fallback .btn-secondary {
    background: #6c757d;
    color: #fff;
}

.form-fallback .btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

/* Custom Contact Form Styling - Clean light theme */
.form-container {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
}

.form-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.form-container h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.form-container h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #000;
    border-radius: 1px;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.custom-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.custom-form .form-group label {
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
    margin-left: 2px;
}

.custom-form .form-group input,
.custom-form .form-group select,
.custom-form .form-group textarea {
    padding: 0.8rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
}

.custom-form .form-group input::placeholder,
.custom-form .form-group textarea::placeholder {
    color: #999;
}

.custom-form .form-group input:focus,
.custom-form .form-group select:focus,
.custom-form .form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.custom-form .form-group select {
    color: #333;
    background: #fff;
}

.custom-form .form-group select option {
    background: #fff;
    color: #333;
}

.custom-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.submit-btn {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(3px);
}

/* Form validation styles - subtle */
.custom-form .form-group input:invalid,
.custom-form .form-group textarea:invalid {
    border-color: #e1e5e9;
}

.custom-form .form-group input:valid,
.custom-form .form-group textarea:valid {
    border-color: #e1e5e9;
}

/* Loading state */
.submit-btn.loading {
    background: #666;
    cursor: not-allowed;
    border-color: #666;
}

.submit-btn.loading span {
    opacity: 0.7;
}

/* Success message */
.form-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 1.2rem;
    border-radius: 12px;
    border: 2px solid #28a745;
    margin-top: 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
    animation: slideInUp 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.form-success::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #28a745;
    font-weight: bold;
}

/* Error message */
.form-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    padding: 1.2rem;
    border-radius: 12px;
    border: 2px solid #dc3545;
    margin-top: 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
    animation: slideInUp 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.form-error::before {
    content: '✗';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #dc3545;
    font-weight: bold;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #000;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
    font-weight: 500;
}

.notification-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-left: 4px solid #fff;
}

.notification-error {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    border-left: 4px solid #fff;
}

.notification-info {
    background: linear-gradient(135deg, #007bff, #6610f2);
    border-left: 4px solid #fff;
}

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

.notification-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.notification-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mobile responsive for form */
@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
        border-radius: 12px;
        margin: 0 10px;
    }

    .form-container h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .form-container h3::after {
        width: 40px;
    }

    .submit-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .custom-form {
        gap: 1rem;
    }

    .custom-form .form-group input,
    .custom-form .form-group select,
    .custom-form .form-group textarea {
        padding: 0.7rem 0.9rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1.2rem;
        border-radius: 10px;
        margin: 0 8px;
    }

    .form-container h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .custom-form {
        gap: 0.9rem;
    }

    .custom-form .form-group {
        gap: 0.5rem;
    }

    .custom-form .form-group input,
    .custom-form .form-group select,
    .custom-form .form-group textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .submit-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .form-success,
    .form-error {
        padding: 1rem;
        border-radius: 8px;
        font-size: 1rem;
        margin: 1rem 0;
    }
    
    /* Mobile notifications */
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* Special optimizations for Xiaomi Redmi 11 Pro and similar devices */
@media (max-width: 412px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        min-height: 44px; /* Better touch target */
    }

    .range-rover-container {
        width: 260px;
        height: 180px;
    }

    .nav-container {
        height: 55px;
        padding: 0 12px;
    }

    .nav-logo h2 {
        font-size: 1.4rem;
    }

    .nav-menu {
        top: 55px;
    }

    .form-container {
        padding: 1rem;
        margin: 0 6px;
    }

    .form-container h3 {
        font-size: 1.1rem;
    }

    .custom-form .form-group input,
    .custom-form .form-group select,
    .custom-form .form-group textarea {
        padding: 0.6rem 0.7rem;
        font-size: 0.85rem;
        min-height: 44px; /* Better touch target */
    }

    .submit-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        min-height: 44px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .contact-icon i {
        font-size: 1.1rem;
    }
}

/* High DPI displays (like Xiaomi Redmi 11 Pro) */
@media (-webkit-min-device-pixel-ratio: 2.5), (min-resolution: 240dpi) {
    .range-rover-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    .service-icon i,
    .contact-icon i,
    .social-link i {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        padding: 12px 20px;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-card {
        min-height: 200px;
    }

    .service-card:hover {
        transform: none;
    }

    .contact-item:hover {
        transform: none;
    }

    .social-link {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-form .form-group input,
    .custom-form .form-group select,
    .custom-form .form-group textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .submit-btn {
        min-height: 44px;
    }
}

/* Additional touch device styles */
.touch-device .btn:hover,
.touch-device .service-card:hover,
.touch-device .contact-item:hover,
.touch-device .social-link:hover {
    transform: none !important;
}

.touch-device .custom-form .form-group input:focus,
.touch-device .custom-form .form-group select:focus,
.touch-device .custom-form .form-group textarea:focus {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* Safe area for devices with notches */
@supports (padding: max(0px)) {
    .navbar {
        padding-top: max(0px, env(safe-area-inset-top));
    }

    .hero {
        padding-top: max(70px, calc(70px + env(safe-area-inset-top)));
    }

    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .form-container {
        margin-left: max(0px, env(safe-area-inset-left));
        margin-right: max(0px, env(safe-area-inset-right));
    }
}

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

    .range-rover-container {
        transform: none !important;
    }

    .range-rover-container:hover {
        transform: none !important;
    }

    .sparkles {
        display: none !important;
    }
}

/* Source Code Protection */
* {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Allow text selection only for form inputs */
input, textarea, select {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Disable text highlighting */
::selection {
    background: transparent !important;
    color: inherit !important;
}

::-moz-selection {
    background: transparent !important;
    color: inherit !important;
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    margin: 2px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: scale(1.05);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #007bff rgba(0, 0, 0, 0.05);
}

/* Enhanced scrollbar for mobile */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        display: none;
    }
    
    * {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    /* Improved mobile gallery layout */
    .gallery {
        padding: 60px 0;
    }
    
    .gallery-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .filter-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        min-width: auto;
        flex: 0 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .gallery-item {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .gallery-image-placeholder {
        height: 200px;
    }
    
    .placeholder-content i {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .placeholder-content p {
        font-size: 1rem;
    }
    
    .gallery-overlay {
        background: rgba(0, 0, 0, 0.7);
        opacity: 1;
        transform: none;
    }
    
    .gallery-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .gallery-info p {
        font-size: 0.9rem;
    }
    
    /* Better mobile spacing */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Hide scrollbars on desktop for cleaner look */
@media (min-width: 769px) {
    ::-webkit-scrollbar {
        display: none;
    }
    
    * {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 1rem;
    z-index: 10000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    border-top: 3px solid #007bff;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #fff;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #e0e0e0;
    max-width: 500px;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.cookie-buttons .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
}

.cookie-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.cookie-buttons .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #666;
}

.cookie-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #999;
    transform: translateY(-2px);
}

.cookie-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Mobile Responsive for Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-text p {
        max-width: none;
        font-size: 0.85rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.6rem;
    }

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

    .cookie-link {
        order: -1;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 0.8rem;
    }

    .cookie-text h4 {
        font-size: 1rem;
    }

    .cookie-text p {
        font-size: 0.8rem;
    }

    .cookie-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-height: 36px;
    }
}

/* Touch device optimizations for cookie banner */
.touch-device .cookie-buttons .btn:hover {
    transform: none !important;
}

.touch-device .cookie-buttons .btn:active {
    transform: scale(0.98) !important;
} 

/* Additional mobile fixes to prevent white bar */
@media (max-width: 768px) {
    /* Ensure all sections are properly constrained */
    .services, .about, .gallery, .contact, .footer {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Ensure all content containers are properly sized */
    .services-grid, .about-content, .gallery-grid, .contact-content, .footer-content {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure navbar is properly constrained */
    .navbar {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .nav-container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure hero section is properly constrained */
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure all text elements don't overflow */
    .hero-title, .hero-subtitle, .section-title, .section-subtitle {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Ensure buttons don't cause overflow */
    .hero-buttons {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 5px 0;
    }
    
    /* Ensure images don't cause overflow */
    .print-container, .gallery-item, .service-card {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Ensure forms don't cause overflow */
    .form-container, .custom-form {
        width: 100%;
        max-width: 100%;
    }
    
    .custom-form .form-group input,
    .custom-form .form-group textarea,
    .custom-form .form-group select {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Force viewport width */
    * {
        max-width: 100vw;
    }
    
    /* Ensure no horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
}


