* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #f3f03d;
    --secondary: #4ecdc4;
    --accent: #45b7d1;
    --gold: #ffd93d;
    --dark: #0a0a0a;
    --darker: #000000;
    --gray: #1a1a1a;
    --light-gray: #333333;
    --white: #ffffff;
    --text-light: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #e60b0b, #3342ec);
    --gradient-secondary: linear-gradient(135deg, #45b7d1, #ffd93d);
    --gradient-dark: linear-gradient(135deg, #0a0a0a, #1a1a1a, #000000);
    --gradient-anni1: linear-gradient(135deg, #e60b0b, #de4040, #e89595);
    --gradient-anni2: linear-gradient(135deg, #3342ec, #5c68ec, #9299ec);
    --gradient-anni3: linear-gradient(135deg, #b105b1, #b227b2, #c168c1);
    --gradient-anni4: linear-gradient(135deg, #fed01a, #fddb56, #feea99);
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--darker);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.8s ease 2s forwards;
}

.loader-content {
    text-align: center;
    animation: slideUpFade 1s ease 0.5s forwards;
}

.loader-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-logo::before {
    content: '';
    width: 30px;
    height: 30px;
    background: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 107, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: slideDown 0.8s ease 0.2s forwards;
    opacity: 0;
}

.header:hover {
    background: rgba(10, 10, 10, 1);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite 2.5s;
}

.logo:hover {
    transform: scale(1.1);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    top: 8px;
    left: 8px;
    animation: orb1 4s ease-in-out infinite 2.5s;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    bottom: 10px;
    right: 10px;
    animation: orb2 4s ease-in-out infinite 2.5s;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes orb1 {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.2) translate(5px, 5px);
    }
}

@keyframes orb2 {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(0.8) translate(-3px, -3px);
    }
}

/* Navigation Styles */
.nav-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: relative;

}

.nav-link:hover {
    color: var(--white);
    transform: translateY(-2px) rotate(5deg);
    border-bottom: 1px solid white;
}

.profile-btn {
    background: var(--gradient-primary);
    /* Vibrant gradient for eye-catching look */
    border: 1px solid rgba(255, 107, 107, 0.3);
    /* Subtle border */
    padding: 0.8rem 1.8rem;
    /* Slightly more padding for better touch targets */
    border-radius: 30px;
    /* More rounded for modern feel */
    font-weight: 700;
    /* Bolder text */
    font-size: 1.1rem;
    /* Slightly larger text */
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
    /* Initial subtle shadow */
}

.profile-btn:hover {
    transform: translateY(-3px) scale(1.05) rotate(2deg);
    /* Dynamic hover with slight rotation */
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    /* Stronger shadow on hover */
    border-color: rgba(255, 107, 107, 0.5);
    /* Glowing border */
}

.profile-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.5);
    /* Accessibility focus ring */
}

.profile-btn a {
    color: inherit;
    /* Ensures link text matches button color */
    text-decoration: none;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 35px;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--white);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
    transform-origin: left center;
}

.hamburger span:nth-child(2) {
    top: 10px;
    transform-origin: left center;
}

.hamburger span:nth-child(3) {
    top: 20px;
    transform-origin: left center;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg);
    top: -1px;
    left: 4px;
}

.hamburger.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 21px;
    left: 4px;
}

.close-menu {
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
}

.close-menu:hover {
    color: var(--gradient-primary);
    transform: rotate(90deg);
}

/* Hero Section Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    animation: fadeIn 0.5s ease 0.5s forwards;
    opacity: 0;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    text-align: center;
    margin: 0px auto;
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 100px);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFade 1s ease 0.8s forwards;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 1s ease 1s forwards;
    font-weight: 500;
}

.hero-comm {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 1s ease 1.2s forwards;
}

.hero-comm1,
.learnmore {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    display: inline-block;
    box-shadow: 0 4px 4px rgba(255, 107, 107);
    background: var(--dark);
}

.hero-comm1:hover,
.learnmore:hover {
    transform: translateY(-5px);
}

/* Stats Section Styles */
.stats-section {
    padding: 5rem 2rem;
    background: var(--darker);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    z-index: 1;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stats-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.stats-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(16, 16, 16, 0.9));
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    border: 2px solid rgba(255, 107, 107, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.3);
    border-color: rgba(255, 107, 107, 0.5);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
    display: block;
    position: relative;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.4;
}

/* Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number.counting {
    animation: countUp 0.6s ease-out;
}

/* Features Section Styles */
.features {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFade 1s ease 1.5s forwards;
}

.whybox {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-content {
    text-align: center;
    color: var(--text-light);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--gray);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

@keyframes pulseExtreme {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 107, 107, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 107, 107, 0.2);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: left 0.2s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.4);
    animation: pulseExtreme 1.8s infinite;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    animation: extremeTitleShift 2.1s linear infinite;
    background-clip: text;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* marque Section */
.testimonials {
    padding: 5rem 2rem;
    background: var(--gray);
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFade 1s ease 2.5s forwards;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
    will-change: transform;
}

.marquee {
    display: flex;
    animation: marqueeExtreme 15s linear infinite;
    width: max-content;
}

@keyframes marqueeExtreme {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    display: inline-block;
    width: 300px;
    background: var(--dark);
    border-radius: 15px;
    padding: 25px;
    margin: 0 15px;
    vertical-align: top;
    white-space: normal;
    border: 1px solid rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.marquee .testimonial-card:last-child {
    margin-right: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
    color: var(--darker);
}

.user-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.user-role {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
}

/* mobile-view */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 80px 30px 30px;
    transition: right 0.3s ease-in-out;
    z-index: 1001;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-menu {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.mobile-menu .nav-link {
    font-size: 1.2rem;
    padding: 10px 15px;
    display: block;
    width: 100%;
}

.mobile-menu .profile-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animation Keyframes */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar .nav-menu {
        display: none;
    }

    .mobile-menu .nav-menu {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .nav-content {
        gap: 10px;
    }

    .profile-dropdown {
        display: block;
    }

    .profile-btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .features-grid,
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 70px;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-comm {
        flex-direction: column;
        align-items: center;
    }

    .hero-comm1,
    .learnmore {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .features,
    .testimonials,
    .benefits {
        padding: 3rem 1rem;
    }

    .feature-card,
    .benefit-card {
        padding: 1.5rem;
    }

    .testimonial-card {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .mobile-menu {
        width: 85%;
    }

    .profile-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .feature-title,
    .benefit-title {
        font-size: 1.3rem;
    }
}

footer {
    background: var(--gradient-dark);
    padding: 3rem 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 107, 107, 0.2);
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: red;
    --webkit-background-clip: text;
    --webkit-text-fill-color: transparent;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px) rotate(5deg);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link svg {
    fill: var(--text-light);
    width: 100%;
    height: 100%;
    transition: fill 0.3s;
}

.social-link:hover svg {
    fill: var(--white);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-input {
    background: var(--light-gray);
    border: none;
    padding: 0.5rem;
    border-radius: 4px 0 0 4px;
    color: var(--white);
    flex: 1;
}

.newsletter-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0 4px 4px 0;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.3s;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.newsletter-btn:hover {
    transform: scale(1.05) rotate(15deg);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 107, 107, 0.1);
}

/* Added: Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Enhancement: Pause marquee on hover for better UX */
.marquee-container:hover .marquee {
    animation-play-state: paused;
}

/* Enhancement: Add focus styles for accessibility */
.nav-link:focus,
.profile-btn:focus,
.dropdown-item:focus,
.hero-comm1:focus,
.learnmore:focus,
.newsletter-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

