
:root {
    --emerald: #082d22;
    --emerald-deep: #052319;
    --emerald-soft: #174b39;
    --champagne: #d8c18a;
    --champagne-light: #eadbb5;
    --ivory: #f7f5ef;
    --white: #ffffff;
    --text: #26342d;
    --muted: #777e76;
    --border: #e8e4d9;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    --nav-height: 86px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--ivory);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
}

#home,
#about,
#services,
#process,
#contact {
    scroll-margin-top: calc(var(--nav-height) + 20px);
}

/* NAVIGATION */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 76px;
    padding: 10px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--emerald-deep);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-text strong {
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.brand-text small {
    color: var(--champagne);
    font-size: 8px;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-links a {
    position: relative;
    padding: 9px 8px;
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--champagne);
    background: rgba(216, 193, 138, 0.1);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--champagne);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
    flex-shrink: 0;
}

.login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 21px;
    color: var(--champagne-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1px solid var(--champagne);
    border-radius: 6px;
    background: rgba(216, 193, 138, 0.08);
    transition: all 0.3s ease;
}

.login-link:hover {
    color: var(--emerald-deep);
    background: var(--champagne);
    box-shadow: 0 5px 18px rgba(216, 193, 138, 0.22);
    transform: translateY(-2px);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 22px;
    color: var(--emerald-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    white-space: nowrap;
    border: 1px solid var(--champagne);
    border-radius: 6px;
    background: linear-gradient(135deg, var(--champagne-light), var(--champagne));
    box-shadow: 0 4px 14px rgba(216, 193, 138, 0.18);
    transition: all 0.3s ease;
}

.nav-button:hover {
    color: var(--emerald-deep);
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 6px 20px rgba(216, 193, 138, 0.28);
    transform: translateY(-2px);
}

.login-link:focus-visible,
.nav-button:focus-visible {
    outline: 3px solid var(--champagne-light);
    outline-offset: 4px;
}

.menu-toggle {
    display: none;
    width: 34px;
    height: 34px;
    padding: 8px;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1px solid rgba(234, 219, 181, 0.4);
    border-radius: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--champagne);
    transition: 0.25s ease;
}

.menu-toggle.active span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

/* HERO */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 650px;
    height: calc(100vh - 86px);
    max-height: 850px;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(4, 30, 22, 0.94),
            rgba(4, 30, 22, 0.77) 48%,
            rgba(4, 30, 22, 0.27)
        ),
        url("../images/parish.jpg") center 45% / cover no-repeat,
        var(--emerald);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(3, 24, 17, 0.55),
        transparent 45%
    );
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 2;
    width: min(1200px, 88%);
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 740px;
    padding: 65px 0 90px;
    margin: 0;
}

.hero-eyebrow {
    margin-bottom: 23px;
    color: var(--champagne);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    max-width: 740px;
    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(43px, 5.2vw, 68px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.4px;
}

.hero h1 span {
    display: block;
    margin-top: 8px;
    color: var(--champagne-light);
    font-size: 0.83em;
    font-style: italic;
    line-height: 1.3;
}

.hero-description {
    max-width: 500px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.83);
    font-size: 14px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    margin-top: 0;
    transform: none;
}

.primary-button,
.secondary-button {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 5px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-button {
    background: linear-gradient(135deg, var(--champagne-light), var(--champagne));
    color: var(--emerald-deep);
    border: 1px solid var(--champagne);
}

.primary-button:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--emerald-deep);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(216, 193, 138, 0.2);
}

.primary-button span {
    font-size: 17px;
}

.secondary-button {
    color: var(--white);
    background: rgba(8, 45, 34, 0.35);
    border: 1px solid rgba(234, 219, 181, 0.7);
}

.secondary-button:hover {
    color: var(--emerald-deep);
    background: var(--champagne-light);
    border-color: var(--champagne-light);
    transform: translateY(-3px);
}

.hero-actions a:focus-visible {
    outline: 3px solid var(--champagne-light);
    outline-offset: 4px;
}

.hero-signature {
    margin-top: 38px;
    color: var(--champagne-light);
    font-family: var(--serif);
    font-size: 15px;
    font-style: italic;
}

.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    padding: 17px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid rgba(234, 219, 181, 0.25);
    color: rgba(255, 255, 255, 0.75);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.3px;
}

.hero-bottom a {
    color: var(--champagne-light);
    white-space: nowrap;
}

/* GENERAL SECTION HEADINGS */

.intro-section,
.services-section,
.process-section {
    padding: 90px 7%;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-eyebrow {
    margin-bottom: 14px;
    color: #a78a4f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.section-heading h2 {
    color: var(--emerald);
    font-family: var(--serif);
    font-size: clamp(31px, 4vw, 45px);
    font-weight: 500;
    line-height: 1.25;
}

.section-heading h2 span {
    color: #a58c55;
    font-style: italic;
}

.section-heading > p:last-child {
    max-width: 620px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

/* ABOUT */

#about.intro-section {
    position: relative;
    padding: 95px 7%;
    overflow: hidden;
    background: var(--ivory);
}

#about .section-heading {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

#about .about-content {
    position: relative;
    z-index: 1;
    max-width: 1050px;
    margin: 0 auto 45px;
    padding: 42px 45px;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-soft));
    border: 1px solid rgba(216, 193, 138, 0.7);
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(8, 45, 34, 0.1);
}

#about .about-content::before {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    margin-bottom: 23px;
    background: var(--champagne);
}

#about .about-text h3 {
    margin-bottom: 11px;
    color: var(--champagne-light);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
}

#about .about-text h3:not(:first-child) {
    margin-top: 27px;
}

#about .about-text p {
    margin-bottom: 13px;
    color: rgba(247, 245, 239, 0.84);
    font-size: 13px;
    line-height: 1.9;
}

#about .feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1150px;
    margin: 0 auto;
}

#about .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 24px 20px;
    background: var(--white);
    border: 1px solid rgba(216, 193, 138, 0.5);
    border-radius: 7px;
    box-shadow: 0 7px 22px rgba(8, 45, 34, 0.04);
    transition: 0.3s ease;
}

#about .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 13px 28px rgba(8, 45, 34, 0.1);
}

#about .feature-number {
    flex-shrink: 0;
    color: #b3975e;
    font-family: var(--serif);
    font-size: 25px;
}

#about .feature-item h3 {
    margin: 2px 0 8px;
    color: var(--emerald);
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
}

#about .feature-item p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

/* SERVICES */

.services-section {
    background: #eeece4;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    min-width: 0;
    min-height: 245px;
    padding: 28px 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 7px;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(8, 45, 34, 0.08);
}

.service-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #f4f0e5;
    color: #a58c55;
    border-radius: 7px;
    font-size: 20px;
}

.service-card h3 {
    margin: 16px 0 8px;
    color: var(--emerald);
    font-family: var(--sans) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.5;
}

.service-card p {
    margin-bottom: 20px;
    color: var(--muted);
    font-family: var(--sans) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8;
}

.service-card .service-price {
    color: var(--emerald-soft);
    font-family: var(--sans) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.5;
}

.service-link {
    margin-top: auto;
    color: #8b713f;
    font-size: 11px;
    font-weight: 700;
}

.service-link span {
    margin-left: 6px;
    font-size: 15px;
}

.empty-services {
    grid-column: 1 / -1;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

/* HOW IT WORKS */

.process-section {
    background: var(--ivory);
}

.process-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 55px;
    max-width: 1150px;
    margin: 0 auto;
}

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 26px 0;
    border-top: 1px solid var(--border);
}

.process-number {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--emerald);
    color: var(--champagne);
    border-radius: 50%;
    font-family: var(--serif);
    font-size: 17px;
}

.process-content h3 {
    margin-bottom: 8px;
    color: var(--emerald);
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
}

.process-content p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.process-action {
    margin-top: 45px;
    text-align: center;
}

.process-action > p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

/* CONTACT */

.parish-contact {
    padding: 75px 7% 40px;
    background: var(--ivory);
    color: var(--text);
}

.contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.contact-main-info {
    text-align: center;
}

.contact-main-info h2 {
    margin-bottom: 12px;
    color: var(--emerald);
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 600;
}

.contact-main-info h2 span {
    color: #b3975e;
}

.contact-description {
    max-width: 400px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.contact-line {
    width: 65%;
    height: 1px;
    margin: 22px auto;
    background: #c9b98f;
}

.contact-details p {
    margin: 7px 0;
    color: #39463d;
    font-size: 13px;
}

.contact-details strong {
    color: var(--emerald);
}

.contact-main-image {
    width: 100%;
    max-width: 330px;
    aspect-ratio: 1;
    margin: auto;
    overflow: hidden;
    border: 6px solid #e9e2d1;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(8, 45, 34, 0.12);
}

.contact-main-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-bottom-card {
    min-width: 0;
    min-height: 145px;
    padding: 23px;
    background: #e5ded2;
    border-bottom: 3px solid #b39a60;
    border-radius: 5px;
}

.contact-bottom-card:nth-child(2) {
    background: var(--emerald);
    border-bottom-color: var(--champagne);
}

.contact-bottom-card:nth-child(2) h3,
.contact-bottom-card:nth-child(2) p,
.contact-bottom-card:nth-child(2) small {
    color: var(--ivory);
}

.contact-card-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
}

.contact-card-heading span {
    color: #9b8756;
    font-size: 18px;
}

.contact-card-heading h3 {
    color: var(--emerald);
    font-size: 12px;
    font-weight: 700;
}

.contact-bottom-card p {
    margin-bottom: 5px;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
}

.contact-bottom-card small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.contact-footer {
    max-width: 1100px;
    margin: 25px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.contact-footer a {
    color: var(--emerald);
    font-size: 12px;
    font-weight: 700;
}

.contact-footer a:hover {
    color: #a58c55;
}

/* FOOTER */

.footer {
    padding: 38px 6%;
    background: var(--emerald-deep);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-brand {
    color: var(--champagne);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.footer p {
    margin: 8px 0 15px;
    font-family: var(--serif);
    font-size: 15px;
    font-style: italic;
}

.footer small {
    font-size: 10px;
}

/* TABLET */

@media (max-width: 1100px) {
    .navbar {
        padding-left: 3%;
        padding-right: 3%;
        gap: 10px;
    }

    .nav-links {
        gap: 1px;
    }

    .nav-links a {
        padding: 9px 6px;
        font-size: 10px;
    }

    .nav-actions {
        gap: 8px;
        margin-left: 10px;
    }

    .login-link,
    .nav-button {
        padding-left: 15px;
        padding-right: 15px;
    }

    .brand {
        gap: 7px;
    }

    .brand-text strong {
        font-size: 8px;
    }
}

/* MOBILE NAVIGATION */

@media (max-width: 800px) {
    :root {
        --nav-height: 72px;
    }
.navbar {
    min-height: 72px;
    padding: 10px 4%;
    flex-wrap: wrap;
    gap: 0;
}

.brand {
    margin-right: auto;
    gap: 8px;
    padding-right: 15px;
}

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .brand-text strong {
        max-width: 180px;
        font-size: 8px;
    }

    .nav-actions {
        margin-left: 10px;
        margin-right: 10px;
        gap: 9px;
    }

    .login-link,
    .nav-button {
        min-height: 36px;
        padding: 7px 13px;
        font-size: 11px;
    }

    .menu-toggle {
        display: flex;
        margin-right: 0;
    }

    .nav-links {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        margin-top: 12px;
        padding: 13px 0 5px;
        border-top: 1px solid rgba(234, 219, 181, 0.2);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 11px 13px;
        font-size: 13px;
    }

    .hero {
        min-height: 600px;
        height: auto;
        max-height: none;
        background-position: center;
    }

    .hero-layout {
        width: 88%;
    }

    .hero-content {
        padding: 80px 0 110px;
    }

    .intro-section,
    .services-section,
    .process-section {
        padding: 75px 6%;
    }

    #about.intro-section {
        padding: 75px 6%;
    }

    #about .feature-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .process-list {
        grid-template-columns: 1fr;
    }

    .contact-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-main-image {
        max-width: 270px;
    }

    .contact-bottom-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-bottom-card {
        min-height: auto;
    }

    .contact-footer {
        flex-direction: column;
        text-align: center;
    }
}

/* SMALL MOBILE */

@media (max-width: 520px) {
   .navbar {
    min-height: 72px;
    padding: 10px 4%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
}
.brand {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 20px;
    gap: 6px;
}
.brand-logo {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.brand-text {
    min-width: 0;
}

.nav-actions {
    flex-shrink: 0;
    gap: 6px;
    margin-left: 0;
    margin-right: 10px;
}

.menu-toggle {
    display: flex;
    flex-shrink: 0;
    margin-left: 10px;
}
    .hero {
        min-height: 590px;
        background-position: 58% center;
    }

    .hero-layout {
        width: 88%;
    }

    .hero-content {
        padding: 65px 0 105px;
    }

    .hero-eyebrow {
        margin-bottom: 18px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 43px);
        letter-spacing: -0.8px;
        line-height: 1.2;
    }

    .hero h1 span {
        margin-top: 7px;
        font-size: 0.77em;
        line-height: 1.35;
    }

    .hero-description {
        margin-top: 19px;
        font-size: 12px;
        line-height: 1.8;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
        max-width: 320px;
        margin: 20px 0 0;
        transform: none;
    }

    .hero-actions .primary-button,
    .hero-actions .secondary-button {
        display: inline-flex;
        width: 100%;
        min-width: 0;
        min-height: 44px;
        margin: 0;
        padding: 9px 7px;
        gap: 5px;
        font-size: 10px;
        white-space: nowrap;
        text-align: center;
        justify-content: center;
    }

    .hero-signature {
        margin-top: 27px;
        font-size: 13px;
        line-height: 1.7;
    }

    .hero-bottom {
        padding: 13px 5%;
        font-size: 7px;
        letter-spacing: 0.5px;
    }

    .hero-bottom a {
        font-size: 7px;
    }

    .intro-section,
    .services-section,
    .process-section,
    #about.intro-section {
        padding: 65px 5%;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .section-heading > p:last-child {
        font-size: 12px;
        line-height: 1.8;
    }

    #about .about-content {
        padding: 27px 21px;
        margin-bottom: 30px;
    }

    #about .about-text h3 {
        font-size: 20px;
    }

    #about .about-text p {
        font-size: 12px;
    }

    #about .feature-item {
        padding: 20px 17px;
    }

    #about .feature-item h3 {
        font-size: 16px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        min-height: 215px;
        padding: 24px 21px;
    }

    .service-card h3 {
        font-size: 19px;
    }

    .process-item {
        gap: 14px;
        padding: 22px 0;
    }

    .process-number {
        width: 37px;
        height: 37px;
        font-size: 14px;
    }

    .process-content h3 {
        font-size: 17px;
    }

    .process-content p {
        font-size: 12px;
    }

    .process-action {
        margin-top: 30px;
    }

    .parish-contact {
        padding: 55px 5% 30px;
    }

    .contact-main {
        gap: 25px;
        margin-bottom: 30px;
    }

    .contact-main-info h2 {
        font-size: 32px;
    }

    .contact-description,
    .contact-details p {
        font-size: 12px;
    }

    .contact-main-image {
        max-width: 220px;
    }

    .contact-bottom-card {
        padding: 20px;
    }

    .contact-footer {
        margin-top: 22px;
    }

    .footer {
        padding: 30px 5%;
    }

    .footer-brand {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .footer small {
        font-size: 9px;
    }
}

/* EXTRA SMALL PHONES */

@media (max-width: 360px) {
    .brand-text strong {
        max-width: 105px;
        font-size: 6.5px;
    }

    .nav-actions {
        gap: 5px;
        margin-left: 4px;
        margin-right: 5px;
    }

    .login-link,
    .nav-button {
        min-height: 31px;
        padding: 5px 8px;
        font-size: 8px;
    }

    .menu-toggle {
        width: 30px;
        height: 30px;
    }

    .hero-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hero-actions .primary-button,
    .hero-actions .secondary-button {
        font-size: 9px;
        padding: 8px 5px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
@media screen and (max-width: 768px) {
    .hero-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 340px !important;
        margin: 20px auto 0 !important;
        transform: none !important;
    }

    .hero-actions a,
    .hero-actions button {
        display: flex !important;
        flex: 1 1 0 !important;
        width: 50% !important;
        min-width: 0 !important;
        max-width: none !important;
        justify-content: center !important;
        align-items: center !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }
}

@media screen and (max-width: 768px) {
    .hero .hero-content {
        width: 100%;
    }

    .hero .hero-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 340px !important;
        margin: 20px 0 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    .hero .hero-actions .secondary-button,
    .hero .hero-actions .primary-button {
        display: inline-flex !important;
        flex: 1 1 0 !important;
        width: 50% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 46px !important;
        margin: 0 !important;
        padding: 10px 8px !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 800px) {
    .menu-toggle {
        margin-right: 18px !important;
        margin-left: 0 !important;
    }

    .brand {
        margin-right: auto !important;
        padding-left: 0 !important;
    }
}
/* FIXED MOBILE NAVIGATION DROPDOWN */

@media screen and (max-width: 800px) {

    .navbar {
        position: fixed !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        min-height: 72px;
        width: 100%;
        overflow: visible !important;
    }

    .menu-toggle {
        display: flex !important;
        flex-shrink: 0 !important;
        z-index: 1002;
    }

    .brand {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin-right: 0 !important;
    }

    /* Dropdown menu closed by default */
    #navLinks {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 4% !important;
        right: 4% !important;
        width: auto !important;

        flex-direction: column !important;
        align-items: stretch !important;
        gap: 5px !important;

        margin: 0 !important;
        padding: 12px !important;

        background: rgba(255, 255, 255, 0.97) !important;
        border: 1px solid rgba(8, 45, 34, 0.12) !important;
        border-radius: 12px !important;

        box-shadow: 0 12px 30px rgba(5, 35, 25, 0.18) !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);

        z-index: 1001;
    }

    /* Show dropdown when menu button is clicked */
    #navLinks.show {
        display: flex !important;
    }

    /* Dropdown links */
    #navLinks a,
    #navLinks a.active {
        display: flex !important;
        align-items: center !important;

        width: 100% !important;
        min-height: 45px;
        padding: 11px 15px !important;

        color: #174b39 !important;
        background: transparent !important;

        border-radius: 7px !important;

        font-family: "DM Sans", sans-serif;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-align: left;

        transition: background 0.2s ease, color 0.2s ease;
    }

    #navLinks a:hover,
    #navLinks a.active {
        color: #ffffff !important;
        background: #174b39 !important;
    }

    /* Remove the desktop active underline */
    #navLinks a.active::after {
        display: none !important;
    }
}
