:root {
  --primary-orange: #ff9933;
  /* Approximate orange from logo, can be tweaked */
  --bg-dark: #0a0a0a;
  --bg-card: #1a1a1a;
  --text-light: #f0f0f0;
  --text-dim: #a0a0a0;
  --font-main: 'Inter', sans-serif;
  --service-icon-size: 48px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary-orange);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffb366;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-orange);
  color: var(--bg-dark);
  font-weight: bold;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  background-color: #ffb366;
  transform: translateY(-2px);
}

/* Utility classes */
.text-orange {
  color: var(--primary-orange);
}

.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.py-4 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Center horizontally */
  overflow: hidden;
  border-bottom: 1px solid var(--primary-orange);
  text-align: center;
  /* Center text */
}

.hero-track-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  background-color: var(--bg-dark);
  /* Ensure fade blends to background */
  /* Zoom Animation:
     - Change '30s' to adjust speed (higher = slower)
     - 'ease-in-out' creates smooth start/stop
     - 'alternate' makes it zoom in then out
  */
  animation: zoom 30s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-track {
  display: flex;
  height: 100%;
  width: max-content;
  /* Allow track to be as wide as needed */
  /* Pan Animation:
     - Change '45s' to adjust speed (higher = slower)
     - 'linear' ensures constant speed
  */
  animation: pan-right 160s linear infinite;
  will-change: transform;
}

.hero-tile {
  height: 100%;
  width: auto;
  object-fit: cover;
  /* Ensure it fills height */
  opacity: 0.6;
  /* Match previous opacity */
  /* Fade edges to transparent (background color)
  10-90 is a sharp fade 
  20-80 is a smoother fade
  */
  mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent);
}

@keyframes pan-right {
  from {
    transform: translateX(-33.33%);
    /* Start shifted left by one tile (assuming 3 tiles) */
  }

  to {
    transform: translateX(0%);
    /* Move to 0 */
  }
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }

  100% {
    /* Zoom Scale:
       - Change '1.25' to adjust zoom intensity (1 = no zoom, 1.5 = 50% zoom)
    */
    transform: scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  /* Increased max-width for better centering */
  margin: 0 auto;
  padding: 2rem;
  /* Added padding for the background */
  background-color: rgba(0, 0, 0, 0.3);
  /* Black with 50% opacity */
  backdrop-filter: blur(5px);
  /* Optional: adds a nice blur effect to the background */
  border-radius: 16px;
  /* Rounded corners */
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* Subtle border */
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: #d0d0d0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn {
    width: 100%;
    /* Full width buttons on mobile */
    text-align: center;
  }
}

/* Header Styles */
.header {
  padding: 0.5rem 0;
  background-color: rgba(10, 10, 10, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #333;
  backdrop-filter: blur(10px);
  height: 70px;
  display: flex;
  align-items: center;
  transition: height 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  z-index: 102;
  position: relative;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: invert(1) hue-rotate(180deg);
  transition: height 0.3s ease;
}

/* Desktop Nav */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
}

.nav-link {
  color: #f0f0f0;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-orange);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 102;
  padding: 0;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Hamburger Animation */
.mobile-menu-btn.open .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Header Responsive */
@media (max-width: 768px) {
  .header {
    height: 60px;
  }

  .logo-img {
    height: 40px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 101;
  }

  .nav-menu.active {
    transform: translateX(0);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  }

  .nav-list {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  .nav-link {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .nav-btn {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
    width: auto;
  }
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  justify-content: center;
  justify-items: center;
  max-width: 900px;
  /* Limit width to keep cards from getting too wide */
  margin: 0 auto;
  /* Center the grid itself */
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

.service-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #333;
  transition: transform 0.3s ease;
  height: 100%;
  text-align: center;
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  color: var(--primary-orange);
  width: var(--service-icon-size);
  height: var(--service-icon-size);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background-color: #111;
  text-align: center;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.contact-item {
  min-width: 200px;
}

.contact-label {
  color: var(--primary-orange);
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 1.1rem;
}

.footer-text {
  font-size: 0.9rem;
  color: #666;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .contact-grid {
    gap: 2rem;
    flex-direction: column;
    align-items: center;
  }
}

/* Leadership Section */
.leadership-section {
  background-color: var(--bg-dark);
  position: relative;
}

.leadership-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.leader-card {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid #333;
  text-align: center;
  max-width: 350px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--primary-orange);
}

.leader-img-container {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-orange);
  box-shadow: 0 0 20px rgba(255, 153, 51, 0.2);
}

.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.leader-card:hover .leader-img {
  transform: scale(1.1);
}

.leader-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.leader-role {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.leader-bio {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .leadership-grid {
    gap: 2rem;
  }

  .leader-card {
    padding: 2rem;
  }
}
