﻿/* =========================================================
   EVENTSPHERE CONTACT PAGE
   Premium Professional UI
========================================================= */

:root {
    --contact-primary: #0b3037;
    --contact-primary-light: #134e5e;
    --contact-accent: #1f8a9e;
    --contact-accent-light: #e8f6f7;
    --contact-dark: #102a30;
    --contact-text: #52666b;
    --contact-muted: #7b8f94;
    --contact-light: #f5f9fa;
    --contact-border: #e2edef;
    --contact-shadow: 0 15px 45px rgba(11, 48, 55, .09);
    --contact-shadow-hover: 0 22px 50px rgba(11, 48, 55, .14);
}


/* =========================================================
   GENERAL
========================================================= */

.section-padding {
    padding: 95px 0;
}

.section-label {
    display: inline-block;
    color: var(--contact-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.page-heading {
    color: var(--contact-dark);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.2px;
    margin: 0 0 18px;
}


/* =========================================================
   INNER HERO
========================================================= */

.inner-hero {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient( circle at 87% 18%, rgba(73, 193, 207, .18), transparent 28% ), radial-gradient( circle at 10% 85%, rgba(255,255,255,.06), transparent 25% ), linear-gradient( 125deg, #071f25 0%, #0b3037 52%, #134e5e 100% );
}


    /* grid */

    .inner-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient( rgba(255,255,255,.035) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255,255,255,.035) 1px, transparent 1px );
        background-size: 55px 55px;
        mask-image: linear-gradient( to bottom, black, transparent );
    }


    /* decorative circle */

    .inner-hero::after {
        content: "";
        position: absolute;
        width: 430px;
        height: 430px;
        right: -170px;
        top: -170px;
        border: 1px solid rgba(255,255,255,.07);
        border-radius: 50%;
        box-shadow: 0 0 0 65px rgba(255,255,255,.018), 0 0 0 130px rgba(255,255,255,.012);
    }


    .inner-hero .container {
        position: relative;
        z-index: 2;
        padding-top: 70px;
        padding-bottom: 70px;
    }


    /* hero badge */

    .inner-hero span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 15px;
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 50px;
        background: rgba(255,255,255,.065);
        backdrop-filter: blur(10px);
        color: #9ce4e9;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1.8px;
        margin-bottom: 20px;
    }


        /* badge dot */

        .inner-hero span::before {
            content: "";
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #70d8df;
            box-shadow: 0 0 0 5px rgba(112,216,223,.10);
        }


    .inner-hero h1 {
        color: #ffffff;
        font-size: clamp( 42px, 6vw, 64px );
        line-height: 1.05;
        font-weight: 850;
        letter-spacing: -2.5px;
        margin: 0 0 18px;
    }


    .inner-hero p {
        max-width: 600px;
        color: rgba(255,255,255,.70);
        font-size: 17px;
        line-height: 1.8;
        margin: 0;
    }


/* =========================================================
   CONTACT MAIN SECTION
========================================================= */

.section-padding {
    background: #ffffff;
}


    /* left description */

    .section-padding .col-lg-5 > p {
        max-width: 500px;
        color: var(--contact-text);
        font-size: 15px;
        line-height: 1.85;
        margin-bottom: 30px;
    }


/* =========================================================
   CONTACT INFO BOX
========================================================= */

.contact-info-box {
    position: relative;
    padding: 10px;
    border-radius: 20px;
    background: linear-gradient( 145deg, #f7fbfc, #eef6f7 );
    border: 1px solid var(--contact-border);
    box-shadow: var(--contact-shadow);
}


    /* vertical line */

    .contact-info-box::before {
        content: "";
        position: absolute;
        left: 38px;
        top: 40px;
        bottom: 40px;
        width: 1px;
        background: linear-gradient( to bottom, transparent, #c3dfe3 20%, #c3dfe3 80%, transparent );
    }


/* =========================================================
   CONTACT ITEM
========================================================= */

.contact-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 20px 18px;
    border-radius: 14px;
    transition: .3s ease;
}


    .contact-item:hover {
        background: #ffffff;
        transform: translateX(5px);
        box-shadow: 0 10px 28px rgba(11,48,55,.07);
    }


/* icon */

.contact-icon {
    position: relative;
    z-index: 2;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: linear-gradient( 135deg, #e8f6f7, #d9f1f3 );
    color: var(--contact-accent);
    font-size: 17px;
    transition: .3s ease;
}


.contact-item:hover .contact-icon {
    color: #ffffff;
    background: linear-gradient( 135deg, var(--contact-primary), var(--contact-primary-light) );
    transform: rotate(-5deg);
    box-shadow: 0 8px 20px rgba(11,48,55,.16);
}


/* title */

.contact-item strong {
    display: block;
    color: var(--contact-dark);
    font-size: 14px;
    font-weight: 750;
    margin-bottom: 4px;
}


/* value */

.contact-item span {
    display: block;
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   SUCCESS MESSAGE
========================================================= */

.success-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    margin-bottom: 35px;
    border: 1px solid #cce9dc;
    border-radius: 12px;
    background: #f1fbf6;
    color: #287452;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(40,116,82,.06);
}


    .success-message i {
        font-size: 18px;
    }


/* =========================================================
   CONTACT FORM CARD
========================================================= */

.contact-form-card {
    position: relative;
    padding: 35px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--contact-border);
    box-shadow: 0 18px 50px rgba(11,48,55,.09);
}


    /* top accent */

    .contact-form-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 35px;
        right: 35px;
        height: 3px;
        border-radius: 0 0 8px 8px;
        background: linear-gradient( 90deg, var(--contact-primary), var(--contact-accent) );
    }


    .contact-form-card h3 {
        color: var(--contact-dark);
        font-size: 23px;
        font-weight: 800;
        letter-spacing: -.5px;
        margin: 0 0 25px;
    }


    /* =========================================================
   FORM LABELS
========================================================= */

    .contact-form-card label {
        display: block;
        color: var(--contact-dark);
        font-size: 12px;
        font-weight: 750;
        margin-bottom: 8px;
    }


    /* =========================================================
   FORM INPUTS
========================================================= */

    .contact-form-card .form-control {
        min-height: 48px;
        padding: 11px 14px;
        border: 1px solid #dfeaec;
        border-radius: 10px;
        background: #f9fbfc;
        color: var(--contact-dark);
        font-size: 13px;
        box-shadow: none;
        transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
    }


        .contact-form-card .form-control::placeholder {
            color: #9aa9ad;
        }


        .contact-form-card .form-control:hover {
            background: #ffffff;
            border-color: #cddfe2;
        }


        .contact-form-card .form-control:focus {
            background: #ffffff;
            border-color: var(--contact-accent);
            box-shadow: 0 0 0 3px rgba(31,138,158,.10);
        }


    /* textarea */

    .contact-form-card textarea.form-control {
        min-height: 145px;
        resize: vertical;
        line-height: 1.65;
    }


    /* =========================================================
   VALIDATION
========================================================= */

    .contact-form-card .text-danger {
        display: block;
        margin-top: 5px;
        font-size: 11px;
    }


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.submit-button {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 10px;
    background: linear-gradient( 135deg, var(--contact-primary), var(--contact-primary-light) );
    color: #ffffff;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(11,48,55,.17);
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}


    .submit-button:hover {
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 15px 32px rgba(11,48,55,.23);
        background: linear-gradient( 135deg, #0e3941, #176274 );
    }


    .submit-button i {
        transition: .3s ease;
    }


    .submit-button:hover i {
        transform: translate(3px, -2px);
    }


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 991.98px) {

    .section-padding {
        padding: 75px 0;
    }

    .inner-hero {
        min-height: 380px;
    }

        .inner-hero .container {
            padding-top: 60px;
            padding-bottom: 60px;
        }

        .inner-hero h1 {
            font-size: 52px;
            letter-spacing: -2px;
        }

    .contact-form-card {
        padding: 30px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .section-padding {
        padding: 60px 0;
    }

    .inner-hero {
        min-height: auto;
    }

        .inner-hero .container {
            padding-top: 60px;
            padding-bottom: 65px;
        }

        .inner-hero h1 {
            font-size: 43px;
            letter-spacing: -1.8px;
        }

        .inner-hero p {
            font-size: 15px;
            line-height: 1.7;
        }

    .page-heading {
        font-size: 32px;
    }

    .section-padding .col-lg-5 > p {
        font-size: 14px;
        line-height: 1.75;
    }

    .contact-info-box {
        border-radius: 17px;
    }

    .contact-item {
        padding: 18px 14px;
        gap: 14px;
    }

    .contact-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .contact-info-box::before {
        left: 35px;
    }

    .contact-form-card {
        padding: 25px 20px;
        border-radius: 17px;
    }

        .contact-form-card::before {
            left: 20px;
            right: 20px;
        }

        .contact-form-card h3 {
            font-size: 21px;
        }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .section-padding {
        padding: 52px 0;
    }

    .inner-hero .container {
        padding-top: 52px;
        padding-bottom: 58px;
    }

    .inner-hero span {
        font-size: 9px;
        letter-spacing: 1.4px;
        padding: 7px 12px;
    }

    .inner-hero h1 {
        font-size: 37px;
        letter-spacing: -1.4px;
        margin-bottom: 15px;
    }

    .inner-hero p {
        font-size: 14px;
    }

    .section-label {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .page-heading {
        font-size: 29px;
    }

    .contact-item {
        align-items: flex-start;
    }

        .contact-item strong {
            font-size: 13px;
        }

        .contact-item span {
            font-size: 12px;
            word-break: break-word;
        }

    .contact-form-card {
        padding: 23px 16px;
    }

        .contact-form-card h3 {
            font-size: 20px;
            margin-bottom: 21px;
        }

        .contact-form-card .form-control {
            min-height: 46px;
            font-size: 12px;
        }

        .contact-form-card textarea.form-control {
            min-height: 125px;
        }

    .submit-button {
        min-height: 48px;
    }

    .success-message {
        padding: 13px 14px;
        font-size: 12px;
    }
}
