/* Header Styles */

html, body {
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Arial', sans-serif;
  font-size: 16px;
  color: #222;
  line-height: 1.6;
}
* {
  font-family: inherit;
}
.header-container {
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.phone-link, .email-link {
    color: #555;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

.phone-link:hover, .email-link:hover {
    color: #3a5db6;
}

.social-icons {
    display: flex;
    gap: 25px;
}

.social-icon {
    color: #555;
    font-size: 25px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #3a5db6;
}

.main-header {
    padding: 18px 0;
    background-color: #fff;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 70px;
    margin-right: 20px;
}

.main-nav {
    flex-grow: 1;
    margin-left: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    gap: 30px;
}

.nav-menu li a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu li a:hover, .nav-menu li a.active {
    color: #3a5db6;
}

.nav-menu li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #3a5db6;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu li a:hover:after, .nav-menu li a.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 30px;
    color: #333;
    margin-right: 40px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: relative; /* Added position relative */
        z-index: 1001; /* Added z-index to ensure it stays above the menu */
    }
    
    .contact-info {
        display: none; /* Hide contact info on mobile */
    }
    
    .social-icons {
        display: none; /* Hide social icons on mobile */
    }
    
    .top-bar {
        display: none; /* Hide entire top bar on mobile */
    }
    
    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative; /* Added position relative */
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .logo img {
        height: 50px; /* Slightly smaller logo on mobile */
    }
    
    .main-nav.show {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        z-index: 1000;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .main-nav.show .nav-menu {
        display: flex;
        flex-direction: column;
        padding: 15px;
    }
    
    .main-nav.show .nav-menu li {
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: nowrap; /* Prevent wrapping to keep logo and hamburger on same line */
    }
    
    .logo {
        margin-bottom: 0;
    }
}

/* Enhanced Banner Slider Styles */
.banner-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto 40px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slide {
    display: none;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px; /* Fixed height for consistent appearance */
    object-fit: cover; /* Ensures image covers the area without distortion */
}

/* Improved Navigation Dots */
.dot-container {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
    z-index: 10;
}

.dot {
    height: 05px;
    width: 05px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.active, .dot:hover {
    background-color: white;
    transform: scale(1.2);
}

/* Fade Animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

/* Banner Slider Mobile Responsive Styles */
@media (max-width: 992px) {
    .slide img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .banner-slider {
        margin-top: 0;
        margin-bottom: 30px;
    }
    
    .slide img {
        height: 300px;
    }
    
    .dot {
        height: 10px;
        width: 10px;
        margin: 0 3px;
    }
}

@media (max-width: 480px) {
    .slide img {
        height: 200px;
    }
}

/* Why Khodal Plast Section Styles */
.why-section {
    padding: 60px 0;
    background-color: #ffff;
}

.why-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.stats-wrapper {
    margin-bottom: 0;
}

.why-content {
    flex: 1;
    padding-right: 40px;
    max-width: 60%;
}

.why-image {
    flex: 1;
    max-width: 40%;
    padding-left: 20px;
}

.why-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #333;
}
.why-content .tagline {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #555;
}

.why-content .description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.view-more-btn {
    display: inline-block;
    background-color: #1b5e20; /* Dark green color like in the image */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.view-more-btn:hover {
    background-color: #0d4717;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 20px 15px;
    margin: 10px;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 30px;
    color: #1b6344;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #189952;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #777;
}

/* Responsive styles */
@media (max-width: 992px) {
    .why-content, .why-image {
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }
    
    .why-image {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .why-section .container {
        flex-direction: column;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .stat-item {
        min-width: calc(50% - 30px);
    }
}

@media (max-width: 576px) {
    .why-content h2 {
        font-size: 28px;
    }
    
    .why-content .tagline {
        font-size: 18px;
    }
    
    .stat-item {
        min-width: calc(100% - 30px);
        margin: 10px 0;
    }
}

.swiper {
    width: 100%;
    padding: 130px 0;
    margin: 0 auto;
    max-width: 1000px;
    margin-bottom:100px;
  }
.swiper-wrapper{
    margin-top: 50px;
}

  .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .swiper-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }

  .product-card {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
  }

  .spinner {
    border: 4px solid rgba(0, 102, 204, 0.2);
    border-top: 4px solid #0066cc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  .hidden {
    display: none;
  }
  
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
  }
  

  /* Responsive adjustments */
  @media (max-width: 992px) {
    .swiper-slide {
      height: 280px;
    }
  }
  
  @media (max-width: 768px) {
    .swiper-slide {
      height: 250px;
    }
    
   
  @media (max-width: 480px) {
    .swiper-slide {
      height: 220px;
    }
  }
}
  .swiper {
    width: 100%;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
  }

  .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .swiper-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }

  .product-card {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
  }

  .spinner {
    border: 4px solid rgba(0, 102, 204, 0.2);
    border-top: 4px solid #0066cc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  .hidden {
    display: none;
  }
  
  /* Swiper navigation and pagination */
  .swiper-button-next,
  .swiper-button-prev {
    color: #0066cc;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
  }
  
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
  }
  
  .swiper-pagination-bullet-active {
    background: #0066cc;
  }
  
  /* Responsive adjustments */
  @media (max-width: 992px) {
    .swiper-slide {
      height: 280px;
    }
  }
  
  @media (max-width: 768px) {
    .swiper-slide {
      height: 250px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
      width: 35px;
      height: 35px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
      font-size: 16px;
    }
  }
  
  @media (max-width: 480px) {
    .swiper-slide {
      height: 220px;
    }
  }
  .products-header{
    text-align: center;
    margin-bottom: 60px;
  }
  .products-header h2{
    font-size: 36px;
  }
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 32px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.product-category {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 420px;
    min-width: 220px;
    max-width: 100%;
}

.product-image {
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.product-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 20px 18px 20px;
}

.product-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.product-content p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 18px;
    font-size: 0.98rem;
    flex: 1 1 auto;
}

.product-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #275A44;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: background 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.product-btn:hover {
    background: #00ff55;
    color: rgb(0, 0, 0);
    text-decoration: none;
}
.view-all-products{
    text-align: center;
    margin-bottom: 20px;
}
.view-all-btn{
    background: #1B5039;
    color: white;
    border-radius: 25px;
    padding: 10px 22px;
    font-weight: 500;
    transition: background 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}
.view-all-btn:hover{
    background: #00ff55;
    color: rgb(0, 0, 0);
    text-decoration: none;
}


@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-category {
        height: 400px;
    }
    .product-image {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 40px 0 20px 0;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-category {
        height: 370px;
    }
    .product-image {
        height: 120px;
    }
    .product-content {
        padding: 16px 12px 14px 12px;
    }
    .product-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    .product-image {
        height: 90px;
    }
    .product-category {
        height: 300px;
        min-width: 0;
    }
    .view-all-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Footer Styles */
.site-footer {
  background: #222;
  color: #f8f9fa;
  padding: 50px 0 0 0;
  font-family: inherit;
  font-size: 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 40px 20px;
}

.footer-col {
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 30px;
}

.footer-brand {
  flex: 1 1 260px;
  min-width: 220px;
}

.footer-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
  padding: 5px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer-col h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 10px 0 5px 0;
  font-weight: 700;
}

.footer-col p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #f8f9fa;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #00aaff;
  text-decoration: underline;
}

.footer-contact i {
  margin-right: 8px;
  color: #00aaff;
  font-size: 1.1em;
}

.footer-social {
  margin-top: 12px;
}

.footer-social a {
  color: #f8f9fa;
  margin-right: 12px;
  font-size: 1.2rem;
  display: inline-block;
  transition: color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  color: #00aaff;
  transform: translateY(-2px) scale(1.15);
}

.footer-bottom {
  background: #181818;
  color: #aaa;
  text-align: center;
  padding: 18px 0;
  font-size: 0.98rem;
  margin-top: 20px;
  letter-spacing: 0.5px;
  border-top: 1px solid #333;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .footer-col, .footer-brand {
    min-width: 0;
    width: 100%;
    margin-bottom: 30px;
  }
  .footer-brand {
    margin-bottom: 20px;
  }
}
@media (max-width: 600px) {
  .site-footer {
    padding: 35px 0 0 0;
    font-size: 0.98rem;
  }
  .footer-logo {
    width: 55px;
    height: 55px;
  }
  .footer-bottom {
    font-size: 0.92rem;
    padding: 12px 0;
  }
}

.reviews-section {
  background: #fff;
  padding: 80px 0 80px 0;
  max-width: 1600px;
  margin: 0 auto;
}
.reviews-header {
  text-align: center;
  margin-bottom: 32px;
}
.reviews-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 10px;
}
.reviews-header .highlight {
  color: #275A44;
}
.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.review-card {
  background: #f8f9fa;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.07);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.review-card:hover {
  box-shadow: 0 10px 30px rgba(0,102,204,0.13);
  transform: translateY(-6px) scale(1.03);
}
.review-stars {
  color: #ffb400;
  font-size: 1.3rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.review-text {
  color: #444;
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 18px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0066cc;
}
.review-author span {
  color: #0066cc;
  font-weight: 600;
  font-size: 1rem;
}
@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .reviews-section {
    padding: 35px 0 20px 0;
  }
  .reviews-header h2 {
    font-size: 1.3rem;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .review-card {
    padding: 20px 10px 16px 10px;
  }
}

@media (max-width: 992px) {
  .main-nav.show {
    display: block !important;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 100;
    padding: 20px 0 10px 0;
  }
  .main-nav.show .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-left: 30px;
  }
}

.blog-hero {
  text-align: center;
  padding: 48px 0 18px 0;
}
.blog-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.blog-hero .highlight {
  color: #0066cc;
}
.blog-intro {
  color: #555;
  font-size: 1.08rem;
  max-width: 600px;
  margin: 0 auto 18px auto;
}
.blog-list-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 220px;
}
.blog-empty-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 48px 32px;
  text-align: center;
  color: #666;
  font-size: 1.15rem;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.blog-empty-card i {
  color: #0066cc;
  font-size: 2.5rem;
  margin-bottom: 8px;
}
@media (max-width: 600px) {
  .blog-hero h1 {
    font-size: 1.3rem;
  }
  .blog-empty-card {
    padding: 24px 8px;
    font-size: 1rem;
  }
}
