/* ========== Base Styles ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* ========== Navigation ========== */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-logo-icon {
    transition: transform 0.3s ease;
}

.nav-link {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--slate-600, #475569);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d9488;
    border-radius: 1px;
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: #0d9488;
}

.nav-link:hover::after {
    width: 100%;
}

/* ========== Buttons ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0d9488;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    text-decoration: none;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    text-decoration: none;
    border-radius: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ========== Mobile Menu ========== */
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #1e293b;
    border-radius: 0.5rem;
    transition: background 0.2s ease;
}

.mobile-menu-btn:hover {
    background: #f1f5f9;
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-menu.active {
    max-height: 400px;
}

.mobile-menu-link {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    color: #334155;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.mobile-menu-link:hover {
    color: #0d9488;
}

/* ========== Hero ========== */
.hero-section {
    position: relative;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    z-index: 10;
}

.card-1 {
    bottom: -20px;
    left: -20px;
    animation: float-slow 6s ease-in-out infinite;
}

.card-2 {
    top: -15px;
    right: -15px;
    animation: float-medium 5s ease-in-out infinite 0.5s;
}

.card-3 {
    bottom: 50%;
    right: -30px;
    animation: float-fast 4s ease-in-out infinite 1s;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.2);
}

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

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* ========== Input Fields ========== */
.input-field {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: #1e293b;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.input-field::placeholder {
    color: #94a3b8;
}

.input-field:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

/* ========== Success Message ========== */
.success-message {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f0fdfa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 767px) {
    .card-1, .card-2, .card-3 {
        display: none;
    }

    .hero-section {
        padding-top: 6rem;
    }
}
