
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}


header {
    background: #4a00e0;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links li a:hover {
    color: #ffdd00;
    transform: scale(1.1);
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
}

.slider {
    width: 100%;
    min-height: 100vh; /* ✅ slider full height */
    padding: 80px 0;   /* ✅ content breathe kare */
    display: flex;
    align-items: center; /* ✅ vertically center */
    overflow: visible;   /* ✅ text/button cut fix */
}
.slider .container {
    padding-top: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.slider-content {
    max-width: 500px; /* ✅ width define */
    padding-left: 30px; /* ✅ space from left */
}

.slider h1 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
}

.slider .p1 {
    margin-bottom: 30px;
}

.slider .prev, 
.slider .next {
  position: absolute;
  top: 50% !important;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}

.slider .btn {
    padding: 15px 40px;
    border-radius: 7px;
    background-color: green;
    color: white;
    border-color: none;
    margin-top: 20px; /* ✅ space under text */
}

.slider .btn {
    padding: 15px 40px;
    border-radius: 7px;
    background-color: green;
    color: white;
    border-color: none;
    margin-top: 20px; /* ✅ space under text */
}
.hero-slider {
    position: relative;
    overflow: visible;
    height: auto;
}

.hero-slider .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hero-slider .slide {
    min-width: 100%;
    position: relative;
}

.hero-slider .slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.slide-text {
  background: none !important;
  backdrop-filter: none !important;
  z-index: 10;
  position: relative;
}


.hero-slider button {
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    border: none;
    background: #ffdd00;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.hero-slider button:hover {
    transform: scale(1.1);
    background: #e6c200;
}


.slide {
    display: none;
}

.slide.active {
    display: block;
}



.slide-text {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    backdrop-filter: blur(3px);
}

.hero-slider .slide-text h2 {
    color: #fff;
}


.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.7);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Products Section */
.products {
    padding: 4rem 2rem;
    text-align: center;
}

.products h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 0.5rem;
}

.product-card p {
    font-weight: bold;
    color: #4a00e0;
}

.product-card button {
    margin: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    background: #4a00e0;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.product-card button:hover {
    background: #6a1ff0;
    transform: scale(1.05);
}


.cart-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 15px rgba(0,0,0,0.2);
    transition: right 0.4s ease;
    z-index: 1001;
    padding: 2rem;
    overflow-y: auto;
}

.cart-modal.active {
    right: 0;
}

.cart-modal h2 {
    margin-bottom: 1rem;
}

.cart-modal ul {
    list-style: none;
    margin-bottom: 1rem;
}

.cart-modal button {
    padding: 0.7rem 1.2rem;
    border: none;
    background: #4a00e0;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cart-modal button:hover {
    background: #6a1ff0;
    transform: scale(1.05);
}


.about {
    padding: 4rem 2rem;
    text-align: center;
    background: #e6e6ff;
}

.about h2 {
    margin-bottom: 1rem;
}


.contact {
    padding: 4rem 2rem;
    text-align: center;
}

.contact form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact input, .contact textarea {
    padding: 0.7rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact input:focus, .contact textarea:focus {
    border-color: #4a00e0;
    box-shadow: 0 0 5px rgba(74,0,224,0.5);
}

.contact button {
    padding: 0.7rem;
    border: none;
    background: #4a00e0;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact button:hover {
    background: #6a1ff0;
    transform: scale(1.05);
}


footer {
    padding: 2rem;
    background: #4a00e0;
    color: #fff;
    text-align: center;
}

footer .social-icons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

footer .social-icons a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-icons a:hover {
    color: #ffdd00;
    transform: scale(1.2);
}


@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px);}
    100% { opacity: 1; transform: translateY(0);}
}


@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background: #4a00e0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }
}
@media (max-width: 480px) {
    .hero-slider {
        height: 50vh;
    }

    .cart-modal {
        width: 90%;
    }

    .product-card img {
        height: 150px;
    }
}

@media (max-width: 600px) {
  .slide-text {
      bottom: 10%;
      font-size: 1rem;
      padding: 8px 10px;
  }

  .prev, .next {
      font-size: 1.5rem;
      padding: 0.3rem 0.6rem;
  }
}

@media (max-width: 768px) {
    .slider .container {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .slider-content {
        padding-left: 0;
        max-width: 100%;
    }

    .slider h1 {
        font-size: 32px;
    }

    .slider .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .slider-image img {
        width: 80%;
        max-width: 330px;
        margin-top: 20px;
    }
}