/* ========================================
   NORTHBOUND PROCESSING - GLASSMORPHISM THEME
   Premium Gold Mining Corporate Website
   ======================================== */

/* CSS Variables */
:root {
  /* Brand Colors - Northbound Processing */
  --navy-primary: #1A2744;
  --navy-light: #2A3A5C;
  --navy-dark: #0F1829;
  --navy-gradient: linear-gradient(135deg, #1A2744 0%, #2A3A5C 50%, #1A2744 100%);
  
  /* Accent - Deep Red/Maroon */
  --red-primary: #8B2332;
  --red-light: #A52D3F;
  --red-dark: #6B1A26;
  --red-gradient: linear-gradient(135deg, #8B2332 0%, #A52D3F 50%, #8B2332 100%);
  
  /* Light Palette */
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #E9ECEF;
  --medium-gray: #DEE2E6;
  
  /* Glass Effect Colors - Light Theme */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(26, 39, 68, 0.15);
  --glass-shadow: rgba(26, 39, 68, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.8);
  
  /* Text Colors */
  --text-primary: #1A2744;
  --text-secondary: rgba(26, 39, 68, 0.8);
  --text-muted: rgba(26, 39, 68, 0.55);
  --text-accent: #8B2332;
  
  /* Status Colors */
  --success: #22C55E;
  --danger: #EF4444;
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --section-padding: clamp(4rem, 10vw, 8rem);
  --container-width: 1400px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(139, 35, 50, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(26, 39, 68, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(26, 39, 68, 0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Animated Particles Background */
.particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--navy-primary);
  border-radius: 50%;
  opacity: 0.15;
  animation: float-particle 20s infinite linear;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ========================================
   GLASSMORPHISM COMPONENTS
   ======================================== */

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 
    0 8px 32px var(--glass-shadow),
    inset 0 1px 0 var(--glass-highlight);
}

.glass-subtle {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(26, 39, 68, 0.1);
  border-radius: 16px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 35, 50, 0.3);
  box-shadow: 
    0 20px 60px rgba(26, 39, 68, 0.15),
    0 0 40px rgba(139, 35, 50, 0.05);
}

.glass-card:hover::before {
  opacity: 1;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.text-gold,
.text-accent {
  background: var(--red-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient {
  background: linear-gradient(135deg, var(--navy-light), var(--navy-primary), var(--navy-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--red-primary);
}

/* ========================================
   LAYOUT
   ======================================== */

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

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-smooth);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(26, 39, 68, 0.08);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(26, 39, 68, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.nav-logo-icon {
  width: 50px;
  height: 50px;
  background: var(--navy-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.nav-logo-img {
  height: 60px;
  width: auto;
  transition: transform var(--transition-smooth);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-primary);
  letter-spacing: 0.02em;
}

.nav-logo-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--red-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 12px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--navy-primary);
  background: rgba(26, 39, 68, 0.05);
}

.nav-link.active {
  color: var(--red-primary);
}

.nav-cta {
  background: var(--red-primary);
  color: var(--white) !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--red-light) !important;
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--navy-primary);
  transition: all var(--transition-fast);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    transition: right var(--transition-smooth);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.5rem;
    padding: 1rem 2rem;
  }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--red-primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(139, 35, 50, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--navy-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(26, 39, 68, 0.05);
  border-color: var(--navy-primary);
  color: var(--navy-primary);
}

.btn-outline {
  background: transparent;
  color: var(--navy-primary);
  border: 2px solid var(--navy-primary);
}

.btn-outline:hover {
  background: var(--navy-primary);
  color: var(--white);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ========================================
   HERO SLIDESHOW
   ======================================== */

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 39, 68, 0.85) 0%,
    rgba(26, 39, 68, 0.7) 50%,
    rgba(139, 35, 50, 0.6) 100%
  );
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 100px;
  padding-bottom: 180px;
}

.hero-slide-content .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-slide-inner {
  max-width: 700px;
}

.hero-slide-inner .hero-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.hero-slide-inner .hero-badge-dot {
  background: var(--white);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-slide-inner .hero-title {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-slide-inner .hero-title .text-gold {
  color: #FFD700;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.hero-slide-inner .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 550px;
}

.btn-secondary-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.btn-secondary-light:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.hero-trust-light {
  color: var(--white);
}

.hero-trust-light .hero-trust-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.hero-trust-light .hero-trust-item svg {
  stroke: #FFD700;
}

/* Hero Stats Floating Card */
.hero-stats-floating {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 20px;
  min-width: 320px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-stats-floating .hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.hero-stats-floating .hero-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-primary);
}

.hero-stats-floating .hero-stat-value span {
  color: var(--red-primary);
}

.hero-stats-floating .hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Slideshow Navigation */
.hero-slide-nav {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-slide-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.hero-slide-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.hero-slide-dots {
  display: flex;
  gap: 0.75rem;
}

.hero-slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.hero-slide-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hero-slide-dot.active {
  background: var(--white);
  transform: scale(1.2);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Hero Scroll Indicator - Update for slideshow */
.hero-slideshow .hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--white);
}

.hero-slideshow .hero-scroll span {
  color: rgba(255, 255, 255, 0.7);
}

.hero-slideshow .hero-scroll svg {
  stroke: var(--white);
}

/* Hero Slideshow Responsive */
@media (max-width: 1200px) {
  .hero-slide-content .container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  
  .hero-slide-inner {
    max-width: 100%;
  }
  
  .hero-slide-inner .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-slide-inner .hero-buttons {
    justify-content: center;
  }
  
  .hero-trust-light {
    justify-content: center;
  }
  
  .hero-stats-floating {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-slideshow {
    min-height: 100vh;
  }
  
  .hero-slide-content {
    padding-top: 80px;
    padding-bottom: 160px;
  }
  
  .hero-slide-inner .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
  
  .hero-slide-inner .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-slide-nav {
    bottom: 100px;
  }
  
  .hero-slideshow .hero-scroll {
    bottom: 30px;
  }
  
  .hero-slide-btn {
    width: 40px;
    height: 40px;
  }
  
  .hero-trust-light {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .hero-trust-light .hero-trust-item {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-slide-inner .hero-badge {
    font-size: 0.75rem;
  }
  
  .hero-slide-inner .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-slide-inner .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-slide-nav {
    bottom: 90px;
    gap: 1rem;
  }
  
  .hero-slideshow .hero-scroll {
    bottom: 25px;
  }
  
  .hero-slide-dot {
    width: 10px;
    height: 10px;
  }
}

/* ========================================
   HERO SECTION - ENHANCED
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-enhanced {
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
}

/* Hero Background Elements */
.hero-bg-enhanced {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

/* Geometric Shapes */
.hero-geometric {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.5;
}

.geo-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.geo-1 {
  animation: rotate-slow 30s linear infinite;
}

.geo-2 {
  animation: rotate-slow 40s linear infinite reverse;
}

.geo-3 {
  animation: rotate-slow 35s linear infinite;
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Gradient Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 35, 50, 0.12) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: float-orb 20s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 39, 68, 0.1) 0%, transparent 70%);
  bottom: 10%;
  left: -10%;
  animation: float-orb 25s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 35, 50, 0.08) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation: float-orb 18s ease-in-out infinite 5s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Grid Pattern */
.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(26, 39, 68, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 39, 68, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Hero Layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 240px);
}

@media (max-width: 1200px) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-geometric {
    right: -20%;
    opacity: 0.3;
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(139, 35, 50, 0.08);
  border: 1px solid rgba(139, 35, 50, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-primary);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--red-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-line:nth-child(1) {
  animation: slideInUp 0.8s ease 0.1s backwards;
}

.hero-title-line:nth-child(2) {
  animation: slideInUp 0.8s ease 0.2s backwards;
}

.hero-title-line:nth-child(3) {
  animation: slideInUp 0.8s ease 0.3s backwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 550px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.5s backwards;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

/* Trust Indicators */
.hero-trust {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.hero-trust-item svg {
  color: var(--red-primary);
  flex-shrink: 0;
}

/* Hero Visual / Stats Card */
.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease 0.4s backwards;
  width: 100%;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-stats-card {
  padding: 2rem;
  position: relative;
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
}

.hero-stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-primary), var(--navy-primary), var(--red-primary));
  border-radius: 24px 24px 0 0;
}

.hero-stats-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

.hero-stats-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red-primary);
}

.hero-stats-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(26, 39, 68, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-primary);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.hero-stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: 16px;
  background: rgba(26, 39, 68, 0.03);
  border: 1px solid rgba(26, 39, 68, 0.08);
  transition: all var(--transition-smooth);
}

.hero-stat:hover {
  background: rgba(26, 39, 68, 0.06);
  border-color: rgba(26, 39, 68, 0.15);
  transform: translateY(-2px);
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-stat-value span {
  font-size: 1.25rem;
  color: var(--red-primary);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.hero-stats-footer {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(26, 39, 68, 0.1);
}

.hero-stats-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--red-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  width: 100%;
}

.hero-stats-link:hover {
  gap: 1rem;
  color: var(--red-light);
}

/* Floating Elements */
.hero-float {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
  z-index: 10;
}

.hero-float-1 {
  top: -26px;
  left: -26px;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 30px;
  right: -26px;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

@media (max-width: 1200px) {
  .hero-float-1 {
    left: -15px;
  }
  
  .hero-float-2 {
    right: -15px;
  }
}

@media (max-width: 900px) {
  .hero-float {
    display: none;
  }
  
  .hero-stats-card {
    padding: 1.5rem;
  }
}

/* Hero Scroll */
.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-enhanced {
    padding: 120px 0 80px;
    min-height: auto;
  }
  
  .hero-layout {
    min-height: auto;
  }
  
  .hero-stats-grid {
    gap: 0.75rem;
  }
  
  .hero-stat-value {
    font-size: 1.75rem;
  }
  
  .hero-stat-label {
    font-size: 0.75rem;
  }
  
  .hero-trust {
    gap: 1rem;
  }
  
  .hero-float {
    display: none;
  }
  
  .hero-geometric {
    display: none;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }
  
  .btn-lg {
    padding: 1rem 1.75rem;
    font-size: 1rem;
  }
}

/* ========================================
   DASHBOARD SECTION
   ======================================== */

.dashboard {
  padding: 5rem 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.dashboard-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.dashboard-card-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.dashboard-card-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.dashboard-card-change {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

.dashboard-card-change.up {
  color: var(--success);
  background: rgba(74, 222, 128, 0.1);
}

.dashboard-card-change.down {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

/* ========================================
   HIGHLIGHTS SECTION
   ======================================== */

.highlights {
  padding: 6rem 0;
}

.highlight-card {
  padding: 2.5rem;
  text-align: center;
}

.highlight-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(26, 39, 68, 0.06);
  border: 1px solid rgba(26, 39, 68, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
}

.highlight-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--red-primary);
  color: var(--red-primary);
}

.highlight-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--navy-primary);
}

.highlight-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
  padding: 12rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 30%, rgba(139, 35, 50, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--off-white) 0%, var(--light-gray) 100%);
  z-index: -1;
}

.page-header-content {
  max-width: 800px;
}

.page-header h1 {
  margin-bottom: 1.5rem;
}

.page-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.content-block {
  margin-bottom: 4rem;
}

.content-block h3 {
  color: var(--navy-primary);
  margin-bottom: 1.5rem;
}

.content-block p {
  margin-bottom: 1rem;
}

.content-block ul {
  list-style: none;
  padding: 0;
}

.content-block li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.content-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: var(--red-primary);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2rem;
}

.value-card h4 {
  color: var(--navy-primary);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================
   LEADERSHIP SECTION
   ======================================== */

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.leader-card {
  padding: 0;
  overflow: hidden;
}

.leader-image {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, var(--light-gray), var(--medium-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

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

.leader-image::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(26, 39, 68, 0.4));
  z-index: 1;
  pointer-events: none;
}

.leader-placeholder {
  font-size: 4rem;
  color: var(--navy-primary);
  opacity: 0.5;
}

.leader-content {
  padding: 2rem;
}

.leader-name {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.leader-role {
  color: var(--red-primary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.leader-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.leader-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--navy-primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.leader-linkedin:hover {
  color: var(--red-primary);
}

/* ========================================
   PROCESS FLOW
   ======================================== */

.process-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.process-step {
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--navy-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-title {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.process-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================
   ESG SECTION
   ======================================== */

.esg-pillar {
  padding: 3rem;
  margin-bottom: 2rem;
}

.esg-pillar h3 {
  color: var(--navy-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.esg-pillar h3::before {
  content: '';
  width: 4px;
  height: 30px;
  background: var(--red-primary);
  border-radius: 2px;
}

.esg-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.esg-list li {
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-secondary);
}

.esg-list li::before {
  content: '✓';
  color: var(--red-primary);
  font-weight: bold;
  flex-shrink: 0;
  position: static;
  background: none;
  transform: none;
}

/* ========================================
   CSI SECTION
   ======================================== */

.impact-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.metric-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 0.5rem;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================
   NEWS & MEDIA
   ======================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.news-card {
  padding: 0;
  overflow: hidden;
}

a.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26, 39, 68, 0.15);
}

a.news-card:hover .news-link {
  gap: 0.75rem;
}

.news-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--light-gray), var(--medium-gray));
  position: relative;
}

.news-date {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--red-primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
}

.news-content {
  padding: 2rem;
}

.news-category {
  color: var(--red-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.news-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.news-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.news-link {
  color: var(--red-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.news-link:hover {
  gap: 1rem;
  color: var(--red-light);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--light-gray), var(--medium-gray));
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 39, 68, 0.3));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

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

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  padding: 3rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item-label {
  font-size: 0.85rem;
  color: var(--red-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.contact-item-value {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.contact-item-value a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-item-value a:hover {
  color: var(--red-primary);
}

.contact-form-wrapper {
  padding: 3rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(26, 39, 68, 0.15);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Map */
.contact-map {
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 4rem;
  border: 1px solid var(--glass-border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) invert(90%) contrast(90%);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--navy-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5rem 0 2rem;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: inline-block;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  transition: transform var(--transition-smooth);
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.05);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@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);
  }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ========================================
   UTILITIES
   ======================================== */

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.hidden { display: none; }

/* Responsive utilities */
@media (max-width: 768px) {
  .hide-mobile { display: none; }
}

@media (min-width: 769px) {
  .hide-desktop { display: none; }
}

/* ========================================
   LOADING SCREEN
   ======================================== */

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.loader-logo {
  width: 80px;
  height: 80px;
  background: var(--navy-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 2rem;
  animation: pulse-loader 1.5s infinite;
}

.loader-logo-img {
  width: 120px;
  height: auto;
  margin: 0 auto 2rem;
  animation: pulse-loader 1.5s infinite;
}

@keyframes pulse-loader {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(26, 39, 68, 0.15);
  border-radius: 3px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: var(--red-primary);
  border-radius: 3px;
  animation: loading 1.5s ease-out forwards;
}

@keyframes loading {
  from { width: 0; }
  to { width: 100%; }
}

/* ========================================
   IMAGE CAROUSEL
   ======================================== */

.carousel-section {
  background: var(--white);
}

.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--navy-primary);
}

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

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

.carousel-image {
  position: relative;
  height: 500px;
  overflow: hidden;
}

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

.carousel-slide:hover .carousel-image img {
  transform: scale(1.05);
}

.carousel-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 40%,
    rgba(26, 39, 68, 0.95) 100%
  );
}

.carousel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem;
  color: var(--white);
  z-index: 2;
}

.carousel-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--red-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.carousel-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.carousel-content p {
  font-size: 1.1rem;
  color: #FFFFFF;
  opacity: 0.9;
  max-width: 500px;
  line-height: 1.6;
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border: 2px solid var(--navy-primary);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-primary);
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--navy-primary);
  color: var(--white);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-dots {
  display: flex;
  gap: 0.75rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--medium-gray);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.carousel-dot:hover {
  background: var(--navy-light);
}

.carousel-dot.active {
  background: var(--red-primary);
  transform: scale(1.2);
}

/* Carousel Responsive */
@media (max-width: 768px) {
  .carousel-image {
    height: 350px;
  }
  
  .carousel-content {
    padding: 2rem;
  }
  
  .carousel-content h3 {
    font-size: 1.5rem;
  }
  
  .carousel-content p {
    font-size: 0.95rem;
  }
  
  .carousel-btn {
    width: 44px;
    height: 44px;
  }
  
  .carousel-nav {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .carousel-image {
    height: 300px;
  }
  
  .carousel-content {
    padding: 1.5rem;
  }
  
  .carousel-content h3 {
    font-size: 1.25rem;
  }
  
  .carousel-content p {
    font-size: 0.9rem;
  }
  
  .carousel-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
  }
}

/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ======================================== */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  /* Typography */
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  /* Container */
  .container {
    padding: 0 1.5rem;
  }
  
  /* Sections */
  section {
    padding: 4rem 0;
  }
  
  /* Page Header */
  .page-header {
    padding: 8rem 0 4rem;
  }
  
  /* Grids */
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Leadership Grid */
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Process Flow */
  .process-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* ESG Pillars */
  .esg-pillars {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 2.25rem; line-height: 1.2; }
  h2 { font-size: 1.75rem; line-height: 1.3; }
  h3 { font-size: 1.35rem; }
  h4 { font-size: 1.1rem; }
  
  body {
    font-size: 15px;
    line-height: 1.6;
  }
  
  /* Container */
  .container {
    padding: 0 1rem;
  }
  
  /* Section Spacing */
  section {
    padding: 3rem 0;
  }
  
  .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }
  
  /* Page Header */
  .page-header {
    padding: 7rem 0 3rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .page-header p {
    font-size: 1rem;
  }
  
  /* Navigation */
  .nav-logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    border-radius: 10px;
  }
  
  .nav-logo-img {
    height: 50px;
  }
  
  .nav-logo-text {
    font-size: 1.1rem;
  }
  
  .nav-logo-text span {
    font-size: 0.65rem;
  }
  
  .footer-logo-img {
    height: 70px;
  }
  
  /* Buttons */
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Grids */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  /* Glass Cards */
  .glass-card {
    padding: 1.5rem;
    border-radius: 16px;
  }
  
  /* Dashboard */
  .dashboard {
    padding: 3rem 0;
  }
  
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .dashboard-card {
    padding: 1.25rem 1rem;
  }
  
  .dashboard-card-value {
    font-size: 1.5rem;
  }
  
  .dashboard-card-label {
    font-size: 0.7rem;
  }
  
  /* Highlights */
  .highlight-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 1rem;
  }
  
  .highlight-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .highlight-title {
    font-size: 1.1rem;
  }
  
  .highlight-text {
    font-size: 0.9rem;
  }
  
  /* Leadership */
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .leader-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .leader-placeholder {
    font-size: 3rem;
  }
  
  .leader-content {
    padding: 1.5rem;
  }
  
  .leader-name {
    font-size: 1.2rem;
  }
  
  .leader-role {
    font-size: 0.85rem;
  }
  
  .leader-bio {
    font-size: 0.9rem;
  }
  
  /* Values Grid */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .value-card {
    padding: 1.5rem;
  }
  
  /* Process Flow */
  .process-flow {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .process-step {
    padding: 1.5rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  /* Content Blocks */
  .content-block {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* Metrics Grid */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .metric-card {
    padding: 1.5rem 1rem;
  }
  
  .metric-value {
    font-size: 2rem;
  }
  
  .metric-label {
    font-size: 0.8rem;
  }
  
  /* News Cards */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .news-card .news-content {
    padding: 1.5rem;
  }
  
  /* Contact Form */
  .contact-grid {
    gap: 2rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.875rem 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-grid {
    gap: 2rem;
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .footer-column h4 {
    margin-bottom: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  /* Hero Stats Card */
  .hero-stats-card {
    padding: 1.5rem;
  }
  
  .hero-stats-grid {
    gap: 0.75rem;
  }
  
  .hero-stat {
    padding: 1rem 0.5rem;
  }
  
  .hero-stat-value {
    font-size: 1.5rem;
  }
  
  .hero-stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }
  
  /* Trust Items */
  .hero-trust {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  
  .hero-trust-item {
    font-size: 0.85rem;
  }
  
  /* CTA Section */
  .cta-section {
    padding: 3rem 1.5rem;
    border-radius: 16px;
    margin: 0 1rem;
  }
  
  .cta-section h2 {
    font-size: 1.75rem;
  }
}

/* Mobile Styles for Image Banners */
@media (max-width: 768px) {
  /* About Section Grid */
  .glass[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding: 2rem !important;
  }
  
  /* Image banners */
  [style*="height: 400px"],
  [style*="height: 350px"] {
    height: 280px !important;
  }
  
  [style*="height: 350px"] h3,
  [style*="height: 400px"] h3 {
    font-size: 1.25rem !important;
  }
  
  [style*="height: 350px"] p,
  [style*="height: 400px"] p {
    font-size: 0.9rem !important;
  }
  
  [style*="bottom: 3rem; left: 3rem"],
  [style*="bottom: 2.5rem; left: 3rem"] {
    bottom: 1.5rem !important;
    left: 1.5rem !important;
    right: 1.5rem !important;
  }
}

/* Small Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
  /* Typography */
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  body {
    font-size: 14px;
  }
  
  /* Container */
  .container {
    padding: 0 0.875rem;
  }
  
  /* Navigation */
  .nav-container {
    padding: 0 0.875rem;
  }
  
  .nav-logo {
    gap: 0.5rem;
  }
  
  .nav-logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    border-radius: 8px;
  }
  
  .nav-logo-img {
    height: 45px;
  }
  
  .nav-logo-text {
    font-size: 1rem;
  }
  
  .footer-logo-img {
    height: 60px;
  }
  
  .loader-logo-img {
    width: 100px;
  }
  
  /* Hero Section */
  .hero-enhanced {
    padding: 100px 0 60px;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.875rem;
  }
  
  .hero-title {
    font-size: 1.875rem !important;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Dashboard */
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .dashboard-card-value {
    font-size: 1.25rem;
  }
  
  /* Metrics */
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .metric-value {
    font-size: 1.75rem;
  }
  
  /* Glass Cards */
  .glass-card {
    padding: 1.25rem;
  }
  
  /* Page Header */
  .page-header {
    padding: 6rem 0 2.5rem;
  }
  
  .page-header h1 {
    font-size: 1.75rem;
  }
  
  /* Buttons */
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
  
  /* Hero Stats */
  .hero-stats-card {
    padding: 1.25rem;
  }
  
  .hero-stat-value {
    font-size: 1.35rem;
  }
  
  /* Footer */
  .footer-social a {
    width: 40px;
    height: 40px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Increase touch targets */
  .btn {
    min-height: 48px;
  }
  
  .nav-link {
    padding: 1rem 1.25rem;
  }
  
  .footer-links a {
    display: block;
    padding: 0.5rem 0;
  }
  
  /* Remove hover effects that don't work on touch */
  .glass-card:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Landscape Mode on Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-enhanced {
    padding: 80px 0 40px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 1.75rem !important;
  }
  
  .hero-visual {
    display: none;
  }
  
  .page-header {
    padding: 80px 0 30px;
  }
}

/* Print Styles */
@media print {
  .nav,
  .footer,
  .particles-bg,
  .loader,
  .hero-geometric,
  .hero-orb {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .glass-card {
    background: white;
    border: 1px solid #ccc;
    box-shadow: none;
  }
}

