* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Fallback if JS fails */
}

/* Accessibility: visually hidden but readable by screen readers and search engines */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero Section Styles */
.top-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    color: white;
    height: calc(100vh - 80px);
    min-height: clamp(300px, 50vh, 500px);
    overflow: hidden;
    background-color: #000;
}

.top-cont::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.top-cont img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: subtle-zoom 20s infinite alternate ease-in-out;
}

@keyframes subtle-zoom {
    from { transform: scale(1.1); }
    to { transform: scale(1.2); }
}

.text-top {
    position: relative;
    z-index: 2;
    color: white;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 1s forwards ease-out;
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    animation: fade-in 1s forwards ease-out 1s;
}

.scroll-indicator::before {
    content: '';
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
    display: block;
    margin: 0 auto 10px;
}

.scroll-indicator::after {
    content: '';
    width: 4px;
    height: 8px;
    background-color: white;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    animation: scroll-bounce 2s infinite;
}

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

@keyframes fade-in {
    to { opacity: 1; }
}

/* Modern Navigation Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(9, 4, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: env(safe-area-inset-top) 0 0 0; /* Only top padding for iPhone notch/cameras */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.nav-brand {
    flex: 0 0 auto;
    z-index: 1001;
}

.nav-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

/* Navigation Menu */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: #eee;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #F0720C;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #F0720C;
}

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

/* Navigation Contact Elements */
.nav-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1001;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-contact > * {
    margin: 0;
    padding: 0;
}

.phone-link {
    display: flex;
    align-items: center;
    color: #eee;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-right: 20px;
}

.phone-link:hover {
    color: #F0720C;
    transform: scale(1.05);
}

.mobile-phone {
    display: none;
    font-size: 1.1rem;
    color: #eee;
    text-decoration: none;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    background-color: #F0720C;
    color: white;
    border: 2px solid #F0720C;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    text-align: center;
}

.cta-button:hover {
    background-color: transparent;
    color: #F0720C;
    transform: translateY(-2px);
}

/* Add a subtle pulse animation to make the CTA more noticeable */
@keyframes subtle-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.nav-contact .cta-button {
    animation: subtle-pulse 2s infinite;
}

.nav-contact .cta-button:hover {
    animation: none;
    transform: translateY(-2px);
}

/* ── Testimonials ─────────────────────────────────── */
.testimonials-section {
    background: #1a1a1a;
    padding: 5rem 5%;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-header h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 0.75rem;
}

.testimonials-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #F0720C;
    border-radius: 2px;
}

.testimonials-header p {
    color: #aaa;
    font-size: 1rem;
    margin-top: 0.75rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #242424;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.testimonial-quote {
    font-size: 5rem;
    line-height: 1;
    color: #F0720C;
    font-family: Georgia, serif;
    margin-bottom: -1rem;
    opacity: 0.8;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: #F0720C;
}

.testimonial-text {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.25rem;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: #F0720C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.testimonial-author strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
}

.testimonial-author span {
    color: #777;
    font-size: 0.8rem;
}
/* ─────────────────────────────────────────────────── */

/* Contact Section Styles */
.h2-contact-us {
    text-align: center;
    padding: 1.5rem 5% 0.75rem;
    background: linear-gradient(to right, transparent, rgba(240, 114, 12, 0.1), transparent);
}

.h2-contact-us h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: #333;
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding-bottom: 15px;
}

.h2-contact-us h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #F0720C;
    border-radius: 2px;
}

.contact-us {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
    background: #f8f9fa;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(240, 114, 12, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F0720C;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

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

.contact-info-text h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.contact-info-text a,
.contact-info-text span {
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.contact-info-text a:hover {
    color: #F0720C;
}

.contact-trust {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #F0720C, #d65f00);
    border-radius: 10px;
    margin-top: 0.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: white;
}

.contact-form {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
}

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

.form-row input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-row input:focus {
    outline: none;
    border-color: #F0720C;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 1rem;
    resize: vertical;
    transition: border-color 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: #F0720C;
}

.contact-form button {
    background: #F0720C;
    color: white;
    border: 2px solid #F0720C;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 150px;
}

.contact-form button:hover {
    background: transparent;
    color: #F0720C;
    transform: translateY(-2px);
}

/* Form Validation Styles */
.form-note {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.form-row input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-row input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

.form-row input:invalid:focus,
textarea:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Footer Styles */
.main-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 1rem 5% 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 1rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo img {
    height: 150px;
    width: auto;
    margin-bottom: 0.75rem;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-logo img:hover {
    transform: scale(1.05);
}

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

.social-icon {
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon img {
    width: 32px;
    height: 32px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #F0720C;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

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

.footer-nav a:hover {
    color: #F0720C;
}

.contact-info p {
    margin-bottom: 0.8rem;
}

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

.contact-info a:hover {
    color: #F0720C;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
}

/* Service Categories and Images */
.mid-cont {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns for 5 services */
    gap: 1.5rem;
    padding: 2rem 5%;
    max-width: 1800px; /* Increased to accommodate all cards */
    margin: 0 auto;
    height: fit-content;
}

.cat-service {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cat-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cat-photo {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
}

.cat-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.cat-service:hover .cat-photo img {
    transform: scale(1.05);
}

.cat-h3 {
    padding: 1rem;
    text-align: center;
}

.cat-h3 h3 {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #333;
    margin: 0;
}

.cat-text {
    padding: 0 1rem 1rem;
    flex-grow: 1;
    text-align: center;
}

.cat-text p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: clamp(0.875rem, 1vw, 1rem);
}

/* Services Section Header */
.service-title {
    text-align: center;
    padding: 1.5rem 5% 0.75rem;
    background: linear-gradient(to right, transparent, rgba(240, 114, 12, 0.1), transparent);
}

.service-title h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: #333;
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding-bottom: 15px;
}

.service-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #F0720C;
    border-radius: 2px;
}

/* Projects Section Title */
.projects-title {
    text-align: center;
    padding: 1.5rem 5% 0.75rem;
    background: linear-gradient(to right, transparent, rgba(240, 114, 12, 0.1), transparent);
}

.projects-title h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: #333;
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding-bottom: 15px;
}

.projects-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #F0720C;
    border-radius: 2px;
}

/* About Us Section Header */
.h2-about-us {
    text-align: center;
    padding: 1.5rem 5% 0.75rem;
    background: linear-gradient(to right, transparent, rgba(240, 114, 12, 0.1), transparent);
}

.h2-about-us h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: #333;
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding-bottom: 15px;
}

.h2-about-us h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #F0720C;
    border-radius: 2px;
}

/* About Us Content Layout */
.about-us {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 2rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.lf-about-us {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.lf-about-us img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transform: scale(1);
    transition: transform 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.lf-about-us:hover img {
    transform: scale(1.1);
}

.rh-about-us {
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.rh-about-us p {
    margin-bottom: 1.5rem;
    color: #333;
}

/* Loading States */
.swiper-wrapper.loading {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #F0720C !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(240, 114, 12, 0.9) !important;
    color: white !important;
}

.swiper-pagination-bullet {
    background: #F0720C !important;
}

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

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

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Modern Back to Top Button */
#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #F0720C;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 12px;
}

#backToTopBtn:hover {
    background-color: #d86100;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#backToTopBtn svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

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

#backToTopBtn.show {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

/* Modern Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 6px;
    transform-origin: center;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 14px;
    transform-origin: center;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 22px;
    transform-origin: center;
}

/* Animated X state */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ── Desktop overrides ────────────────────────────── */
@media (min-width: 769px) {
    .phone-link {
        display: flex;
    }

    .mobile-phone {
        display: none;
    }
}

/* Small Laptops - 3-4 column services */
@media (min-width: 769px) and (max-width: 1199px) {
    .mid-cont {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.3rem;
    }
}

/* Tablet and Large Phones - 2 column services */
@media (min-width: 481px) and (max-width: 768px) {
    .mid-cont {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 1.5rem 4%;
    }

    .cat-h3 h3 {
        font-size: 1.3rem;
    }
}

/* ── Tablet & below (≤ 768px) ─────────────────────── */
@media (max-width: 768px) {
    /* Show hamburger */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 8px;
    }

    /* Navbar: two-row stacked layout */
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 0.5rem 4%;
        gap: 0;
    }

    /* Row 1: Logo centered, full width */
    .nav-brand {
        flex: 0 0 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 6px;
    }

    /* Row 2: Call & Estimate centered, Hamburger pinned right */
    .nav-actions {
        flex: 0 0 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .nav-contact {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    /* Phone links */
    .phone-link {
        display: none;
    }

    .mobile-phone {
        display: flex;
        align-items: center;
        color: #fff;
        text-decoration: none;
        font-size: 0.9rem;
        white-space: nowrap;
        transition: color 0.3s ease;
    }

    .mobile-phone:hover {
        color: #F0720C;
    }

    /* CTA in nav */
    .nav-contact .cta-button {
        font-size: 0.85rem;
        padding: 8px 14px;
        animation: none;
    }

    /* Hamburger pinned to right edge */
    .mobile-menu-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Slide-down menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(9, 4, 0, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        margin-top: 100px;
        padding-top: env(safe-area-inset-top);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
        height: auto;
        max-height: calc(100vh - 100px);
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 0.5rem 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .nav-links a:hover {
        background-color: rgba(240, 114, 12, 0.1);
        color: #F0720C;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }

    .footer-logo img {
        height: 85px;
        margin-bottom: 0.5rem;
    }

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

/* ── Small phones (≤ 430px) ───────────────────────── */
@media screen and (max-width: 430px) {
    /* Header */
    .main-header {
        height: auto;
        padding-top: env(safe-area-inset-top, 10px);
    }

    .navbar {
        padding: 6px 12px;
        gap: 0;
    }

    .nav-brand {
        margin-bottom: 4px;
    }

    .nav-logo {
        height: 38px;
        width: auto;
    }

    .nav-contact .cta-button {
        padding: 7px 10px;
        font-size: 0.75rem;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        padding: 6px;
    }

    .mobile-menu-toggle span {
        width: 22px;
    }

    .mobile-menu-toggle span:nth-child(1) { top: 10px; }
    .mobile-menu-toggle span:nth-child(2) { top: 18px; }
    .mobile-menu-toggle span:nth-child(3) { top: 26px; }

    /* Slide menu offset */
    .nav-menu {
        margin-top: 90px;
    }

    .nav-menu.active {
        max-height: calc(100vh - 90px);
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.85rem 1.5rem;
    }

    /* Mobile Phone Prominence */
    .mobile-phone {
        display: flex;
        font-size: 0.8rem;
        padding: 7px 10px;
        background: #F0720C;
        color: white;
        border-radius: 6px;
        font-weight: 700;
        min-height: 36px;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(240, 114, 12, 0.3);
        text-decoration: none;
    }

    .mobile-phone:hover {
        background: #d65f00;
    }

    /* Hero */
    .text-top {
        font-size: clamp(1.5rem, 5vw, 2rem);
        padding: 0 15px;
    }

    .scroll-indicator {
        bottom: 30px;
    }

    /* Top Content Section */
    .top-cont {
        height: 60vh;
        min-height: 350px;
        max-height: 500px;
    }

    /* Services Section */
    .mid-cont {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .cat-service {
        margin-bottom: 1rem;
    }

    .cat-h3 h3 {
        font-size: 1.2rem;
    }

    .cat-text p {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    /* About Us Section */
    .about-us {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .lf-about-us {
        padding-top: 60%;
    }

    .rh-about-us {
        padding: 1rem;
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
    }

    .rh-about-us p {
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    /* Projects/Gallery Section */
    .projects-section {
        padding: 2rem 1rem;
    }

    .swiper-container {
        padding: 0;
    }

    .comparison-slider {
        height: 300px;
    }

    /* Contact Form Section */
    .contact-us {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .company-info,
    .contact-form {
        padding: 1.5rem;
    }

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

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

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

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding: 1rem 0 1.5rem;
    }

    /* Back to Top Button */
    #backToTopBtn {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    /* Section Headers */
    .service-title,
    .h2-about-us,
    .h2-contact-us {
        padding: 2rem 1rem 1rem;
    }

    .service-title h2,
    .h2-about-us h2,
    .h2-contact-us h2 {
        font-size: 1.8rem;
    }
}

/* ── Extra-small phones (≤ 375px) ─────────────────── */
@media screen and (max-width: 375px) {
    .navbar {
        padding: 5px 8px;
        gap: 0;
    }

    .nav-brand {
        margin-bottom: 4px;
    }

    .nav-logo {
        height: 35px;
    }

    .nav-contact .cta-button {
        font-size: 0.7rem;
        padding: 6px 8px;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        padding: 6px;
    }

    .mobile-menu-toggle span {
        width: 22px;
    }

    .mobile-menu-toggle span:nth-child(1) { top: 10px; }
    .mobile-menu-toggle span:nth-child(2) { top: 18px; }
    .mobile-menu-toggle span:nth-child(3) { top: 26px; }

    .nav-menu {
        margin-top: 82px;
    }

    .nav-menu.active {
        max-height: calc(100vh - 82px);
    }

    .text-top {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }

    .cat-h3 h3 {
        font-size: 1.1rem;
    }

    .rh-about-us {
        font-size: 0.95rem;
    }

    /* Contact Section */
    .contact-us {
        padding: 1rem 10px;
    }

    .company-info,
    .contact-form {
        padding: 15px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .info span {
        display: block;
        margin-bottom: 5px;
    }

    .info a {
        display: block;
        word-break: break-all;
        font-size: 0.9rem;
    }

    .form-row input,
    textarea {
        padding: 10px;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-content {
        padding: 1rem 10px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .footer-section {
        padding: 10px;
    }

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

    .contact-info a {
        word-break: break-all;
        font-size: 0.9rem;
    }

    .footer-nav a {
        font-size: 0.9rem;
    }
}

/* Fixed bottom navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 10px;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

/* Adjust container padding for fixed bottom nav */
.container {
    padding-bottom: 60px;
}

/* Gallery Loading Skeleton */
.gallery-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    width: 100%;
    color: #fff;
}

.gallery-loading.hidden {
    display: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(240, 114, 12, 0.3);
    border-top-color: #F0720C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.gallery-loading p {
    font-size: 1.1rem;
    color: #ccc;
    margin: 0;
}

