/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body, html {
  width: 100%;
  height: 100%;
  color: #fff;
  scroll-behavior: smooth;
}

/* Background Overlay */
body {
  background: url('images/backgroundimageofwebsite.png.jpeg') center center/cover no-repeat fixed;
  position: relative;
}
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 34, 77, 0.85);
  z-index: -1;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-image {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  opacity: 0.7;
  border-radius: 15px;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-text h1 {
  font-size: 3rem;
  color: #00aaff;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px #000;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-shadow: 1px 1px 3px #000;
}

.cta-btn {
  padding: 12px 30px;
  background: #00aaff;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #0077aa;
}

/* About Section */
.about-section {
  padding: 80px 20px;
  background: rgba(0, 34, 77, 0.9);
  text-align: center;
}

.about-section h2 {
  font-size: 2.5rem;
  color: #00aaff;
  margin-bottom: 40px;
}

.about-content p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Leadership Section */
.team-section {
  padding: 80px 20px;
  background: rgba(0, 34, 77, 0.95);
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  color: #00aaff;
  margin-bottom: 40px;
}

.leader-card {
  max-width: 700px;
  margin: 25px auto;
  background: #00264d;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
}

.leader-card h3 {
  font-size: 1.8rem;
  color: #00aaff;
  margin-bottom: 10px;
}

.leader-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #fff;
}

/* Founder Photo */
.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.founder-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 35%; /* adjusts vertical crop */
  border: 4px solid #00aaff;
  margin-bottom: 15px;
}

/* Engineers Grid */
.engineers-section {
  padding: 80px 20px;
  background: #001f3f;
  text-align: center;
}

.engineers-section h2 {
  font-size: 2.5rem;
  color: #00aaff;
  margin-bottom: 40px;
}

.engineers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.engineer-card {
  background: #00264d;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.engineer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.5);
}

.engineer-card h4 {
  color: #00aaff;
  margin-bottom: 10px;
}

.engineer-card p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

/* Contact Section */
.contact-section {
  padding: 60px 20px;
  background: #001f3f;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  color: #00aaff;
  margin-bottom: 20px;
}

.contact-section a {
  color: #00aaff;
  text-decoration: none;
  font-weight: bold;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .about-content p, .leader-card p {
    font-size: 1rem;
  }

  .founder-photo {
    width: 150px;
    height: 150px;
  }
}
