/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fafafa;
  color: #333;
  line-height: 1.6;
}

/* HERO SECTION */
.hero {
  height: 90vh;
  width: 100%;
  background-image: url("https://images.unsplash.com/photo-1563986768609-322da13575f3?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTB8fGh1bWFuJTIwcmVzb3VyY2V8ZW58MHx8MHx8fDA%3D"); /* your background image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

/* DARK OVERLAY FOR TEXT VISIBILITY */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}

.hero-title,
header {
  position: relative;
  z-index: 1;
}

/* HEADER */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

/* NAVBAR */
.nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* LOGO */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  width: 300px;
  height: 60px;
}

.tagline {
  font-size: 15px;
  margin-left: 60px;
  color:teal;
  letter-spacing: 1px;
}

/* NAVIGATION */
nav {
  display: flex;
  align-items: center;
}

nav a {
  margin-left: 30px;
  text-decoration: none;
  color: orange;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

/* NAV HOVER UNDERLINE */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #ff7a18;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: rgb(25, 160, 153);
}

/* MENU BUTTON */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

/* HERO TITLE */
.hero-title h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.3;
  color: white;
}

/* TEAM SECTION */
.team-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.team-member {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

/* REVERSE LAYOUT */
.team-member.reverse {
  flex-direction: row-reverse;
}

/* IMAGE CONTAINER */
.team-member .image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ROUND TEAM IMAGES */
.team-member .image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position:top;
  border-radius:40%;
  border: 5px solid white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

/* IMAGE HOVER EFFECT */
.team-member .image img:hover {
  transform: translateY(-8px) scale(1.05);
}

/* TEXT */
.team-member .text {
  max-width: 600px;
}

.team-member h2 {
  font-size: 32px;
  margin-bottom: 8px;
  color: #111;
}

.team-member h4 {
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 15px;
  color: #555;
}

.team-member p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

footer {
  background: rgb(13,109,105);
  color:white;
  text-align:center;
  padding:20px;
  margin-top:40px;
}

footer a {
  display:inline-block;
  margin:0 10px;
  vertical-align:middle;
  transition:transform 0.2s;
}

footer a img {
  width:30px;
  height:30px;
}

footer a:hover {
  transform:scale(1.1);
}
/* RESPONSIVE DESIGN */
@media (max-width: 768px) {

  .nav {
    padding: 20px 25px;
  }

  nav {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

  nav a {
    margin: 10px 0;
    color: #333;
  }

  .menu-toggle {
    display: block;
    color:rgb(25, 160, 153);
  }

  .hero-title h1 {
    font-size: 34px;
  }

  .team-member {
    flex-direction: column;
    text-align: center;
  }

  .team-member.reverse {
    flex-direction: column;
  }

  .team-member .image img {
    width: 200px;
    height: 200px;
  }

}
/* Smooth page fade in/out */
body {
  opacity: 0;
  transition: opacity 0.4s ease;
}
body.loaded {
  opacity: 1;
}
body.fade-out {
  opacity: 0;
}

/* Smooth transitions for all interactive elements */
* {
  transition: all 0.3s ease-in-out;
}

/* Smooth hover for nav links */
nav a {
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Smooth hover for footer icons */
footer a img {
  transition: transform 0.3s ease;
}