/* =========================================================
   SADHIKA RESEARCH & PUBLICATIONS
   CONTACT US PAGE
========================================================= */


/* =========================================================
   GLOBAL CONTACT PAGE
========================================================= */

.contact-page {
    width: 100%;
    overflow: hidden;
    background: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    color: #102a43;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
    box-sizing: border-box;
}

.contact-page p {
    text-align: justify;
}


/* =========================================================
   HERO SECTION
========================================================= */

.contact-hero {
    position: relative;

    width: 100%;
    min-height: 300px;

    background-image:
        url("../images/hero/contact-banner.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

    overflow: hidden;
}


/* Dark blue overlay */

.contact-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 34, 63, 0.96) 0%,
            rgba(4, 34, 63, 0.78) 42%,
            rgba(4, 34, 63, 0.28) 72%,
            rgba(4, 34, 63, 0.05) 100%
        );

    z-index: 1;
}


/* Hero container */

.contact-hero-container {
    position: relative;

    width: 90%;
    max-width: 1400px;

    margin: 0 auto;

    z-index: 2;

    padding: 32px 0;
}


/* Breadcrumb */

.contact-breadcrumb {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 22px;

    font-size: 15px;

    color: #ffffff;
}

.contact-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.contact-breadcrumb a:hover {
    color: #d9a441;
}

.contact-breadcrumb span {
    color: #d9a441;
}


/* Hero content */

.contact-hero-content {
    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 180px;
}


/* Hero heading */

.contact-hero-text {
    max-width: 650px;
}

.contact-hero-text h1 {
    margin: 0 0 8px;

    font-size: clamp(48px, 5vw, 72px);

    line-height: 1.05;

    font-weight: 700;

    color: #ffffff;
}

.contact-hero-text p {
    margin: 0;

    max-width: 620px;

    font-size: 25px;

    line-height: 1.45;

    color: #ffffff;
}


/* =========================================================
   HERO SERVICES
========================================================= */

.contact-hero-services {
    width: 390px;

    padding-left: 32px;

    border-left: 2px solid #d9a441;
}

.hero-service-item {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 15px;

    color: #ffffff;

    font-size: 17px;
}

.hero-service-item:last-child {
    margin-bottom: 0;
}

.hero-service-icon {
    width: 32px;

    color: #f0bd3d;

    font-size: 25px;

    text-align: center;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.contact-main {
    width: 100%;

    padding: 28px 0 42px;
}

.contact-container {
    width: 94%;
    max-width: 1450px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        420px;

    gap: 30px;

    align-items: start;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.contact-section-heading {
    margin-bottom: 18px;
}

.contact-section-heading h2 {
    position: relative;

    display: inline-block;

    margin: 0;

    color: #102a43;

    font-size: 30px;

    line-height: 1.2;

    font-weight: 700;
}

.contact-section-heading span {
    display: block;

    width: 38px;
    height: 3px;

    margin-top: 7px;

    background: #d19a24;
}


/* =========================================================
   GET IN TOUCH
========================================================= */

.get-touch-section {
    margin-bottom: 32px;
}

.contact-info-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   CONTACT INFO CARD
========================================================= */

.contact-info-card {
    min-height: 200px;

    padding: 18px 14px;

    border: 1px solid #e4e0d8;

    background: #ffffff;

    text-align: center;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.contact-info-card:hover {
    transform: translateY(-7px);

    border-color: #d9a441;

    box-shadow:
        0 12px 28px rgba(16, 42, 67, 0.10);
}


/* Card icon */

.contact-card-icon {
    width: 52px;
    height: 52px;

    margin: 0 auto 10px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #102a43;

    color: #f0bd3d;

    font-size: 25px;
}


/* Card heading */

.contact-info-card h3 {
    margin: 0 0 8px;

    font-size: 19px;

    color: #102a43;
}


/* Card text */

.contact-info-card p {
    margin: 0 0 10px;

    font-size: 15px;

    line-height: 1.5;

    text-align: center;

    color: #102a43;
}

.contact-info-card small {
    display: block;

    font-size: 13px;

    line-height: 1.5;

    color: #4b5d6d;
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.contact-social-icons {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 9px;

    margin: 12px 0 12px;
}

.contact-social-icons a {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #102a43;

    color: #ffffff;

    text-decoration: none;

    font-family: Arial, sans-serif;

    font-size: 15px;

    font-weight: 700;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.contact-social-icons a:hover {
    background: #d19a24;

    transform: translateY(-3px);
}


/* =========================================================
   LOCATION SECTION
========================================================= */

.contact-location-section {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(300px, 0.8fr);

    gap: 28px;

    margin-top: 8px;
}


/* =========================================================
   MAP
========================================================= */

.map-wrapper {
    width: 100%;

    height: 330px;

    border: 1px solid #dedede;

    overflow: hidden;

    background: #f4f4f4;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;

    border: 0;

    display: block;
}


/* =========================================================
   OFFICE DETAILS
========================================================= */

.office-details-block {
    min-width: 0;
}

.office-detail-list {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.office-detail-item {
    display: flex;

    align-items: flex-start;

    gap: 16px;
}

.office-detail-icon {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #d19a24;

    color: #ffffff;

    font-size: 19px;
}

.office-detail-item strong {
    display: block;

    margin-bottom: 3px;

    color: #102a43;

    font-size: 16px;
}

.office-detail-item p {
    margin: 0;

    color: #263b4e;

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   FORM SIDEBAR
========================================================= */

.contact-form-sidebar {
    position: relative;
}

.contact-form-box {
    padding: 24px;

    border: 1px solid #e7e0d4;

    background: #fbfaf7;
}


/* Form heading */

.contact-form-box .contact-section-heading {
    margin-bottom: 12px;
}

.contact-form-box .contact-section-heading h2 {
    font-size: 30px;
}


/* Intro */

.contact-form-intro {
    margin: 0 0 18px;

    font-size: 16px;

    line-height: 1.5;

    color: #263b4e;
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    border: 1px solid #cfcfcf;

    outline: none;

    background: #ffffff;

    color: #102a43;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 14px;

    padding: 13px 14px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-form input,
.contact-form select {
    height: 42px;
}

.contact-form textarea {
    min-height: 145px;

    resize: vertical;

    line-height: 1.5;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #777777;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #d19a24;

    box-shadow:
        0 0 0 2px rgba(209, 154, 36, 0.12);
}


/* =========================================================
   FORM BUTTON
========================================================= */

.contact-form button {
    width: 100%;

    min-height: 46px;

    border: none;

    background: #f0bd3d;

    color: #102a43;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.contact-form button span {
    margin-left: 10px;

    font-size: 18px;
}

.contact-form button:hover {
    background: #d19a24;

    transform: translateY(-2px);
}


/* =========================================================
   MOTION
========================================================= */

.contact-reveal {
    animation:
        contactFadeUp 0.8s ease both;
}

@keyframes contactFadeUp {

    from {
        opacity: 0;

        transform:
            translateY(25px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* Hero animation */

.contact-hero-text {
    animation:
        contactHeroText 0.9s ease both;
}

.contact-hero-services {
    animation:
        contactHeroServices 1s ease both;
}

@keyframes contactHeroText {

    from {
        opacity: 0;

        transform:
            translateX(-35px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }
}

@keyframes contactHeroServices {

    from {
        opacity: 0;

        transform:
            translateX(35px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1400px) {

    .contact-container {
        max-width: 1450px;
    }

    .contact-hero-container {
        max-width: 1400px;
    }

}


/* =========================================================
   DESKTOP
========================================================= */

@media (max-width: 1200px) {

    .contact-container {
        width: 92%;

        grid-template-columns:
            minmax(0, 1fr)
            370px;
    }

    .contact-info-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .contact-hero-content {
        gap: 35px;
    }

    .contact-hero-services {
        width: 330px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .contact-hero {
        min-height: 390px;
    }

    .contact-hero-container {
        width: 92%;
    }

    .contact-hero-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    .contact-hero-services {
        width: 100%;

        padding-left: 20px;
    }

    .contact-container {
        width: 92%;

        grid-template-columns: 1fr;

        gap: 30px;
    }

    .contact-location-section {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .contact-form-sidebar {
        width: 100%;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact-hero {
        min-height: 480px;

        background-position:
            60% center;
    }

    .contact-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(4, 34, 63, 0.95),
                rgba(4, 34, 63, 0.72)
            );
    }

    .contact-hero-container {
        width: 90%;

        padding: 30px 0;
    }

    .contact-breadcrumb {
        margin-bottom: 18px;

        font-size: 13px;
    }

    .contact-hero-text h1 {
        font-size: 44px;
    }

    .contact-hero-text p {
        font-size: 19px;

        line-height: 1.45;
    }

    .contact-hero-services {
        padding-left: 15px;
    }

    .hero-service-item {
        font-size: 15px;

        gap: 12px;

        margin-bottom: 11px;
    }

    .hero-service-icon {
        font-size: 20px;
    }


    /* Main */

    .contact-main {
        padding: 25px 0 35px;
    }

    .contact-container {
        width: 92%;

        gap: 28px;
    }


    /* Heading */

    .contact-section-heading h2 {
        font-size: 27px;
    }


    /* Cards */

    .contact-info-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .contact-info-card {
        min-height: auto;

        padding: 20px 16px;
    }


    /* Location */

    .contact-location-section {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .map-wrapper {
        height: 280px;
    }


    /* Form */

    .contact-form-box {
        padding: 18px;
    }

    .contact-form-box .contact-section-heading h2 {
        font-size: 27px;
    }

    .contact-form input,
    .contact-form select {
        height: 44px;
    }

    .contact-form textarea {
        min-height: 140px;
    }


    /* Office */

    .office-detail-list {
        gap: 20px;
    }

    .office-detail-item {
        gap: 12px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .contact-hero-text h1 {
        font-size: 38px;
    }

    .contact-hero-text p {
        font-size: 17px;
    }

    .contact-section-heading h2 {
        font-size: 25px;
    }

    .contact-form-box {
        padding: 15px;
    }

}