/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  color: #333;
  background: #fff;
}

/* Header */
header {
  width: 100%;
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Image */
.logo img {
  height: 55px;       
  max-height: 100%;   
  width: auto;        
  display: block;
  object-fit: contain; 
}

/* Active page link */
.nav-links li a.active {
  position: relative;
  color: #e63946; /* make text red too (optional) */
}

.nav-links li a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;   /* adjust underline position */
  width: 100%;
  height: 2px;
  background-color: #e63946;
}

nav .nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}
nav .nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}
nav .nav-links li a:hover {
  color: #e74c3c;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* ==============================
   Top Switch Bar (Responsive)
============================== */
.switch-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: #e3e3e3;
  padding: 10px;
  flex-wrap: wrap;   /* allows wrapping on small screens */
}

.switch-btn img {
  height: 45px;   /* default size for desktop */
  width: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.switch-btn img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* 📱 Mobile responsiveness */
@media (max-width: 768px) {
  .switch-btn img {
    height: 35px;   /* smaller logos on tablets */
  }
}

@media (max-width: 480px) {
  .switch-bar {
    gap: 10px;   /* tighter spacing on small screens */
  }
  .switch-btn img {
    height: 28px;   /* even smaller on phones */
  }
}



/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  flex-wrap: wrap;
}
.hero-content {
  flex: 1;
  min-width: 280px;
}
.hero-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #2c1c0c;
}
.hero-content p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: black;
}
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #e74c3c;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
}
.btn:hover {
  background: #c0392b;
}
.hero-image {
  flex: 1;
  text-align: center;
}
.hero-image img {
  max-width: 100%;
  height: 700px;
}

/* findings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #333;
}

/* Section with background image */
.services {
  padding: 60px 8%;
  text-align: center;
  background: url("/assests/icon/home2.jpg") no-repeat center center/cover;
  position: relative;
  z-index: 1;
}

/* Dark overlay for readability */
.services .overlay {
  background: rgba(255, 255, 255, 0.433);
  padding: 40px;
  border-radius: 12px;
}

/* Header */
.services-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2c1c0c;
}
.services-header p {
  color: black;
  margin-bottom: 30px;
  font-size: 15px;
}

/* Buttons */
.services-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}
.services-buttons button {
  background: #e6cda9;
  color: #2c1c0c;
  padding: 12px 18px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.services-buttons button:hover {
  background: #e74c3c;
  color: #fff;
}

/* Content Layout */
.services-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}

/* Left side */
.services-left {
  flex: 1;
  min-width: 280px;
  text-align: left;
}
.services-left h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #2c1c0c;
}
.services-left p {
  line-height: 1.6;
  color: black;
}

/* Right side - Cards */
.services-right {
  flex: 1;
  min-width: 280px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  text-align: left;
}
.card i {
  font-size: 28px;
  color: #e74c3c;
  margin-bottom: 10px;
}
.card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #2c1c0c;
}
.card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}



/* Responsive */
@media (max-width: 900px) {
  .services-content {
    flex-direction: column;
    text-align: center;
  }
  .services-left {
    text-align: center;
  }
  .services-right {
    grid-template-columns: 1fr;
  }
  .services .overlay {
    padding: 20px;
  }
}
@media (max-width: 600px) {
  .services .overlay {
    padding: 20px 4%;
  }
}


/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    margin-bottom: 30px;
  }
}
@media (max-width: 600px) {
  .hero-image img {
    height: 400px;
  }
}
@media (max-width: 768px) {
  nav .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-left: 1px solid #ddd;
    display: none;
  }
  nav .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}





/* ================================
   Pre-Hero Section (Full Styling)
================================ */
.pre-hero {
  position: relative;
  height: 97vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.pre-hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.pre-hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}

.pre-hero-content {
  max-width: 900px;
  padding: 20px;
  animation: fadeInUp 1s ease-in-out forwards;
}

/* Heading + Subtext */
.pre-hero-content h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
}
.pre-hero-content h1 span {
  color: #0a0a0a; /* theme accent */
}
.pre-hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f5f5f5;
}

/* Button Group */
.btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}
.pre-hero .btn {
  background: #e74c3c;
  border-radius: 4px;
  padding: 12px 24px;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}
.pre-hero .btn:hover {
  background: #fff;
  color: #e74c3c;
}
.btn.secondary {
  background: #e74c3c;
  border-radius: 4px;
  padding: 12px 24px;
  color: #fff;
}
.btn.secondary:hover {
  background: #fff;
  color: #e74c3c;
}

/* Stats Section */
.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
}
.stat-box h3 {
  font-size: 32px;
  font-weight: 700;
  color: black;
}
.stat-box p {
  margin-top: 5px;
  font-size: 15px;
  color: #f0f0f0;
}

/* Service Highlights */
.service-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.service-icons div {
  background: rgba(255,255,255,0.1);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 15px;
  backdrop-filter: blur(4px);
  transition: 0.3s;
}
.service-icons div:hover {
  background: #e74c3c;
  color: #fff;
}



/* Animations */
@keyframes scrollAnim {
  0% { opacity: 0; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 15px); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .pre-hero-content h1 {
    font-size: 28px;
  }
  .pre-hero-content p {
    font-size: 15px;
  }
  .stats {
    flex-direction: column;
    gap: 15px;
  }
  .service-icons {
    flex-direction: column;
  }
}




.products-section {
  padding: 60px 8%;
  background: url("/assests/P-img/product1.jpg") no-repeat center center/cover;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Overlay for readability */
.products-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 28, 12, 0.6); /* dark overlay */
  z-index: -1;
}

.products-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff; /* changed to white for contrast */
}
.products-header p {
  color: #eee; /* lighter text for visibility */
  font-size: 16px;
  margin-bottom: 40px;
}

.products-container {
  display: flex;
  align-items: stretch;
  gap: 35px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2; /* keeps content above overlay */
}

/* Left Menu */
.products-menu {
  flex: 1;
  min-width: 250px;
}
.products-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #f9f9f9;
  border-radius: 8px;
}
.products-menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 16px;
  cursor: pointer;
  color: #333;
  transition: all 0.3s ease;
  border-bottom: 1px solid #eee;
}
.products-menu li:last-child {
  border-bottom: none;
}
.products-menu li:hover,
.products-menu li.active {
  background: #e74c3c;
  color: #fff;
  padding-left: 28px;
}
.products-menu .icon {
  margin-right: 10px;
  font-size: 18px;
}
.products-menu .arrow {
  font-size: 18px;
  opacity: 0.6;
}

/* Right Image */
.products-image {
  flex: 2;
  min-width: 320px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.products-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.products-image img.fade-out {
  opacity: 0;
  transform: translateX(-40px);
}
.products-image img.fade-in {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
  .products-container {
    flex-direction: column;
  }
  .products-image img {
    height: auto;
  }
}

/* ===========================
   About Us Section (Staggered Layout)
=========================== */
.about-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 60px 10%;
  background: #fff;
  flex-wrap: wrap;
  gap: 30px;
}

.about-text {
  flex: 1;
  min-width: 280px;
}
.about-text h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #2c1c0c;
  margin-bottom: 20px;
}
.about-text h2 {
  font-size: 1.9rem;
  font-weight: bold;
  color: #2c1c0c;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}
.about-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #e74c3c;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}
.about-btn:hover {
  background: #2f3d2c;
  color: #fff;
}

/* Cards Layout */
.about-cards {
  flex: 1.2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
}

.about-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  min-height: 220px;
}

.about-card.small {
  height: 220px;
}
.about-card.large {
  grid-column: span 2;
  height: 320px;
}

.about-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: rgba(0,0,0,0.5);
  color: #fff;
}
.about-card .overlay h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}
.about-card .overlay a {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  font-size: 0.9rem;
  text-decoration: underline;
}

/* Section layout */
.services-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 3rem;
  font-family: Arial, sans-serif;
  flex-wrap: wrap;
}

/* Left side text */
.services-text {
  flex: 1;
  min-width: 250px;
}
.services-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.services-text p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

/* Right side cards */
.services-cards {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  min-width: 280px;
}

/* Card styles */
.service-card {
  background: #faf6f0;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}
.service-card h3 {
  flex: 1;
  font-size: 1.1rem;
  margin: 0;
  color: #111;
}
.service-card .arrow {
  font-size: 1.2rem;
  font-weight: bold;
  color: #111;
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Tablet view */
@media (max-width: 900px) {
  .services-section {
    flex-direction: column;
    text-align: center;
  }
  .services-text {
    margin-bottom: 2rem;
  }
  .services-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile view */
@media (max-width: 600px) {
  .services-cards {
    grid-template-columns: 1fr;
  }
  .service-card {
    justify-content: flex-start;
  }
  .service-card h3 {
    font-size: 1rem;
  }
  .services-text h2 {
    font-size: 2rem;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .about-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px; /* reduce side padding */
  }

  .about-cards {
    grid-template-columns: 1fr;
    width: 100%; /* make grid take full width */
  }

  .about-card,
  .about-card.small,
  .about-card.large {
    grid-column: span 1;
    width: 100%;       /* full width on mobile */
    height: auto;
    aspect-ratio: 16/9; 
    min-height: 200px;
  }

  .about-card .overlay {
    padding: 15px;
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .about-section {
    padding: 30px 15px; /* tighter padding for small screens */
  }

  .about-text h1 {
    font-size: 2.2rem;
  }
  .about-text h2 {
    font-size: 1.4rem;
  }
  .about-text p {
    font-size: 0.95rem;
  }
  .about-card {
    aspect-ratio: 4/3; /* keeps it square-ish on very small devices */
  }
}
