* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* NAVBAR */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

nav .navbar-brand {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: gray;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  color: gray;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
  background: #000;
  color: white;
}

/* Show dropdown on hover (desktop) */
nav ul li.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hamburger Button */
.navbar-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

/* RESPONSIVE NAVBAR */
@media (max-width: 768px) {
  .navbar-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #000;
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    text-align: center;
    margin: 0.5rem 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .dropdown-menu li a {
    padding: 0.6rem 1rem;
  }

  nav ul li.dropdown .dropdown-menu {
    display: none;
  }

  nav ul li.dropdown.active .dropdown-menu {
    display: block;
  }
}

/* SECTIONS BASE */
section {
  padding: 60px 10%;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
}

p {
  color: #ccc;
  line-height: 1.7;
}

/* ABOUT SECTION */
.about-section {
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 70%;
  height: auto;
  max-width: 400px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.about-text {
  flex: 1;
  padding: 60px 40px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text button {
  background: #fff;
  font-size: 1rem;
  color: black;
  padding: 15px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 20px;
  width: fit-content;
}

/* VISION & MISSION */
.vision-mission {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 10px;
  padding-top: 5px;
}

.vision-mission div {
  flex: 1;
  background: #111;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.1);
}

.vision-mission h3 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 1.5rem;
}

/* HIRE US SECTION */
.hire-section {
  background: url('https://images.pexels.com/photos/3379934/pexels-photo-3379934.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260')
    no-repeat center/cover;
  text-align: center;
  padding: 60px 10px;
  border-radius: 15px;
  margin-top: 60px;
  position: relative;
}

.hire-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
}

.hire-section h2,
.hire-section button {
  position: relative;
  z-index: 1;
}

.hire-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.hire-section button {
  background: #fff;
  color: #000;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
}

/* ===========================
   FOUNDER SECTION
=========================== */
.founder-section {
  padding: 60px 10%;
  margin-bottom: 40px;
  background: #000;
  color: #fff;
  text-align: center;
}

.founder-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.founder-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
}

.founder-photo {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
}

.founder-info {
  max-width: 600px;
  text-align: left;
}

.founder-info h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #aaa;
}

.founder-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

/* ===========================
   TEAM SECTION
=========================== */
.team-section {
  text-align: center;
  padding: 0 10%;
}

.team-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 20px 20px 60px;
  scrollbar-width: none;
}

.team-carousel::-webkit-scrollbar {
  display: none;
}

.team-member {
  flex: 0 0 250px;
  background: #111;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.1);
}

.team-member img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.team-section h2 {
  font-size: 2.5rem;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}

.team-member h4 {
  margin-bottom: 5px;
  color: #fff;
}

.team-member p {
  font-size: 0.9rem;
  color: #aaa;
}

/* ===========================
   RESPONSIVE (ABOUT / VISION)
=========================== */
@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
  }

  .about-text {
    clip-path: none;
    border-radius: 0 0 15px 15px;
  }

  .vision-mission {
    flex-direction: column;
  }
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background-color: #000;
  padding: 20px 0;
  border-top: 1px solid #111;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content .logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
  animation: floatLogo 6s ease-in-out infinite;
}

.footer-content .logo a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

.footer-nav,
.social-icons,
.footer-bottom-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a,
.footer-bottom-nav a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-bottom-nav a:hover {
  color: #444;
}

.social-icons {
  display: flex;
  gap: 15px;
  padding: 0;
  margin-top: 20px;
}

.social-icons li a {
  color: #fff;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons li a:hover {
  color: #444;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 10px 20px 0;
  border-top: 1px solid #ddd;
  font-size: 0.9em;
  color: #fff;
}

.footer-bottom-nav {
  gap: 15px;
}

/* ===========================
   FOOTER RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav,
  .social-icons,
  .footer-bottom-nav {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom-nav {
    margin-top: 15px;
  }
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 600px) {
  body {
    font-size: 14px;
    line-height: 1.5;
    padding: 0;
    margin: 0;
  }

  section {
    padding: 40px 6%;
  }

  h2 {
    font-size: 1.8rem;
  }

  p {
    font-size: 0.95rem;
  }

  nav {
    padding: 0.8rem 5%;
  }

  nav .navbar-brand {
    font-size: 1.3rem;
  }

  .navbar-toggle {
    font-size: 1.8rem;
  }

  nav ul {
    padding: 1rem 0;
  }

  nav ul li a {
    font-size: 0.95rem;
  }

  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    width: 90%;
    max-width: 300px;
  }

  .about-text {
    padding: 40px 20px;
    clip-path: none;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .about-text h3 {
    font-size: 1.2rem;
  }

  .about-text button {
    width: 100%;
    padding: 12px 0;
    border-radius: 20px;
    font-size: 0.95rem;
  }

  .vision-mission {
    flex-direction: column;
    gap: 40px;
    padding-top: 5px;
    margin-top: 0;
  }

  .vision-mission div {
    padding: 15px;
  }

  .vision-mission h3 {
    font-size: 1.3rem;
  }

  .founder-container {
    flex-direction: column;
    text-align: center;
  }

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

  .founder-info {
    text-align: center;
    padding: 0 10px;
  }

  .founder-info h3 {
    font-size: 1.3rem;
  }

  .team-section h2 {
    font-size: 1.8rem;
  }

  .team-member {
    flex: 0 0 80%;
    margin: 0 auto;
  }

  .team-member img {
    width: 100%;
    height: auto;
  }

  .team-member h4 {
    font-size: 1rem;
  }

  .hire-section {
    padding: 50px 15px;
    margin-top: 40px;
  }

  .hire-section h2 {
    font-size: 1.6rem;
  }

  .hire-section button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-content .logo {
    font-size: 1.3rem;
  }

  .footer-nav,
  .social-icons,
  .footer-bottom-nav {
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom-nav {
    margin-top: 10px;
  }
}

@media (max-width: 600px) {
  .team-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 10px;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
  }

  .team-carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari */
  }

  .team-member {
    flex: 0 0 80%;
    scroll-snap-align: center;
    background: #111;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.1);
  }
}

/* ANIMATIONS */
body {
  opacity: 0;
  animation: fadeInBody 1s ease-in forwards;
}

@keyframes fadeInBody {
  to {
    opacity: 1;
  }
}

nav {
  transform: translateY(-100%);
  opacity: 0;
  animation: slideDown 1s ease forwards;
}

@keyframes slideDown {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

section,
.about-section,
.team-section,
.founder-section,
.hire-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible,
.about-section.visible,
.team-section.visible,
.founder-section.visible,
.hire-section.visible {
  opacity: 1;
  transform: translateY(0);
}

button,
.about-text button,
.hire-section button {
  transition: transform 0.3s ease;
}

button:hover,
.about-text button:hover,
.hire-section button:hover {
  animation: pulse 0.8s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

nav ul li a:hover,
.footer-nav a:hover,
.footer-bottom-nav a:hover {
  color: #888;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.team-member {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.about-image img {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1s ease, transform 1s ease;
}

.about-image img.visible {
  opacity: 1;
  transform: scale(1);
}
