@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: sans-serif, Poppins;
    scroll-behavior: smooth;
}

/* Remove list dots globally */
ul,
ol {
    list-style: none;
}

ul li {
    list-style: none;
}

.banner {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    background-image: radial-gradient(circle, #171424, black);
}

.navbar {
    width: 90%;
    margin: 20px auto;
    border-radius: 40px;
    backdrop-filter: blur(15px);
    background-image: radial-gradient(circle, #171424, black);
    position: relative;
    z-index: 9999;
    padding: 3px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 150px;
    cursor: pointer;
}

/* Hide mobile quote button by default (desktop) */
.mobile-quote-btn {
    display: none !important;
}

.navbar ul li {
    list-style: none;
    display: inline-block;
    margin: 20px 20px;
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
}

.navbar ul li::after {
    content: "";
    height: 3px;
    width: 0;
    background: #eb595f;
    position: absolute;
    left: 0;
    bottom: -10px;
    transition: 0.5s;
}

.navbar ul li:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.95);
    min-width: 180px;
    padding: 8px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.3), 0px 2px 8px rgba(235, 89, 95, 0.2);
    z-index: 1000;
    border: 2px solid #eb595f;
    border-radius: 0 20px 20px 20px;
    top: 36px;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.dropdown-content a {
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #eb595f;
    color: white;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.contentindex {
    width: 100%;
    position: absolute;
    top: 50%;
    z-index: -1;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    margin-left: 80px;
}

.content {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
}

.contentindex h1,
.content h1 {
    font-size: 70px;
}

.contentindex p,
.content p {
    margin: 20px unset;
    font-weight: 100;
    line-height: 25px;
    font-size: 20px;
    width: 45%;
}

.btn_hd {
    font-size: 17px;
    width: 150px;
    padding: 5px 0;
    text-align: center;
    margin: 6px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #eb595f;
    background: transparent;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn_sp {
    font-size: 17px;
    width: 200px;
    padding: 12px 0;
    text-align: center;
    margin-top: 20px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #eb595f;
    background: transparent;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btnn {
    background: #eb595f;
    width: 0;
    height: 100%;
    border-radius: 25px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    transition: 0.5s;
}

.getq_btn {
    margin-right: 40px;
}

button:hover span {
    width: 100%;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #eb595f;
    border-radius: 15px;
}

body {
    overflow: overlay;
}

.up {
    background: #eb595f;
    position: fixed;
    bottom: 25px;
    right: 20px;
    z-index: 1;
    padding: 10px 10px 10px 10px;
    height: 50px;
    width: 50px;
    border-radius: 100%;
    text-align: center;
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: .5s;
}

.up.active {
    visibility: visible;
    opacity: 1;
}

.up i {
    color: #ffffff;
    font-size: 50px;
}

/* BETWEEN */
.rd {
    color: #eb595f;
    transition: .5s;
    cursor: pointer;
}

.rd:hover {
    transform: translateX(3%);
}

/* LAST */
.last {
    position: relative;
    background-image: url('../source/bk.jpg');
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    background-size: cover;
    height: 400px;
}

.last div {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.last div h1 {
    font-size: 35px;
}

.last div button {
    font-size: 25px;
    color: black;
    transition: .5s;
}

.last div button {
    font-size: 25px;
    width: 200px;
    padding: 4px 0;
    text-align: center;
    margin: 20px 10px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #eb595f;
    background: transparent;
    color: black;
    cursor: pointer;
    position: relative;
}

.last div button:hover {
    background-color: #eb595f;
    color: white;
}

/* FOOTER */
.ftr-m {
    color: #f3f3f3;
    padding: 30px 30px 0 30px;
    background-image: radial-gradient(circle, #171424, black);
    align-items: center;
    justify-content: space-between;
}

.ftr-t {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 20px 0;
    border-bottom: 2px solid #ffffff;
    margin: 0 0 20px 0;
}

.ftr-t img {
    width: 160px;
    max-width: 100%;
    height: auto;
}

.ftr-t ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.ftr-t ul li {
    display: flex;
    align-items: center;
}

.ftr-t ul li a {
    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.ftr-t ul li a:hover {
    transform: translateY(-3px);
}

.ftr-t ul li a i {
    font-size: 32px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.ftr-t ul li a i:hover {
    color: #eb595f;
    transform: scale(1.1);
}

.ftr-d {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 0 0 20px 0;
    border-bottom: 2px solid #f4f4f4;
}

.ftr-d div {
    width: 250px;
}

.ftr-d div h3 {
    color: #eb595f;

    margin: 0 0 10px 0;
}

.ftr-d div ul {
    line-height: 30px;
}

.ftr-d div a {
    text-decoration: none;
    color: white;
}

.ftr-d div a:hover {
    color: #eb595f;
}

.ftr-b {
    position: relative;
    padding: 15px 0 12px 0;
    width: 100%;
    text-align: center;
}

.ftr-b h2 {
    position: absolute;
    top: 3px;
    color: #41303e;
    transition: 2s;
    cursor: default;
    font-size: 30px;
    left: 0px;
}

.ftr-b h2:hover {
    left: 20px;
    color: #eb595f;
}



/* ========================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ======================================== */

/* Responsive navbar for screens below 1180px */
/* Desktop navbar - above 1179px */
@media screen and (min-width: 1180px) {
    .mobile-quote-btn {
        display: none !important;
        /* Hide mobile GET QUOTE button on desktop */
    }

    .navbar ul li.mobile-quote-btn {
        display: none !important;
        /* Extra specificity to hide mobile button */
    }

    .btn_hd {
        display: inline-block;
        /* Show desktop GET QUOTE button */
    }

    .mobile-menu-toggle {
        display: none !important;
        /* Hide hamburger on desktop */
    }

    .navbar ul {
        display: flex !important;
        /* Show normal navbar on desktop */
        position: static;
        background: none;
        border: none;
        padding: 0;
        margin: 0;
        flex-direction: row;
        width: auto;
        box-shadow: none;
        backdrop-filter: none;
    }

    .navbar ul li {
        margin: 0 15px;
        width: auto;
    }

    .navbar ul li a {
        font-size: 16px;
        margin: 0;
        border-radius: 0;
    }
}

@media screen and (max-width: 1179px) {
    .navbar {
        width: 95%;
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
    }

    .navbar ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        text-align: center;
        background-image: radial-gradient(circle, #171424, black);
        border-radius: 0 0 20px 20px;
        padding: 20px 0px;
        margin-top: 0;
        backdrop-filter: blur(15px);
        border: 2px solid rgba(235, 89, 95, 0.3);
        border-radius: 0 0 20px 20px;
        border-top: none;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .navbar ul.show {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .navbar ul li {
        margin: 0;
        width: 100%;
        list-style: none !important;
    }

    .navbar ul li a {
        display: block;
        padding: 12px 8px;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 0;
        text-decoration: none;
        color: white;
        text-transform: uppercase;
    }

    .navbar ul li::after {
        display: none;
        /* Remove desktop underline effect */
    }

    .navbar ul li a:hover {
        background: rgba(235, 89, 95, 0.1);
        color: #eb595f;
    }

    .logo {
        width: 130px;
    }

    .btn_hd {
        display: none;
        /* Hide desktop GET QUOTE button on mobile */
    }

    /* Style for GET QUOTE button inside mobile menu */
    .mobile-quote-btn {
        display: block !important;
        /* Show mobile button in mobile view */
        grid-column: span 3;
        /* Take full width */
        margin-top: 10px;
    }

    .mobile-quote-btn .quote-link {
        background: #eb595f !important;
        color: white !important;
        margin: 0 30px !important;
        font-weight: 600 !important;
        padding: 14px 20px !important;
        border-radius: 10px !important;
        font-size: 15px !important;
    }

    .mobile-quote-btn .quote-link:hover {
        background: #ff6b70 !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(235, 89, 95, 0.4);
    }

    /* Mobile menu toggle - show on responsive */
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        padding: 5px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        color: #eb595f;
        transform: scale(1.1);
    }

    /* Responsive dropdown for mobile - reduced height */
    .dropdown-content {
        position: static !important;
        display: none !important;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 6px;
        background: rgba(235, 89, 95, 0.15) !important;
        border-radius: 10px !important;
        padding: 8px !important;
        /* Reduced from 15px */
        margin: 5px 20px !important;
        /* Reduced from 10px */
        border: 1px solid rgba(235, 89, 95, 0.3) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    }

    /* Show dropdown only when dropdown is clicked/hovered on mobile */
    .dropdown:hover .dropdown-content,
    .dropdown.active .dropdown-content {
        display: grid !important;
    }

    .dropdown-content a {
        padding: 6px 10px !important;
        /* Reduced from 8px 12px */
        margin: 0 !important;
        border-radius: 6px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        font-size: 12px !important;
        /* Reduced from 13px */
        text-align: center;
        transition: all 0.3s ease;
    }

    .dropdown-content a:hover {
        background: #eb595f !important;
        transform: translateY(-1px);
        /* Reduced movement */
        box-shadow: 0 2px 8px rgba(235, 89, 95, 0.3);
        /* Reduced shadow */
    }


    .contentindex {
        display: flex;
        top: 30%;
        left: unset;
        text-align: center;
        color: white;
        margin-left: 0;
        flex-direction: column;
        align-items: center;

    }

    .house{
        right: 36% !important;
        top: 50% !important;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1124px) {
    .navbar {
        width: 95%;
        padding: 5px 15px;
        align-items: center;
        gap: 10px;
    }

    .navbar ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        text-align: center;
        background: rgba(0, 0, 0, 0.95);
        border-radius: 0 0 20px 20px;
        padding: 20px 15px;
        margin-top: 0;
        backdrop-filter: blur(15px);
        border: 2px solid rgba(235, 89, 95, 0.3);
        border-top: none;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }

    .navbar ul.show {
        display: grid !important;
    }

    .navbar ul li {
        margin: 10px 15px;
    }

    .logo {
        width: 140px;
    }

    .btn_hd {
        padding: 8px 20px;
        font-size: 14px;
    }

    /* Dropdown adjustments */
    .dropdown-content {
        display: flex;
        flex-wrap: wrap;
        background: rgba(0, 0, 0, 0.9);
        border-radius: 10px;
        padding: 10px;
        margin-top: 10px;
    }

    .dropdown-content a {
        padding: 5px 10px;
        margin: 2px;
        border-radius: 5px;
        background: rgba(235, 89, 95, 0.1);
    }
}

/* Tablet Styles (768px - 1024px) */
@media screen and (max-width: 1024px) {



    /* Footer adjustments */
    .ftr-m {
        padding: 20px;
    }    .ftr-t {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding: 20px 0;
    }    .ftr-t img {
        width: 150px;
        max-width: 80%;
    }

    .ftr-t ul {
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }    .ftr-t ul li a i {
        font-size: 28px;
    }

    .ftr-s {
        width: 100%;
        text-align: center;
    }

    .ftr-d {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .ftr-d div {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Mobile Styles (320px - 768px) */
@media screen and (max-width: 768px) {
    .banner {
        min-height: 300px;
    }

    .navbar {
        width: 95%;
        padding: 10px;
        border-radius: 20px;
    }

    .navbar ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        text-align: center;
        background: rgba(0, 0, 0, 0.95);
        border-radius: 0 0 20px 20px;
        padding: 20px 15px;
        margin-top: 0;
        backdrop-filter: blur(15px);
        border: 2px solid rgba(235, 89, 95, 0.3);
        border-top: none;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }

    .navbar ul.show {
        display: grid !important;
    }

    .navbar ul li {
        margin: 8px 0;
        width: 100%;
    }

    .navbar ul li a {
        display: block;
        padding: 10px;
        font-size: 16px;
    }

    .logo {
        width: 120px;
    }

    .btn_hd {
        padding: 8px 16px;
        font-size: 12px;
        margin-left: 10px;
    }

    /* Mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        padding: 5px;
    }

    /* Dropdown for mobile */
    .dropdown-content {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
        background: rgba(235, 89, 95, 0.1);
        border-radius: 10px;
        padding: 10px;
        margin: 10px 0;
    }

    .dropdown-content a {
        padding: 8px;
        text-align: center;
        border-radius: 5px;
        background: rgba(235, 89, 95, 0.2);
        font-size: 14px;
    }

    /* Content adjustments */
    .content {
        padding: 20px;
        text-align: center;
    }

    .content h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .content p {
        font-size: 16px;
        margin-top: 15px;
    }

    /* Footer mobile */
    .ftr-m {
        padding: 15px;
    }    .ftr-t {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 15px 0;
    }    .ftr-t img {
        width: 130px;
        max-width: 70%;
    }

    .ftr-t ul {
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }    .ftr-t ul li a i {
        font-size: 26px;
    }

    .ftr-s {
        width: 100%;
        text-align: center;
    }

    .ftr-s h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .ftr-s-c p {
        font-size: 14px;
        margin: 8px 0;
        cursor: pointer;
    }

    .ftr-s-c a {
        text-decoration: none;
        color: inherit;
    }

    .cont {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 8px;
        margin: 5px 0;
    }

    .cont i {
        font-size: 16px;
    }

    .cont p {
        font-size: 14px;
    }

    .ftr-d {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
    }

    .ftr-d-b button {
        width: 200px;
        padding: 12px;
        font-size: 16px;
        border-radius: 25px;
    }

    .ftr-b {
        padding: 15px 0;
    }

    .ftr-b-c h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .ftr-b-c p {
        font-size: 12px;
    }
}

/* Up button styles */
.up {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #eb595f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.up.active {
    opacity: 1;
    visibility: visible;
}

.up:hover {
    background: #d63d44;
    transform: scale(1.1);
}

.up i {
    color: white;
    font-size: 20px;
}

/* Responsive testimonial cards */
@media screen and (max-width: 768px) {
    .d5 {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }

    .d5 .m-10 {
        margin: 10px 0;
        width: 100%;
        max-width: 350px;
    }

    .contentindex h1, .content h1
    {
        font-size: 52px;
    }

    .contentindex p, .content p {
        font-size: 18px;
        width: 60%;
        margin: 10px auto;
    }
}

@media screen and (max-width: 480px) {
    .up {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }

    .up i {
        font-size: 16px;
    }

    .d5 .m-10 {
        max-width: 320px;
        padding: 15px;
        margin: 8px 0;
    }
}

/* Small Mobile Styles (320px - 480px) */
@media screen and (max-width: 480px) {
    .navbar {
        padding: 8px;
    }

    .logo {
        width: 100px;
    }

    .btn_hd {
        padding: 6px 12px;
        font-size: 11px;
    }

    .content h1 {
        font-size: 24px;
    }

    .content p {
        font-size: 14px;
    }

    .dropdown-content {
        grid-template-columns: 1fr;
    }

    .dropdown-content a {
        font-size: 13px;
        padding: 6px;
    }

    .ftr-s h2 {
        font-size: 16px;
    }

    .cont p {
        font-size: 12px;
    }

    .ftr-d-b button {
        width: 180px;
        font-size: 14px;
    }

    .ftr-b-c h1 {
        font-size: 20px;
    }
}

/* ========================================
   PRELOADER OVERLAY STYLES
   ======================================== */

.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-overlay .socket {
    position: relative;
    left: auto;
    top: auto;
    margin: 0;
    transform: scale(1.5);
}

/* Ensure preloader appears above everything */
.preloader-overlay {
    z-index: 999999 !important;
}