* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    color: #0B132A;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3,
h4 {
    font-weight: 500;
    line-height: 1.2;
}

p {
    color: #4F5665;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 13px 45px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: #F53838;
    color: #FFFFFF;
    box-shadow: 0 20px 40px rgba(245, 56, 56, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(245, 56, 56, 0.5);
}

.btn-outline {
    border: 1px solid #F53838;
    color: #F53838;
    background: transparent;
}

.btn-outline:hover {
    background: #F53838;
    color: #FFFFFF;
}

.btn-large {
    padding: 17px 65px;
    font-size: 16px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 35px;
    margin-bottom: 20px;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(204, 204, 207, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #F53838;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #F53838;
    opacity: 0.8;
}

::-webkit-scrollbar-thumb:active {
    background: #d63030;

}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes popUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

.fade-in {
    animation: fadeIn 1s ease-in forwards;
}

.slide-in-left {
    animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 1s ease-out forwards;
}

.pop-up {
    animation: popUp 0.6s ease-out forwards;
}

/* Header */
.header {
    padding: 30px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 4vh;
    margin-right: 10px;
}

.logo span {
    font-size: 20px;
    font-weight: 500;
}

.logo span b {
    color: #F53838;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    margin: 0 20px;
}

.navbar ul li a {
    color: #4F5665;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.navbar ul li a:hover {
    color: #F53838;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #F53838;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.sign-in {
    margin-right: 30px;
    font-weight: 500;
    color: #0B132A;
}

.mobile-menu-toggle {
    display: none;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(to bottom, #F8F8F8, #FFFFFF);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-text h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: #F53838;
}

.hero-text p {
    margin-bottom: 50px;
    font-size: 16px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: 40vh;
}

/* Stats Section */
.stats {
    background: #FFFFFF;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    padding: 30px 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    background: #FFFFFF;
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 20px;
}

.stat-icon {
    margin-right: 20px;
    font-size: 30px;
    color: #F53838;
}

.stat-text h3 {
    font-size: 25px;
    margin-bottom: 5px;
}

/* Features Section */
.features-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
}

.features-image {
    flex: 1;
}

.features-image img {
    max-width: 100%;
    height: 40vh;
}

.features-text {
    flex: 1;
}

.features-text h2 {
    font-size: 35px;
    margin-bottom: 20px;
}

.features-list {
    margin-top: 20px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.features-list li i {
    color: #2FAB73;
    margin-right: 10px;
    font-size: 18px;
}

/* Pricing Section */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
}

.pricing-card {
    border: 2px solid #DDDDDD;
    border-radius: 10px;
    padding: 50px 30px;
    width: 330px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: #F53838;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card .btn-outline {
    transition: all 0.3s ease;
}

.pricing-card:hover .btn-outline {
    background: #F53838;
    color: #FFFFFF;
}

.pricing-card:active,
.pricing-card:focus-within {
    border-color: #F53838;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(245, 56, 56, 0.2);
}

.pricing-card:active .btn-outline,
.pricing-card:focus-within .btn-outline {
    background: #F53838;
    color: #FFFFFF;
}

.card-top {
    text-align: center;
    margin-bottom: 30px;
}

.card-top img {
    width: 150px;
    margin-bottom: 30px;
}

.card-top h3 {
    font-size: 18px;
}

.card-features {
    margin-bottom: 50px;
}

.card-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.card-features li i {
    color: #2FAB73;
    margin-right: 20px;
}

.card-bottom {
    margin-top: auto;
    text-align: center;
}

.card-bottom h4 {
    font-size: 25px;
    margin-bottom: 20px;
}

.card-bottom h4 span {
    color: #4F5665;
    font-weight: 400;
}

/* Global Network Section */
.map-container {
    position: relative;
    margin-top: 50px;
}

.map-container img {
    width: 100%;
    height: auto;
}


/* Sponsors Section */
.sponsors-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.sponsor-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.sponsor-item:hover {
    opacity: 1;
    filter: grayscale(0);
}

#Amazon-img img {
    height: 30vh;
}

.sponsor-item img {
    max-width: 100%;
    height: 8vh;
    object-fit: contain;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(to bottom, #FFFFFF, #F8F8F8);
}

/* Container for dummy arrows */
.testimonials-bottom-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 0 20px;
}


.dummy-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #F53838;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    background: transparent;
    transition: all 0.3s ease;
    font-size: 20px;
    color: #F53838;
    text-decoration: none;
}

.dummy-arrow:hover {
    background: #F53838;
    color: #FFFFFF;
}



.testimonials-track {
    display: flex;
    width: 100%;
    gap: 30px;
    /* Space between testimonial cards */
    flex-wrap: wrap;
    /* Allow cards to wrap on smaller screens */
    justify-content: center;
    /* Center cards if they don't fill the row */
}

.testimonial-card {
    /* Flex basis for 3 cards in a row, considering the gap */
    flex: 0 0 calc(33.333% - 20px);
    max-width: 380px;
    /* Optional max width for consistency */
    padding: 0 15px;
    /* Internal padding for spacing */
}

.slide {
    border: 2px solid #DDDDDD;
    border-radius: 10px;
    padding: 30px;
    background: #FFFFFF;
    transition: all 0.3s ease;
    height: 100%;
    /* Ensures cards in a row have equal height */
    display: flex;
    /* Makes content within card flex for better layout */
    flex-direction: column;
}

.slide:hover {
    border-color: #F53838;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.user-details p {
    font-size: 14px;
}

.user-rating {
    margin-left: auto;
    display: flex;
    align-items: center;
    color: #0B132A;
    font-weight: 500;
}

.user-rating i {
    color: #FEA250;
    margin-left: 5px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    margin-top: auto;
    /* Pushes text to the bottom if card content varies */
}

/* Subscribe Section */
.subscribe {
    background: #FFFFFF;
    padding: 60px 70px;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    margin-top: 60px;
}

.subscribe-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subscribe-text h2 {
    font-size: 35px;
    margin-bottom: 20px;
    max-width: 400px;
}

/* Footer */
.footer {
    background: #F8F8F8;
    padding: 100px 0 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
}

.footer-about {
    flex: 2;
    padding-right: 100px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    color: #F53838;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #F53838;
    color: #FFFFFF;
}

.copyright {
    color: #AFB5C0;
    font-size: 16px;
}

.footer-links {
    flex: 1;
}

.footer-links h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #4F5665;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #F53838;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #F53838;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 20px rgba(245, 56, 56, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(245, 56, 56, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 50px;
    }

    .features-content {
        flex-direction: column;
        gap: 50px;
    }

    .features-text {
        text-align: center;
    }

    .features-list {
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-grid {
        flex-wrap: wrap;
    }

    .subscribe-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .subscribe-text h2 {
        max-width: 100%;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 20px 0;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: #FFFFFF;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        z-index: 1000;
        padding: 80px 30px;
    }

    .mobile-menu-toggle:checked~.navbar {
        left: 0;
    }
    .navbar ul {
        flex-direction: column;
    }

    .navbar ul li {
        margin: 15px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .auth-buttons {
        display: none;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 50px;
    }

    .footer-about {
        padding-right: 0;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 0;
    }

    .testimonials-bottom-controls {
        justify-content: center;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 30px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .subscribe {
        padding: 40px 20px;
    }

    .subscribe-text h2 {
        font-size: 28px;
    }

    .btn-large {
        padding: 15px 40px;
    }
}