/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", Arial, sans-serif;
    background: #f5f9ff;
    color: #10233f;
}


a {
    text-decoration: none;
}


button,
input,
textarea,
select {
    font-family: inherit;
}



/* =========================================================
   HERO SECTION
========================================================= */

.hero-section {

    position: relative;

    width: 100%;

    min-height: 300px;

    display: flex;

    align-items: center;

    overflow: hidden;
}


.contact-bg {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-image:
        url("/assets/contact-us-bg-image.webp");

    background-size: cover;

    background-position: center right;

    background-repeat: no-repeat;

    transform: scale(1.02);

    z-index: 0;
}


.contact-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(4, 17, 35, 0.97) 0%,
            rgba(4, 17, 35, 0.91) 30%,
            rgba(4, 17, 35, 0.70) 50%,
            rgba(4, 17, 35, 0.35) 72%,
            rgba(4, 17, 35, 0.08) 100%
        );
}


.hero-container {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1250px;

    margin: auto;

    padding: 80px 40px;
}


.hero-content {

    width: 55%;

    max-width: 680px;
}


.hero-label {

    display: inline-flex;

    align-items: center;

    padding: 8px 18px;

    margin-bottom: 22px;

    border: 1px solid rgba(255,255,255,0.35);

    border-radius: 50px;

    background: rgba(255,255,255,0.07);

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.hero-content h1 {

    margin-bottom: 22px;

    font-family: roboto;

    color: #ffffff;

    font-size: 48px;

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -1.5px;
}


.hero-content h1 span {

    display: block;

    color: #54a9ff;
}


.hero-content p {

    max-width: 640px;

    margin-bottom: 32px;

    color: rgba(255,255,255,0.85);

    font-size: 16px;
font-family: poppins;
    line-height: 1.8;
}


.hero-content p strong {

    color: #ffffff;

    font-weight: 600;
}


.hero-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    min-width: 210px;

    padding: 15px 25px;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #1475df,
            #3f9cff
        );

    color: #ffffff;

    font-size: 15px;
    font-family: roboto;

    font-weight: 700;

    transition: 0.3s ease;
}


.hero-btn:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(20,117,223,0.35);
}


.hero-btn i {

    transition: 0.3s ease;
}


.hero-btn:hover i {

    transform: translateX(5px);
}



/* =========================================================
   MAIN CONTACT SECTION
========================================================= */

.contact-main {

    width: 100%;

    padding: 20px 25px 20px;

    background:
        linear-gradient(
            180deg,
            #f5f9ff 0%,
            #eef5fd 100%
        );
}


.contact-container {

    width: 100%;

    max-width: 1180px;

    margin: auto;

    display: grid;

    grid-template-columns:
        0.85fr
        1.15fr;

    gap: 60px;

    align-items: center;
}



/* =========================================================
   LEFT CONTACT INFORMATION
========================================================= */

.contact-info {

    padding: 10px 0;
}


.contact-tag {

    display: inline-block;

    margin-bottom: 14px;

    color: #1475df;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.contact-info h2 {

    margin-bottom: 16px;


    color: #10233f;

    font-size: 36px;

    line-height: 1.15;

    font-weight: 700;
}


.contact-info h2 span {

    display: block;

    color: #1475df;
}


.title-line {

    width: 45px;

    height: 4px;

    margin-bottom: 23px;

    border-radius: 10px;

    background: #1475df;
}


.contact-info h3 {

    margin-bottom: 10px;

    color: #102f52;

    font-size: 24px;
  

    font-weight: 700;
}


.intro-text {

    max-width: 500px;

    margin-bottom: 30px;

    color: #64748b;

    font-size: 14px;
    font-family: poppins;

    line-height: 1.8;
}



/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {

    width: 100%;

    border-top: 1px solid #d9e4ef;
}


.contact-item {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px 0;

    border-bottom: 1px solid #d9e4ef;
}


.address-item {

    align-items: flex-start;
}


.contact-icon {

    width: 42px;

    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    background: #e4f0ff;

    color: #1475df;

    font-size: 16px;

    transition: 0.3s ease;
}


.contact-item:hover .contact-icon {

    background: #1475df;

    color: #ffffff;

    transform: translateY(-2px);
}


.contact-item-content h4 {

    margin-bottom: 4px;

    color: #18385e;

    font-size: 13px;

    font-weight: 700;
}


.contact-item-content p {

    color: #64748b;

    font-size: 15px;

    line-height: 1.6;
}



/* =========================================================
   SOCIAL LINKS
========================================================= */

.social-links {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;
}


.social-links a {

    width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #d5e3f1;

    border-radius: 50%;

    background: #ffffff;

    color: #1475df;

    font-size: 14px;

    transition: 0.3s ease;
}


.social-links a:hover {

    background: #1475df;

    color: #ffffff;

    border-color: #1475df;

    transform: translateY(-4px);

    box-shadow:
        0 8px 18px rgba(20,117,223,0.2);
}



/* =========================================================
   FORM CARD
========================================================= */

.contact-form-wrapper {

    position: relative;

    width: 100%;

    padding: 38px 38px 35px;

    border: 1px solid #dfe8f2;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 20px 55px rgba(24,65,105,0.10);

    overflow: hidden;
}


.contact-form-wrapper::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            #1475df,
            #54a9ff,
            #1475df
        );
}



/* =========================================================
   FORM HEADER
========================================================= */

.form-header {

    margin-bottom: 27px;
}


.form-header > span {

    display: inline-block;

    margin-bottom: 8px;

    color: #1475df;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.7px;
}


.form-header h2 {

    margin-bottom: 8px;

    font-family: "Poppins", Arial, sans-serif;

    color: #10233f;

    font-size: 36px;

    line-height: 1.25;

    font-weight: 700;
}


.form-header h2 span {

    color: #1475df;
}


.form-header p {

    max-width: 600px;

    color: #64748b;

    font-size: 16px;
    font-family: poppins;

    line-height: 1.7;
}



/* =========================================================
   FORM ROW
========================================================= */

.form-row {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 16px;

    margin-bottom: 16px;
}


.form-group {

    width: 100%;

    margin-bottom: 16px;
}


.form-group label {

    display: block;

    margin-bottom: 7px;

    color: #17385e;

    font-size: 14px;

    font-weight: 700;
}


.form-group label span {

    color: #e53935;
}



/* =========================================================
   INPUTS
========================================================= */

.form-group input,
.form-group textarea,
.form-group select {

    width: 100%;

    border: 1px solid #d5e1ed;

    border-radius: 7px;

    outline: none;

    background: #fbfdff;

    color: #17385e;

    font-size: 14px;

    transition: 0.25s ease;
}


.form-group input,
.form-group select {

    height: 42px;

    padding: 0 12px;
}


.form-group textarea {

    min-height: 108px;

    padding: 12px;

    resize: vertical;
}


.form-group input::placeholder,
.form-group textarea::placeholder {

    color: #9aaabd;
}


.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {

    border-color: #1475df;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(20,117,223,0.08);
}



/* =========================================================
   PHONE INPUT
========================================================= */

.phone-input {

    width: 100%;

    height: 42px;

    display: flex;

    align-items: center;

    padding-left: 12px;

    border: 1px solid #d5e1ed;

    border-radius: 7px;

    background: #fbfdff;

    transition: 0.25s ease;
}


.phone-input i {

    margin-right: 9px;

    color: #1475df;

    font-size: 12px;
}


.phone-input input {

    width: 100%;

    height: 100%;

    padding: 0;

    border: none !important;

    outline: none;

    background: transparent;

    box-shadow: none !important;
}


.phone-input:focus-within {

    border-color: #1475df;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(20,117,223,0.08);
}



/* =========================================================
   SELECT
========================================================= */

.select-wrapper {

    position: relative;

    width: 100%;
}


.select-wrapper select {

    appearance: auto;

    cursor: pointer;
}



/* =========================================================
   FULL WIDTH
========================================================= */

.full-width {

    width: 100%;
}



/* =========================================================
   SEND BUTTON
========================================================= */

.send-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-width: 145px;

    padding: 12px 20px;

    border: none;

    border-radius: 7px;

    background:
        linear-gradient(
            135deg,
            #1475df,
            #237fe8
        );

    color: #ffffff;

    cursor: pointer;

    font-size: 15px;

    font-weight: 700;

    transition: 0.3s ease;
}


.send-btn:hover {

    transform: translateY(-2px);

    background: #0d5eb9;

    box-shadow:
        0 9px 22px rgba(20,117,223,0.25);
}


.send-btn i {

    transition: 0.3s ease;
}


.send-btn:hover i {

    transform: translateX(5px);
}


.send-btn:disabled {

    opacity: 0.7;

    cursor: not-allowed;

    transform: none;
}



/* =========================================================
   LOADER
========================================================= */

.loader {

    display: none;

    width: 15px;

    height: 15px;

    border: 2px solid rgba(255,255,255,0.4);

    border-top-color: #ffffff;

    border-radius: 50%;

    animation: spin 0.8s linear infinite;
}


@keyframes spin {

    to {

        transform: rotate(360deg);

    }

}



/* =========================================================
   POPUP OVERLAY
========================================================= */

.popup-overlay {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(5,20,40,0.65);

    z-index: 999999;

    opacity: 0;

    transition: 0.3s ease;
}


.popup-overlay.active {

    display: flex;

    opacity: 1;
}



/* =========================================================
   POPUP BOX
========================================================= */

.popup-box {

    width: 100%;

    max-width: 400px;

    padding: 38px 30px;

    border-radius: 18px;

    background: #ffffff;

    text-align: center;

    box-shadow:
        0 25px 70px rgba(0,0,0,0.25);

    animation:
        popupAnimation 0.3s ease;
}


@keyframes popupAnimation {

    from {

        opacity: 0;

        transform: scale(0.85);

    }

    to {

        opacity: 1;

        transform: scale(1);

    }

}


.popup-icon {

    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: #e8f8ee;

    color: #1d9b52;

    font-size: 28px;
}


.popup-box h2 {

    margin-bottom: 9px;

    color: #10233f;

    font-family: "Poppins", Arial, sans-serif;

    font-size: 25px;
}


.popup-box p {

    margin-bottom: 23px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.6;
}


#popupClose {

    padding: 11px 32px;

    border: none;

    border-radius: 7px;

    background: #1475df;

    color: #ffffff;

    cursor: pointer;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s ease;
}


#popupClose:hover {

    background: #0d5eb9;
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .hero-content {

        width: 70%;

    }


    .contact-container {

        grid-template-columns: 1fr;

        max-width: 760px;

        gap: 45px;

    }


    .contact-info {

        text-align: center;

    }


    .intro-text {

        margin-left: auto;

        margin-right: auto;

    }


    .contact-details {

        text-align: left;

    }


    .social-links {

        justify-content: center;

    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .hero-section {

        min-height: 550px;

    }


    .contact-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(4,17,35,0.96),
                rgba(4,17,35,0.90)
            );

    }


    .hero-container {

        padding: 60px 22px;

    }


    .hero-content {

        width: 100%;

    }


    .hero-content h1 {

        font-size: 40px;

    }


    .hero-content p {

        font-size: 14px;

    }


    .contact-main {

        padding: 55px 15px 70px;

    }


    .contact-container {

        gap: 35px;

    }


    .contact-info h2 {

        font-size: 33px;

    }


    .contact-form-wrapper {

        padding: 28px 20px;

        border-radius: 15px;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .form-header h2 {

        font-size: 25px;

    }


    .send-btn {

        width: 100%;

    }


    .popup-box {

        max-width: 350px;

        padding: 32px 20px;

    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .hero-content h1 {

        font-size: 34px;

    }


    .contact-info h2 {

        font-size: 29px;

    }


    .form-header h2 {

        font-size: 23px;

    }

}