/* ==============================
   GLOBAL STYLES
============================== */

:root {
    --primary-color: #007bff;
    --secondary-color: #fd7e14;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --body-font: 'Poppins', sans-serif;
}

body {
    font-family: var(--body-font);
    color: #444;
    overflow-x: hidden;
    padding-top: 55px; /* IMPORTANT FIX for large navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ==============================
   HELPER CLASSES
============================== */

.section-padding {
    padding: 80px 0;
}

.line-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto;
}

.text-secondary-color {
    color: var(--secondary-color) !important;
}

/* ==============================
   NAVBAR
============================== */

.navbar {
    padding: 1px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand img {
    height: 65px;   /* Adjust 50–70px as you like */
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin-left: 15px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item:active {
    background-color: var(--primary-color);
}

/* ==============================
   HERO SECTION
============================== */

.hero-section {
    padding: 20px 0 80px; /* FIXED spacing */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-section h1 {
    line-height: 1.3;
}

.hero-img {
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ==============================
   SERVICE CARDS
============================== */

.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 123, 255, 0.1);
    background: #fff;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2);
    border-color: var(--primary-color);
}

.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    background: var(--primary-color);
    color: #fff !important;
    transform: rotateY(360deg);
}

/* ==============================
   TESTIMONIAL
============================== */

.testimonial-box {
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: 0.3s ease;
}

.testimonial-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2);
    border-color: var(--primary-color);
}

/* ==============================
   PORTFOLIO
============================== */

.portfolio-card {
    transition: 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2);
    border-color: var(--primary-color);
}

.portfolio-card img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

/* ==============================
   FOOTER
============================== */

footer {
    font-size: 14px;
}

footer a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    transition: 0.3s ease;
}

.social-links a:hover {
    background-color: #fff !important;
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* ==============================
   RESPONSIVE FIXES
============================== */

@media (max-width: 991px) {

    body {
        padding-top: 100px;
    }

    .navbar-brand img {
        height: 50px;
    }

    .hero-section {
        text-align: center;
        padding: 0px 0 60px;
    }

    .hero-img {
        max-width: 350px;
        margin-top: 30px;
    }
}

/* ==============================
   LEAD POPUP
============================== */
#leadPopupModal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

#leadPopupModal .btn-close {
    background-color: #fff;
    border-radius: 50%;
    padding: 10px;
    opacity: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1056; /* Ensure it's above everything */
}

#leadPopupModal .btn-close:hover {
    transform: rotate(90deg);
    background-color: #f8f9fa;
}

#leadPopupModal .form-control, 
#leadPopupModal .form-select {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 10px 15px;
    font-size: 0.95rem;
}

#leadPopupModal .form-control:focus, 
#leadPopupModal .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background-color: #fff;
}


/* ================= HERO SECTION ================= */

.home-hero {
    padding: 110px 0;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #ffffff;
}

.hero-small {
    color: #3b82f6;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-heading {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #ffffff;
}

.hero-heading span {
    color: #f97316;
}

.hero-text {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 35px;
    max-width: 520px;
}

.hero-btns .btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    margin-right: 15px;
}

.hero-btn-primary {
    background: #f97316;
    color: #fff;
    border: none;
}

.hero-btn-primary:hover {
    background: #ea580c;
    color: #fff;
}

.hero-btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.hero-btn-outline:hover {
    background: #ffffff;
    color: #1e3a8a;
}

.hero-img {
    max-width: 95%;
}

/* Responsive */
@media (max-width: 992px) {
    .home-hero {
        text-align: center;
        padding: 80px 0;
    }

    .hero-heading {
        font-size: 36px;
    }

    .hero-text {
        margin: auto;
    }

    .hero-btns {
        justify-content: center;
    }
}


/*local offer section*/

.local-offer {
    padding: 90px 0;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    text-align: center;
}

.offer-badge {
    display: inline-block;
    background: #f97316;
    color: #fff;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 22px;
}

.offer-box h3 {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;              /* PURE WHITE */
    line-height: 1.4;
    margin-bottom: 18px;
}

.offer-box h3 span {
    color: #22c55e;              /* Bright green highlight */
}

.offer-box p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);  /* Light readable text */
    margin-bottom: 32px;
}

.offer-btn {
    display: inline-block;
    padding: 14px 38px;
    background: #22c55e;
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s ease;
}

.offer-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
}
