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

.hero-section {
    animation: fadeIn 1s ease-in-out;
}

/* General Styling */
body {
    font-family: 'Inter', sans-serif;
    background-color: #F0F2F5;
    color: #333;
    font-weight: 500;
}
html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    letter-spacing: -0.5px;
    font-weight: 700;
}

.nav-link {
    color: #555;
    transition: color 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #000;
}

.navbar .bg-light {
    background-color: #f3f4f6 !important;
}

.btn-success {
    background-color: #8fff00;
    border-color: #8fff00;
    color: #000; /* Adjusted text color for better contrast */
    transition: all 0.3s ease;
    font-weight: 700;
}

.btn-success:hover {
    background-color: #76d600;
    border-color: #76d600;
    color: #000;
}

.btn-light {
    background-color: #f3f4f6;
    border-color: #f3f4f6;
    color: #1f2937;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: #e5e7eb;
    border-color: #e5e7eb;
    color: #111827;
}

/* Overriding Bootstrap Utilities */
.bg-success {
    --bs-bg-opacity: 1;
    background-color: rgba(143, 255, 0, var(--bs-bg-opacity)) !important;
    color: #000 !important; /* Ensure readable text on bright background */
}

/* Fix for badges using bg-success with opacity */
.badge.bg-success.bg-opacity-10 {
    color: #040800 !important; /* Darker text for better contrast on light background */
}

.border-success {
    border-color: #8fff00 !important;
}

/* Hero Section */
.hero-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
/* Anchor offset for sticky navbar */
#features, #pricing, #how-it-works {
    scroll-margin-top: 100px;
}

/* Contact Page Styles */
.contact-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.icon-box {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.icon-box i, .icon-box .bi {
    color: #2e7d32 !important; /* Darker green for visibility */
    transition: color 0.3s ease;
}

.contact-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background-color: #8fff00 !important; /* Brighter green on hover */
    color: #000 !important;
}

.contact-card:hover .icon-box i, .contact-card:hover .icon-box .bi {
    color: #000 !important;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.hero-blob-1 {
    width: 400px;
    height: 400px;
    background-color: #8fff00;
    top: -100px;
    left: -100px;
}

.hero-blob-2 {
    width: 300px;
    height: 300px;
    background-color: #128C7E;
    bottom: -50px;
    right: -50px;
}

.hero-headline {
    font-weight: 800;
    letter-spacing: -2px;
}

.text-success {
    color: #8fff00 !important;
}

.hero-subtext {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Feature Card (from Features Section) */
.feature-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(143, 255, 0, 0.1);
    color: #5fb300; /* Darker shade for icon visibility on light bg */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: #8fff00;
    color: #000;
    transform: scale(1.1) rotate(5deg);
}

/* Benefit Card (from Benefits/Why Choose Us Section) */
.benefit-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(143, 255, 0, 0.1);
    color: #5fb300;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background-color: #8fff00;
    color: #000;
    transform: scale(1.1) rotate(5deg);
}

/* Pricing Card Animations */
#pricing .card {
    transition: all 0.3s ease;
}

#pricing .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* How It Works Section */
.step-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    border-color: #e9ecef;
}

.step-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.step-number-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background-color: #8fff00;
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8fff00;
    color: #000;
    border-radius: 20px !important;
    transition: all 0.3s ease;
    transform: rotate(-8deg); /* Added rotation to match image */
}

.step-card:hover .step-number-badge {
    transform: scale(1.1);
}

.step-card:hover .step-icon {
    background-color: #76d600;
    color: #000;
    transform: rotate(0deg);
}
