/* ===== Base & Typography ===== */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: rgba(249, 117, 131, 0.3);
    color: #fff;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1d23;
}

::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

/* ===== Navbar ===== */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(26, 29, 35, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ===== Mobile Menu ===== */
.mobile-bar {
    display: block;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.open .mobile-bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#mobile-menu.open .mobile-bar:nth-child(2) {
    opacity: 0;
}

#mobile-menu.open .mobile-bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 24px;
}

/* ===== Hero Animations ===== */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.hero-image {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease 0.2s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Service Cards ===== */
.service-card {
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== Process Steps ===== */
.process-step {
    opacity: 0;
    transform: translateY(20px);
}

.process-step.visible {
    animation: fadeUp 0.6s ease forwards;
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ===== About Image ===== */
.about-image {
    opacity: 0;
    transform: translateX(-30px);
}

.about-image.visible {
    animation: slideRight 0.8s ease forwards;
}

.about-content {
    opacity: 0;
    transform: translateX(30px);
}

.about-content.visible {
    animation: slideLeft 0.8s ease forwards;
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Section Animations ===== */
.section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Coral Accent Bar Animation ===== */
@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ===== Button hover effects ===== */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* ===== Select dropdown styling ===== */
select option {
    background-color: #2d3139;
    color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .flex.items-center.gap-3 {
        justify-content: center;
    }

    .hero-content .flex.flex-wrap {
        justify-content: center;
    }

    .hero-content .flex.gap-12 {
        justify-content: center;
    }
}
