
/* Video Container Wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  height: 250px; /* Replaces the padding-top hack */
  max-width: 900px; /* Optional: Limits width to match your grid/content area. Remove for full width. */
  margin: 20px auto 0; /* Centers the wrapper and adds space above it */
  
  /* Aesthetics matching your Product Cards */
  border-radius: var(--radius);
  overflow: hidden; /* Ensures the iframe respects the border-radius */
  /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);*/
  /*border: 1px solid rgba(255, 255, 255, 0.15);*/
}

.product-showcase {
  background: linear-gradient(135deg, var(--primary) 0%, #1a2530 100%);
  color: white;
  /*padding: 100px 0 80px;*/
  /*  padding: 20px 0 80px;*/
  /*margin: 0;*/
  text-align: center;

  /* 1. Limit the width (1320px leaves approx 300px space on a 1920px screen) */
  max-width: 1320px;   
  /* 2. Center the container */
  margin-left: auto;
  margin-right: auto;
  
  /* 3. Add side padding for mobile (prevents content touching screen edges) */
  padding: 60px 20px 80px;
  
  text-align: center;
}

.product-showcase .section-title h1 {
/*  font-size: 48px;*/
  font-size: 40px;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.product-showcase .section-title strong {
  font-size: 48px;
}

.product-showcase .section-title p {
  font-size: 22px;
  max-width: 800px;
/*  margin: 0 auto 50px;*/
  margin: 0 auto 25px;
  opacity: 0.95;
  color: rgba(255,255,255,0.9);
}

/* Product Grid */
.products-grid {
  display: grid;
/*  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
  grid-template-columns: 1fr; /* Force 1 column (Vertical Stack) */
  gap: 35px;
  margin-top: 30px;
  
  /* Optional: Limits width and centers the stack on large screens */
  max-width: 900px; 
  margin-left: auto;
  margin-right: auto;
}

/* Product Card */
.product-card {
  /* Enable Flexbox for Horizontal Layout */
  display: flex; 
  flex-direction: row; 
  align-items: center; /* Vertically center image and text */
  
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  
  /* Ensure a consistent minimum height for the row */
  min-height: 260px; 
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.product-image {
  width: 35%; /* Takes up 35% of the card width */
  height: 100%;
  min-height: 260px; /* Match card min-height */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 30, 60, 0.7);
  padding: 20px;
  flex-shrink: 0; /* Prevents image from shrinking */
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  flex: 1; /* Takes up remaining space */
  padding: 30px;
  text-align: left; /* Align text to the left */
}

.product-content h2 {
  font-size: 24px;
  margin: 0 0 12px;
  color: white;
}

.product-content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
  line-height: 1.6;
  /* Removed min-height here as flexbox handles alignment naturally */
}

/* Button adjustment for dark background */
.product-showcase .btn-link {
  background-color: #3498db;
  padding: 8px 4px;
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
  position: relative;
  z-index: 2;
  display: inline-block;
  width:100%;
}

.product-showcase .btn-link::before {
  background-color: white;
}

.product-showcase .btn-link:hover {
  color: #0a1929;
}

/* Responsive Enhancements */
@media (max-width: 992px) {
  .product-showcase .section-title h1 {
    font-size: 34px;
  }
  .product-showcase .section-title strong {
    font-size: 42px;
  }
  .product-showcase .section-title p {
    font-size: 19px;
  }
}

@media (max-width: 768px) {
  .product-showcase {
    padding: 70px 0 60px;
  }
  
  .product-card {
    flex-direction: column; /* Stack vertically on mobile */
    min-height: auto;
  }

  .product-image {
    width: 100%;
    height: 200px; /* Fixed height for mobile image */
    min-height: 200px;
  }

  .product-content {
    text-align: center; /* Center text on mobile */
    padding: 25px;
  }

  .product-showcase .section-title h1 {
    font-size: 28px;
  }
  .product-showcase .section-title strong {
    font-size: 36px;
  }
  .product-showcase .section-title p {
    font-size: 17px;
    margin-bottom: 40px;
  }
  
  .products-grid {
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .product-content h2 {
    font-size: 21px;
  }
  .product-content p {
    font-size: 15px;
  }
}



/* Section Container */
.services-section {
/*  background: linear-gradient(135deg, #1a2530 0%, #0f161c 100%);*/
/*  background: linear-gradient(135deg, var(--primary) 0%, #1a2530 100%);*/
/*  color: white;*/
  padding: 100px 0;
  text-align: center;
}

/* Header Styling */
.services-section .section-header {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.services-section .section-header h2 {
  font-size: 42px;
  margin-bottom: 20px;
/*  color: white;*/
  font-weight: 700;
}

.services-section .section-header p {
  font-size: 18px;
  line-height: 1.6;
/*  color: rgba(255, 255, 255, 0.85);*/
  color: rgba(0, 0, 0, 0.85);
}

/* Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Service Card (Article) */
.service-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 35px 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
/*  border-color: rgba(255, 255, 255, 0.25);*/
  border-color: rgba(0, 0, 0, 0.25);
}

/* Icon Styling */
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
/*  background: rgba(255, 255, 255, 0.1);*/
  background: rgba(0, 0, 0, 0.1);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(5px);
}

/* Card Content */
.service-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
/*  color: #ffffff;*/
  color: #000000;
  font-weight: 600;
}

/* List Styling */
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
/*  color: rgba(255, 255, 255, 0.8);*/
  color: rgba(0, 0, 0, 0.8);
  position: relative;
  padding-left: 20px;
}

/* Custom Bullet Point */
.service-card li::before {
  content: "•";
  color: var(--primary, #4a90e2); /* Use your primary brand color here */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.service-card li strong {
/*  color: white;*/
  color: black;
  font-weight: 600;
  display: block; /* Push strong text to new line if needed, or keep inline */
  display: inline; 
}

.section-cta {
  margin-top: 60px;
  padding: 0 20px;
}

.btn-cta {
  display: inline-block;
  background-color: #4a90e2; /* Primary Brand Color */
  /*color: white;*/
  color: black;
  padding: 14px 36px;
  border-radius: 50px; /* Pill shape */
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
  border: 2px solid transparent;
}

.btn-cta:hover {
  background-color: transparent;
  /*border-color: #4a90e2;*/
  /*color: #4a90e2;*/
  border-color: #0a1929;
  color: #0a1929;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}



.btn-cta-white {
  display: inline-block;
  background-color: #4a90e2; /* Primary Brand Color */
  color: white;
  padding: 14px 36px;
  border-radius: 50px; /* Pill shape */
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  /*box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);*/
  border: 2px solid transparent;
}

.btn-cta-white:hover {
  background-color: transparent;
  border-color: #4a90e2;
  color: #4a90e2;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .services-section {
    padding: 60px 0;
  }
  
  .services-section .section-header h2 {
    font-size: 32px;
  }
  
  .services-grid {
    grid-template-columns: 1fr; /* Full width on mobile */
  }
}

