/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background: linear-gradient(rgba(0, 15, 50, 0.8), rgba(0, 30, 80, 0.9)), url(/assets/images/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero p.lead {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border: none;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 14px 32px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.6);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 8rem 0;
    background: #f8f9fa;
}

.services-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.services-section h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0056b3, #007bff);
    border-radius: 2px;
}

.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    transform: translateY(30px);
    opacity: 0;
}

.service-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #0056b3;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, #0056b3, #007bff);
    padding: 5rem 0;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    z-index: 0;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-banner .btn-light {
    background: white;
    color: #0056b3;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 16px 40px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cta-banner .btn-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE FOR HERO, SERVICES, CTA ===== */
@media (max-width: 767px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p.lead { font-size: 1.2rem; }
    .cta-banner h2 { font-size: 2rem; }
    .btn-warning, .cta-banner .btn-light { font-size: 1.1rem; padding: 12px 28px; }
    .services-section h2 { font-size: 2.2rem; }
    .service-card { padding: 1.5rem; }
    .service-icon { font-size: 2.5rem; }
}

/* ===== FOOTER STYLES — FLEXBOX (NO WHITE SPACE, NO OVERLAP) ===== */
html {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body {
    flex: 1;
    margin: 0;
    padding: 0;
}

.footer {
    width: 100%;
    background: #1a1a2e;
    color: #f0f0f0;
    padding: 40px 0 20px;
    z-index: 1;
    flex-shrink: 0;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #ccc;
    margin: 5px 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffc107;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-size: 1.5rem;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #0056b3;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
    z-index: 9998;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-size: 1.5rem;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background-color: #007bff;
}

/* 🔴 FORCE CHATBOT TO BE VISIBLE ON ALL DEVICES */
.chatbot-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9998 !important;
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 1.3rem !important;
    background-color: #0056b3 !important;
    color: white !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4) !important;
}

/* ===== CHATBOT MODAL ===== */
.chatbot-modal {
    position: fixed;
    bottom: 90px;
    left: 30px;
    width: 300px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
    overflow: hidden;
    display: none;
}

.chatbot-modal.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.chatbot-header {
    background: #0056b3;
    color: white;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.chatbot-header button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.3rem;
    padding: 0;
    transition: transform 0.2s ease;
}

.chatbot-header button:hover {
    transform: rotate(90deg);
}

.chatbot-body {
    padding: 16px;
    height: 200px;
    overflow-y: auto;
    background: #f8f9fa;
    font-size: 0.9rem;
    line-height: 1.6;
}

.message {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
}

.message.bot {
    background: #e9ecef;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.user {
    background: #0056b3;
    color: white;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
    background: white;
}

.chatbot-input input {
    flex-grow: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 14px;
    outline: none;
    font-size: 0.9rem;
}

.chatbot-input button {
    background: #0056b3;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    margin-left: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== RESPONSIVE FOR FOOTER & CHATBOT ===== */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 25px;
        min-width: 100%;
    }

    .whatsapp-float,
    .chatbot-toggle {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .chatbot-modal {
        width: 280px;
        left: 15px;
    }
}

/* 🔴 FORCE CHATBOT BUTTON TO ALWAYS SHOW — OVERRIDE ANYTHING */
.chatbot-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9998 !important;
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 1.3rem !important;
    background-color: #0056b3 !important;
    color: white !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4) !important;
}