/* css/products-services.css */
/* ====================================
   PRODUCTS & SERVICES PAGE SPECIFIC STYLES
   Fully Responsive - Chevron Caspian Theme
   ==================================== */

:root {
  --primary-color: #003E7E;
  --primary-dark: #002B57;
  --primary-light: #0A5BB5;
  --secondary-color: #E31E24;
  --secondary-dark: #B9151A;
  --secondary-light: #FF4A4F;
  --dark-color: #0F172A;
  --dark-alt: #1E293B;
  --gray-dark: #334155;
  --gray-medium: #64748B;
  --gray-light: #CBD5E1;
  --light-color: #F8FAFC;
  --white-color: #FFFFFF;
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 12px 40px rgba(0, 0, 0, 0.15);
  --font-primary: 'Inter', sans-serif;
  --max-width: 1280px;
  --section-padding: clamp(60px, 10vw, 100px) 0;
  --container-padding: 0 24px;
}
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
/* ---------- HERO SECTION ---------- */
.products-hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  max-height: 1080px;
  overflow: hidden;
  z-index: 1;
  margin-top: 0;
}

.products-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.products-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s ease;
  animation: kenburns 20s infinite alternate;
}

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.products-hero-content {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;
  color: var(--white-color);
  z-index: 3;
  text-align: center;
  padding-top: env(safe-area-inset-top);
}

@media (max-width: 768px) {
  .products-hero-content { top: 55%; width: 95%; }
}
@media (max-width: 480px) {
  .products-hero-content { top: 50%; width: 92%; }
}

.breadcrumb {
  margin-bottom: clamp(15px, 3vh, 25px);
  margin-top: clamp(10px, 4vh, 50px);
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}
.breadcrumb a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.breadcrumb a:hover { color: var(--secondary-color); }
.breadcrumb span {
  color: rgba(255,255,255,0.8);
  margin: 0 4px;
}
.breadcrumb .current {
  color: var(--secondary-color);
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: clamp(15px, 3vh, 25px);
  color: var(--white-color);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  margin-bottom: clamp(25px, 5vh, 40px);
  opacity: 0.95;
  color: var(--white-color);
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
  padding: 0 10px;
}

.hero-stats {
  display: flex;
  gap: clamp(15px, 3vw, 30px);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  padding: clamp(12px, 2vw, 15px) clamp(15px, 3vw, 25px);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  min-width: 120px;
  flex: 1 0 auto;
  max-width: 180px;
}
@media (max-width: 640px) {
  .hero-stat-item {
    min-width: 100px;
    padding: 10px 12px;
  }
  .hero-stats { gap: 10px; }
}
@media (max-width: 480px) {
  .hero-stat-item {
    min-width: calc(50% - 10px);
    max-width: none;
  }
}

.hero-stat-value {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.9);
  text-align: center;
}

/* ---------- General Section Styles ---------- */
.section {
  padding: var(--section-padding);
  position: relative;
  z-index: 2;
  background-color: var(--white-color);
}
.section-light { background-color: var(--light-color); }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}
@media (min-width: 768px) {
  .container { padding: 0 30px; }
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 8vw, 60px);
}
.section-subtitle {
  display: inline-block;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}
.section-header h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
}
.section-header p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--gray-medium);
  max-width: 700px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------- Offerings Grid (3 Cards) ---------- */
.offerings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 768px) {
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .offerings-grid { grid-template-columns: repeat(3, 1fr); }
}

.offering-card {
  background: var(--white-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.offering-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-heavy);
}

.offering-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.offering-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.offering-card:hover .offering-image img {
  transform: scale(1.1);
}

.offering-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background: var(--secondary-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: var(--shadow-medium);
  transition: all 0.4s ease;
  z-index: 2;
  border: 3px solid white;
}
.offering-card:hover .offering-icon {
  background: var(--primary-color);
  transform: rotate(10deg) scale(1.1);
}

.offering-content {
  padding: 40px 25px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.offering-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.offering-content p {
  color: var(--gray-medium);
  line-height: 1.6;
  margin-bottom: 20px;
}

.offering-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  flex: 1;
}
.offering-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-dark);
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--gray-light);
}
.offering-list li:last-child { border-bottom: none; }
.offering-list li i {
  color: var(--secondary-color);
  font-size: 0.9rem;
  width: 20px;
}

.offering-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: auto;
}
.offering-link i {
  transition: transform 0.3s ease;
}
.offering-link:hover {
  color: var(--primary-color);
}
.offering-link:hover i {
  transform: translateX(5px);
}

/* ---------- Refinery Spotlight with Slider ---------- */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .spotlight-grid { grid-template-columns: 1fr 1.2fr; }
}

.spotlight-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}
.spotlight-stat {
  background: var(--white-color);
  padding: 20px 15px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}
.spotlight-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--secondary-color);
}
.spotlight-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 5px;
}
.spotlight-stat-label {
  font-size: 0.75rem;
  color: var(--gray-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.achievement-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}
.achievement-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white-color);
  padding: 10px 16px;
  border-radius: 40px;
  box-shadow: var(--shadow-light);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-color);
  transition: all 0.3s ease;
}
.achievement-badge:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
}
.achievement-badge i {
  color: var(--secondary-color);
  transition: all 0.3s ease;
}
.achievement-badge:hover i {
  color: white;
}

/* Swiper Slider Styles */
.spotlight-slider {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}
.refinerySwiper {
  width: 100%;
  height: 400px;
}
.swiper-slide {
  width: 100%;
  height: 100%;
}
.slider-card {
  position: relative;
  width: 100%;
  height: 100%;
}
.slider-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px;
 
  color: white;
}
.slider-caption h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}
.slider-caption p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
  color: white;
}

.swiper-button-next,
.swiper-button-prev {
  color: white !important;
  background: rgba(227,30,36,0.8);
  width: 45px !important;
  height: 45px !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.2rem !important;
}
.swiper-pagination-bullet {
  background: white !important;
  opacity: 0.6;
}
.swiper-pagination-bullet-active {
  background: var(--secondary-color) !important;
  opacity: 1;
}

/* ---------- Products Grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-category {
  background: var(--white-color);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  border: 1px solid transparent;
}
.product-category:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--secondary-color);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gray-light);
}
.category-header i {
  font-size: 2rem;
  color: var(--secondary-color);
  background: var(--light-color);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  transition: all 0.3s ease;
}
.product-category:hover .category-header i {
  background: var(--secondary-color);
  color: white;
  transform: rotate(5deg);
}
.category-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.product-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--gray-light);
}
.product-list li:last-child { border-bottom: none; }
.product-list li span:first-child {
  color: var(--gray-dark);
  font-weight: 500;
}
.product-badge {
  background: var(--light-color);
  color: var(--secondary-color);
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Value Chain ---------- */
.content-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 6vw, 60px);
  align-items: center;
}
@media (min-width: 992px) {
  .content-block { grid-template-columns: 1fr 1fr; }
}

.content-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-medium);

 
}
.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.img-placeholder:hover img { transform: scale(1.05); }

.chain-steps {
  margin-top: 30px;
}
.chain-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 25px;
}
.step-number {
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.chain-step:hover .step-number {
  background: var(--primary-color);
  transform: scale(1.1);
}
.step-content h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}
.step-content p {
  color: var(--gray-medium);
  margin: 0;
}

/* ---------- Stats Section ---------- */
.stats-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  text-align: center;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .stats-grid { grid-template-columns: repeat(6, 1fr); }
}

.stat-item {
  padding: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.2);
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 5px;
}
.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* ---------- Innovation Card ---------- */
.innovation-card {
  background: linear-gradient(135deg, var(--white-color) 0%, var(--light-color) 100%);
  padding: 50px;
  border-radius: 30px;
  display: flex;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-heavy);
  border: 1px solid rgba(227,30,36,0.1);
}
@media (max-width: 768px) {
  .innovation-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px;
  }
}

.innovation-icon {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: var(--secondary-color);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3.5rem;
  transition: all 0.4s ease;
}
.innovation-card:hover .innovation-icon {
  background: var(--primary-color);
  transform: rotate(10deg) scale(1.1);
}
.innovation-content h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.innovation-content p {
  color: var(--gray-medium);
  line-height: 1.7;
  margin-bottom: 20px;
}
.innovation-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
}
.innovation-partners span {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white-color);
  padding: 10px 20px;
  border-radius: 40px;
  box-shadow: var(--shadow-light);
  color: var(--primary-color);
  font-weight: 500;
}
.innovation-partners span i {
  color: var(--secondary-color);
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: clamp(60px, 12vw, 120px) 0;
  background-size: cover;
  background-position: center;
  color: var(--white-color);
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 700;
  margin-bottom: clamp(15px, 3vh, 20px);
}
.cta-section p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: clamp(25px, 5vh, 40px);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .cta-buttons .btn,
  .cta-buttons .cc-btn {
    width: 100%;
    max-width: 280px;
  }
}

.btn {
  padding: clamp(12px, 2vw, 15px) clamp(24px, 4vw, 30px);
  font-size: clamp(0.9rem, 2vw, 1rem);
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.btn-secondary {
  background: var(--secondary-color);
  color: var(--white-color);
}
.btn-secondary:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}
.cc-btn-outline {
  background: transparent;
  color: var(--white-color);
  border: 2px solid var(--white-color);
  padding: clamp(12px, 2vw, 15px) clamp(24px, 4vw, 30px);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.cc-btn-outline:hover {
  background: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ---------- Animations ---------- */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translate(0) scale(1);
}
[data-animate="fade-up"] { transform: translateY(30px); }
[data-animate="slide-left"] { transform: translateX(-30px); }
[data-animate="slide-right"] { transform: translateX(30px); }
[data-animate="scale-in"] { transform: scale(0.9); }
@media (min-width: 768px) {
  [data-animate="slide-left"] { transform: translateX(-50px); }
  [data-animate="slide-right"] { transform: translateX(50px); }
}

/* ---------- Page Loader ---------- */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
  color: var(--white-color);
}
.loader-ring {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255,255,255,0.3);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin: 0 auto 20px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.loader-text {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
}

/* ---------- Header ---------- */
.site-header.scrolled {
  background: rgba(0, 30, 60, 0.95);
  backdrop-filter: blur(10px);
}



/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .section-header h2:after { width: 40px; }
  .spotlight-stats { grid-template-columns: 1fr; }
  .innovation-partners { justify-content: center; }
  .chain-step { flex-direction: column; }
}