/* Global Styles */
:root {
    --primary: #ff6b00;
    --secondary: #003366;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: var(--secondary);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    color: var(--primary);
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}
.hidden{
    display: none;
}
.btn-group button.active,
.btn-group button:hover {
    background-color:var(--gray);
}
/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    background: #000;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}

/* Background images for each slide */
.hero-slide:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6)), url('/assets/imgs/slider-imgs/img12.jpeg');
    background-size: cover;
    background-position: center;
}

.hero-slide:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.452)), url('/assets/imgs/slider-imgs/img11.jpeg');
    background-size: cover;
    background-position: center;
}

.hero-slide:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6)), url('/assets/imgs/slider-imgs/img8.jpeg');
    background-size: cover;
    background-position: center;
}
.hero-slide:nth-child(4) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6)), url('/assets/imgs/slider-imgs/img9.jpeg');
    background-size: cover;
    background-position: center;
}
/* Zoom animation keyframes */
@keyframes zoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-slide.active {
    animation: zoomIn 8s linear forwards;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: white;
    color: var(--secondary);
}
.btn-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.btn-group button {
    padding: 10px 20px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}
/* Features Section */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: #f1f3f5;
}

.product-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 5px;
    cursor: pointer;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.product-price {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.product-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}
/* add to cart removed with enquiry */
.whatsapp-btn {
    flex: 1;
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: #002244;
}

.wishlist-btn {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 20px;
    margin-left: 10px;
    cursor: pointer;
    transition: color 0.3s;
}
.wishlist-btn.active,
.wishlist-btn:hover {
    color: #dc3545;
}

/* Testimonials */
.testimonials-slider {
    position: relative;
    min-height: 300px; /* Ensure space for content */
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    visibility: hidden;
}

.testimonial.active {
    opacity: 1;
    visibility: visible;
    position: relative; /* For proper stacking */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray);
}

.testimonial-author {
    font-weight: bold;
    color: var(--secondary);
}

.testimonial-rating {
    color: #ffc107;
    margin-top: 10px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: var(--primary);
}

/* About Us Section */
.about-us {
    padding: 80px 0;
    background: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    text-align: center;
    color: #0066cc;
    margin: 25px 0 15px;
    font-size: 22px;
}

.about-text p {
    text-align: center;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.about-text li {
    font-style: italic;
    justify-content: center;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-text i {
    color: #0066cc;
    margin-right: 10px;
    font-size: 18px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* Newsletter */
.newsletter {
    padding: 80px 0;
    background-color: var(--secondary);
    color: white;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 15px 30px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #e05d00;
}

/* pagination setups== */

.pagination-controls {
    margin-top: 20px;
    text-align: center;
    padding: 15px 0;
}

.pagination-controls button {
    padding: 10px 20px;
    margin: 0 5px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.pagination-controls button:hover {
    background-color: var(--secondary);
}

.pagination-controls button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

#pageIndicator {
    display: inline-block;
    min-width: 80px;
}
/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 15px;
}

.social-links a {
    text-decoration: none;
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 14px;
}

/* Modal overlay */
.faq-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  padding-top: 60px;
}

/* Modal content */
.faq-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: slideDown 0.3s ease-out;
}

/* Close button */
.faq-close {
  color: #333;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.faq-close:hover {
  color: red;
}

/* List inside modal */
.faq-list {
  margin-top: 10px;
  padding-left: 20px;
}
.faq-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 15px;
}
@keyframes slideDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .logo{
        font-size: 18px;
    }

    .header-container {
        flex-direction: column;
        text-align: center;
    }

    nav {
        margin-top: 15px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }

    .selector-container {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 10px;
    }

    .newsletter-form button {
        border-radius: 30px;
    }
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .about-text, .about-image {
        flex: none;
        width: 100%;
    }
    .about-content p{
        text-align: center;
    }
}

@media (max-width: 576px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
    }

    nav {
        display: none;
        width: 100%;
        margin-top: 15px;
    }

    nav.active {
        display: block;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}