* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 100%;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.auth-buttons {
    display: flex;
    gap: 1rem;
}

.auth-buttons button {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    font-size: 30px;
}

.login-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.signup-btn {
    background-color: #4CAF50;
    color: #ffffff;
    font-size: 30px;
}

.signup-btn:hover {
    background-color: #45a049;
}

/* Basic styling for the slider */
.slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%; /* Each slide takes the full width */
    display: flex;
    justify-content: center; /* Center the image horizontally */
    align-items: center; /* Center the image vertically */
}

.card {
    width: 100vw;   /* The card takes up the full width of the slide */
    height: 100vh;  /* The card takes up the full height of the slide */
    display: flex;
    justify-content: center;
    align-items: center;
}

.card img {
    object-fit: fill;   /* Ensures the image covers the entire card */
    width: 70%;         /* Image takes full width of the card */
    height: 60%;        /* Image takes full height of the card */
    border-radius: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 0.3s;
    cursor: pointer;
}

.dot.active {
    background-color: #fff;
}



/* Existing base styles remain the same */

/* Mobile-first adjustments */
@media (max-width: 480px) {
    /* Header adjustments */
    nav {
        padding: 0.5rem;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .auth-buttons {
        gap: 0.5rem;
    }

    .auth-buttons button {
        padding: 0.5rem 1rem;
        font-size: 16px;
    }

    /* Slider adjustments */
    .slider-container {
        margin-top: 80px; /* Account for smaller header */
    }

    .card {
        height: calc(100vh - 80px);
        padding: 1rem;
    }

    .card img {
        width: 90%;
        height: 40%;
        border-radius: 10px;
    }

    /* Dots navigation */
    .slider-dots {
        bottom: 20px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

/* Tablet adjustments */
@media (min-width: 481px) and (max-width: 768px) {
    nav {
        padding: 0.75rem;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .auth-buttons button {
        padding: 0.6rem 1.2rem;
        font-size: 20px;
    }

    .card img {
        width: 80%;
        height: 50%;
    }
}

/* Touch interaction improvements */
@media (hover: none) {
    .slides {
        touch-action: pan-y pinch-zoom;
    }

    .auth-buttons button {
        -webkit-tap-highlight-color: transparent;
    }

    .auth-buttons button:active {
        transform: scale(0.95);
    }
}

/* Additional performance optimizations */
.slides {
    will-change: transform;
    -webkit-overflow-scrolling: touch;
}

.slide {
    -webkit-user-select: none;
    user-select: none;
}

.footer {
    background-color: #0a0a0a;
    color: white;
    padding: 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.footer-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-heading h2 {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.cta-button {
    background-color: #d2ff4c;
    color: black;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #bfe63d;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.footer-logo img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

.footer-logo p {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon img {
    width: 40px;
    height: 40px;
}

.insta{
    width: 50px;
    height: 50px;
}

.footer-resources h3,
.footer-legal h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-resources ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-resources li,
.footer-legal li {
    margin-bottom: 0.8rem;
}

.footer-resources a,
.footer-legal a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-resources a:hover,
.footer-legal a:hover {
    color: #d2ff4c;
}

.copyright {
    background-color: #d2ff4c;
    color: black;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .footer-heading h2 {
        font-size: 1.5rem;
    }

    .footer-sections {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 1rem;
    }

    .footer-heading h2 {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .footer-logo img {
        width: 80px;
        height: 80px;
    }
}