/* Modern and Professional Styles for M&R KHAYA INVESTMENT LIMITED */

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #f8fafc;
}

html {
    scroll-behavior: smooth;
}

header {
    background: rgba(15, 23, 42, 0.96);
    color: #fff;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.logo {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #38b2ac 0%, #2563eb 100%);
    padding: 0.75rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.header-brand:hover .logo {
    transform: rotate(-4deg) scale(1.06);
    box-shadow: 0 18px 38px rgba(56, 178, 172, 0.28);
}

.brand-text h1 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.1;
    letter-spacing: 0.05em;
}

.brand-tagline {
    margin: 0.25rem 0 0;
    color: #cbd5e1;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.9rem;
}

nav ul li {
    margin: 0;
}

nav a {
    position: relative;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

nav a:hover,
nav a:focus-visible,
nav a.is-active {
    background-color: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

nav a::after {
    content: '';
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 0.45rem;
    height: 2px;
    border-radius: 999px;
    background: #38b2ac;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

nav a:hover::after,
nav a:focus-visible::after,
nav a.is-active::after {
    transform: scaleX(1);
}

nav a:active {
    transform: translateY(0) scale(0.98);
}


@media (max-width: 920px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.3rem 1.5rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
    }

    nav a {
        width: auto;
    }
}


main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

#hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
    align-items: center;
    gap: 2rem;
    text-align: left;
    background: linear-gradient(135deg, #1e40af 0%, #0f766e 100%);
    color: #fff;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: heroEnter 0.8s ease both;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

#hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

#hero p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-media {
    position: relative;
    z-index: 1;
    min-height: 360px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.32);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.hero-media img,
.page-feature-image,
.gallery-item img,
.service-photo {
    display: block;
    width: 100%;
    object-fit: cover;
}

.hero-media img {
    height: 100%;
    min-height: 360px;
    transition: transform 0.7s ease;
}

.hero-media:hover {
    transform: translateY(-6px) rotate(1deg);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.4);
}

.hero-media:hover img {
    transform: scale(1.08);
}

.page-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.page-intro h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: #1a365d;
}

.page-intro p {
    color: #4a5568;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.8;
}

.page-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1rem;
}

.section-heading p {
    max-width: 720px;
    margin: 0 auto;
    color: #4a5568;
}

.page-feature-image {
    height: 360px;
    border-radius: 18px;
    margin-bottom: 2rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    transition: transform 0.45s ease, box-shadow 0.45s ease, filter 0.45s ease;
}

.page-feature-image:hover {
    transform: translateY(-5px) scale(1.01);
    filter: saturate(1.08);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.16);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    background: rgba(56, 178, 172, 0.14);
    color: #0f172a;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-grid,
.value-grid,
.contact-card-list,
.process-grid,
.services-grid-full {
    display: grid;
    gap: 1.5rem;
}

.feature-grid,
.value-grid,
.services-grid-full {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card,
.value-card,
.contact-card,
.process-step,
.service-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interactive {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.click-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
    transform: scale(0);
    animation: ripple 0.65s ease-out;
    z-index: 0;
}

.interactive > * {
    position: relative;
    z-index: 1;
}

.service-photo {
    height: 180px;
    margin: -2rem -2rem 1.5rem;
    width: calc(100% + 4rem);
    transition: transform 0.55s ease, filter 0.35s ease;
}

.services-grid-full {
    margin-bottom: 3rem;
}

.feature-card:hover,
.value-card:hover,
.contact-card:hover,
.process-step:hover,
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}

.feature-card:active,
.value-card:active,
.contact-card:active,
.process-step:active,
.service-card:active,
.feature:active,
.gallery-item:active,
.stat:active {
    transform: translateY(-1px) scale(0.99);
}

.feature-card h3,
.value-card h3,
.contact-card h4,
.process-step h3 {
    margin: 0 0 1rem;
    color: #1a365d;
}

.feature-card p,
.value-card p,
.contact-card p,
.process-step p {
    margin: 0;
    color: #4a5568;
    line-height: 1.75;
}

.about-values {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
}

.value-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-values .value-list {
    display: grid;
    gap: 1rem;
}

.value-card {
    min-height: 180px;
}

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

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

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

.contact-card {
    padding: 1.8rem;
}

.office-highlights {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.office-highlights h4 {
    margin: 0 0 0.75rem;
    color: #1a365d;
}

.office-highlights p {
    margin: 0.35rem 0;
    color: #4a5568;
}

.form-panel {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.form-panel h3 {
    margin-top: 0;
    color: #1a365d;
}

.form-panel form {
    display: grid;
    gap: 1rem;
}

.form-panel label {
    font-size: 0.95rem;
    color: #334155;
}

.form-panel input,
.form-panel textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
}

.form-panel button {
    width: fit-content;
    padding: 0.9rem 2rem;
}

@media (max-width: 900px) {
    .about-values,
    .contact-grid,
    .process-grid,
    .feature-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-wrap: wrap;
    }
}

.service-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.service-card:hover .service-photo {
    transform: scale(1.07);
    filter: saturate(1.1) contrast(1.02);
}

.service-card:hover .service-icon {
    transform: translateY(-4px) rotate(6deg);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #38b2ac 0%, #2563eb 100%);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.service-card h3 {
    margin: 0 0 1rem;
    font-size: 1.45rem;
    color: #1a365d;
}

.service-card p {
    margin: 0;
    color: #4a5568;
    line-height: 1.75;
}

#why-choose-us h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.process-step {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.process-step h3 {
    margin: 0 0 1rem;
    font-size: 2rem;
    color: #1a365d;
}

.process-step p {
    margin: 0;
    color: #4a5568;
    line-height: 1.75;
}

#cta-services {
    margin-top: 1rem;
}

.cta-panel {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #fff;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}

.cta-panel h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.cta-panel p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.75rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.cta-panel .btn {
    background: #fff;
    color: #1e40af;
}

.cta-panel .btn:hover {
    background: rgba(255, 255, 255, 0.92);
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
}

.btn:active,
button:active {
    transform: translateY(-1px) scale(0.98);
}

#about-home, #services-home, #why-choose-us, #property-gallery, #cta {
    background-color: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

#about-home h2, #services-home h2, #why-choose-us h2, #property-gallery h2, #cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 2rem;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 1.5rem;
}

.gallery-item {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item-large {
    grid-row: span 2;
}

.gallery-item img {
    height: 250px;
    transition: transform 0.55s ease, filter 0.35s ease;
}

.gallery-item-large img {
    height: 100%;
    min-height: 520px;
}

.gallery-item figcaption {
    padding: 1rem 1.25rem;
    color: #1a365d;
    font-weight: 600;
    transition: color 0.25s ease, transform 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: saturate(1.12);
}

.gallery-item:hover figcaption {
    color: #0f766e;
    transform: translateX(4px);
}

#about-home p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 200px;
    margin: 1rem;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #48bb78;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.stat:hover h3 {
    color: #0f766e;
    transform: scale(1.08);
}

.stat p {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
}

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

.service-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.service-card p {
    color: #4a5568;
    line-height: 1.6;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #ffffff 0%, #e6fffa 100%);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.feature h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 1rem;
}

.feature p {
    color: #4a5568;
    line-height: 1.6;
}

#cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
}

#cta h2 {
    color: #fff;
    margin-bottom: 1rem;
}

#cta p {
    color: #e2e8f0;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#about, #services, #contact {
    background-color: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

#about h2, #services h2, #contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 2rem;
    text-align: center;
}

#about p, #about li {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.7;
}

#about ul {
    max-width: 800px;
    margin: 2rem auto;
    padding-left: 2rem;
}

#about li {
    margin-bottom: 0.5rem;
}

.service {
    margin-bottom: 2rem;
    padding: 2rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.service p {
    color: #4a5568;
    line-height: 1.6;
}

.contact-info {
    margin-bottom: 3rem;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background: #f7fafc;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

label {
    display: block;
    margin-top: 1.5rem;
    font-weight: 500;
    color: #2d3748;
    font-size: 1rem;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #48bb78;
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
    transform: translateY(-1px);
}

button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
    position: relative;
    overflow: hidden;
}

button:hover,
button:focus-visible {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
}

.reveal {
    opacity: 0;
    translate: 0 22px;
    transition: opacity 0.65s ease, translate 0.65s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes ripple {
    to {
        opacity: 0;
        transform: scale(2.4);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

footer {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: #e2e8f0;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

footer p {
    font-size: 1rem;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    nav ul li {
        margin: 0 0.5rem;
    }

    nav a {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }

    #hero {
        padding: 3rem 1rem;
    }

    #hero h2 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.1rem;
    }

    main {
        padding: 2rem 1rem;
    }

    #about-home, #services-home, #why-choose-us, #property-gallery, #cta {
        padding: 2rem 1.5rem;
    }

    .stats {
        flex-direction: column;
        align-items: center;
    }

    .stat {
        margin: 0.5rem 0;
    }

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

    .service-card, .feature {
        padding: 1.5rem;
    }

    #about, #services, #contact {
        padding: 2rem 1.5rem;
    }

    .service {
        padding: 1.5rem;
    }
}

@media (max-width: 820px) {
    #hero,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    #hero {
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .hero-media,
    .hero-media img,
    .gallery-item-large img,
    .page-feature-image {
        min-height: 0;
        height: 280px;
    }
}
