/* =========================================================
   FilterPro UAE - Contact Page CSS
   File: css/contact.css
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {
    --primary: #0077b6;
    --primary-dark: #005f8f;
    --primary-light: #00a8e8;

    --secondary: #e9f7fc;
    --accent: #00b4d8;

    --whatsapp: #25d366;
    --whatsapp-dark: #1da851;

    --dark: #17324d;
    --text: #5b6b7a;
    --muted: #7b8a97;

    --white: #ffffff;
    --light: #f7fbfd;
    --border: #dceaf0;

    --shadow-sm: 0 5px 20px rgba(0, 70, 110, 0.07);
    --shadow-md: 0 10px 35px rgba(0, 70, 110, 0.12);
    --shadow-lg: 0 20px 55px rgba(0, 70, 110, 0.15);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --transition: all 0.3s ease;
}


/* =========================================================
   2. GLOBAL STYLES
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 15px;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
}


/* =========================================================
   3. TOPBAR
   ========================================================= */

.container-fluid > .row.bg-secondary {
    background: #eef8fc !important;
    border-bottom: 1px solid #e1f0f5;
    min-height: 42px;
}

.container-fluid > .row.bg-secondary a {
    color: var(--dark) !important;
    font-size: 13px;
    font-weight: 400;
}

.container-fluid > .row.bg-secondary a:hover {
    color: var(--primary) !important;
}

.container-fluid > .row.bg-secondary .text-muted {
    color: #9aaab5 !important;
}

.container-fluid > .row.bg-secondary .fab {
    font-size: 14px;
    transition: var(--transition);
}

.container-fluid > .row.bg-secondary a:hover .fab {
    color: var(--primary);
    transform: translateY(-2px);
}


/* =========================================================
   4. MAIN NAVIGATION
   ========================================================= */

.navbar {
    min-height: 85px;
    background: var(--white) !important;
    box-shadow: 0 2px 18px rgba(0, 80, 120, 0.06);
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    padding: 0;
    margin-right: 40px;
}

.navbar-brand img {
    width: 180px;
    height: 60px;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: var(--dark) !important;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 18px !important;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 2px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}


/* =========================================================
   5. WHATSAPP NAVIGATION LINK
   ========================================================= */

.navbar-nav .whatsapp-link {
    background: var(--whatsapp);
    color: var(--white) !important;
    border-radius: 50px;
    padding: 10px 18px !important;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.navbar-nav .whatsapp-link::after {
    display: none;
}

.navbar-nav .whatsapp-link:hover {
    background: var(--whatsapp-dark);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.navbar-nav .whatsapp-link i {
    font-size: 16px;
}


/* =========================================================
   6. MOBILE NAVIGATION
   ========================================================= */

.navbar-toggler {
    border: 1px solid var(--border);
    padding: 7px 10px;
    border-radius: 7px;
    outline: none !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
}


/* =========================================================
   7. CONTACT BREADCRUMB / HERO
   ========================================================= */

.contact-breadcrumb {
    position: relative;
    padding: 85px 0 80px;
    background:
        linear-gradient(
            135deg,
            rgba(0, 119, 182, 0.95),
            rgba(0, 180, 216, 0.88)
        ),
        url("../img/contact-bg.jpg") center center / cover no-repeat;
    overflow: hidden;
}

.contact-breadcrumb::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    top: -180px;
    right: -100px;
}

.contact-breadcrumb::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    bottom: -150px;
    left: -80px;
}

.contact-breadcrumb .container {
    position: relative;
    z-index: 2;
}

.contact-breadcrumb h1 {
    color: var(--white);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-breadcrumb nav {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.contact-breadcrumb nav a {
    color: var(--white);
    font-weight: 500;
}

.contact-breadcrumb nav a:hover {
    color: #d9f7ff;
}

.contact-breadcrumb nav span {
    margin: 0 8px;
}


/* =========================================================
   8. GENERAL SECTION SETTINGS
   ========================================================= */

.contact-section,
.contact-form-section,
.contact-products,
.contact-faq {
    padding: 85px 0;
}

.contact-section {
    background: var(--white);
}

.contact-form-section {
    background: var(--light);
}

.contact-products {
    background: #f0f9fc;
}

.contact-faq {
    background: var(--white);
}


/* =========================================================
   9. SECTION HEADINGS
   ========================================================= */

.contact-heading {
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-heading h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
}

.contact-heading h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    background: var(--primary);
    margin: 16px auto 0;
    border-radius: 10px;
}

.contact-heading p {
    color: var(--text);
    font-size: 15px;
    max-width: 720px;
    margin: 20px auto 0;
}


/* =========================================================
   10. CONTACT INFORMATION CARDS
   ========================================================= */

.contact-info-card {
    height: 100%;
    min-height: 225px;
    padding: 35px 25px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--accent)
    );
    transform: scaleX(0);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 119, 182, 0.18);
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}


/* =========================================================
   11. CONTACT ICONS
   ========================================================= */

.contact-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6f6fb;
    color: var(--primary);
    border-radius: 50%;
    font-size: 25px;
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
}

.contact-icon-whatsapp {
    background: #e9fbf0;
    color: var(--whatsapp);
}

.contact-info-card:hover .contact-icon-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}


/* =========================================================
   12. CONTACT CARD TYPOGRAPHY
   ========================================================= */

.contact-info-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info-card p {
    color: var(--text);
    font-size: 14px;
    margin: 0;
}

.contact-info-card a {
    color: var(--primary);
    font-weight: 500;
    word-break: break-word;
}

.contact-info-card a:hover {
    color: var(--primary-dark);
}


/* =========================================================
   13. CONTACT CONTENT
   ========================================================= */

.contact-content {
    padding-right: 30px;
}

.small-title {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.contact-content h2 {
    font-size: 34px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-content p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   14. SERVICE LIST
   ========================================================= */

.contact-service-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 30px;
}

.contact-service-list li {
    display: flex;
    align-items: center;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 13px;
}

.contact-service-list li i {
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    background: #e5f6fb;
    color: var(--primary);
    border-radius: 50%;
    font-size: 10px;
}
/* =========================================================
   15. WHATSAPP BUTTON
   ========================================================= */

.contact-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    background: var(--whatsapp);
    color: var(--white) !important;
    border-radius: 50px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 7px 20px rgba(37, 211, 102, 0.22);
    transition: var(--transition);
}

.contact-whatsapp-btn i {
    font-size: 19px;
    margin-right: 9px;
}

.contact-whatsapp-btn:hover {
    background: var(--whatsapp-dark);
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.3);
}


/* =========================================================
   16. CONTACT FORM BOX
   ========================================================= */

.contact-form-box {
    background: var(--white);
    padding: 42px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form-box h2 {
    color: var(--dark);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-form-box > p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 30px;
}


/* =========================================================
   17. FORM GROUPS
   ========================================================= */

.filterpro-contact-form .form-group {
    margin-bottom: 22px;
}

.filterpro-contact-form label {
    display: block;
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}


/* =========================================================
   18. FORM CONTROLS
   ========================================================= */

.filterpro-contact-form .form-control {
    height: 50px;
    padding: 10px 15px;
    border: 1px solid #d6e5eb;
    border-radius: 8px;
    background: #fbfdfe;
    color: var(--dark);
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    box-shadow: none;
    transition: var(--transition);
}

.filterpro-contact-form textarea.form-control {
    height: auto;
    min-height: 145px;
    resize: vertical;
    line-height: 1.7;
}

.filterpro-contact-form .form-control::placeholder {
    color: #a3b0b8;
    opacity: 1;
}

.filterpro-contact-form .form-control:hover {
    border-color: #b8d7e2;
    background: var(--white);
}

.filterpro-contact-form .form-control:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.09);
    outline: none;
}


/* =========================================================
   19. SELECT
   ========================================================= */

.filterpro-contact-form select.form-control {
    cursor: pointer;
    appearance: auto;
}

.filterpro-contact-form select.form-control option {
    color: var(--dark);
}


/* =========================================================
   20. SUBMIT BUTTON
   ========================================================= */

.contact-submit-btn {
    width: 100%;
    min-height: 52px;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );
    color: var(--white) !important;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 25px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.2);
    transition: var(--transition);
}

.contact-submit-btn i {
    margin-right: 8px;
}

.contact-submit-btn:hover {
    background: linear-gradient(
        135deg,
        var(--primary-dark),
        var(--primary)
    );
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 119, 182, 0.28);
}

.contact-submit-btn:active {
    transform: translateY(0);
}


/* =========================================================
   21. PRODUCT / SERVICE LINKS
   ========================================================= */

.service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 15px 20px;
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-link i {
    color: var(--primary);
    font-size: 13px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-link:hover i {
    color: var(--white);
    transform: translateX(5px);
}


/* =========================================================
   22. FAQ
   ========================================================= */

.contact-faq .container {
    max-width: 900px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 119, 182, 0.25);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    position: relative;
    padding-left: 30px;
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.faq-item h3::before {
    content: "?";
    position: absolute;
    left: 0;
    top: 0;
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.faq-item p {
    padding-left: 30px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
}


/* =========================================================
   23. FOOTER
   ========================================================= */

.contact-footer {
    background: #102c43;
    color: rgba(255, 255, 255, 0.7);
    padding: 25px 0;
    font-size: 13px;
}

.contact-footer p {
    margin: 0;
}

.contact-footer a {
    color: var(--white);
    font-weight: 500;
}

.contact-footer a:hover {
    color: #6edcff;
}

.contact-footer span {
    margin: 0 7px;
    color: rgba(255, 255, 255, 0.35);
}


/* =========================================================
   24. SELECTION COLOR
   ========================================================= */

::selection {
    background: var(--primary);
    color: var(--white);
}


/* =========================================================
   25. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #eef6f9;
}

::-webkit-scrollbar-thumb {
    background: #8fc9dc;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}


/* =========================================================
   26. FOCUS ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(0, 168, 232, 0.35);
    outline-offset: 2px;
}


/* =========================================================
   27. RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .navbar {
        min-height: 75px;
    }

    .navbar-brand {
        margin-right: 15px;
    }

    .navbar-nav {
        padding-top: 15px;
        padding-bottom: 10px;
    }

    .navbar-nav .nav-link {
        padding: 10px 5px !important;
    }

    .navbar-nav .nav-link::after {
        left: 5px;
        right: 5px;
    }

    .navbar-nav .whatsapp-link {
        display: inline-block;
        margin-top: 8px;
        padding: 10px 16px !important;
    }

    .contact-breadcrumb {
        padding: 65px 0;
    }

    .contact-breadcrumb h1 {
        font-size: 36px;
    }

    .contact-section,
    .contact-form-section,
    .contact-products,
    .contact-faq {
        padding: 70px 0;
    }

    .contact-content {
        padding-right: 0;
    }

    .contact-content h2 {
        font-size: 30px;
    }

    .contact-form-box {
        padding: 35px;
    }
}


/* =========================================================
   28. RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    body {
        font-size: 14px;
    }

    .container-fluid > .row.bg-secondary {
        display: none;
    }

    .navbar {
        min-height: 70px;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .navbar-brand img {
        width: 150px;
        height: auto;
    }

    .contact-breadcrumb {
        padding: 55px 0;
    }

    .contact-breadcrumb h1 {
        font-size: 30px;
    }

    .contact-breadcrumb nav {
        font-size: 13px;
    }

    .contact-section,
    .contact-form-section,
    .contact-products,
    .contact-faq {
        padding: 55px 0;
    }

    .contact-heading {
        margin-bottom: 35px;
    }

    .contact-heading h2 {
        font-size: 26px;
    }

    .contact-heading p {
        font-size: 14px;
    }

    .contact-info-card {
        min-height: auto;
        padding: 30px 20px;
    }

    .contact-content {
        margin-bottom: 15px;
    }

    .contact-content h2 {
        font-size: 27px;
    }

    .contact-form-box {
        padding: 25px 20px;
        border-radius: 14px;
    }

    .contact-form-box h2 {
        font-size: 24px;
    }

    .filterpro-contact-form .form-group {
        margin-bottom: 18px;
    }

    .service-link {
        min-height: 58px;
        font-size: 13px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-item h3 {
        font-size: 15px;
        padding-left: 28px;
    }

    .faq-item p {
        padding-left: 28px;
        font-size: 13px;
    }

    .contact-footer {
        text-align: center;
    }

    .contact-footer .text-md-right {
        text-align: center !important;
        margin-top: 10px;
    }
}


/* =========================================================
   29. RESPONSIVE - SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .navbar-brand img {
        width: 135px;
    }

    .contact-breadcrumb {
        padding: 45px 15px;
    }

    .contact-breadcrumb h1 {
        font-size: 26px;
    }

    .contact-section,
    .contact-form-section,
    .contact-products,
    .contact-faq {
        padding: 45px 0;
    }

    .contact-heading h2 {
        font-size: 23px;
    }

    .contact-content h2 {
        font-size: 24px;
    }

    .contact-form-box {
        padding: 22px 16px;
    }

    .contact-form-box h2 {
        font-size: 22px;
    }

    .contact-whatsapp-btn {
        width: 100%;
        font-size: 13px;
    }

    .contact-submit-btn {
        font-size: 13px;
    }

    .faq-item {
        padding: 18px 15px;
    }

    .faq-item h3 {
        font-size: 14px;
    }

    .faq-item p {
        font-size: 13px;
    }

    .contact-footer {
        font-size: 12px;
    }
}
/* =========================================================
   30. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
