/* 
 * Bhavitech - Custom Styles
 * Author: Bhavitech
 */

:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #f72585;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --gray-color: #6b7280;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 76px; /* Adjust for fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

.main-content {
    min-height: calc(100vh - 400px); /* Ensure footer stays at bottom */
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: #e31b72;
    border-color: #e31b72;
    color: white;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    margin: 0 0.5rem;
}

.nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    position: relative;
}

.hero-content {
    z-index: 1;
    position: relative;
}

/* Features */
.feature-card {
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    background: white;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-card {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    background: white;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* Portfolio */
.portfolio-item {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.portfolio-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

/* Forms */
.form-control {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Steps */
.registration-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.step {
    flex: 1;
    text-align: center;
    padding: 1rem;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 20px;
    height: 2px;
    background-color: #e5e7eb;
    transform: translateY(-50%);
}

.step.active {
    color: var(--primary-color);
    font-weight: 600;
}

.step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background-color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.step.active .step-number {
    background-color: var(--primary-color);
    color: white;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    color: white;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer a {
    color: #e5e7eb;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: underline !important;
}

.social-icons a {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .registration-steps {
        flex-direction: column;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    .step {
        margin-bottom: 1rem;
    }
}

/* Pricing Section */
.pricing-card {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: white;
    border-top: 5px solid var(--primary-color);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.feature-list {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style-type: none;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.feature-list li:before {
    content: '✓';
    margin-right: 10px;
    color: var(--success-color);
}

/* UPI Payment */
.upi-qr {
    max-width: 200px;
    margin: 0 auto;
}

.upi-id {
    background-color: #f9fafb;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    color: var(--dark-color);
    border: 1px dashed #d1d5db;
}

/* Bank Transfer Section */
.bank-details-card {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.bank-details-card:hover {
    transform: translateY(-5px);
}

.bank-details-card .card-header {
    border-radius: 8px 8px 0 0;
    font-weight: 600;
}

.bank-details-card .card-body p {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
}

.bank-details-card .card-body p strong {
    min-width: 120px;
    display: inline-block;
}

/* Confirmation Page */
.confirmation-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--success-color);
    margin: 2rem 0;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 2rem 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #e5e7eb;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* FAQ */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
}
