/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background: #ffffff;
    color: #333;
}

/* Navigation Bar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(90deg, #62055e, #ff7a00);
    color: white;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease-in-out;
    box-sizing: border-box;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    white-space: nowrap;
}
nav{
    flex-grow: 1;
    display: flex;
    justify-content: right;
    margin-right: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding:5px 5px;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #ff7a00;
}

.btn {
    background: white;
    color: #ff7a00;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease-in-out;
    display: inline-block;
    white-space: nowrap;
}

.btn:hover {
    background: #ff7a00;
    color: white;
}

/* Fix Header Clipping Issues */
header .btn {
    margin-left: auto;
}

/* Scrolling Text Wrapper */
.scrolling-text {
    background: linear-gradient(90deg, #b539be, #ed8829);
    padding: 10px 5px;
    overflow: hidden;
    position: relative;
    display: flex;
    width: 99.35%;
    max-width: 100vw;
}

/* Inner wrapper for animation */
.text-wrapper {
    display: flex;
    gap: 100px; /* Space between repeated texts */
    white-space: nowrap;
    width: 300%; /* Allow infinite expansion */
    animation: scrollText 20s linear infinite; /* Slower scrolling */
}

/* Text Styling */
.text-wrapper p {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(45deg, #f6e8d1, #e8cdc2, #f2bcd7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.3);
    margin: 0;
    padding-right: 50px; /* Adds space between duplicated texts */
}

/* Fix glitching by making the text scroll continuously */
@keyframes scrollText {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    } 
}





/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;  /* Increased padding for better layout */
    background: linear-gradient(120deg, #7c087c, #ff7a00);
    color: white;
    animation: fadeIn 1.5s ease-in-out;
    min-height: 100vh;  /* Ensuring equal height */
    box-sizing: border-box;
    width: 100%;
}

.hero h1 {
    font-size: 48px;
    margin: 0;
}

.hero p {
    font-size: 18px;
    margin-top: 10px;
    opacity: 0.9;
}

.hero .btn {
    margin-top: 20px;
    display: inline-block;
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    padding: 60px 10px;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 280px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background: #343a40;
    color: white;
    padding: 15px;
    margin-top: 20px;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



