/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.company-logo{
        width: 60px;
        height: 60px;
}

.nav-logo{
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.nav-logo h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #e74c3c;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e74c3c;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}


/* Hero Section */
/* Welcome Section */
.welcome-section {
  padding: 5rem 2rem 1rem;
  margin-top: 3rem; /* space below navbar */
  background: #fbfbfb;
  text-align: center;
}

.welcome-section .container {
  max-width: 850px;
  margin: 0 auto;
}

/* Title */
.welcome-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

/* Divider Shape */
.welcome-divider {
  width: 80px;
  height: 4px;
  background: #e74c3c; /* brand color */
  border-radius: 2px;
  margin: 0 auto 1rem;
}

/* Text */
.welcome-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .welcome-title {
    font-size: 2rem;
}
.welcome-text {
      display: none;
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .welcome-section {
    padding: 4rem 1.5rem 2.5rem;
    margin-top: 5rem;
  }
  .welcome-title {
    font-size: 1.8rem;
  }
  .welcome-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .welcome-section {
    padding: 3rem 1.2rem 2rem;
    margin-top: 4.5rem;
  }
  .welcome-title {
    font-size: 1.6rem;
  }
  .welcome-divider {
    width: 60px;
    height: 3px;
  }
  .welcome-text {
    font-size: 0.95rem;
  }
}



.btn-cta {
  background-color: #e74c3c;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(231, 76, 60, 0.4);
}

.btn-cta:hover {
  background-color: #d33625;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(231, 76, 60, 0.5);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 50px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll-down 1.5s infinite;
}

@keyframes scroll-down {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 16px); }
}

/* === Responsive Hero === */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100dvh; /* Always full screen on tablet/mobile */
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 100dvh; /* Force full mobile screen */
    padding: 0 10px;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
  .btn-cta {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}



.btn-cta {
  background-color: #e74c3c;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  margin-top: 1rem;
  display: inline-block;
  transition: transform 0.3s ease, background-color 0.3s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  background-color: #d33625;
  transform: translateY(-2px);
}


/* === Categories Section === */
.categories-section {
  padding: 60px 20px 20px;
  text-align: center;
}

.categories-section .section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
}

.categories-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center every row */
  gap: 30px;
}

.category-item {
  flex: 0 1 140px; /* Fixed item width */
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease, color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-item:hover {
  transform: translateY(-8px);
  color: #e74c3c;
}

.category-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.category-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-item:hover .category-circle {
  box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
  transform: scale(1.05);
}

.category-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 5px;
}

/* === Responsive Design === */
@media (max-width: 1200px) {
  .categories-wrapper {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .categories-wrapper {
    justify-content: center;
  }
  .category-item {
    flex: 0 1 45%; /* 2 per row on mobile */
  }
}



/* Types of woods images section */
/* Wood Types Section */
.wood-types {
  padding: 60px 20px;
  background: #fff;
}

.wood-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.wood-slideshow {
  flex: 1;
  min-width: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  height: 500px; /* 🔹 Fixed height for all images */
}

.wood-slideshow img {
  width: 100%;
  height: 100%; /* 🔹 Fill the container */
  object-fit: cover; /* 🔹 Crop neatly while keeping proportion */
  display: none;
  border-radius: 12px;
  transition: opacity 1s ease-in-out;
  position: absolute; /* 🔹 Stack images */
  top: 0;
  left: 0;
}

.wood-slideshow img.active {
  display: block;
  opacity: 1;
}

/* Description */
.wood-description {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wood-description h2 {
  font-size: 2rem;
  color: #e74c3c; /* Primary color */
  margin-bottom: 15px;
}

.wood-description p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.6;
}

.wood-description ul {
  list-style: none;
  padding: 0;
}

.wood-description ul li {
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .wood-wrapper {
    flex-direction: column;
  }

  .wood-description h2 {
    text-align: center;
  }

  .wood-description p,
  .wood-description ul {
    text-align: center;
  }
}


/* Shop Locations Section */
.shop-locations {
  background-color: #111;
  color: #fff;
  padding: 60px 20px;
}

.shop-locations .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.location-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.location-card:hover {
  transform: scale(1.02);
}

.location-image {
  height: 300px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
}

.location-overlay {
  position: absolute;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  width: 100%;
}

.location-overlay h3 {
  margin: 0;
  font-size: 1.5rem;
}

.location-overlay p {
  margin-top: 5px;
  font-size: 0.95rem;
  color: #ccc;
}

/* Responsive for large screens */
@media (min-width: 768px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Responsive Layout */
@media (min-width: 768px) {
  .new-arrivals-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .new-arrival-card.large {
    transform: scale(1.05);
    z-index: 2;
  }
}


/* Why Choose Us */
.why-choose-us {
    padding: 100px 0;
    background: #f8f9fa;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #e74c3c;
    transform: translateY(-2px);
}

.location {
    margin-bottom: 1.5rem;
}

.location h5 {
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.contact-numbers i {
    color: #e74c3c;
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    text-align: center;
    color: #bdc3c7;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-top: 80px;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-list li {
    color: #666;
}

.breadcrumb-list li a {
    color: #e74c3c;
    text-decoration: none;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: #999;
}

.breadcrumb-list li.active {
    color: #333;
    font-weight: 500;
}

/* Products Page */
.products-section {
    padding: 10px 0;
    min-height: 70vh;
}

.products-header {
    text-align: center;
    margin-bottom: 3rem;
    
}

.products-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.products-header p {
    color: #666;
    font-size: 1.1rem;
}

/* new look on mobile */
@media (max-width: 768px) {
    .products-header {
    margin-bottom: 1rem;
    }
    .products-header p {
    display: none;
    }

    .search-filter-container .search-bar{
        display: none;
    }
}

@media (max-width: 480px) {
    .products-header {
    margin-bottom: 1rem;
    }

    .products-header p {
    display: none;
    }

    .search-filter-container .search-bar{
        display: none;
    }
}

.search-filter-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.search-bar {
    display: flex;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.search-bar input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    border-color: #e74c3c;
}

.search-bar button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.filter-options {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-options select {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    background: white;
    cursor: pointer;
}

.filter-options button {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-options button:hover {
    background: #7f8c8d;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.custom-pagination {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.custom-pagination .pagination-link {
  display: inline-block;
  padding: 0.5em 1.2em;
  background: #fff;
  color: #e74c3c;
  border-radius: 4px;
  border: 1.5px solid #e74c3c;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

.custom-pagination .pagination-link:hover,
.custom-pagination .pagination-link:focus {
  background: #e74c3c;
  color: #fff;
  border-color: #e74c3c;
}

.custom-pagination .pagination-active {
  background: #e74c3c;
  color: #fff;
  border-color: #e74c3c;
  cursor: default;
  pointer-events: none;
}

.custom-pagination .pagination-prev,
.custom-pagination .pagination-next {
  font-weight: bold;
  background: #f9e5e2;
  color: #e74c3c;
  border: 1.5px solid #e74c3c;
}

.product-code {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    color: #e74c3c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.view-details-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
}

.view-details-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-results i {
    font-size: 4rem;
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.no-results h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Product Detail Page */
.product-detail-section {
    padding: 60px 0;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.thumbnail-gallery {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.thumbnail.active,
.thumbnail:hover {
    opacity: 1;
    border: 2px solid #e74c3c;
}

.product-details h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-code-detail {
    background: #f8f9fa;
    color: #666;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.product-price-detail {
    color: #e74c3c;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.product-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-specifications {
    margin-bottom: 2rem;
}

.product-specifications h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.specifications-list {
    list-style: none;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.specifications-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
}

.specifications-list li:last-child {
    border-bottom: none;
}

.specifications-list strong {
    color: #2c3e50;
}

.contact-inquiry-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-inquiry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

.related-products {
    padding: 60px 0;
    background: #f8f9fa;
}

.related-products h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.recently-viewed {
    padding: 60px 0;
    background: #f8f9fa;
}

.recently-viewed h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-size: 2rem;
}

/* About Page */
.about-hero {
    position: relative;
    background: url('https://res.cloudinary.com/djesjtvm1/image/upload/v1753728269/TX-203_obovtj.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2; 
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.company-story {
    padding: 100px 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.story-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mission-vision {
    padding: 100px 0;
    background: #f8f9fa;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-card,
.vision-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.card-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.card-icon i {
    font-size: 2.5rem;
    color: white;
}

.mission-card h3,
.vision-card h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.mission-card p,
.vision-card p {
    color: #666;
    line-height: 1.8;
}

.our-values {
    padding: 100px 0;
}

.our-values h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

.our-branches {
    padding: 100px 0;
    background: #f8f9fa;
}

.our-branches h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.branch-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.branch-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.branch-info {
    padding: 2rem;
}

.branch-info h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.branch-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item i {
    color: #e74c3c;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.detail-item p {
    color: #666;
    line-height: 1.6;
}

/* New Contact Page */
.contact-area {
  background: #f5f5f5;
  font-family: 'Arial', sans-serif;
  min-height: 100vh;          
  display: flex;              
  justify-content: center;     
  align-items: center;         
  padding: 40px 20px;
}

.wrapper {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.contact-header {
  margin-bottom: 50px;
}

.heading {
  font-size: 3rem;          /* Increased from 2.5rem */
  color: #2c3e50;
  margin-bottom: 15px;
}

.subheading {
  color: #666;
  font-size: 1.2rem;        /* Increased from 1rem */
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px;
  justify-content: center;
}

.contact-card {
  background: #fff;
  padding: 30px 25px;       /* Slightly more padding for better spacing */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 20px;                /* Slightly more gap between icon and text */
  align-items: flex-start;
  transition: all 0.3s ease;
  min-height: 170px;        
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.icon-box {
  font-size: 2.5rem;        /* Increased from 2rem */
  color: #e74c3c;
  flex-shrink: 0;
}

.card-details h4 {
  font-size: 1.6rem;        /* Increased from 1.4rem */
  color: #222;
  margin-bottom: 10px;
}

.card-details p {
  margin: 5px 0;
  font-size: 1.1rem;        /* Increased from 1rem */
  color: #444;
}

/* Responsive Tweaks */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;  
  }

  .contact-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .icon-box {
    margin-bottom: 15px;      /* More spacing for small screens */
  }
}




/* Contact Page */
.contact-hero {
    position: relative;
    background: url('https://res.cloudinary.com/djesjtvm1/image/upload/v1756142215/TX-040_nbm7ik.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* dark overlay */
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2; /* keep text above overlay */
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-section {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-container h2,
.contact-info-container h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 2rem;
}


.contact-info-container p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 1.5rem;
    color: white;
}

.method-info h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.method-info p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.store-locations {
    padding: 100px 0;
    background: #f8f9fa;
}

.store-locations h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.location-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
}

.location-header h3 {
    color: #2c3e50;
    font-size: 1.8rem;
}

.location-badge {
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.location-details {
    padding: 0 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-row i {
    color: #e74c3c;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.detail-row div {
    color: #666;
    line-height: 1.6;
}

.detail-row strong {
    color: #2c3e50;
}

.location-map {
    height: 200px;
}

.location-map iframe {
    border-radius: 0 0 20px 20px;
}

.faq-section {
    padding: 100px 0;
}


/* Testimonial Section */
.reviews-section {
  padding: 80px 20px;
  background: #fdfdfd;
  text-align: center;
}

.reviews-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #2c3e50;
  font-weight: 800;
}

/* =========================
   Buttons
   ========================= */
.reviews-btn {
  background: #f4412d;
  color: #fff;
  border: none;
  padding: 16px 28px;
  margin: 15px 8px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}
.reviews-btn:hover:not(:disabled) {
  background: #bd3124;
  transform: scale(1.05);
}
.reviews-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* =========================
   Review Form
   ========================= */
.reviews-form {
  max-width: 600px;
  margin: 30px auto;
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.reviews-form.hidden {
  display: none;
}

.reviews-form input,
.reviews-form textarea {
  width: 100%;
  margin: 12px 0;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
}
.reviews-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* =========================
   Reviews Grid
   ========================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.review-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.3s;
  font-size: 1.1rem;
}
.review-card:hover {
  transform: translateY(-6px);
}

.review-card p {
  font-style: italic;
  margin-bottom: 15px;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.6;
}
.review-card h4 {
  color: #b83729;
  font-weight: bold;
  font-size: 1.1rem;
}

/* =========================
   Pagination
   ========================= */
.reviews-pagination {
  margin-top: 30px;
}

/* =========================
   Responsive Adjustments
   ========================= */
@media (max-width: 768px) {
  .reviews-title {
    font-size: 2rem;
  }
  .reviews-btn {
    padding: 14px 22px;
    font-size: 1rem;
  }
  .review-card {
    padding: 20px;
    font-size: 1rem;
  }
  .review-card p {
    font-size: 1rem;
  }
  .review-card h4 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .reviews-title {
    font-size: 1.8rem;
  }
  .reviews-form {
    padding: 20px;
  }
  .reviews-form input,
  .reviews-form textarea {
    padding: 12px;
    font-size: 15px;
  }
  .reviews-btn {
    width: 100%; /* full-width buttons on small screens */
    margin: 10px 0;
  }
}

/* video section */
.video-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.video-container {
    max-width: 900px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    text-align: center;
    overflow: hidden;
}

.video-section h2 {
 color: #2c3e50;
 font-size: 2.5rem;
 margin-bottom: 1rem;
}

.video-description {
  max-width: 800px;
  margin: 0 auto 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.video-wrapper {
    position: relative;
    padding-top: 33.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Mobile - Portrait Video (9:16 ratio) */
@media (max-width: 768px) {
    .video-wrapper {
        padding-top: 100%; 
        max-width: 400px;
        margin: 0 auto;
    }

    .video-wrapper video {
        object-fit: cover;
    }
}


/* FAQ Section */
.faq-section h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: #e74c3c;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }

    .company-logo{
        width: 50px;
        height: 50px;
    }
    
    .mission-values {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .search-filter-container {
        padding: 1.5rem;
    }
    
    .search-bar {
        flex-direction: column;
    }
    
    .filter-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-options select,
    .filter-options button {
        width: 100%;
    }
    
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .about-hero h1,
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .welcome-content h2,
    .featured-categories h2,
    .why-choose-us h2 {
        font-size: 2rem;
    }

    .main-image {
    width: 100%;
    height: 550px;
    
}
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-card {
        margin: 0 10px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .search-filter-container {
        padding: 1rem;
        margin: 0 10px 2rem;
    }
    
    .product-detail-container {
        gap: 1.5rem;
    }
    
    .product-details h1 {
        font-size: 2rem;
    }
    
    .product-price-detail {
        font-size: 1.5rem;
    }
    
    .about-hero,
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    .about-hero h1,
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .story-content,
    .contact-content {
        gap: 1.5rem;
    }
    
    .branch-card,
    .location-card {
        margin: 0 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image Lazy Loading */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-image.loaded {
    opacity: 1;
}