/* ===============================================
   ORGANIZED STYLESHEET - PRODUCTS PAGE
   Table of Contents:
   1. CSS Reset & Base Styles
   2. Layout & Container
   3. Typography
   4. Header & Navigation (Standardized)
   5. Hero Section
   6. Product Categories
   7. Product Sections
   8. Footer (Standardized)
   9. Animations & Effects
   10. Media Queries
   =============================================== */

/* ===== 1. CSS RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== 2. LAYOUT & CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 3. TYPOGRAPHY ===== */
.section-title {
  text-align: center;
  color: #005DAA;
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 700;
  /* Animation styles */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.section-title.show {
  opacity: 1;
  transform: translateY(0);
}

.section-subtitle {
  text-align: center;
  color: #555;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
  /* Animation styles */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-delay: 0.2s;
}

.section-subtitle.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 4. HEADER & NAVIGATION ===== */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  padding: 10px 0 0;
  position: relative;
}

.header-container {
  display: flex;
  flex-direction: column;
  position: relative;
}

.header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0;
  min-height: 90px;
}

/* Logo Group */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 70px;
}

.logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-taglines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 2px solid #7AC143;
  padding-left: 15px;
  height: 100%;
}

.tagline-top,
.tagline-middle,
.tagline-bottom {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.tagline-top {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 3px;
  color: #7AC143;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.tagline-middle {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 3px;
  color: #005DAA;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.tagline-bottom {
  font-family: 'Georgia', serif;
  font-size: 16px;
  font-weight: 700;
  color: #7AC143;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-navigation a {
  font-size: 16px;
  color: #005DAA;
  text-decoration: none;
  position: relative;
  padding: 10px 0;
  transition: all 0.3s ease;
}

.main-navigation a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background-color: #7AC143;
  transition: width 0.3s ease;
  position: absolute;
  bottom: -2px;
  left: 0;
}

.main-navigation a:hover::after {
  width: 100%;
}

/* Accent Lines */
.accent-lines {
  display: none;
}

.green-line {
  height: 3px;
  background: linear-gradient(90deg, #7AC143 0%, rgba(122,193,67,0.3) 100%);
  width: 100%;
}

.blue-line {
  height: 3px;
  background: linear-gradient(90deg, #005DAA 0%, rgba(0,93,170,0.3) 100%);
  width: 100%;
}
/* ===== 5. HERO SECTION ===== */
.products-hero {
  background: linear-gradient(135deg, rgba(0, 93, 170, 0.9), rgba(122, 193, 67, 0.8));
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.products-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
 }

.products-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.products-hero p {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
}

/* ===== 6. PRODUCT CATEGORIES ===== */
.product-categories {
margin-top: 50px;
padding: 80px 0;
background: linear-gradient(135deg, #f8f9ff 0%, #f0f8f0 100%);
}

.category-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
margin-top: 50px;
}

.category-card {
background: white;
border-radius: 15px;
padding: 30px 25px;
text-align: center;
box-shadow: 0 8px 25px rgba(0,0,0,0.08);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
height: 100%;
border: 1px solid rgba(0, 93, 170, 0.1);
}

.category-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 4px;
background: linear-gradient(90deg, #7AC143, #005DAA);
transition: left 0.6s ease;
}

.category-card:hover::before {
left: 0;
}

.category-card:hover {
transform: translateY(-10px) scale(1.02);
box-shadow: 0 20px 40px rgba(0,93,170,0.15);
}

.category-icon {
width: 70px;
height: 70px;
margin: 0 auto 20px;
background: linear-gradient(135deg, #7AC143, #005DAA);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 28px;
transition: all 0.3s ease;
}

.category-card:hover .category-icon {
transform: scale(1.1) rotate(5deg);
}

.category-card h3 {
color: #005DAA;
margin-bottom: 15px;
font-size: 1.4rem;
transition: color 0.3s ease;
position: relative;
padding-bottom: 10px;
}

.category-card h3::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 30px;
height: 2px;
background: #7AC143;
transition: width 0.3s ease;
}

.category-card:hover h3::after {
width: 60px;
}

.category-card:hover h3 {
color: #7AC143;
}

.category-card p {
color: #666;
margin-bottom: 25px;
font-size: 0.95rem;
line-height: 1.6;
flex-grow: 1;
}

.category-link {
color: #7AC143;
text-decoration: none;
font-weight: 600;
font-size: 1rem;
transition: all 0.3s ease;
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 20px;
border: 2px solid #7AC143;
border-radius: 30px;
overflow: hidden;
z-index: 1;
margin-top: auto;
}
  
.category-link::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, #7AC143, #005DAA);
transition: left 0.4s ease;
z-index: -1;
}
    
.category-link:hover::before {
left: 0;
}
    
.category-link:hover {
color: white;
border-color: transparent;
}
    
.category-link::after {
content: '';
margin-left: 8px;
transition: transform 0.3s ease;
}
    
.category-link:hover::after {
transform: translateX(4px);
}
    
/* Animation for the cards */
.category-card {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s ease;
}
    
.category-card.animate-in {
opacity: 1;
transform: translateY(0);
}

/* ===== 7. PRODUCT SECTIONS ===== */
.product-section {
  padding: 90px 0;
}

.product-section.alt-bg {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f8f0 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;  
  margin-top: 50px; 
}

.product-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 25px; 
  background: white;
  border-radius: 12px; 
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08); 
  transition: all 0.4s ease;
  position: 900px;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7AC143, #005DAA);
  transform: scaleX(0);
  transition: transform 0.6s ease;
  z-index: 2;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,93,170,0.12);
}

.product-image {
  aspect-ratio: 1/1;
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}

.product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,93,170,0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-image img {
  width: 80%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
  border-radius: 8px;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-details {
  padding: 30px 30px 30px 0; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-details h3 {
  font-size: 1.5rem; 
  margin-bottom: 15px; 
  color: #005DAA;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 10px
}

.product-card:hover .product-details h3 {
  color: #7AC143;
}


.product-features {
  list-style: none;
  margin: 20px 0;
}

.product-features li {
  padding: 8px 0; 
  padding-left: 25px; 
  position: relative;
  color: #555;
  transition: color 0.3s ease;
}

.product-details h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #7AC143;
  transition: width 0.3s ease;
}

.product-description {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1rem;
}


.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #7AC143;
  font-weight: bold;
  font-size: 1.1rem;
}

.product-card:hover .product-details h3::after {
  width: 80px;
}

.product-card:hover .product-features li {
  color: #333;
}

/* ===== 8. FOOTER  ===== */
.site-footer {
  background-color: #222;
  color: #ccc;
  padding: 2px 0;
  text-align: center;
  font-size: 0.8rem;
}

.site-footer a {
  color: #ccc;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #fff;
}

/* ===== 9. ANIMATIONS & EFFECTS ===== */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate-in {
  opacity: 1;
}

.slide-up {
  transform: translateY(50px);
}

.slide-up.animate-in {
  transform: translateY(0);
}

.fade-slide-up {
  transform: translateY(60px);
  opacity: 0;
}

.fade-slide-up.animate-in {
  transform: translateY(0);
  opacity: 1;
}

.fade-slide-left {
  transform: translateX(-60px);
  opacity: 0;
}

.fade-slide-left.animate-in {
  transform: translateX(0);
  opacity: 1;
}

.fade-slide-right {
  transform: translateX(60px);
  opacity: 0;
}

.fade-slide-right.animate-in {
  transform: translateX(0);
  opacity: 1;
}

.scale-in {
  transform: scale(0.8);
  opacity: 0;
}

.scale-in.animate-in {
  transform: scale(1);
  opacity: 1;
}

/* ===== 10. MEDIA QUERIES ===== */
/* Large Screens */
@media (max-width: 992px) {
  .main-navigation ul {
    gap: 20px;
  }
  .product-card {
    grid-template-columns: 1fr 1.2fr;
    gap: 25px;
  }
  
  .product-image {
    padding: 15px;
  }
  
  .product-image img {
    width: 85%;
    max-height: 220px;
  }
}


/* Tablets */
@media (max-width: 768px) {
  /* Header */
  .header-content {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    min-height: auto;
  }

  .logo-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    height: auto;
    border-left: 2px solid #7AC143;
    padding-left: 10px;
    border-top: none;
    padding-top: 0;
    width: auto;
  }

  .logo {
    height: 40px;
  }

  .logo-taglines {
    flex-direction: column;
    justify-content: center;
    border-left: none;
    padding-left: 0;
    height: auto;
  }

  .tagline-top,
  .tagline-middle,
  .tagline-bottom {
    display: none;
  }

  .main-navigation {
    margin-left: auto;
  }

  .main-navigation ul {
    gap: 5px;
    margin-top: 0;
  }

  .main-navigation a {
    font-size: 12px;
    padding: 6px 10px;
    background-color: transparent;
    border-radius: 4px;
    color: #005DAA;
  }

  .main-navigation a:hover {
    background-color: #005DAA;
    color: white;
  }

  /* Hero Section */
  .hero-carousel {
    height: 300px;
  }
  
  .slide-caption {
    position: absolute;
    left: 50%;
    bottom: 20%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 93, 170, 0.7);
    padding: 20px;
    max-width: 500px;
    border-left: 4px solid #7AC143;
    text-align: center;
  }
  
  .slide-caption h2 {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  
  .slide-caption p {
    font-size: 0.8rem;
  }

  .center-caption {
    width: 90%;
    padding: 15px;
  }

  /* Services */
  .services-overview {
    padding: 60px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 30px auto 0;
  }
  
  .service-card {
    padding: 25px 20px;
  }

  /* Process Steps */
  .process-steps {
    padding: 20px 0;
  }
  
  .process-steps::before {
    left: 30px;
  }
  
  .process-step {
    flex-direction: column;
    margin-bottom: 20px;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 15px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .step-content {
    margin-left: 0;
    padding: 15px;
  }
  
  .step-content h3 {
    font-size: 1.1rem;
  }
  
  .step-content p {
    font-size: 0.9rem;
  }

  /* Typography */
  .section-title {
    font-size: 1.8rem;
  }

  /* Certificates */
  .certificate-image {
    height: 250px;
  }
  
  .certificate-details h3 {
    font-size: 1.5rem;
  }
  
  .certificate-badge {
    right: 20px;
    font-size: 0.8rem;
  }

  /* About Page */
  .story-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }

  /* Production Page */
  .machine-grid {
    grid-template-columns: 1fr;
  }
  
  .machine-image {
    height: 200px;
  }
  
  .quality-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .product-image {
    aspect-ratio: 16/9;
    padding: 15px;
  }
  
  .product-image img {
    width: 70%;
    max-height: 200px;
  }
  
  .product-details {
    padding: 25px;
  }


}

/* Small Mobile Devices */
@media (max-width: 480px) {
  /* Header */
  .logo {
    height: 30px;
  }

  .main-navigation a {
    font-size: 10px;
    padding: 4px 6px;
  }

  .tagline-top {
    font-size: 12px;
    letter-spacing: 2px;
  }
  
  .tagline-bottom {
    font-size: 14px;
  }
  
  .main-navigation ul {
    gap: 8px;
  }

  /* Typography */
  .section-title {
    font-size: 1.6rem;
  }

  /* Services */
  .services-overview {
    padding: 50px 0;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-item h3 {
    font-size: 1rem;
  }

  .product-grid {
    gap: 35px;
  }
  
  .product-image {
    padding: 10px;
  }
  
  .product-image img {
    width: 75%;
    max-height: 180px;
  }
  
  .product-details {
    padding: 20px;
  }
  
  .product-details h3 {
    font-size: 1.3rem;
  }
}

/* Extra Large Screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}