/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #e0f7ff, #ffffff);
    color: #333;
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0); /* Fully transparent background */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s ease;
    max-width: 100%; /* Ensures the header doesn't overflow */
    box-sizing: border-box; /* Prevents padding from affecting width */
}

.sticky-header.scrolled {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent when scrolled */
}

/* Logo */
.logo {
    cursor: pointer;
    font-size: 32px;
    font-weight: bold;
    color: #007BFF;
    transition: color 0.3s;
    white-space: nowrap; /* Prevents the logo from wrapping */
}

.logo:hover {
    color: #0056b3;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    overflow: hidden; /* Prevents overflow of navigation buttons */
}

.nav-btn {
    background: rgba(128, 128, 128, 0.5); /* Grey background with 50% opacity */
    border: none;
    padding: 12px 25px; /* Comfortable padding */
    font-size: 16px;
    cursor: pointer;
    color: white; /* White text to contrast with grey background */
    border-radius: 25px; /* Rounded corners */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
    text-transform: uppercase; /* Capitalize button text */
    font-weight: bold;
    margin-right: 30px; /* Increase the space between buttons */
    white-space: nowrap; /* Prevents button text from wrapping */
}

.nav-btn:hover {
    background: rgba(128, 128, 128, 0.7); /* Slightly darker grey on hover */
    color: #fff; /* Maintain white text */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15); /* Larger shadow on hover */
    transform: translateY(-3px); /* Slightly elevate the button */
}

.nav-btn:active {
    transform: translateY(1px); /* Give a press effect when clicked */
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow when pressed */
}

.nav-btn:last-child {
    margin-right: 0; /* Remove margin on the last button */
}

/* Account Icon */
.account-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

.account-icon:hover {
    transform: scale(1.1);
}

/* Intro Section */
.intro {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#introVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.intro-text {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 32px;
    text-align: left;
    max-width: 50%;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Shadow for the text */
    white-space: nowrap;
}

.intro-text h2, .intro-text p {
    opacity: 0;
    animation: typewriter 3s steps(40) 1s forwards;
}

.intro-text p {
    animation-delay: 4s;
}

/* Typewriter Effect */
@keyframes typewriter {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Why Choose Us */
.why-choose-us {
    text-align: center;
    padding: 50px 20px;
    background: white;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 100%;
}

.why-choose-us h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
}

.features {
    display: flex;
    justify-content: space-between;
    gap: 37.8px;
    flex-wrap: wrap;
    width: 100%;
}

.feature-box {
    width: 30%;
    height: 200px;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(to right, #80d0ff, #007bff);
    text-align: center;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-in-out;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
}

.feature-box img {
    width: 60px;
    margin-bottom: 10px;
}

.feature-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.feature-box p {
    font-size: 16px;
    color: #f0f8ff;
}

.feature-box.visible {
    opacity: 1;
    transform: translateX(0);
}

.features .feature-box:last-child {
    margin-left: auto;
    margin-right: auto;
}

/* How It Works */
.how-it-works {
    background: #f0f8ff;
    padding: 60px 20px;
    text-align: center;
}

.gradient-title {
    background: linear-gradient(to right, #003366, #007BFF); /* Dark Blue to Blue Gradient */
    color: transparent;
    -webkit-background-clip: text;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 30px;
}

.how-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
}

.steps {
    text-align: left;
    max-width: 500px;
}

.step {
    margin-bottom: 30px;
    font-size: 20px;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-in-out;
}

.step.visible {
    opacity: 1;
    transform: translateX(0);
}

.process-image {
    width: 350px;
    border-radius: 10px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

/* CTA Button */
.cta-container {
    text-align: center;
    margin-top: 30px;
}

.cta-btn {
    background-color: #007BFF;
    color: white;
    font-size: 22px; /* Increased font size */
    padding: 18px 50px; /* Larger button */
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.cta-btn:active {
    transform: translateY(1px);
}

/* About Us Section */
.about-us {
    background: white;
    color: #333;
    padding: 60px 20px;
    text-align: center;
    display: block;
}

.about-us h2 {
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: bold;
}

.about-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.about-box {
    background: radial-gradient(circle, #80d0ff, #ffffff);
    padding: 20px;
    border-radius: 10px;
    width: 22%;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-in-out;
}

.about-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.about-box p {
    font-size: 16px;
}

/* Footer */
footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 20px;
}

footer p {
    margin: 5px 0;
}