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

/* Improved cross-browser compatibility */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    word-wrap: break-word;
    hyphens: auto;
}

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

p {
    margin-bottom: 1rem;
    line-height: 1.6;
    word-wrap: break-word;
}

.highlight {
    color: #ea580c;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    justify-content: center;
    min-height: 44px; /* Touch target size */
    white-space: nowrap;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-primary {
    background-color: #ea580c;
    color: white;
    border: 2px solid #ea580c;
}

.btn-primary:hover {
    background-color: #c2410c;
    border-color: #c2410c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(234, 88, 12, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    border: 2px solid #25d366;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.btn-full {
    width: 100%;
}

/* Focus states for accessibility */
.btn:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #ea580c;
    outline-offset: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FF6B00;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

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

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: color 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    color: #ea580c;
    background-color: rgba(234, 88, 12, 0.1);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    white-space: nowrap;
}

.header-contact .phone a,
.contact-value a,
.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-contact .phone a:hover,
.contact-value a:hover,
.footer-contact a:hover {
    color: #ea580c;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #374151;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background-color: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    word-wrap: break-word;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

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

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

.stat {
    text-align: center;
    min-width: 100px;
}

.stat-number {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #111827;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    white-space: nowrap;
}

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

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    object-fit: cover;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.section-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr));
    gap: 3rem;
}

.service-card {
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-image {
    flex: 1;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    font-size: 2rem;
    color: #ea580c;
    flex-shrink: 0;
}

.service-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.service-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.5;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: #ea580c;
    border-radius: 50%;
    flex-shrink: 0;
}

.service-link {
    color: #ea580c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: #c2410c;
    transform: translateX(4px);
}

/* Gallery Section */
.gallery {
    background-color: #f9fafb;
}

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

.filter-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 25px;
    background-color: #fff;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #ea580c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(234, 88, 12, 0.3);
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay h3 {
    color: white;
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: #e5e7eb;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Testimonials Section */
.testimonials {
    background-color: #fff;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.testimonial {
    background: #f9fafb;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    display: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial blockquote {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #374151;
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.6;
    position: relative;
}

.testimonial blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #ea580c;
    position: absolute;
    top: -1rem;
    left: -1rem;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ea580c;
}

.author-name {
    font-weight: 600;
    color: #111827;
    font-size: 1.125rem;
}

.author-role {
    color: #6b7280;
    font-size: 0.875rem;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-btn {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background-color: #ea580c;
    color: white;
    border-color: #ea580c;
    transform: scale(1.1);
}

.dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 2px solid transparent;
}

.dot.active {
    background-color: #ea580c;
    transform: scale(1.2);
}

/* Contact Section */
.contact {
    background-color: #f9fafb;
}

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

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

.contact-card,
.booking-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover,
.booking-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-card h3,
.booking-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: #ea580c;
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-label {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: #6b7280;
    line-height: 1.5;
    word-wrap: break-word;
}

.booking-card {
    background-color: #ea580c;
    color: white;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.booking-card h3 {
    color: white;
}

.booking-card p {
    color: #fed7aa;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.booking-card .btn {
    background-color: white;
    color: #ea580c;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.booking-card .btn:hover {
    background-color: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
    min-height: 44px;
    font-family: inherit;
}

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

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

.form-divider {
    text-align: center;
    position: relative;
    margin: 1rem 0;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e5e7eb;
}

.form-divider span {
    background-color: white;
    padding: 0 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background-color: #111827;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #FF6B00;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #FF6B00;
    margin: 0;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #374151;
    color: #d1d5db;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
    background-color: #ea580c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(234, 88, 12, 0.3);
}

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

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-section ul li a:hover {
    color: #ea580c;
    transform: translateX(4px);
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact .contact-item i {
    color: #ea580c;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-contact .contact-item span {
    color: #d1d5db;
    line-height: 1.5;
    word-wrap: break-word;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
    font-size: 0.875rem;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.875rem;
    white-space: nowrap;
}

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

/* Enhanced Responsive Design */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Desktop */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 5vw, 3rem);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        flex-direction: column;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .service-image {
        min-height: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    }
    
    .testimonial {
        padding: 2rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .nav,
    .header-contact {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Mobile Navigation */
    .nav.active {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        z-index: 999;
        display: flex;
    }
    
    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid #f3f4f6;
        width: 100%;
        text-align: center;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 5vw, 2rem);
    }
    
    .section-description {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 6px 16px;
        font-size: 0.875rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        gap: 2rem;
    }
    
    .service-card {
        margin: 0;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .testimonial-nav {
        gap: 1rem;
    }
    
    .contact-card,
    .booking-card,
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        gap: 1rem;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2rem);
    }
    
    .hero-description {
        font-size: clamp(0.875rem, 3vw, 1rem);
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 1.75rem);
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat {
        min-width: 80px;
    }
    
    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .service-title {
        font-size: 1.125rem;
    }
    
    .service-features li {
        font-size: 0.8125rem;
    }
    
    .testimonial {
        padding: 1rem;
    }
    
    .testimonial blockquote {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-card,
    .booking-card,
    .contact-form-container {
        padding: 1rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.875rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
        min-height: 40px;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .gallery-overlay p {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.8125rem;
        min-height: 36px;
    }
    
    .service-content,
    .contact-card,
    .booking-card,
    .contact-form-container,
    .testimonial {
        padding: 0.75rem;
    }
    
    .gallery-overlay {
        padding: 0.75rem;
    }
    
    .filter-btn {
        padding: 4px 12px;
        font-size: 0.8125rem;
    }
    }
}

/* Utility Classes */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #666;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.close:hover {
    color: #ea580c;
    transform: scale(1.1);
}

.project-modal-content {
    padding: 2rem;
}

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

.project-header h2 {
    font-size: 2rem;
    color: #111827;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-category,
.project-location,
.project-date {
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #6b7280;
    white-space: nowrap;
}

.project-category {
    background: #fef3c7;
    color: #92400e;
}

.project-images {
    margin-bottom: 2rem;
}

.main-image {
    margin-bottom: 1rem;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.image-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.thumbnail.active,
.thumbnail:hover {
    opacity: 1;
    border: 2px solid #ea580c;
}

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

.project-description,
.project-features,
.project-equipment {
    margin-bottom: 1.5rem;
}

.project-details h3 {
    font-size: 1.25rem;
    color: #111827;
    margin-bottom: 1rem;
}

.project-details ul {
    list-style: none;
    padding: 0;
}

.project-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
    line-height: 1.5;
}

.project-details li i {
    color: #ea580c;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.project-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .project-modal-content {
        padding: 1rem;
    }
    
    .project-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .main-image img {
        height: 250px;
    }
    
    .project-header h2 {
        font-size: 1.5rem;
    }
    
    .project-meta {
        gap: 0.5rem;
    }
    
    .project-category,
    .project-location,
    .project-date {
        font-size: 0.8125rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Accessibility Improvements */
@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;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    .btn-secondary {
        border: 2px solid currentColor;
    }
    
    .nav-link:hover {
        background-color: currentColor;
        color: white;
    }
}

/* Print styles */
@media print {
    .header,
    .mobile-menu-btn,
    .hero-buttons,
    .btn,
    .contact-form,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .hero {
        padding: 1rem 0;
        background: white;
    }
    
    .section-title {
        font-size: 18pt;
        margin-bottom: 0.5rem;
    }
    
    .service-card,
    .gallery-item,
    .testimonial {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Smooth scrolling for all browsers */
@supports (scroll-behavior: smooth) {
    html {
        scroll-behavior: smooth;
    }
}

.hidden {
    display: none !important;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Spacing utilities */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Visitor Counter Styles */
.visitor-counter {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.visitor-counter::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 3s infinite;
}

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

.visitor-counter h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
}

.visitor-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.visitor-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.2s ease;
}

.visitor-stat:hover {
    transform: scale(1.05);
}

.visitor-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 0.25rem;
    font-variant-numeric: tabular-nums;
}

.visitor-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.visitor-counter-mini {
    background: rgba(234, 88, 12, 0.1);
    border: 1px solid rgba(234, 88, 12, 0.2);
    color: #ea580c;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.visitor-counter-mini:hover {
    background: rgba(234, 88, 12, 0.15);
    transform: translateY(-1px);
}

.visitor-counter-mini i {
    color: #ea580c;
}

.visitor-counter-mini .count {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.last-updated {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    font-variant-numeric: tabular-nums;
}

/* Responsive visitor counter */
@media (max-width: 768px) {
    .visitor-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .visitor-stat-number {
        font-size: 1.25rem;
    }
    
    .visitor-counter {
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .visitor-stats {
        grid-template-columns: 1fr;
    }
    
    .visitor-counter {
        padding: 0.75rem;
    }
    
    .visitor-stat {
        padding: 0.5rem;
    }
    
    .visitor-stat-number {
        font-size: 1.125rem;
    }
    
    .visitor-counter-mini {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
}