@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero p {
        font-size: 1.5rem;
    }
}

.hero-button {
    background-color: #f59e0b;
    /* amber-500 */
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.3s;
    text-decoration: none;
}

.hero-button:hover {
    background-color: #d97706;
    /* amber-600 */
}

/* === WAVE SVG === */

.wave {
    display: block;
    width: 100%;
    margin-top: -1px;
}

/* === FOOTER === */

footer {
    background-color: #111827;
    /* neutral dark */
    color: #ffffff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
}

footer p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* === ANIMATIONS === */

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out both;
}

/* === UTILITY === */

html {
    scroll-behavior: smooth;
}

.text-shadow {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* === SIDEBAR === */
.sidebar {
    background-color: #0f172a;
    /* slate-900 */
    color: #fff;
    min-height: 100vh;
    width: 250px;
    transition: transform 0.3s ease;
}

.sidebar-collapsed {
    transform: translateX(-100%);
}

.sidebar-toggle-btn {
    color: white;
    padding: 0.5rem;
    cursor: pointer;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 60;
    border-radius: 0.375rem;
}

/* Show sidebar on medium+ screens */
@media (min-width: 768px) {
    .sidebar-collapsed {
        transform: translateX(0);
    }

    .sidebar-toggle-btn {
        display: none;
    }
}

.dashboard-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: background-color 0.3s;
}

.dashboard-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.dashboard-card p {
    font-size: 1.875rem;
    font-weight: 700;
    color: #f59e0b;
    /* amber for stats */
}

/* === THEME SWITCHER === */

:root {
    --bg: #eef3f8;
    --text: #1e293b;
    --card-bg: white;
    --card-text: #0f172a;
}

.dark-mode {
    --bg: #0f172a;
    --text: #f1f5f9;
    --card-bg: #1e293b;
    --card-text: #f1f5f9;
}

body {
    background-color: var(--bg);
    color: var(--text);
}

.dashboard-card {
    background-color: var(--card-bg);
    color: var(--card-text);
}

/* Testimonials carousel */
.testimonials-swiper .swiper-slide {
    transition: transform .5s ease, opacity .5s ease, box-shadow .5s ease;
    opacity: .85;
}

.testimonials-swiper .swiper-slide.swiper-slide-active {
    transform: scale(1.03);
    opacity: 1;
}

.testimonials-swiper .swiper-slide.swiper-slide-next,
.testimonials-swiper .swiper-slide.swiper-slide-prev {
    transform: scale(1.01);
    opacity: .95;
}

.testimonials-swiper .swiper-pagination-bullet {
    background: rgba(245, 158, 11, .35);
    /* amber bullets */
    opacity: 1;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: linear-gradient(90deg, #f59e0b, #facc15);
    /* amber → yellow */
}

/* === Floating elements === */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-1 {
    animation: float 5s ease-in-out infinite;
}

.float-2 {
    animation: float 6s ease-in-out infinite;
}

.float-3 {
    animation: float 7s ease-in-out infinite;
}

/* === Icon Glow (warm tone) === */
.offer-icon {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
    animation: glowPulse 3s ease-in-out infinite;
}

.offer-icon:hover {
    transform: scale(1.08);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.6);
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
    }

    50% {
        box-shadow: 0 0 24px rgba(245, 158, 11, 0.6);
    }

    100% {
        box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
    }
}