/* ==========================================================================
   Sri Sriyan Enterprises - Official Website Stylesheet
   Theme: Crisp White with Bright Blue Accents (#0374E9)
   Font: Plus Jakarta Sans & Outfit
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary: #0374E9;
  --primary-hover: #025cc2;
  --primary-dark: #01438f;
  --primary-light: #EBF4FE;
  --primary-gradient: linear-gradient(135deg, #0374E9 0%, #024EA5 100%);
  --accent-cyan: #00B4D8;
  --accent-gradient: linear-gradient(135deg, #0374E9 0%, #00B4D8 100%);
  
  /* Neutral Palette */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-dark: #0B1325;
  --bg-dark-card: #131F37;
  
  /* Text Colors */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --text-white: #FFFFFF;
  --text-on-dark: #CBD5E1;
  
  /* Borders & Dividers */
  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-dark: #1E293B;
  --border-blue: rgba(3, 116, 233, 0.2);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.09);
  --shadow-blue: 0 10px 25px -4px rgba(3, 116, 233, 0.3);
  --shadow-blue-sm: 0 4px 12px rgba(3, 116, 233, 0.2);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Container */
  --container-max: 1240px;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg, picture {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.35rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--text-muted); }

/* Common Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.78rem 1.65rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff !important;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(3, 116, 233, 0.42);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main) !important;
  border-color: var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* Badges & Pills */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-pill i {
  font-size: 0.85rem;
}

.badge-verified {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-header .section-subtitle {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-header.text-center .section-subtitle {
  justify-content: center;
}

.section-header .section-title {
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-header .section-title span {
  color: var(--primary);
  position: relative;
}

.section-header .section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Top Notification / Info Bar */
.topbar {
  background-color: #F8FAFC;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  position: relative;
  z-index: 101;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
}

.topbar-item a:hover {
  color: var(--primary);
}

.topbar-item i {
  color: var(--primary);
}

.topbar-tag {
  background: #ffffff;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.75rem;
}

/* Main Header & Navbar (Pure White) */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

@media (min-width: 1200px) {
  .brand-logo {
    margin-left: -2.5rem;
  }
}

.brand-logo img {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
  font-size: 1.5rem;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
}

@media (max-width: 991px) {
  .brand-logo img {
    height: 40px;
    max-width: 230px;
  }
  .topbar-right {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .nav-cta .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85vw, 360px);
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    z-index: 200;
    padding: 2rem 1.5rem;
    transition: right var(--transition-normal);
    overflow-y: auto;
  }
  .mobile-drawer.active {
    right: 0;
  }
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
  }
  .mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
  .drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
  }
  .drawer-close {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
  }
  .drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .drawer-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .drawer-link.active, .drawer-link:hover {
    color: var(--primary);
  }
  .drawer-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
  }
}

/* ==========================================================================
   Hero Section (Cinematic Video Only)
   ========================================================================== */
.hero-video-section {
  position: relative;
  width: 100%;
  background-color: #040A18;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 16 / 9;
  max-height: 85vh;
  min-height: 380px;
  overflow: hidden;
  background-color: #040A18;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .hero-video-wrapper {
    min-height: 240px;
    max-height: 60vh;
  }
}

/* ==========================================================================
   Partners & Clients Ticker / Strip
   ========================================================================== */
.client-strip {
  padding: 2.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.client-strip-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.client-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.client-pill {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.client-pill i {
  color: var(--primary);
  font-size: 0.95rem;
}

.client-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   About Section & Cards
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.about-image-stack {
  position: relative;
}

.about-main-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  border-radius: var(--radius-xl);
}

.about-stat-box {
  display: none !important;
}

.about-stat-box .year {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.about-stat-box p {
  color: var(--text-on-dark);
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.highlight-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.highlight-item h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.highlight-item p {
  font-size: 0.825rem;
  margin: 0;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-stat-box {
    position: static;
    margin-top: 1.5rem;
    max-width: 100%;
  }
}

/* ==========================================================================
   Services Grid & Cards
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(3, 116, 233, 0.35);
}

.service-card-image {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-badge {
  display: none !important;
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--primary);
  color: #ffffff;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.service-card-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-bullets {
  list-style: none;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-bullets li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.service-bullets li i {
  color: var(--primary);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Vision & Mission Cards
   ========================================================================== */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.vm-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--primary);
}

.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.vm-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.vm-title {
  font-size: 1.65rem;
  margin-bottom: 1rem;
}

.vm-desc {
  font-size: 1.05rem;
  line-height: 1.7;
}

.vm-list {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vm-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

.vm-list li i {
  color: var(--primary);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Why Choose Us & Value Proposition
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.feature-box-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-normal);
}

.feature-box:hover .feature-box-icon {
  background: var(--primary);
  color: #ffffff;
}

.feature-box h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.885rem;
  line-height: 1.6;
}

/* ==========================================================================
   Partners & Clients Detailed Grids
   ========================================================================== */
.entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.entity-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-xs);
}

.entity-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.entity-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Partner logo in place of the icon, for partners whose logo we have */
.entity-logo {
  width: 120px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  flex-shrink: 0;
}

.entity-logo.is-dark {
  background: #0F172A;
  border-color: #0F172A;
}

.entity-logo.is-clear {
  width: 150px;
  height: 56px;
  padding: 0;
  background: transparent;
  border: none;
  justify-content: flex-start;
}

.entity-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.entity-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.entity-info p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

/* ==========================================================================
   Call To Action Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #0374E9 0%, #01438F 100%);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(3, 116, 233, 0.3);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .cta-banner {
    padding: 3rem 2rem;
  }
  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-buttons {
    justify-content: center;
  }
}

/* ==========================================================================
   Contact Page Elements
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 2rem 0;
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.channel-content h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.channel-content p, .channel-content a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.channel-content a:hover {
  color: var(--primary);
}

.gst-box {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.gst-box h6 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.gst-code {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gst-copy-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.gst-copy-btn:hover {
  color: var(--primary);
}

/* Contact Form */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(3, 116, 233, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Page Headers (Inner Pages)
   ========================================================================== */
.page-header {
  padding: 4.5rem 0 3.5rem 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Footer Component (Dark Corporate Slate #0B1325)
   ========================================================================== */
.footer {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-on-dark);
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-on-dark);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links a i {
  color: var(--primary);
  font-size: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-on-dark);
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-on-dark);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-badge-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  color: #ffffff;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Floating Action Buttons & Toast System
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: all var(--transition-normal);
  border: none;
}

.fab-whatsapp {
  background-color: #25D366;
  color: #ffffff;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}

.fab-backtop {
  background-color: #ffffff;
  color: var(--primary);
  border: 1px solid var(--border-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.fab-backtop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-backtop:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Toast Message */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #ffffff;
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transform: translateX(-120%);
  transition: transform var(--transition-normal);
  max-width: 360px;
}

.toast.show {
  transform: translateX(0);
}

.toast.toast-success {
  border-left-color: #10B981;
}

.toast.toast-error {
  border-left-color: #EF4444;
}

.toast i {
  font-size: 1.25rem;
}

.toast-success i { color: #10B981; }
.toast-error i { color: #EF4444; }

.toast-body h6 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.toast-body p {
  font-size: 0.8rem;
  margin: 0;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  position: relative;
  transform: scale(0.92);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-tertiary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   Hero Video Play / Pause Button
   ========================================================================== */
.hero-video-toggle {
  position: absolute;
  left: max(1.25rem, env(safe-area-inset-left, 0px));
  bottom: 1.25rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(4, 10, 24, 0.55);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color var(--transition-normal);
}
.hero-video-toggle:hover { background: var(--primary); border-color: var(--primary); }
.hero-video-toggle:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.hero-video-toggle svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.hero-video-toggle .icon-play,
.hero-video-toggle.is-paused .icon-pause { display: none; }
.hero-video-toggle.is-paused .icon-play { display: block; }
@media (max-width: 768px) {
  .hero-video-toggle { width: 2.6rem; height: 2.6rem; left: max(0.85rem, env(safe-area-inset-left, 0px)); bottom: 0.85rem; }
}

/* ==========================================================================
   Justified Paragraph Text
   ========================================================================== */
p {
  text-align: justify;
  /* keep whole words together: no hyphenated line breaks */
  -webkit-hyphens: manual;
  hyphens: manual;
}
/* Paragraphs in centred blocks stay justified, with the last line centred */
.section-desc,
.page-header p,
[style*="text-align:center"] > p {
  text-align: justify;
  text-align-last: center;
}

/* ==========================================================================
   Client Logo Marquee (Trusted By strip)
   ========================================================================== */
.client-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.client-marquee-track {
  display: flex;
  width: max-content;
  animation: client-marquee-scroll 45s linear infinite;
}
.client-marquee:hover .client-marquee-track,
.client-marquee:focus-within .client-marquee-track {
  animation-play-state: paused;
}
.client-marquee-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.25rem 1.25rem 0.25rem 0;
  margin: 0;
  list-style: none;
}
.client-logo-item {
  display: flex;
  align-items: center;
  flex: none;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-xs);
}
.client-logo-item img {
  height: 40px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}
@keyframes client-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .client-logo-item { padding: 0.6rem 1rem; }
  .client-logo-item img { height: 32px; max-width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .client-marquee { -webkit-mask-image: none; mask-image: none; }
  .client-marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .client-marquee-list { flex-wrap: wrap; justify-content: center; padding: 0; }
  .client-marquee-list[aria-hidden="true"] { display: none; }
}

/* Dark tile for logos designed for dark backgrounds (e.g. Zuper LED) */
.client-logo-item.is-dark {
  background: #0F172A;
  border-color: #0F172A;
}

/* ==========================================================================
   Key Client Cards (logo + description)
   ========================================================================== */
.client-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.client-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}
.client-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.client-card-logo {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}
.client-card-logo.is-dark {
  background: #0F172A;
  border-bottom-color: #0F172A;
}
.client-card-logo img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.client-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.client-card-body h4 {
  font-size: 1.02rem;
  margin: 0;
}
.client-card-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}
.client-card-tag {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}
/* Hyphenated words (e.g. "end-to-end") never split across lines */
.nowrap { white-space: nowrap; }

/* Narrow text boxes: justified text would open wide gaps between words here,
   so these paragraphs are left-aligned. Wide paragraphs stay justified. */
.service-card-desc,
.feature-box p,
.client-card-body p,
.entity-info p,
.highlight-item p,
.footer-col p,
.channel-content p,
.contact-info-card p {
  text-align: left;
}
@media (max-width: 768px) {
  p { text-align: left; }
  .section-desc,
  .page-header p,
  [style*="text-align:center"] > p { text-align: center; text-align-last: auto; }
}

/* ==========================================================================
   Featured service (Minerals Trading & Supply): listed first and highlighted
   ========================================================================== */
.service-card.is-featured,
.service-detail-card.is-featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}
.service-media {
  position: relative;
}
.service-focus-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}
