/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* styles/index.css */

body {
    /* Change this line for the background theme */
    background: linear-gradient(135deg, #1a2a3a 0%, #0a1520 100%); /* Deep Blue/Black Gradient */
    
    color: #fff; /* Keep text white for contrast */
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scroll from bubbles */
}

/* ... rest of your CSS ... */

/* styles/index.css */

/*body {
    /* Change this line for the background theme */
   /* background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%); /* Warm Sunset Gradient */
    
   /* color: #fff; /* Keep text white for contrast, though you might consider darker text for lighter gradients */
    /*line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scroll from bubbles */
/*}

/* ... rest of your CSS ... */

/* Section Titles - General styling for all h2 titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Send to background */
    overflow: hidden;
}

.bg-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* styles/index.css */

.bg-bubbles li {
    position: absolute;
    list-style: none;
    display: block;
    width: 40px;
    height: 40px;
    /* Increased opacity for clearer visibility against dark background */
    background-color: rgba(255, 255, 255, 0.25); /* More visible white bubbles */
    bottom: -160px; /* Start below viewport */
    animation: square 25s infinite;
    transition-timing-function: linear;
    border-radius: 50%; /* Keep them circular */
}

/* Adjust some specific bubbles for more varied effect */
.bg-bubbles li:nth-child(1) { left: 10%; width: 90px; height: 90px; animation-delay: 0s; animation-duration: 20s; } /* Slightly larger, slower */
.bg-bubbles li:nth-child(2) { left: 20%; width: 25px; height: 25px; animation-delay: 3s; animation-duration: 15s; } /* Slightly larger, slightly delayed */
.bg-bubbles li:nth-child(3) { left: 25%; animation-delay: 5s; animation-duration: 22s; } /* More delayed, slower */
.bg-bubbles li:nth-child(4) { left: 40%; width: 70px; height: 70px; animation-delay: 1s; animation-duration: 16s; }
.bg-bubbles li:nth-child(5) { left: 70%; animation-delay: 8s; animation-duration: 28s; } /* More delayed, much slower */
.bg-bubbles li:nth-child(6) { left: 80%; width: 130px; height: 130px; animation-delay: 4s; animation-duration: 20s; } /* Larger, slower */
.bg-bubbles li:nth-child(7) { left: 32%; width: 170px; height: 170px; animation-delay: 9s; animation-duration: 30s; } /* Largest, slowest */
.bg-bubbles li:nth-child(8) { left: 55%; width: 30px; height: 30px; animation-delay: 16s; animation-duration: 45s; } /* Small, very slow */
.bg-bubbles li:nth-child(9) { left: 25%; width: 15px; height: 15px; animation-delay: 3s; animation-duration: 42s; } /* Very small, very slow */
.bg-bubbles li:nth-child(10) { left: 90%; width: 170px; height: 170px; animation-delay: 12s; animation-duration: 25s; } /* Large, slow */

/* ... rest of your CSS ... */

/* Keyframe animation for bubbles */
@keyframes square {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; } /* Move up and fade out */
}

/* Header Styles */
header {
    padding: 25px 0;
    position: relative;
    z-index: 10; /* Ensure header is above bubbles */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between logo and text */
}

.logo-title span {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}   

.logo-title img {
    width: 90px; /* Increased size for prominence */
    height: 90px;
    object-fit: contain;
    animation: pulse 2s infinite; /* Gentle pulse animation for logo */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.menu-button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(5px); /* Frosted glass effect */
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.menu-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.menu-icon {
    font-size: 24px;
    color: #fff;
}

/* Navigation Menu (Hidden by default, toggled with JS) */
.nav-menu {
    display: none;
    position: absolute;
    top: 80px; /* Position below header */
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    overflow: hidden;
    z-index: 100; /* Ensure menu is on top */
    width: 220px;
    transform-origin: top right;
    animation: fadeIn 0.3s ease-out; /* Fade-in animation for menu */
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.nav-menu.active {
    display: block; /* Show menu when active class is applied */
}

.nav-menu a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #4a5568; /* Darker text for readability on light background */
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Subtle separator */
}

.nav-menu a:last-child {
    border-bottom: none;
}

.nav-menu a:hover {
    background-color: #f7fafc;
    color: #667eea; /* Highlight color on hover */
    padding-left: 30px; /* Slight indent on hover */
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 120px); /* Adjust based on header/footer height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px; /* Push content down from header */
    padding-bottom: 100px; /* Space above fixed footer */
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 4.5rem; /* Larger heading for hero */
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: slideInFromTop 0.8s ease-out forwards;
}

.hero-section .lead {
    font-size: 1.8rem; /* Tagline size */
    opacity: 0.9;
    animation: fadeInScale 1s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-section .hero-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
    animation: fadeInScale 1s ease-out forwards;
    animation-delay: 0.4s;
}

.hero-section .cta-button {
    margin-top: 3rem;
    padding: 15px 40px;
    font-size: 1.3rem;
    border-radius: 50px;
    background-color: #fff;
    color: #667eea;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    animation: fadeInScale 1s ease-out forwards;
    animation-delay: 0.6s;
}

.hero-section .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

@keyframes slideInFromTop {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}


/* Benefits Section */
.benefits-section {
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter background */
    backdrop-filter: blur(3px); /* Subtle blur */
    -webkit-backdrop-filter: blur(3px);
    border-radius: 15px;
    margin: 40px 0; /* Space from other sections */
    padding: 60px 0;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.icon-large {
    font-size: 3rem;
    color: #a29bfe; /* A contrasting accent color */
    margin-bottom: 20px;
}

/* How It Works Section */
.how-it-works-section {
    background: linear-gradient(135deg, #e0e7f7 0%, #c4d0ea 100%); /* Light gradient background */
    color: #333; /* Darker text for readability */
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 15px;
}

.how-it-works-section .section-title {
    color: #333;
}

.step-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #667eea;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.step-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Plans Preview Section */
.plans-preview-section {
    padding: 60px 0;
    margin: 40px 0;
}

.plan-card {
    background: rgba(255, 255, 255, 0.1);
    border: none; /* Override Bootstrap default border */
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    color: #fff; /* Ensure text is white */
}

.plan-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.plan-card .card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.plan-card .card-text {
    font-size: 1.1rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.plan-card .btn-outline-light {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.plan-card .btn-outline-light:hover {
    background-color: #fff;
    color: #667eea;
    border-color: #fff;
}

.btn-secondary-custom { /* Custom style for the "View All Plans" button */
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    margin: 40px 0;
    background: linear-gradient(135deg, #f7f9fc 0%, #e0e7f7 100%); /* Light background */
    color: #333;
    border-radius: 15px;
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 40px;
    font-style: italic;
}

.testimonial-card .lead {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #444;
}

/* Call to Action Bottom Banner */
.cta-bottom-banner {
    padding: 60px 0;
    margin-top: 40px; /* Space from previous section */
    margin-bottom: 100px; /* Space above fixed footer */
    background: linear-gradient(90deg, #a29bfe 0%, #6c5ce7 100%); /* A striking gradient */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1; /* Above bubbles */
}

.cta-bottom-banner h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Footer Styles */
footer {
    background: rgba(0, 0, 0, 0.15); /* Slightly darker transparent background */
    padding: 25px 0;
    position: fixed; /* Fixed at the bottom */
    bottom: 0;
    width: 100%;
    -webkit-backdrop-filter: blur(8px); /* More blur for frosted effect */
    backdrop-filter: blur(8px);
    z-index: 5; /* Above bubbles, below header */
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.copyright {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 15px; /* Adjust gap for cleaner look */
    font-size: 0.95rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255,255,255,0.5); /* Subtle glow on hover */
}

/* Responsive Adjustments */
@media (max-width: 992px) { /* Adjust for medium devices */
    .hero-section h1 {
        font-size: 3.5rem;
    }
    .hero-section .lead {
        font-size: 1.5rem;
    }
    .hero-section .hero-text {
        font-size: 1.1rem;
    }
    .benefits-section .col-md-3,
    .how-it-works-section .col-md-4,
    .plans-preview-section .col-md-4 {
        flex: 0 0 50%; /* Two columns on medium screens */
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section .lead {
        font-size: 1.3rem;
    }
    .hero-section .cta-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .benefits-section .col-md-3,
    .how-it-works-section .col-md-4,
    .plans-preview-section .col-md-4 {
        flex: 0 0 100%; /* Single column on small screens */
        max-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links {
        gap: 15px;
    }

    .logo-title img {
        width: 60px; /* Smaller logo on small screens */
        height: 60px;
    }
    .logo-title span {
        font-size: 20px; /* Smaller text on small screens */
    }
    
    .nav-menu {
        top: 70px; /* Adjust menu position for smaller screens */
        width: 180px; /* Smaller menu width */
    }

    .cta-bottom-banner h2 {
        font-size: 2.2rem;
    }
    .cta-bottom-banner .cta-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
    .footer-links span.d-md-inline-block {
        display: none !important; /* Hide inline contact on mobile */
    }
}

/* Ensure container max-width works with padding */
.container {
    padding-left: 15px;
    padding-right: 15px;
}