/* Global Styles */
:root {
    --primary-color: #25D366;
    --primary-dark: #128C7E;
    --secondary-color: #2D3748;
    --accent-color: #FF6B35;
    --bg-color: #FFFFFF;
    --text-color: #1A202C;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-success {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.section-padding {
    padding: 80px 0;
}

/* Navbar */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    margin-right: 15px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    min-height: 90vh;
}

.hero-img {
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: translateY(-10px);
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 20px; /* same as image */
    z-index: -1;
    transform: rotate(5deg);
    transition: all 0.3s ease;
}

.hero-image-wrapper:hover::before {
    transform: rotate(8deg) scale(1.02);
}

/* Feature Cards */
.hover-card {
    transition: all 0.3s ease;
    background: white;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05) !important;
}

.icon-box {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.hover-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* How It Works (Timeline) */
.step-card {
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    border: 2px solid var(--primary-color);
    margin: 0 auto;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background-color: var(--primary-color);
    color: white;
}

@media (min-width: 768px) {
    .timeline-row::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 20%;
        right: 20%;
        height: 2px;
        background-color: #e2e8f0;
        z-index: 1;
    }
}

/* Testimonials */
.swiper-slide {
    height: auto;
}

.testimonialSwiper .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* Pricing */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.popular-card {
    border: 2px solid var(--primary-color) !important;
    position: relative;
    transform: scale(1.05); /* Make it stand out by default */
}

/* Contact Form */
.form-control {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
    border-color: var(--primary-color);
}

/* Scroll To Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    color: white !important;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px;
        text-align: center; 
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .pricing-card:hover, .popular-card {
        transform: none;
    }
    
    .timeline-row::before {
        display: none;
    }
}
