﻿/* =========================================================
   MITHIORA CONTACT PAGE
   FULL PAGE STORY BACKGROUND
   ========================================================= */

:root {
    --mithiora-green: #1B4332;
    --mithiora-dark: #12382A;
    --mithiora-green-light: #245B45;
    --mithiora-gold: #C99A2E;
    --mithiora-gold-light: #E2B84D;
    --mithiora-cream: #F8F1DF;
    --mithiora-white: #FFFDF8;
    --mithiora-text: #19352A;
}


/* =========================================================
   PAGE WRAPPER
   ========================================================= */


.contact-page {
    position: relative;
    overflow: hidden;
    background-color: #F8F3E6;
    background-image: linear-gradient( rgba(248, 243, 230, 0.35), rgba(248, 243, 230, 0.35) ), url('/images/about/story-bg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* =========================================================
   HERO
   ========================================================= */

.contact-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: transparent;
    overflow: hidden;
}


.hero-overlay {
    width: 100%;
    position: relative;
    z-index: 2;
}


.contact-hero .container {
    position: relative;
    z-index: 3;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mithiora-green);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}


    .hero-badge i {
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--mithiora-green);
        color: #fff;
        font-size: 11px;
    }


.hero-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5vw, 76px);
    line-height: 0.98;
    font-weight: 600;
    color: var(--mithiora-green);
    letter-spacing: -2px;
}


    .hero-title span {
        display: block;
        color: var(--mithiora-gold);
        margin-top: 4px;
    }


.hero-description {
    max-width: 520px;
    margin: 25px 0;
    color: #29382F;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


.btn-brand {
    background: var(--mithiora-green);
    color: #fff;
    border: 1px solid var(--mithiora-green);
    border-radius: 7px;
    padding: 13px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}


    .btn-brand:hover {
        background: #12382A;
        border-color: #12382A;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(27, 67, 50, 0.25);
    }


.btn-contact-outline {
    background: rgba(255, 253, 248, 0.7);
    color: var(--mithiora-green);
    border: 1px solid var(--mithiora-green);
    border-radius: 7px;
    padding: 13px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}


    .btn-contact-outline:hover {
        background: var(--mithiora-green);
        color: #fff;
        transform: translateY(-2px);
    }


/* =========================================================
   HERO IMAGE
   ========================================================= */

.contact-image-area {
    position: relative;
    width: min(430px, 100%);
    aspect-ratio: 1 / 1;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}


    .contact-image-area::before {
        content: "";
        position: absolute;
        inset: 4%;
        border-radius: 50%;
        border: 3px solid var(--mithiora-gold);
        box-shadow: 0 0 0 7px rgba(201, 154, 46, 0.15), 0 0 30px rgba(201, 154, 46, 0.18);
        z-index: 1;
    }


    .contact-image-area::after {
        content: "";
        position: absolute;
        inset: 1%;
        border-radius: 50%;
        border: 1px solid rgba(201, 154, 46, 0.5);
        z-index: 1;
    }


.hero-image {
    position: relative;
    width: 94%;
    height: 94%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
    filter: saturate(0.95);
    box-shadow: 0 20px 50px rgba(27, 67, 50, 0.20);
}


/* =========================================================
   FORM SECTION
   ========================================================= */

.contact-form-section {
    position: relative;
    padding: 25px 0 55px;
    background: transparent;
    z-index: 5;
}


.contact-form-card {
    position: relative;
    background: rgba(255, 253, 248, 0.96);
    border: 1px solid rgba(201, 154, 46, 0.35);
    border-radius: 18px;
    padding: 42px;
    box-shadow: 0 20px 55px rgba(55, 43, 20, 0.13);
    backdrop-filter: blur(4px);
}


.section-badge {
    display: inline-block;
    color: var(--mithiora-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.3px;
    margin-bottom: 10px;
}


.section-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--mithiora-green);
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 600;
}


    .section-title::after {
        content: "✦";
        display: block;
        color: var(--mithiora-gold);
        font-size: 16px;
        margin-top: 8px;
    }


/* =========================================================
   FORM LABELS
   ========================================================= */

.contact-form-card .form-label {
    display: block;
    color: #1D2822;
    font-size: 14px;
    margin-bottom: 8px;
}


/* =========================================================
   INPUT WRAPPER
   ========================================================= */

.input-wrapper {
    position: relative;
}


    .input-wrapper > i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--mithiora-gold);
        z-index: 3;
        font-size: 17px;
    }


    .input-wrapper .form-control {
        min-height: 50px;
        padding-left: 46px;
        background: rgba(255, 253, 248, 0.95);
        border: 1px solid #E5D8BC;
        border-radius: 8px;
        color: var(--mithiora-text);
        font-size: 15px;
        box-shadow: none;
        transition: all 0.25s ease;
    }


        .input-wrapper .form-control::placeholder {
            color: #9A958A;
        }


        .input-wrapper .form-control:focus {
            border-color: var(--mithiora-gold);
            background: #fff;
            box-shadow: 0 0 0 3px rgba(201, 154, 46, 0.10);
        }


.textarea-wrapper > i {
    top: 22px;
    transform: none;
}


.textarea-wrapper textarea {
    min-height: 130px;
    resize: vertical;
}


/* =========================================================
   VALIDATION
   ========================================================= */

.text-danger {
    display: block;
    margin-top: 5px;
    font-size: 13px;
}


/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.contact-info-section {
    position: relative;
    padding: 0 0 55px;
    background: transparent;
    z-index: 5;
}


.contact-info-card {
    background: rgba(255, 253, 248, 0.95);
    border: 1px solid rgba(201, 154, 46, 0.35);
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(55, 43, 20, 0.10);
    overflow: hidden;
}


.contact-info-item {
    min-height: 190px;
    padding: 30px 35px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}


.contact-info-card .col-lg-4:not(:last-child)
.contact-info-item {
    border-right: 1px solid #E5D8BC;
}


.info-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--mithiora-green);
    color: var(--mithiora-gold-light);
    font-size: 23px;
    box-shadow: 0 8px 18px rgba(27, 67, 50, 0.18);
}


.contact-info-item h4 {
    margin: 4px 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    color: var(--mithiora-green);
}


.contact-info-item strong {
    display: block;
    color: #2B332E;
    font-size: 14px;
}


.contact-info-item p {
    margin: 10px 0 0;
    color: #555950;
    font-size: 13px;
    line-height: 1.6;
}


.gold-line {
    width: 60px;
    height: 1px;
    margin: 13px 0 0;
    background: var(--mithiora-gold);
}


/* =========================================================
   CONNECT SECTION
   ========================================================= */

.contact-connect-section {
    position: relative;
    padding: 34px 0;
    background: var(--mithiora-green);
    color: #fff;
    overflow: hidden;
}


    .contact-connect-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient( rgba(18, 56, 42, 0.92), rgba(18, 56, 42, 0.92) ), url('/images/about/story-bg.jpg');
        background-size: cover;
        background-position: center bottom;
        opacity: 0.5;
    }


.connect-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    align-items: center;
    gap: 35px;
}


.connect-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}


.connect-logo {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    border: 1px solid var(--mithiora-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mithiora-gold-light);
    font-size: 30px;
}


.connect-brand span {
    display: block;
    color: var(--mithiora-gold-light);
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}


.connect-brand h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.2;
}


    .connect-brand h3 strong {
        display: block;
        color: var(--mithiora-gold-light);
        font-weight: 500;
    }


.connect-text {
    padding-left: 25px;
    border-left: 1px solid rgba(226, 184, 77, 0.4);
}


    .connect-text p {
        margin: 0;
        max-width: 350px;
        color: rgba(255, 255, 255, 0.88);
        font-size: 15px;
        line-height: 1.7;
    }


.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}


    .social-links a {
        width: 44px;
        height: 44px;
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-decoration: none;
        transition: all 0.3s ease;
    }


        .social-links a:hover {
            background: var(--mithiora-gold);
            border-color: var(--mithiora-gold);
            color: var(--mithiora-green);
            transform: translateY(-3px);
        }


/* =========================================================
   SUCCESS MESSAGE
   ========================================================= */

.contact-page .alert {
    border-radius: 10px;
    border: 1px solid rgba(27, 67, 50, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .contact-hero {
        min-height: auto;
        padding: 70px 0 40px;
    }


    .hero-title {
        font-size: 58px;
    }


    .contact-image-area {
        width: min(380px, 90%);
    }


    .contact-form-section {
        padding-top: 25px;
    }


    .contact-info-card .col-lg-4:not(:last-child)
    .contact-info-item {
        border-right: 0;
        border-bottom: 1px solid #E5D8BC;
    }


    .contact-info-item {
        min-height: auto;
    }


    .connect-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }


    .connect-text {
        padding-left: 0;
        padding-top: 20px;
        border-left: 0;
        border-top: 1px solid rgba(226, 184, 77, 0.4);
    }
}


@media (max-width: 767px) {

    .contact-page {
        background-attachment: scroll;
        background-image: linear-gradient( rgba(248, 241, 223, 0.86), rgba(248, 241, 223, 0.86) ), url('/images/about/story-bg.jpg');
        background-position: center top;
    }


    .contact-hero {
        padding: 55px 0 25px;
    }


    .hero-title {
        font-size: 48px;
        letter-spacing: -1px;
    }


    .hero-description {
        font-size: 15px;
        margin: 20px 0;
    }


    .hero-buttons {
        width: 100%;
    }


        .hero-buttons .btn {
            flex: 1;
            min-width: 140px;
        }


    .contact-image-area {
        width: min(330px, 90%);
    }


    .contact-form-card {
        padding: 28px 20px;
        border-radius: 14px;
    }


    .section-title {
        font-size: 30px;
    }


    .contact-info-item {
        padding: 25px 22px;
    }


    .connect-brand h3 {
        font-size: 24px;
    }


    .social-links {
        margin-top: 5px;
    }
}


@media (max-width: 480px) {

    .hero-title {
        font-size: 42px;
    }


    .hero-buttons {
        flex-direction: column;
    }


        .hero-buttons .btn {
            width: 100%;
        }


    .contact-image-area {
        width: 300px;
    }


    .contact-form-card {
        padding: 24px 16px;
    }


    .contact-info-item {
        flex-direction: column;
    }


    .connect-content {
        text-align: center;
    }


    .connect-brand {
        flex-direction: column;
    }


    .connect-text {
        text-align: center;
    }


        .connect-text p {
            margin: auto;
        }


    .social-links {
        justify-content: center;
    }
}




/* =========================================================
   EARTHHARVEST CONTACT HERO
   Premium / Royal / Professional Design
   ========================================================= */

.contact-hero {
    position: relative;
    padding: 85px 0 90px;
    overflow: hidden;
    background: linear-gradient( 90deg, rgba(248, 244, 229, 0.97) 0%, rgba(248, 244, 229, 0.90) 48%, rgba(248, 244, 229, 0.68) 100% );
}


    /* Decorative background */
    .contact-hero::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        left: -220px;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 50%;
        background: rgba(27, 67, 50, 0.06);
        pointer-events: none;
    }

    .contact-hero::after {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        right: -130px;
        bottom: -130px;
        border-radius: 50%;
        border: 1px solid rgba(184, 134, 11, 0.20);
        pointer-events: none;
    }


/* Content */

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}


/* Badge */

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    margin-bottom: 24px;
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.78);
    color: #1B4332;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.08);
}

    .contact-badge i {
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #1B4332;
        color: #D4AF37;
        font-size: 12px;
    }


/* Main heading */

.contact-title {
    margin: 0;
    color: #123426;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: -1.5px;
}

    .contact-title span {
        display: block;
        color: #B8860B;
        margin-top: 8px;
    }


/* Gold separator */

.contact-title-line {
    position: relative;
    width: 105px;
    height: 3px;
    margin: 27px 0 25px;
    background: #B8860B;
    border-radius: 10px;
}

    .contact-title-line::after {
        content: "";
        position: absolute;
        width: 8px;
        height: 8px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: #D4AF37;
        border: 2px solid #F8F4E5;
        border-radius: 50%;
    }


/* Description */

.contact-description {
    max-width: 610px;
    margin-bottom: 15px;
    color: #34483F;
    font-size: 17px;
    line-height: 1.85;
    font-weight: 450;
}

.contact-description-small {
    color: #53645D;
    font-size: 15px;
    line-height: 1.75;
}


/* Buttons */

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}


.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-width: 175px;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}


/* Primary button */

.contact-btn-primary {
    color: #FFFFFF;
    background: #1B4332;
    border: 1px solid #1B4332;
    box-shadow: 0 10px 25px rgba(27, 67, 50, 0.20);
}

    .contact-btn-primary i {
        color: #D4AF37;
    }

    .contact-btn-primary:hover {
        color: #FFFFFF;
        background: #123426;
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(27, 67, 50, 0.28);
    }


/* Outline button */

.contact-btn-outline {
    color: #1B4332;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid #1B4332;
}

    .contact-btn-outline:hover {
        color: #FFFFFF;
        background: #1B4332;
        transform: translateY(-3px);
    }

        .contact-btn-outline:hover i {
            color: #D4AF37;
        }


/* Trust points */

.contact-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(27, 67, 50, 0.13);
}

.contact-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #34483F;
    font-size: 13px;
    font-weight: 700;
}

    .contact-trust-item i {
        color: #1B4332;
        font-size: 15px;
    }


/* =========================================================
   IMAGE
   ========================================================= */

.contact-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    z-index: 1;
}


/* Soft glow */

.contact-image-glow {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient( circle, rgba(212, 175, 55, 0.20) 0%, rgba(212, 175, 55, 0.08) 45%, transparent 72% );
    filter: blur(8px);
}


/* Main image */

.contact-image {
    position: relative;
    z-index: 2;
    width: min(100%, 540px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 25px 35px rgba(27, 67, 50, 0.18));
    transition: transform 0.5s ease;
}

.contact-image-container:hover .contact-image {
    transform: translateY(-8px) scale(1.02);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .contact-hero {
        padding: 65px 0 70px;
    }

    .contact-content {
        max-width: 100%;
        text-align: center;
    }

    .contact-title-line {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-description {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-actions {
        justify-content: center;
    }

    .contact-trust {
        justify-content: center;
    }

    .contact-image-container {
        min-height: 420px;
        margin-top: 30px;
    }

    .contact-image {
        width: min(100%, 480px);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .contact-hero {
        padding: 50px 0 55px;
    }

    .contact-badge {
        font-size: 10px;
        padding: 8px 14px;
    }

    .contact-title {
        font-size: 45px;
        line-height: 1;
    }

    .contact-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .contact-description-small {
        font-size: 14px;
    }

    .contact-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 25px;
    }

    .contact-btn {
        width: 100%;
    }

    .contact-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .contact-image-container {
        min-height: 320px;
        margin-top: 15px;
    }

    .contact-image-glow {
        width: 300px;
        height: 300px;
    }

    .contact-image {
        width: 100%;
    }
}


