/* CSS Custom Properties (Variables) */
:root {
  --primary-blue: #005a9c;
  --primary-dark: #004073;
  --primary-darker: #003d6b;
  --accent-teal: #00a896;
  --accent-teal-rgb: 0, 168, 150;
  --accent-green: #1fa880;
  --accent-orange: #ff8c42;
  --light-grey: #f8f9fa;
  --medium-grey: #e9ecef;
  --dark-grey: #6c757d;
  --text-dark: #212529;
  --text-light: #495057;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease-in-out;
}

html {
  font-size: 120%;
}

/* ===== HEADER & NAVIGATION ===== */

header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;

  span {
    color: var(--primary-blue);
  }
}

/* Logo image sizing */
.site-logo {
  height: 154px;
  width: auto;
  display: block;
}

.logo::before {
  content: none;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-blue);
  border-bottom-color: var(--accent-orange);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--primary-darker);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

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

/* ===== HERO SECTION ===== */

.hero {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero .hero-highlight {
  font-size: calc(clamp(1.56rem, 2.86vw, 1.885rem) * 1.25);
  line-height: 1.6;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CONTAINER & SECTIONS ===== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 1.5rem;
}

/* ===== FEATURE GRID ===== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-section {
  padding-top: 0;
}

.product-marquee {
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  gap: 1rem;
  min-width: 200%;
  animation: scroll-left 36s linear infinite;
}

.product-card {
  min-width: 240px;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.product-card p {
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
}

.product-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.product-carousel-section {
  padding-top: 0;
}

.carousel {
  position: relative;
  margin-top: 2rem;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.35s ease;
  padding: 0;
}

.carousel-slide {
  min-width: 300px;
  max-width: 400px;
  flex: 0 0 auto;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-image {
  height: 240px;
  min-height: 240px;
  background: #f8f9fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-image img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.carousel-copy {
  padding: 1.5rem;
}

.carousel-copy h3 {
  margin: 0 0 0.75rem;
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.carousel-copy p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.75;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--primary-blue);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 2;
}

.carousel-control:hover {
  background: var(--accent-orange);
  color: var(--white);
  transform: translateY(-50%) scale(1.03);
}

.carousel-control.prev {
  left: -12px;
}

.carousel-control.next {
  right: -12px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--medium-grey);
  border: none;
  cursor: pointer;
}

.carousel-indicator.active {
  background: var(--accent-orange);
}

@media (max-width: 960px) {
  .carousel-slide {
    min-width: 260px;
  }
}

@media (max-width: 700px) {
  .carousel {
    padding: 0;
  }

  .carousel-control {
    display: flex;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
  }

  .carousel-control.prev {
    left: 0.75rem;
  }

  .carousel-control.next {
    right: 0.75rem;
  }

  .carousel-track {
    gap: 0.75rem;
  }

  .carousel-track-container {
    overflow: hidden;
  }

  .carousel-slide {
    min-width: calc(100% - 1rem);
    flex: 0 0 100%;
  }

  .carousel-track,
  .carousel-slide {
    touch-action: pan-y;
    user-select: none;
  }
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid var(--accent-orange);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.feature-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.section-heading {
  color: var(--primary-blue);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  padding-top: 2rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  color: var(--dark-grey);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ===== TWO COLUMN LAYOUT ===== */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.column-text h2 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.column-text ul {
  list-style: none;
  padding-left: 0;
}

.column-text li {
  margin: 1rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
}

.column-text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
  font-size: 1.3rem;
}

.column-image {
  background: linear-gradient(135deg, var(--light-grey), var(--medium-grey));
  height: 400px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--accent-orange);
}

.column-image img,
.responsive-section-image {
  width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

/* ===== CTA SECTION ===== */

.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-darker) 100%
  );
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 12px;
  margin-top: 3rem;
}

.cta-section h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.cta-section p {
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* ===== CONTACT FORM ===== */

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--medium-grey);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(var(--accent-orange-rgb), 0.1);
}

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

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

footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: 3rem 1.5rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

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

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-orange);
}

/* ===== CONTACT INFO ===== */

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

.info-block {
  display: flex;
  gap: 1.5rem;
}

.info-icon {
  font-size: 2rem;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.info-block h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.info-block p {
  color: var(--text-light);
  margin: 0;
}

/* ===== TEAM GRID (Leadership) ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-grid .feature-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-grid .feature-card img {
  width: 156px;
  height: 156px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-grid .feature-card img {
    width: 130px;
    height: 130px;
  }
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    max-height: 400px;
  }

  .nav-menu a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--medium-grey);
  }

  .hero {
    padding: 2rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .column-image {
    height: 300px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .logo::before {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .section-heading {
    font-size: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  nav {
    padding: 0.75rem 1rem;
  }

  .two-column {
    gap: 1rem;
  }
}

/* ===== ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
  .btn-primary {
    border: 2px solid var(--white);
  }

  .feature-card {
    border-top-width: 6px;
  }
}
