/* Contact Custom Styles */
:root {
    --thm-blue: #3d7bf8;
    /* New Blue Accent */
    --thm-dark-bg: #000000;
    --thm-card-bg: #0b0b0b;
}

body {
    background-color: var(--thm-dark-bg);
}

.page-wrapper {
    background-color: var(--thm-dark-bg);
}

/* Page Header Customization */
.contact-page-header {
    background-color: var(--thm-dark-bg);
}

.contact-page-header .sec-title__title {
    color: #ffffff;
}

.contact-page-header .sec-title__tagline .border-box {
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-page-header .sec-title__tagline p {
    color: var(--thm-blue) !important;
}

/* Contact Cards */
.contact-details-card {
    background-color: var(--thm-card-bg);
    padding: 50px 40px;
    border-radius: 30px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-details-list {
    margin-top: 40px;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    position: relative;
}

.contact-details-list li:last-child {
    margin-bottom: 0;
}

.contact-details-list li .icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(61, 123, 248, 0.1);
    border-radius: 18px;
    /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    color: var(--thm-blue);
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-details-list li:hover .icon-box {
    background-color: var(--thm-blue);
    color: #fff;
    box-shadow: 0 10px 20px rgba(61, 123, 248, 0.4);
    transform: translateY(-5px);
}

.contact-details-list li .text-box p {
    font-size: 13px;
    color: #8fa1b3;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.contact-details-list li .text-box h3 {
    font-size: 18px;
    color: #fff;
    line-height: 1.4em;
    font-weight: 600;
    word-break: break-word;
    /* prevent overflow */
}

.contact-details-list li .text-box h3 a {
    color: #fff;
    transition: all 0.3s ease;
}

.contact-details-list li .text-box h3 a:hover {
    color: var(--thm-blue);
}

/* Form Styles Override */
.contact-one__form {
    background-color: var(--thm-card-bg);
    padding: 50px 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-one__form .input-box {
    margin-bottom: 20px;
}

.contact-one__form .input-box input,
.contact-one__form .input-box textarea {
    background-color: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    color: #fff;
    padding: 0 25px;
    height: 65px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 15px;
    font-family: inherit;
}

.contact-one__form .input-box textarea {
    height: 180px;
    padding-top: 25px;
    resize: none;
}

.contact-one__form .input-box input:focus,
.contact-one__form .input-box textarea:focus {
    border-color: var(--thm-blue);
    background-color: #1a1a1a;
    outline: none;
    box-shadow: 0 0 0 4px rgba(61, 123, 248, 0.1);
}

.contact-one__form .contact-one__form-btn .thm-btn {
    background-image: linear-gradient(135deg, var(--thm-blue) 0%, #2a6df5 100%);
    background-color: var(--thm-blue);
    color: #fff;
    border-radius: 50px;
    padding: 18px 50px;
    border: none;
    margin-top: 10px;
    font-size: 16px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    font-weight: 600;
    box-shadow: 0 15px 30px rgba(61, 123, 248, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Remove the old complex border lines */
.contact-one__form .thm-btn:before,
.contact-one__form .thm-btn:after,
.contact-one__form .thm-btn .bdrl,
.contact-one__form .thm-btn .bdrr {
    display: none;
}

.contact-one__form .contact-one__form-btn .thm-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(61, 123, 248, 0.6);
    color: #fff;
}

/* Map Style */
.contact-page-google-map {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-page-google-map iframe {
    filter: invert(90%) hue-rotate(180deg) contrast(90%);
}