/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Friendly UFO Color Palette */
  --primary-bg: #f0f4ff;
  --secondary-bg: #e8f0fe;
  --accent-purple: #b4a7d6;
  --accent-blue: #8eb8e5;
  --accent-mint: #a8e6cf;
  --text-dark: #2d3748;
  --text-light: #4a5568;
  --white: #ffffff;
  --shadow: rgba(138, 184, 229, 0.2);
  --gradient-1: linear-gradient(135deg, #e8f0fe 0%, #f0f4ff 50%, #fef0f8 100%);
  --gradient-2: linear-gradient(120deg, #a8e6cf 0%, #8eb8e5 100%);
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  background: #1a1a2e;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ===== PARALLAX BACKGROUND ===== */
.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  animation: kenBurns 45s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  25% {
    transform: scale(1.05) translate(0%, -3%);
  }
  50% {
    transform: scale(1.03) translate(3%, 0.5%);
  }
  75% {
    transform: scale(1.07) translate(0%, 1%);
  }
  100% {
    transform: scale(1.1) translate(0.3%, -0.3%);
  }
}

/* ===== NAVIGATION ===== */
header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-brand h1 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--black);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
  height: 2.5rem;
  width: auto;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--black);
  font-weight: 400;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.nav-links a:hover {
  color: var(--accent-mint);
  text-shadow: 0 2px 10px rgba(168, 230, 207, 0.5);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-mint);
  box-shadow: 0 0 10px var(--accent-mint);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===== HERO SECTION ===== */
main {
  padding-top: 80px;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 85vh;
  position: relative;
}

.hero-content {
  flex: 1;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background: #379289;
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(55, 146, 137, 0.5);
  background: #45a89d;
}

/* ===== SECTIONS ===== */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--white);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* ===== APPS SECTION ===== */
.apps {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 4rem 2rem;
  margin-bottom: 3rem;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-2);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
  font-size: 3.5rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  display: block;
}

/* ===== APP IMAGE PREVIEW ===== */
.app-image-container {
  width: 100%;
  margin: 0 0 1.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-image {
  max-width: 100%;
  width: auto;
  max-height: 300px;
  object-fit: contain;
  display: block;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover .app-image {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  flex-grow: 1;
}

/* ===== APP CARD SPECIFIC ===== */
.app-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  background: var(--secondary-bg);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 400;
}

.badge .material-icons {
  font-size: 1rem;
  color: var(--accent-blue);
}

.app-button {
  background: linear-gradient(120deg, #379289 0%, #b9b463 100%);
  color: var(--white);
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  border-radius: 25px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.app-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(55, 146, 137, 0.4);
}

/* ===== ABOUT SECTION ===== */
.about {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.about-content {
  padding: 2rem;
}

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

.about-item {
  text-align: center;
  padding: 1.5rem;
}

.about-item .material-icons {
  font-size: 4rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  display: block;
}

.about-item h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.about-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.contact {
  text-align: center;
}

.contact-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

.contact-button {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.contact-button:hover {
  background: var(--white);
  color: var(--accent-blue);
  border-color: var(--white);
  transform: scale(1.05);
}

/* ===== TEAM PROFILES ===== */
.team-profiles {
  margin-top: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

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

.profile-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.profile-image {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.profile-card:hover .profile-image {
  transform: scale(1.05);
}

.profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-info h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
}

.linkedin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #0077b5;
  font-weight: 400;
}

.linkedin-badge svg {
  fill: #0077b5;
}

.profile-card:hover .linkedin-badge {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  margin-top: 5rem;
}

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

.footer-content p {
  color: rgba(255, 255, 255, 0.8);
}

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

.social-links .material-icons {
  color: var(--accent-mint);
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links .material-icons:hover {
  color: var(--white);
  transform: scale(1.2);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  main {
    padding-top: 70px;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 4rem 1.5rem;
    min-height: 70vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

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

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

  .apps {
    padding: 3rem 1.5rem;
  }

  .profiles-container {
    grid-template-columns: 1fr;
  }

  .profile-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 1rem;
  }

  .nav-brand h1 {
    font-size: 1.2rem;
  }

  .nav-links {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

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

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .parallax-bg {
    background-size: cover;
  }

  .team-title {
    font-size: 1.2rem;
  }

  .profile-card {
    padding: 1.5rem;
  }

  .profile-image {
    width: 60px;
    height: 60px;
  }
}
