/* ============================================
       GLOBAL VARIABLES & RESET
    ============================================ */
:root {
  --primary-dark: #0A1931;
  --primary-blue: #1A3A6C;
  --accent-cyan: #00D4FF;
  --accent-teal: #2EC4B6;
  --neutral-light: #F8F9FA;
  --neutral-gray: #6C757D;
  --white: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, #0A1931 0%, #1A3A6C 100%);
  --gradient-accent: linear-gradient(135deg, #00D4FF 0%, #2EC4B6 100%);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.12);
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--neutral-gray);
  background: var(--neutral-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 43%;
  bottom: -8px;
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.btn-primary {
  display: inline-block;
  background: var(--gradient-accent);
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.section-eyebrow {
  display: inline-block;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  padding: 6px 12px;
  background-color: rgba(0, 212, 255, 0.1);
  border-radius: 30px;
}

.text-center {
  text-align: center;
}

.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ============================= */
/* HERO SECTION */
/* ============================= */
.hero-section {
  background: var(--gradient-primary);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300D4FF' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  color: var(--white);
}

.hero-content h1 {
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ============================= */
/* DIRECTORS SECTION (TOP LEVEL) */
/* ============================= */
.directors-section {
  padding: 100px 0;
  background-color: var(--neutral-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--neutral-gray);
  max-width: 700px;
  margin: 0 auto;
}

.directors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .directors-grid {
    grid-template-columns: 1fr;
  }
}

.director-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  position: relative;
}

.director-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.director-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-accent);
  z-index: 1;
}

.director-header {
  padding: 40px 40px 20px;
  position: relative;
  text-align: center;
}

.director-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
}

.director-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--accent-cyan);
  margin: 0 auto 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.director-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.director-name {
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.director-title {
  color: var(--accent-teal);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.director-social {
  display: flex;
  gap: 15px;
  padding: 20px 40px 30px;
  justify-content: center;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent-cyan);
  color: var(--white);
  transform: translateY(-3px);
}

/* ============================= */
/* LEADERSHIP TEAM SECTION */
/* ============================= */
.leadership-section {
  padding: 100px 0;
  background-color: var(--white);
}

.leadership-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
}


.leader-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 350px;
  max-width: 100%;
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
}

.leader-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--accent-teal);
  margin: 0 auto 15px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.leader-name {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.leader-title {
  color: var(--accent-teal);
  font-weight: 600;
  margin-bottom: 10px;
}

.leader-department {
  display: inline-block;
  background-color: rgba(46, 196, 182, 0.1);
  color: var(--accent-teal);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.leader-bio {
  color: var(--neutral-gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================= */
/* ENGINEERING TEAM SECTION */
/* ============================= */
.engineering-section {
  padding: 100px 0;
  background-color: var(--neutral-light);
}

.engineering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
  justify-items: center;
}

@media (max-width: 992px) {
  .engineering-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .engineering-grid {
    grid-template-columns: 1fr;
  }
}

.engineer-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
}

.engineer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.engineer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
}

.engineer-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 15px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-cyan);
}

.engineer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.engineer-image i {
  font-size: 2.5rem;
  color: var(--accent-cyan);
  opacity: 0.8;
}

.engineer-name {
  font-size: 1.25rem;
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.engineer-title {
  color: var(--neutral-gray);
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.engineer-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-top: 15px;
}

.expertise-tag {
  background-color: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ============================= */
/* CTA SECTION */
/* ============================= */
.cta-section {
  background: var(--gradient-primary);
  padding: 100px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.25rem;
}

.cta-section .btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  border-color: transparent;
}

.cta-section .btn-primary:hover {
  background: linear-gradient(135deg, #00c4e8 0%, #28b4a8 100%);
}

/* ============================= */
/* RESPONSIVE STYLES */
/* ============================= */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 50px 0 20px;
  }

  .section {
    padding: 80px 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-section {
    padding: 120px 0 60px;
  }

  .director-header,
  .director-social {
    padding-left: 25px;
    padding-right: 25px;
  }

  .director-image {
    width: 130px;
    height: 130px;
  }

  .leader-image {
    width: 110px;
    height: 110px;
  }

  .engineer-image {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.25rem;
  }

  .hero-section {
    padding: 100px 0 40px;
  }

  .director-header {
    padding-top: 30px;
  }

  .director-badge {
    position: relative;
    top: 0;
    right: 0;
    display: inline-block;
    margin-bottom: 15px;
  }

  .director-image {
    width: 120px;
    height: 120px;
  }

  .leader-image {
    width: 100px;
    height: 100px;
  }

  .engineer-image {
    width: 80px;
    height: 80px;
  }
}