/* =========================
   GENERAL STYLES
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* =========================
   NAVBAR
========================= */
#mainNavbar {
    background: linear-gradient(90deg, #ffffff, #28a745);
    transition: background 0.3s ease;
    padding: 10px 0;
    z-index: 9999;
}

.navbar-brand {
    font-weight: 700;
    color: black !important;
}

.navbar-nav .nav-link {
    color: black !important;
    font-weight: 600;
    padding: 10px 15px;
}

/* Hover + active state */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: red !important;
}

/* =========================
   HAMBURGER ICON
========================= */
.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: none;
    width: 25px;
    height: 3px;
    background-color: black;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    width: 25px;
    height: 3px;
    background-color: black;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon::before { top: -8px; }
.navbar-toggler-icon::after { top: 8px; }

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* =========================
   MOBILE MENU
========================= */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #fff;
        padding: 10px 0;
    }
    .navbar-nav .nav-link {
        color: black !important;
        padding: 12px;
        border-bottom: 1px solid #eee;
        text-align: center;
    }
}

/* =========================
   HERO SECTION
========================= */
#hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#hero-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    animation: fadeHero 15s infinite;
}

#hero-slider img:nth-child(2) { animation-delay: 5s; }
#hero-slider img:nth-child(3) { animation-delay: 10s; }

@keyframes fadeHero {
    0%, 30% { opacity: 1; }
    40%, 90% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 150px 20px 50px;
}

.hero-content h1 { font-size: 2.2rem; font-weight: bold; }
.hero-content p { font-size: 1rem; }
.hero-content a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.hero-content .btn-danger { background: red; color: #fff; }
.hero-content .btn-white { background: #fff; color: #000; }

/* =========================
   SECTIONS
========================= */
section {
    padding: 60px 20px;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: bold;
}

section p {
    font-size: 1rem;
}

/* =========================
   CARDS
========================= */
.card-body {
    transition: 0.3s;
}

.card-body:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* =========================
   FOOTER
========================= */
.footer-section {
    background: #111;
    color: #fff;
    padding: 40px 20px;
}

.footer-section h5 { font-weight: bold; margin-bottom: 15px; }
.footer-links a,
.social-links a {
    color: #fff;
    transition: 0.3s;
    text-decoration: none;
}
.footer-links a:hover,
.social-links a:hover {
    color: #28a745;
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp_float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}
.whatsapp-icon {
    font-size: 2rem;
    color: #25d366;
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}
.whatsapp-icon:hover { transform: scale(1.1); }

/* =========================
   RESPONSIVE FIXES
========================= */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
}

@media (max-width: 768px) {
    #hero-slider { height: 75vh; }
    .hero-content { padding-top: 130px; }
    .hero-content h1 { font-size: 1.5rem; }
    section h2 { font-size: 1.6rem; }
}

@media (max-width: 576px) {
    #hero-slider { height: 65vh; }
    .hero-content { padding-top: 110px; }
    .hero-content h1 { font-size: 1.3rem; }
    .hero-content p { font-size: 0.9rem; }
    .hero-content a { padding: 6px 14px; font-size: 0.8rem; }
    .card-body p { font-size: 0.85rem; }
}
