@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
  /* High-end Corporate Palette (Naftagaz Inspired) */
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-alt: #f1f5f9;
  --color-dark: #0f172a;
  /* Deep Navy */
  --color-darker: #020617;
  --color-accent: #2563eb;
  /* Vibrant Corporate Blue */
  --color-accent-hover: #1d4ed8;
  --color-text: #334155;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;

  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --spacing-section: 100px;
  --container-width: 1200px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-title {
  font-size: 2.8rem;
  letter-spacing: -1px;
}

.section-subtitle {
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--spacing-section) 0;
}

.text-center {
  text-align: center;
}

/* About Section Tweaks */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.vm-block {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--color-accent);
  transition: var(--transition);
}

.vm-block:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(10px);
}

.vm-title {
  color: var(--color-dark);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-text p {
  color: var(--color-text-light);
  line-height: 1.7;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-box {
  background: var(--color-surface);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition);
}

.feature-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(-10px);
  border-color: var(--color-accent);
}

.feature-icon {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
  color: var(--color-dark);
}

.feature-content p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: var(--color-dark);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2001;
  padding: 1.5rem 0;
  transition: var(--transition);
  background: transparent;
}

header.scrolled {
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border);
}

header.scrolled .nav-links a {
  color: var(--color-text);
}

header.scrolled .mobile-menu-btn .bar {
  background-color: var(--color-dark);
}

header.scrolled .mobile-menu-btn.active .bar {
  background-color: #fff;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

/* BIGGER & STYLISH LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo img {
  height: 80px;
  width: auto;
  transition: var(--transition);
  /* White filter by default for visibility over dark video */
  filter: brightness(0) invert(1);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  /* White text */
  letter-spacing: 0.5px;
  text-shadow: none;
  /* Removed glow */
  transition: var(--transition);
}

header.scrolled .logo img {
  height: 60px;
  /* Navy Blue filter when on white background */
  filter: brightness(0) saturate(100%) invert(14%) sepia(34%) saturate(2255%) hue-rotate(193deg) brightness(93%) contrast(97%);
}

header.scrolled .logo-text {
  font-size: 1.2rem;
  color: #0f172a;
  /* Navy Blue text */
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  /* Starts white over hero */
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  transition: var(--transition);
  z-index: 1;
}

.nav-links a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}

header.scrolled .nav-links a:hover {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--color-accent);
}

.header-socials {
  display: flex;
  gap: 0.8rem;
  margin-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 1.5rem;
  align-items: center;
}

header.scrolled .header-socials {
  border-left-color: var(--color-border);
}

.header-social-icon {
  color: #fff !important;
  font-size: 1rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  padding: 0 !important;
}

.header-social-icon:hover {
  background: var(--color-accent) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

header.scrolled .header-social-icon {
  color: var(--color-text-light) !important;
  background: var(--color-surface-alt);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2002;
  position: relative;
}

.mobile-menu-btn .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Active State for Hamburger */
.mobile-menu-btn.active .bar:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
  background-color: #fff !important;
}

.mobile-menu-btn.active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.mobile-menu-btn.active .bar:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
  background-color: #fff !important;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -350px;
  left: auto;
  width: 320px;
  max-width: 80vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.85);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-overlay.active {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  text-align: left;
  width: 100%;
  padding: 0 3rem;
}

.mobile-nav-links a {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(30px);
}

.mobile-nav-overlay.active .mobile-nav-links a {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animation for links */
.mobile-nav-overlay.active .mobile-nav-links a:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-nav-links a:nth-child(2) {
  transition-delay: 0.15s;
}

.mobile-nav-overlay.active .mobile-nav-links a:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-nav-overlay.active .mobile-nav-links a:nth-child(4) {
  transition-delay: 0.25s;
}

.mobile-nav-overlay.active .mobile-nav-links a:nth-child(5) {
  transition-delay: 0.3s;
}

.mobile-nav-overlay.active .mobile-nav-links a:nth-child(6) {
  transition-delay: 0.35s;
}

.mobile-nav-overlay.active .mobile-nav-links a:nth-child(7) {
  transition-delay: 0.4s;
}

.mobile-nav-links a:hover {
  color: var(--color-accent);
  transform: translateX(10px) !important;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  /* Prevents clash with header */
  padding-bottom: 100px;
  /* Prevents clash with ticker */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-darker);
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-bg-slide.active {
  opacity: 1;
}

#hero-main-content {
  transition: opacity 0.5s ease-in-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(2, 6, 23, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 2;
  transition: opacity 0.5s ease-in-out;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  /* Scaled down slightly to prevent huge breaks */
  color: #fff;
  margin-bottom: 1.5rem;
  animation: fadeUp 1.5s forwards;
  letter-spacing: -1px;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #f1f5f9;
  margin-bottom: 3rem;
  animation: fadeUp 1s ease 0.2s forwards;
  opacity: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  animation: fadeUp 1s ease 0.4s forwards;
  opacity: 0;
}

/* Improved Animation Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }

  70% {
    transform: scale(1.05) translateY(-5px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Base class for animations managed by JS */
.animate-on-scroll {
  opacity: 0;
}

/* Ticker Section */
.ticker-wrap {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  /* TradingView widget handles its own spacing */
  overflow: hidden;
  z-index: 10;
  backdrop-filter: blur(10px);
}

/* About Section */
.about-section {
  background-color: var(--color-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  font-size: 1.15rem;
}

.about-text strong {
  color: var(--color-dark);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.5rem;
}

.about-features {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2rem;
}

.feature-box {
  background: var(--color-surface-alt);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-accent);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--color-surface);
}

.feature-box i {
  color: var(--color-accent);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature-box h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

/* CEO Section (Naftagaz Style) */
.ceo-section {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  /* Navy blue to dark grey */
  padding: 4rem 0;
  /* Reduced padding for sharper look */
  color: #fff;
  overflow: hidden;
}

.directors-tabs {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.dir-tab {
  background: transparent;
  color: #94a3b8;
  border: none;
  padding: 0.5rem 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  font-size: 1.1rem;
  position: relative;
  letter-spacing: 1px;
}

.dir-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.4s ease;
}

.dir-tab:hover {
  color: #fff;
}

.dir-tab:hover::after {
  width: 50%;
}

.dir-tab.active {
  color: #fff;
}

.dir-tab.active::after {
  width: 100%;
}

.directors-content-wrapper {
  position: relative;
  min-height: 380px;
}

.ceo-grid {
  display: none;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  animation: naftagazFadeSlide 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ceo-grid.active {
  display: grid;
}

@keyframes naftagazFadeSlide {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.ceo-content {
  padding-right: 2rem;
  position: relative;
}

.massive-quote {
  position: absolute;
  top: -40px;
  left: -20px;
  font-size: 8rem;
  color: rgba(37, 99, 235, 0.15);
  /* Increased opacity for better visibility */
  line-height: 1;
}

.ceo-name {
  font-size: 2.5rem;
  color: #fff;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.ceo-title-rank {
  color: #cbd5e1;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.ceo-title-rank .divider {
  color: var(--color-accent);
  margin: 0 10px;
}

.ceo-text-divider {
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  margin-bottom: 2rem;
}

.ceo-desc {
  color: #f8fafc;
  /* Brighter white for maximum clarity */
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
}

.ceo-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  margin-left: auto;
}

.ceo-image-border {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-accent);
  border-radius: 20px;
  /* Modern, sharp squircle look */
}

.ceo-image {
  position: relative;
  background-color: var(--color-surface);
  border-radius: 20px;
  /* Modern, sharp squircle look */
  overflow: hidden;
  width: 100%;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ceo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
  /* Removed grayscale for better image clarity */
}

.ceo-image:hover img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* Reach Section */
.reach-section {
  background: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&q=80') center/cover fixed;
  position: relative;
  color: #fff;
}

.reach-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
}

.reach-content,
.stats-grid {
  position: relative;
  z-index: 2;
}

.reach-content h2 {
  color: #fff;
}

.reach-desc {
  max-width: 700px;
  margin: 0 auto 4rem auto;
  font-size: 1.15rem;
  color: #cbd5e1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-accent);
}

.stat-card h3 {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

/* Services */
.services-section {
  background-color: var(--color-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  position: relative;
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid transparent;
  color: #fff;
  overflow: hidden;
  z-index: 1;
}

.service-card.fuel-trading {
  background: url('../assets/fuel trading.png') center/cover;
}

.service-card.distribution {
  background: url('../assets/distribution.png') center/cover;
}

.service-card.storage {
  background: url('../assets/storage.jfif') center/cover;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  z-index: -1;
  transition: var(--transition);
}

.service-card:hover::before {
  background: rgba(37, 99, 235, 0.85);
}

.service-card:hover {
  border-top-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
  color: #fff;
  font-size: 2rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-icon {
  background: #fff;
  color: var(--color-accent);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #fff;
}

.service-card p {
  color: #e2e8f0;
}

/* QMS Section */
.qms-section {
  background-color: var(--color-surface-alt);
}

.qms-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.qms-list {
  margin-top: 2rem;
}

.qms-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--color-text-light);
}

.qms-list i {
  color: #10b981;
  /* Green check */
  font-size: 1.25rem;
  margin-top: 4px;
}

.qms-list strong {
  color: var(--color-dark);
}

.qms-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.qms-full-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.qms-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-accent);
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.qms-badge i {
  font-size: 2rem;
}

/* Responsibility & Customer */
.responsibility-section {
  background-color: var(--color-surface);
}

.resp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.resp-card {
  padding: 4rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  color: #fff;
  z-index: 1;
}

.resp-card.social {
  background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?auto=format&fit=crop&q=80') center/cover;
}

.resp-card.customer {
  background: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&q=80') center/cover;
}

.resp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(94, 165, 236, 0.85);
  z-index: -1;
  transition: var(--transition);
}

.resp-card:hover::before {
  background: rgba(37, 99, 235, 0.85);
}

.resp-icon {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.resp-card:hover .resp-icon {
  color: #3d42a8;
}

.resp-card h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Partners Section */
.partner-logo.marquee-duplicate {
  display: none;
}

.partners-section {
  background-color: var(--color-surface-alt);
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-light);
  opacity: 0.7;
  transition: var(--transition);
  padding: 1.8rem 3rem;
  background: var(--color-surface);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  cursor: default;
}

.partner-logo i {
  font-size: 2rem;
  color: var(--color-accent);
}

.partner-logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.partner-logo:hover {
  opacity: 1;
  color: var(--color-dark);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--color-darker) 0%, var(--color-dark) 100%);
  color: #f8fafc;
}
.contact-section .section-title {
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-lead {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(37, 99, 235, 0.1);
  color: #60a5fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.contact-info-item h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.contact-info-item p {
  color: #94a3b8;
}

/* Contact Socials */
.contact-socials {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-socials h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.social-icon:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  padding: 3.5rem;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.form-group {
  margin-bottom: 2.5rem;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.form-control {
  width: 100%;
  padding: 1rem 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  font-family: inherit;
  font-size: 1.1rem;
  color: #fff;
  transition: var(--transition);
  border-radius: 0;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.form-control:hover {
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
  box-shadow: 0 1px 0 0 var(--color-accent);
}

textarea.form-control {
  height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  transition: all 0.4s ease;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.6), inset 0 0 10px rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.map-container {
  margin-top: 4rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Footer */
footer {
  background-color: var(--color-darker);
  color: #94a3b8;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 60px;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.footer-social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icon:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* QMS List Alignment */
.qms-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.qms-list li {
  display: grid;
  grid-template-columns: 24px 260px 1fr;
  align-items: start;
  gap: 15px;
  font-size: 1.05rem;
}

.qms-list li i {
  color: #10b981;
  /* Green color matching user's image */
  font-size: 1.3rem;
  margin-top: 2px;
}

.qms-list li strong {
  color: var(--color-dark);
  font-size: 1.15rem;
  font-weight: 700;
}

.qms-list li span {
  color: var(--color-text-light);
  line-height: 1.6;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* --- Responsibility Section --- */
.responsibility-section {
  background: linear-gradient(135deg, rgba(30, 15, 10, 0.88) 0%, rgba(60, 25, 15, 0.92) 100%), url('../assets/technical_staff.jpg') center/cover fixed;
  color: #fff;
  padding: 80px 0;
}

.resp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.resp-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.resp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.resp-icon {
  background: rgba(251, 146, 60, 0.15);
  /* Warm amber tint */
  color: #f97316;
  /* Vibrant warm amber */
  width: 65px;
  height: 65px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.resp-card:hover .resp-icon {
  background: #f97316;
  color: #fff;
}

.resp-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  color: #fff;
  letter-spacing: 0.5px;
}

.resp-card p {
  font-size: 1.05rem;
  color: #fed7aa;
  /* Warm, light peach for text */
  line-height: 1.7;
  margin: 0;
}

/* --- Products Carousel Section --- */
.carousel-section {
  background-color: var(--color-surface);
  overflow: hidden;
  position: relative;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-btn:hover {
  background: var(--color-accent);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* --- Process Page --- */
.page-hero {
  min-height: 50vh;
  padding-top: 150px;
  padding-bottom: 80px;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
}

.page-hero-title {
  font-size: 3.5rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: #cbd5e1;
}

/* --- Process Cards Page --- */
.process-cards-section {
  background-color: #f8fafc;
  padding: 80px 0;
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.process-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: rgba(14, 165, 233, 0.3);
}

.process-card-img {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.process-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.process-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #0ea5e9;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.4);
  z-index: 2;
}

.process-card-content {
  padding: 2rem;
  flex-grow: 1;
  background: #fff;
  position: relative;
  z-index: 2;
}

.process-card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  color: var(--color-dark);
  font-weight: 700;
}

.process-card-content p {
  color: #475569;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.process-cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  color: #fff;
  padding: 80px 0;
}

.process-cta-section .section-title {
  color: #fff;
}

.cta-desc {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

.cta-btn {
  font-size: 1.1rem;
  padding: 1.2rem 3rem;
}

/* Responsive */
@media (max-width: 992px) {
  section {
    padding: 70px 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .logo img {
    height: 60px;
  }

  .about-grid,
  .qms-grid,
  .resp-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats-grid,
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .carousel-slide img {
    height: 400px;
  }

  /* Ensure CEO section stacks properly on mobile */
  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .ceo-image-wrapper {
    order: -1;
    /* Puts image above text */
    max-width: 400px;
    margin: 0 auto;
    padding: 10px 10px 0 0;
  }

  .ceo-content {
    padding-right: 0;
    text-align: center;
    /* Centered for mobile */
  }

  .massive-quote {
    left: 50%;
    transform: translateX(-50%);
  }

  .ceo-text-divider {
    margin: 0 auto 2rem auto;
  }

  .ceo-name {
    font-size: 2rem;
  }

  .ceo-title-rank {
    font-size: 0.85rem;
    white-space: nowrap;
    letter-spacing: 0.5px;
  }

  /* Process Grid Mobile */
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .logo-text {
    font-size: 0.95rem;
    line-height: 1.1;
    max-width: 140px;
  }

  .logo img {
    height: 45px;
  }

  .about-grid,
  .ceo-grid,
  .qms-grid,
  .resp-grid,
  .contact-grid {
    gap: 2rem;
  }

  .stats-grid,
  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .partners-section {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
  }

  .partners-grid {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: marqueePartners 15s linear infinite;
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .partner-logo {
    flex: 0 0 auto;
    width: max-content;
  }

  .marquee-duplicate {
    display: flex !important;
  }

  @keyframes marqueePartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  /* Responsibility Mobile */
  .resp-card {
    padding: 1.5rem;
    gap: 1rem;
    flex-direction: column;
  }

  .resp-icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  /* Further scaling for mobile */
  .directors-tabs {
    gap: 1.5rem;
  }

  .dir-tab {
    font-size: 1rem;
  }

  .ceo-grid {
    gap: 1.5rem;
  }

  .ceo-image-wrapper {
    max-width: 250px;
  }

  .ceo-name {
    font-size: 1.7rem;
  }

  .ceo-title-rank {
    font-size: 0.75rem;
  }

  .massive-quote {
    font-size: 4rem;
    top: -15px;
    /* left/transform inherited from 992px to keep it centered */
  }

  .ceo-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
  }

  /* QMS List Mobile */
  .qms-list li {
    grid-template-columns: 24px 1fr;
    row-gap: 5px;
  }

  .qms-list li strong {
    grid-column: 2;
  }

  .qms-list li span {
    grid-column: 2;
  }

  /* Process Cards small mobile */
  .page-hero-title {
    font-size: 2.2rem;
  }
  .page-hero-subtitle {
    font-size: 1rem;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 750px) {
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 80px;
  }
}