/* --- General Body & Font --- */
body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3 {
    font-family: 'Roboto Slab', serif;
}

/* --- Hero & Login Background Section --- */
.hero-section, .login-section {
    position: relative;
    background-image: url('https://i.ibb.co/ks0bj2y0/image.png'); /* Restored original background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-section {
    padding: 6rem 0;
}

.hero-overlay, .login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(29, 32, 44, 0.7), rgba(55, 48, 163, 0.7));
}

/* --- Feature Card Styling --- */
.feature-card {
    padding-top: 0;
    background-color: #f9fafb; /* gray-50 */
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb; /* gray-200 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: -30px;
}

.feature-card .icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background-color: #e0e7ff; /* indigo-100 */
    color: #4f46e5; /* indigo-600 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    border: 4px solid white;
    position: relative;
    z-index: 10;
}

/* --- How It Works Section --- */
.step-card {
    background-color: #fff;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    max-width: 320px;
}

.step-card .icon-wrap {
    background-color: #4f46e5;
    color: white;
    margin-bottom: 1rem;
}

.step-arrow {
    font-size: 2.5rem;
    color: #cbd5e1; /* gray-300 */
    align-self: center;
}

/* --- Testimonial Card Styling --- */
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Unified Login Box --- */
.login-box {
    max-width: 450px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-tab {
    width: 50%;
    padding: 0.75rem 1rem;
    border: none;
    background-color: transparent;
    font-weight: 600;
    color: #4b5563; /* gray-600 */
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 0.5rem;
}

.login-tab.active {
    background-color: #ffffff;
    color: #4f46e5; /* indigo-600 */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.login-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 0.375rem; /* rounded-md */
    transition: border-color 0.3s, box-shadow 0.3s;
}

.login-input:focus {
    outline: none;
    border-color: #4f46e5; /* indigo-600 */
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

/* --- Responsive Adjustments --- */
@media (max-width: 767px) {
    .step-arrow {
        transform: rotate(90deg);
        margin: 2rem 0;
    }
}

/* --- Floating WhatsApp Button Styles --- */
.whatsapp-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* --- Animation for Fade-in on Scroll --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.7s ease-out forwards;
}

/* Base state for elements to be animated */
.fade-in-section {
  opacity: 0;
}

