﻿/*===========Main Layout=========*/

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}



/*===========Header==============*/


.hover\:text-\[\#fe982c\]:hover {
    color: #fe982c;
}

.bg-\[\#fe982c\] {
    background-color: #fe982c;
}

#menu-icon {
    font-size: 21px;
}

#mobile-services-icon {
    transition: transform 0.3s ease;
}

.rotate-icon {
    transform: rotate(180deg);
}


/* HEADER BASE */
header {
    position: fixed; /* always on top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent; /* default transparent */
    transition: all 0.3s ease;
}

    header.scrolled {
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
    }

        /* OPTIONAL: smooth text contrast */
        header.scrolled .nav-item a,
        header.scrolled button {
            color: #fff;
        }

/* ============================= */
/* HEADER BORDER LINE BASE STYLE */
/* ============================= */

.header-border-line {
    border-bottom: 1px solid rgba(255,255,255,0.4);
    transition: border 0.3s ease;
}

/* Remove border when scrolled */
header.scrolled .header-border-line {
    border-bottom: none;
}

/* ============================= */
/* DESKTOP VIEW (1100px+) */
/* ============================= */

@media (min-width: 1100px) {
    .header-border-line {
        position: relative;
        border-bottom: 1px solid rgba(255,255,255,0.8);
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* +10px improved spacing */
        padding: 15px 10px;
        overflow: visible;
    }
    /* NAV ITEM SPACING (+10px increased) */
    .nav-item {
        position: relative;
        padding: 20px 22px; /* increased spacing */
        display: flex;
        align-items: center;
    }
}

/* ============================= */
/* ACTIVE + HOVER UNDERLINE */
/* ============================= */

.nav-item.active::after,
.nav-item:hover::after {
    content: "";
    position: absolute;
    bottom: -25px;
    width: 60%;
    height: 3px;
    background: #fe982c;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}

.btn-gradient {
    background: linear-gradient(0deg, rgba(207, 117, 21, 1) 0%, rgba(254, 152, 44, 1) 100%);
    color: white;
    font-weight: 700;
}



/*========== Start Footer===========*/

/* ================= ROOT ================= */
.contact-footer-section {
    background: #1c1f2a;
    padding-top: 120px;
    margin-top: 300px;
}

    .contact-footer-section .container,
    .footer-bottom .container {
        max-width: 1200px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 12px;
        padding-right: 12px;
    }

/* ================= FLOATING CARD ================= */
.contact-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid #fe982c;
    margin-top: -400px;
    position: relative;
    z-index: 5;
    margin-bottom: -140px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ================= FORM ================= */
.form-area h2 {
    font-size: 28px;
}

.form-control {
    border: 1px solid #e5e5e5;
    padding: 10px;
    font-size: 14px;
}

textarea {
    resize: none;
}

.send-btn {
    width: 100%;
    padding: 12px;
    border-radius: 30px;
    border: 1px solid #333;
    background: transparent;
    transition: 0.3s;
}

    .send-btn:hover {
        background: #fe982c;
        border-color: #fe982c;
        color: #fff;
    }

/* ================= IMAGE ================= */
.image-area img {
    margin: 10px 0 10px -10px;
    border-radius: 20px;
    width: 100%;
    height: 96%;
    object-fit: cover;
}

/* =========== Footer ========== */

.review-star-img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    flex-shrink: 0;
}


.main-footer {
    margin-top: 200px;
    background-color: #1a1e26;
    color: #ffffff;
    font-family: sans-serif;
}

/* The Left Contact Card */
.footer-contact-card {
    border: 1px solid #3a3f4b;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    width: 90%;
}

/* Icon Circles */
.contact-icon-circle {
    background: linear-gradient(135deg, #ff8c00, #ff5e00);
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.badge-round,
.social-circle {
    width: 35px;
    height: 35px;
    border: 1px solid #3a3f4b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

    .social-circle:hover {
        background: #ff8c00;
        color: white;
        border-color: #ff8c00;
    }

/* Link Lists */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        color: #a0a0a0;
        font-size: 14px;
        margin-bottom: 12px;
        cursor: pointer;
        transition: 0.2s;
    }

        .footer-links li:hover {
            color: #ff8c00;
        }

/* Bottom Bar Styling */
.footer-bottom-bar {
    background-color: #ff8c00;
    color: #000;
    border-radius: 20px 20px 0 0;
}

.bottom-links span {
    cursor: pointer;
    margin: 0 5px;
}

/* Typography adjustment */
h6 {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.text-secondary {
    color: #a0a0a0 !important;
}

/* Toast */
.ltoast,
.toast {
    position: fixed;
    right: 20px;
    min-width: 250px;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 16px;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ltoast {
    bottom: 20px;
    z-index: 9999;
}

.toast {
    bottom: 70px;
    z-index: 10000;
}

    .ltoast.show,
    .toast.show {
        opacity: 1;
        transform: translateX(0);
    }

.ltoast-success,
.toast-success {
    background: #28a745;
}

.ltoast-error,
.toast-error {
    background: #dc3545;
}

.badge-round {
    width: 60px;
    height: 60px;
}

.badge-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ================= TABLET ================= */
@media (max-width: 991px) {
    .contact-footer-section {
        margin-top: 180px;
        padding-top: 80px;
    }

    .contact-card {
        margin-top: -220px;
        margin-bottom: -80px;
        border-radius: 16px;
    }

    .main-footer {
        margin-top: 130px;
    }

    .footer-contact-card {
        width: 100%;
        padding: 30px 24px;
    }

    .image-area img {
        margin: 0;
        height: 360px;
        border-radius: 0 0 18px 18px;
    }

    .form-area h2 {
        font-size: 24px;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 767px) {
    .contact-footer-section {
        margin-top: 80px;
        padding-top: 40px;
    }

    .contact-card {
        margin-top: 0;
        margin-bottom: 40px;
        border-radius: 14px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    }

    .form-area {
        padding: 24px 18px !important;
    }

        .form-area h2 {
            font-size: 22px;
            line-height: 1.3;
        }

    .form-control {
        font-size: 13px;
        padding: 11px 12px;
    }

    .send-btn {
        padding: 11px;
        font-size: 14px;
    }

    .image-area {
        display: none;
    }

    .main-footer {
        margin-top: 0;
        padding-top: 40px;
    }

    .footer-contact-card {
        width: 100%;
        padding: 24px 18px;
        border-radius: 16px;
    }

    .contact-icon-circle {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 18px;
    }

    .footer-links li {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .social-circle {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .badge-round {
        width: 48px;
        height: 48px;
    }

    .badge-icon {
        width: 24px;
        height: 24px;
    }

    .footer-bottom-bar {
        border-radius: 16px 16px 0 0;
        text-align: center;
        padding: 16px 12px !important;
    }

    .bottom-links {
        margin-top: 8px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

        .bottom-links span {
            font-size: 13px;
            margin: 0;
        }

    .ltoast,
    .toast {
        left: 12px;
        right: 12px;
        bottom: 16px;
        min-width: auto;
        width: auto;
        font-size: 14px;
        transform: translateY(120%);
    }

    .toast {
        bottom: 72px;
    }

        .ltoast.show,
        .toast.show {
            transform: translateY(0);
        }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 420px) {
    .contact-footer-section .container,
    .footer-bottom .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .form-area {
        padding: 22px 14px !important;
    }

    .footer-contact-card {
        padding: 22px 14px;
    }

    .form-area h2 {
        font-size: 20px;
    }

    .footer-bottom-bar {
        font-size: 13px;
    }
}
