/* === style.css === */

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  /* background-color: #ffffff; */
  color: #333333;
  background: linear-gradient(50deg, rgb(241, 135, 135), rgb(162, 208, 238));
  margin-left: -15px;

}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  margin-left: 50px;
}

/* Header */
.header {
  background-color: #0e0e52;
  color: white;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 90px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  justify-content: flex-end;
  gap: 35px;


}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffd700;
}

/* Hero Section */
.hero {
  /* background: linear-gradient(135deg, rgb(90, 233, 207), rgb(242, 217, 91)); */
  
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  animation: fadeIn 1s ease-in;
  height: 500px;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-top: 1rem;
}

/* Sections */
section {
  padding: 4rem 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0e0e52;
}

p,
li {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Startups Section */
.startup {
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background-color: #0e0e52;
  color: white;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-end;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Achievement Section */
.achievement-container {
  width: 100%;
  min-height: 80vh;
  /* background: #383838; */
  padding: 50px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.achievement-title {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-left: 15px;
}

/* Achievement Grid */
.achievement-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
}

/* Individual Achievement Cards */
.achievement-card {
  width: 300px;
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.2);
  transform: scale(0.9);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0;
}

/* Reveal Animation on Scroll */
.achievement-card.show {
  transform: scale(1);
  opacity: 1;
}

/* Achievement Image */
.achievement-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease-in-out;
}

/* Hover Effect */
.achievement-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.6);
}

/* Achievement Info (Hidden by Default) */
.achievement-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Show Info on Hover */
.achievement-card:hover .achievement-info {
  opacity: 1;
  transform: translateY(0);
}


/* Contact Section Code */

/* Centering Contact Form */
.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
}

.contact-container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 20px;
  width: 350px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: slideDown 3s ease-in-out forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-550px);
    opacity: 0.5;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  color: #fff;
  margin-bottom: 15px;
}

/* Form Input Styling */
.input-box {
  position: relative;
  margin-bottom: 20px;
}

.input-box input,
.input-box textarea {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 5px;
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.input-box label {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #ddd;
  font-size: 14px;
  transition: 0.3s;
}

.input-box input:focus~label,
.input-box textarea:focus~label,
.input-box input:valid~label,
.input-box textarea:valid~label {
  top: -15px;
  font-size: 12px;
  color: #f0f0f0;
}

.input-box input:focus,
.input-box textarea:focus {
  border-color: #ffdd57;
  box-shadow: 0 0 10px rgba(255, 221, 87, 0.7);
}

/* Button Styling */
button {
  width: 100%;
  padding: 10px;
  background: #ffdd57;
  color: #333;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
}

button:hover {
  background: #ffcc00;
  box-shadow: 0 4px 10px rgba(255, 221, 87, 0.7);
}

/* Responsive */
@media (max-width: 600px) {
  .contact-container {
    width: 90%;
  }
}

/* Icons Alignment css for Contact Form   */
.input-box {
  position: relative;
  margin-bottom: 20px;
}

.input-box i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #555;
}

.input-box input,
.input-box textarea {
  width: 100%;
  padding: 10px 10px 10px 40px;
  /* Adjust padding to make space for the icon */
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
}

.input-box label {
  position: absolute;
  top: 50%;
  left: 40px;
  /* Adjust position to align with the input field */
  transform: translateY(-50%);
  font-size: 16px;
  color: #aaa;
  pointer-events: none;
  transition: 0.3s;
}

.input-box input:focus+label,
.input-box textarea:focus+label,
.input-box input:not(:placeholder-shown)+label,
.input-box textarea:not(:placeholder-shown)+label {
  top: -10px;
  left: 40px;
  font-size: 12px;
  color: #333;
}

#suPrazo {
  margin-top: -190px;
}

/* Hamburger on a mobile view */

/* Base nav layout */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: #111;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #92c1ec;
}

/* Hamburger styles (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Toggle animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile behavior */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    /* Start off-screen */
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    /* Mobile menu background */
    gap: 30px;
    padding: 0;
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
    /* Slide in when open */
  }
}

  #about {
    margin-top: 100px;
  }




/* === Responsive Profile Image Styling === */
.profile-photo {
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeZoomIn 2s ease-in-out;
}

.profile-photo img {
  width: 250px;
  max-width: 100%;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.profile-photo img:hover {
  transform: scale(1.05);
}

/* Animation Keyframe */
@keyframes fadeZoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .profile-photo img {
    width: 140px;
  }
}

@media (max-width: 480px) {
  .profile-photo img {
    width: 150px;
    height: 150px;
  }

  #about {
    margin-top: 150px;
  }
}
