body {
    font-family: 'Segoe UI', sans-serif;
    transition: background 0.3s, color 0.3s;
}

/* DARK MODE */
.dark-mode {
    background: #121212;
    color: #f1f1f1;
}
img {
    max-width: 100%;
    height: auto;
}
/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 60px;
    margin-right: 10px;
}

/* MOBILE HERO FIX */

.navbar-brand img {
    height: 44px;
}
@media (max-width: 768px) {
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}
@media (max-width: 768px) {
    .navbar-brand img {
        height: 36px;
    }
}
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
        text-align: center;
        background-attachment: scroll; /* fixes mobile parallax issue */
    }

    .hero.small {
    padding: 80px 0;
    text-align: center;
}

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }
}
/* HERO */
.hero {
    background: url('images/hero.jpg') center center / cover no-repeat;
    position: relative;
    color: white;
    padding: 140px 0;
    text-align: left;
}

/* DARK OVERLAY (IMPORTANT for readability) */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
}

/* Ensure content stays above overlay */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    letter-spacing: 1px;
}

.hero p {
    max-width: 500px;
}

/* PARALLAX HERO */
.hero {
    background: url('images/hero.jpg') center / cover no-repeat fixed;
    position: relative;
    color: white;
    padding: 140px 0;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

/* TEXT ANIMATION */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in.delay-1 { animation-delay: 0.3s; }
.fade-in.delay-2 { animation-delay: 0.6s; }
.fade-in.delay-3 { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FLOATING ICONS */
.floating-icon {
    position: absolute;
    font-size: 28px;
    opacity: 0.8;
    animation: float 4s ease-in-out infinite;
}

.icon1 { top: 20%; left: 10%; }
.icon2 { top: 60%; left: 20%; animation-delay: 1s; }
.icon3 { top: 30%; right: 15%; animation-delay: 2s; }
.icon4 { bottom: 20%; right: 10%; animation-delay: 1.5s; }

@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
/* CARD */
.card-custom {
    border-radius: 15px;
    padding: 25px;
    transition: 0.4s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    cursor: pointer;
}

.card-custom:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* ICON ANIMATION */
.card-icon {
    font-size: 45px;
    margin-bottom: 15px;
    animation: float 2s infinite ease-in-out;
}

.card-custom {
    padding: 20px;
}

@media (max-width: 768px) {
    .card-custom {
        text-align: center;
        padding: 15px;
    }
}
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* BUTTON */
.toggle-btn {
    cursor: pointer;
}

/* WHATSAPP BUTTON */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 22px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-decoration: none;
}

/* FOOTER */
footer {
    background: #0d2c54;
    color: white;
    padding: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
.whatsapp {
    bottom: 15px;
    right: 15px;
    padding: 12px;
    font-size: 18px;
}

.card-custom {
    transition: 0.3s;
    cursor: pointer;
}

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
footer {
    background: #111;
    color: #ccc;
    padding: 15px 0;
}

h1, h2, h3 {
    margin-bottom: 15px;
}