/* ===========================
   OUZHANN GROUP - STYLES
   Color Scheme: Navy Blue & Gold
   =========================== */

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

/* Remove default underline for all links site-wide */
a {
    text-decoration: none;
    color: inherit;
}

:root {
    --primary-dark: #1A3A52;
    --primary-medium: #2D5A7B;
    --accent-gold: #D4AF37;
    --accent-gold-light: #E8C547;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    background-color: rgba(26, 58, 82, 0.75);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-placeholder,
.logo-image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
}

.logo-placeholder {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.logo-image {
    display: block;
    object-fit: contain;
}

.brand-name {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: bold;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--accent-gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

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

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link::after {
    display: none; /* remove decorative underline per user request */
}

.nav-link:hover::after {
    display: none;
}

.cta-nav {
    background: var(--accent-gold);
    color: var(--primary-dark) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
}

.cta-nav::after {
    display: none;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    position: relative;
    min-height: 100vh;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 58, 82, 0.65) 0%, rgba(26, 58, 82, 0.9) 80%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 900px;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-category {
    color: var(--accent-gold);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1.05;
}

.hero-slogan {
    font-size: 2.4rem;
    color: white;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #E5E5E5;
    line-height: 1.8;
    max-width: 760px;
    margin: 0 auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem auto 0;
    flex-wrap: wrap;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.hero-stat span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.hero-stat p {
    margin-top: 0.4rem;
    color: #E5E5E5;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cta-button {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    padding: 1.15rem 2.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    margin: 0 auto;
}

.cta-button:hover {
    background: var(--accent-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
}

.hero-image,
.image-placeholder {
    display: none;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services {
    padding: 4rem 2rem;
    background-color: var(--bg-light);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

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

.service-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    color: inherit;
    min-height: 100%;
}

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

.service-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    box-shadow: 0 10px 24px rgba(26, 58, 82, 0.18);
}

.service-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.service-icon img.is-missing {
    display: none;
}

.service-icon span {
    display: none;
    padding: 0.6rem;
}

.service-icon img.is-missing + span {
    display: block;
}

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

/* Ensure card titles have no underline */
.service-card h3,
.portfolio-info h3,
.service-card p,
.portfolio-info p {
    text-decoration: none;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===========================
   SERVICE DETAILS PAGE
   =========================== */

.service-showcase {
    background: var(--bg-white);
}

.service-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: center;
    padding: 5rem 2rem;
    scroll-margin-top: 110px;
}

.service-section:nth-child(even) {
    background: var(--bg-light);
}

.service-section-copy {
    max-width: 520px;
    justify-self: end;
}

.service-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--primary-dark);
    color: var(--accent-gold);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.service-section h2 {
    color: var(--primary-dark);
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.service-section p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.project-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

.project-section .service-gallery,
.project-section .service-section-copy {
    width: min(100%, 980px);
    justify-self: center;
}

.project-section .service-gallery {
    order: 1;
}

.project-section .service-section-copy {
    order: 2;
    max-width: 980px;
    text-align: center;
}

.project-section .service-kicker {
    margin-bottom: 1rem;
}

.project-section h2 {
    font-size: 2.2rem;
}

.service-gallery {
    position: relative;
    width: min(100%, 860px);
    justify-self: start;
}

.service-gallery-video {
    border-radius: 8px;
    overflow: hidden;
    background: var(--primary-dark);
    box-shadow: 0 14px 32px rgba(26, 58, 82, 0.24);
}

.service-gallery-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.gallery-video-slide .service-gallery-video {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
}

.gallery-video-slide .service-gallery-video video {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

.gallery-viewport {
    overflow: hidden;
    border-radius: 8px;
    background: var(--primary-dark);
    box-shadow: 0 18px 45px rgba(26, 58, 82, 0.2);
}

.gallery-track {
    display: flex;
    transition: transform 0.35s ease;
}

.gallery-slide {
    flex: 0 0 100%;
    aspect-ratio: 16 / 10;
    margin: 0;
}

.gallery-zoom {
    position: relative;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    display: block;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    cursor: zoom-in;
}

.gallery-zoom img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-zoom img.is-missing {
    display: none;
}

.gallery-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--accent-gold);
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
}

.gallery-zoom img.is-missing + .gallery-fallback {
    display: flex;
}

.gallery-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.gallery-button:hover {
    background: var(--accent-gold-light);
}

.gallery-prev {
    left: -24px;
}

.gallery-next {
    right: -24px;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(10, 20, 30, 0.92);
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox img {
    max-width: min(100%, 1200px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 8px;
    background: var(--primary-dark);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

.image-lightbox img.is-missing {
    display: none;
}

.lightbox-fallback {
    display: none;
    width: min(100%, 900px);
    min-height: 55vh;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    color: var(--accent-gold);
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
}

.image-lightbox img.is-missing + .lightbox-fallback {
    display: flex;
}

.lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.service-details {
    padding: 4rem 2rem;
    background: white;
}

.service-details-container {
    max-width: 1200px;
    margin: 0 auto;
}

.detail-list {
    display: grid;
    gap: 1.5rem;
}

.detail-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.5rem;
    align-items: start;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    scroll-margin-top: 110px;
}

.detail-number {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: var(--primary-dark);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
}

.detail-card h3 {
    color: var(--primary-dark);
    font-size: 1.45rem;
    margin-bottom: 0.75rem;
}

.detail-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.detail-card ul {
    display: grid;
    gap: 0.5rem;
    padding-left: 1.2rem;
    color: var(--text-dark);
}

.detail-card li::marker {
    color: var(--accent-gold);
}

/* ===========================
   PORTFOLIO SECTION
   =========================== */

.portfolio {
    padding: 4rem 2rem;
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.portfolio-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}


.portfolio-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
}

.portfolio-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.portfolio-image img.is-missing {
    display: none;
}

.portfolio-image .image-placeholder {
    width: 100%;
    height: 100%;
    border: none;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-align: center;
    padding: 1rem;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.portfolio-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about {
    background-color: var(--bg-light);
    padding: 4rem 2rem;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about .section-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

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

/* Make about content span full width and center text */
.about-content {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
    max-width: 850px;
    margin: 0 auto;
}

.about-image {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

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

.feature {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-gold);
}

.feature p {
    color: var(--text-dark);
    margin-top: 0.5rem;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: min(100%, 720px);
    max-height: 360px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.about-image span {
    display: none;
}

.about-image .image-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
}

/* ===========================
   REVIEWS SECTION
   =========================== */

.reviews {
    padding: 4rem 2rem;
    background: white;
}

.reviews-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.review-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: block;
}

.review-text {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.review-author {
    color: var(--accent-gold);
    font-weight: 600;
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact {
    background-color: var(--bg-light);
    padding: 4rem 2rem;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
}

.submit-button {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

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

.info-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-gold);
}

.info-item h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-light);
}

.map-frame {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 8px;
    margin-top: 1rem;
    display: block;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content p {
    margin: 0.5rem 0;
    color: #D0D0D0;
}

.footer-content p:first-child {
    font-weight: 600;
    color: var(--accent-gold);
}

/* ===========================
   SCROLLBAR STYLING
   =========================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-light);
}

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

/* Tablet & Small Desktop (768px - 1024px) */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }

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

    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }

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

    .about-container,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .service-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-section-copy,
    .service-gallery {
        justify-self: center;
        width: 100%;
        max-width: 860px;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (600px - 768px) */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-link {
        display: block;
        padding: 1rem;
    }

    .cta-nav {
        display: inline-block;
        margin-top: 1rem;
    }

    .nav-container {
        padding: 0.5rem 2rem;
    }

    .logo-placeholder,
    .logo-image {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .hero {
        padding: 2rem 1.5rem;
    }

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

    .hero-slogan {
        font-size: 1.5rem;
    }

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

    .hero-image {
        margin-top: 2rem;
    }

    .image-placeholder {
        height: 250px;
    }

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

    .services-grid,
    .portfolio-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-image img {
        max-height: 260px;
    }

    .feature-number {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-content {
        gap: 2rem;
    }

    .services,
    .portfolio,
    .about,
    .reviews,
    .contact,
    .service-details {
        padding: 3rem 1.5rem;
    }

    .service-section {
        padding: 3.5rem 1.5rem;
    }

    .service-section h2 {
        font-size: 2rem;
    }

    .project-section h2 {
        font-size: 1.8rem;
    }

    .gallery-button {
        width: 42px;
        height: 42px;
        font-size: 1.7rem;
    }

    .gallery-prev {
        left: 0.75rem;
    }

    .gallery-next {
        right: 0.75rem;
    }

    .services-container,
    .portfolio-container,
    .about-container,
    .reviews-container,
    .contact-container,
    .service-details-container {
        padding: 0;
    }

    .detail-card {
        grid-template-columns: 1fr;
    }

    .detail-number {
        width: 58px;
        height: 58px;
        font-size: 1.1rem;
    }
}

/* Small Mobile (480px - 600px) */
@media (max-width: 600px) {
    .navbar {
        padding: 0.75rem 1.5rem;
    }

    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-placeholder,
    .logo-image {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .brand-name {
        font-size: 1rem;
    }

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

    .hero-slogan {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

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

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

    .service-card,
    .portfolio-item,
    .review-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 82px;
        height: 82px;
        font-size: 0.75rem;
    }

    .portfolio-image {
        height: 200px;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 1rem;
    }

    .submit-button {
        padding: 0.6rem 1.5rem;
    }

    .info-item {
        padding: 1rem;
    }

    .info-item h3 {
        font-size: 1rem;
    }
}

/* Extra Small Mobile (< 480px) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .nav-menu {
        top: 60px;
    }

    .logo-placeholder,
    .logo-image {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .brand-name {
        font-size: 0.9rem;
    }

    .hero {
        padding: 1.5rem 1rem;
    }

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

    .hero-slogan {
        font-size: 1rem;
    }

    .hero-content {
        gap: 1rem;
    }

    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }

    .services,
    .portfolio,
    .about,
    .reviews,
    .contact,
    .service-details {
        padding: 2rem 1rem;
    }

    .service-section {
        padding: 2.5rem 1rem;
        scroll-margin-top: 90px;
    }

    .service-section h2 {
        font-size: 1.55rem;
    }

    .project-section h2 {
        font-size: 1.45rem;
    }

    .service-section p {
        font-size: 0.95rem;
    }

    .gallery-slide {
        aspect-ratio: 4 / 3;
    }

    .gallery-fallback {
        font-size: 1.35rem;
    }

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

    .service-card {
        padding: 1rem;
    }

    .detail-card {
        padding: 1rem;
    }

    .detail-card h3 {
        font-size: 1.15rem;
    }

    .detail-card p,
    .detail-card li {
        font-size: 0.9rem;
    }

    .service-icon {
        width: 72px;
        height: 72px;
        font-size: 0.7rem;
    }

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

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

    .portfolio-image {
        height: 180px;
    }

    .portfolio-info {
        padding: 1rem;
    }

    .portfolio-info h3 {
        font-size: 1rem;
    }

    .portfolio-info p {
        font-size: 0.85rem;
    }

    .feature {
        padding: 1rem;
    }

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

    .review-card {
        padding: 1rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.5rem;
        font-size: 0.95rem;
    }

    .footer-content p {
        font-size: 0.9rem;
    }
}
