* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      line-height: 1.6;
      background-color: #ffffff;
      color: #0b1221;
    }

    html {
      scroll-behavior: smooth;
    }

    .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* Navbar mejorado y dinámico */
    .navbar {
      background-color: rgba(248, 249, 250, 0.98);
      padding: 1rem 0;
      border-bottom: 1px solid #ddd;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
    }

    .navbar.scrolled {
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
      padding: 0.5rem 0;
    }

    .navbar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-weight: 700;
      font-size: 1.4rem;
      letter-spacing: -0.5px;
      color: #0b1221;
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 2rem;
    }

    .nav-links a {
      text-decoration: none;
      color: #0b1221;
      font-weight: 500;
      font-size: 0.95rem;
      transition: color 0.3s ease;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: -5px;
      left: 0;
      background-color: #000000;
      transition: width 0.3s ease;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: #3C7B7D;
    }

    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }

    .menu-toggle span {
      width: 25px;
      height: 3px;
      background-color: #0b1221;
      transition: all 0.3s ease;
    }

    /* Hero */
  /*  .hero {
      background-image: linear-gradient(rgba(11, 18, 33, 0.6), rgba(11, 18, 33, 0.6)), url('/resources/hero-img/the-jopwell-collection-HrytTCnKPNI-unsplash.jpg');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      height: 100vh;
      display: flex;
      align-items: center;
      color: white;
      text-align: center;
      margin-top: 70px;
    }

    .hero-content {
      animation: fadeInUp 1s ease;
    } */

    /* Hero con diseño de dos imágenes */
.hero {
  background-color: #07393B;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 70%;
  height: 120%;
  background-color: rgba(255, 255, 255, 0.05);
  transform: skewX(-15deg);
  z-index: 1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: left;
  animation: fadeInUp 1s ease;
}

.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  position: relative;
}

.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image:first-child {
  margin-top: 3rem;
}

.hero-image:last-child {
  margin-top: -3rem;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.hero-shape {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    @keyframes slideInLeft {
      from {
        opacity: 0;
        transform: translateX(-50px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes slideInRight {
      from {
        opacity: 0;
        transform: translateX(50px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes scaleIn {
      from {
        opacity: 0;
        transform: scale(0.9);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    @keyframes float {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }

    @keyframes pulse {
      0%, 100% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.05);
      }
    }

    .hero h1 {
      font-size: 2.8rem;
      margin-bottom: 1.5rem;
      font-weight: 500;
      letter-spacing: -1px;
      animation: fadeInUp 1s ease 0.2s both;
    }

    .hero p {
      font-size: 1.3rem;
      margin-bottom: 2.5rem;
      opacity: 0.95;
      animation: fadeInUp 1s ease 0.4s both;
    }

    .hero .btn {
      animation: fadeInUp 1s ease 0.6s both;
    }

    .btn {
      display: inline-block;
      background-color: #3C7B7D;
      color: #FFFFFF;
      padding: 1rem 2.5rem;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border: none;
      cursor: pointer;
      font-size: 1rem;
      position: relative;
      overflow: hidden;
    }

    .btn::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    .btn:hover::before {
      width: 300px;
      height: 300px;
    }

    .btn:hover {
      background-color: #063c36;
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
    }

    .btn:active {
      transform: translateY(-1px) scale(0.98);
    }

    /* Sections */
    .section {
      padding: 100px 20px;
    }

    .section h2 {
      margin-bottom: 1.5rem;
      font-size: 2.5rem;
      font-weight: 700;
      text-align: center;
      color: #0b1221;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease;
    }

    .section h2.animate {
      opacity: 1;
      transform: translateY(0);
    }

    .section-subtitle {
      text-align: center;
      font-size: 1.15rem;
      color: #666;
      max-width: 700px;
      margin: 0 auto 3rem;
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.8s ease 0.2s;
    }

    .section-subtitle.animate {
      opacity: 1;
      transform: translateY(0);
    }

    .alt {
      background-color: #f8f9fa;
    }

    /* About */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }

    .about-text {
      opacity: 0;
      transform: translateX(-50px);
      transition: all 0.8s ease;
    }

    .about-text.animate {
      opacity: 1;
      transform: translateX(0);
    }

    .about-image {
      opacity: 0;
      transform: translateX(50px);
      transition: all 0.8s ease 0.2s;
      position: relative;
      overflow: hidden;
      border-radius: 20px;
      background: linear-gradient(135deg, #07393B 0%, #2E6A6C 50%, #64BABD 100%);
      padding: 3rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      min-height: 500px;
    }

    .about-image::before {
      content: '';
      position: absolute;
      top: -20%;
      right: -10%;
      width: 60%;
      height: 60%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
      border-radius: 50%;
      z-index: 0;
    }

    .about-image::after {
      content: '';
      position: absolute;
      bottom: -15%;
      left: -10%;
      width: 60%;
      height: 60%;
      background-color: rgba(255, 255, 255, 0.03);
      border-radius: 50%;
      z-index: 0;
    }

    .about-image.animate {
      opacity: 1;
      transform: translateX(0);
    }

    .about-text h2 {
      text-align: left;
      margin-bottom: 2rem;
    }

    .about-text p {
      margin-bottom: 1.5rem;
      color: #444;
      font-size: 1.05rem;
      line-height: 1.8;
    }

    .about-image img {
      width: 280px;
      height: 280px;
      border-radius: 50%;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
      transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      z-index: 1;
      border: 4px solid rgb(255, 255, 255);
      object-fit: cover;
    }

    .about-image img:hover {
      transform: scale(1.05) rotate(-3deg);
      box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
      border-color: #64BABD;
    }

    /* Círculos decorativos adicionales */
    .about-image-wrapper {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2rem;
    }

    .about-image-wrapper::before {
      content: '';
      position: absolute;
      top: 10%;
      left: -30px;
      width: 100px;
      height: 100px;
      border: 3px solid rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      z-index: -1;
    }

    .about-image-wrapper::after {
      content: '';
      position: absolute;
      bottom: 15%;
      right: -40px;
      width: 150px;
      height: 150px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
      z-index: -1;
      animation: float 6s ease-in-out infinite;
    }

    /* Methodology mejorado */
    .methodology-intro {
      text-align: center;
      max-width: 800px;
      margin: 0 auto 4rem;
      font-size: 1.1rem;
      color: #555;
      line-height: 1.8;
    }

    .steps-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2.5rem;
      margin-top: 3rem;
    }

    .step {
      background: white;
      padding: 2.5rem;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border-left: 4px solid #41D034;
      opacity: 0;
      transform: translateY(30px);
    }

    .step.animate {
      opacity: 1;
      transform: translateY(0);
    }

    .step:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 15px 40px rgba(65, 208, 52, 0.2);
      border-left-width: 6px;
    }

    .step:hover .step-number {
      animation: pulse 0.6s ease-in-out;
    }

    .step-number {
      display: inline-block;
      width: 50px;
      height: 50px;
      background-color: #41D034;
      color: white;
      border-radius: 50%;
      text-align: center;
      line-height: 50px;
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(65, 208, 52, 0.3);
    }

    .step:hover .step-number {
      box-shadow: 0 6px 25px rgba(65, 208, 52, 0.5);
      transform: rotate(360deg);
    }

    .step h3 {
      margin-bottom: 1rem;
      color: #0b1221;
      font-size: 1.4rem;
      font-weight: 600;
    }

    .step p {
      color: #555;
      line-height: 1.7;
    }

    .step ul {
      list-style: none;
      margin-top: 1rem;
      padding-left: 0;
    }

    .step li {
      padding-left: 1.5rem;
      position: relative;
      margin-bottom: 0.5rem;
      color: #555;
    }

    .step li::before {
      content: "✓";
      position: absolute;
      left: 0;
      color: #41D034;
      font-weight: 700;
    }

    /* Portfolio */
    /* Portfolio en una columna */
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2.5rem;
      margin-top: 3rem;
      max-width: 1100px;
      margin-left: auto;
      margin-right: auto;
    }

    .card {
      padding: 2.5rem;
      border: 2px solid #e0e0e0;
      border-radius: 16px;
      background-color: white;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      opacity: 0;
      transform: translateY(30px);
      position: relative;
      overflow: hidden;
    }

    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, #07393B, #64BABD);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.5s ease;
    }

    .card:hover::before {
      transform: scaleX(1);
    }

    .card.fade-in {
      opacity: 1;
      transform: translateY(0);
    }

    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 50px rgba(7, 57, 59, 0.15);
      border-color: #64BABD;
    }

    .card h3 {
      margin-bottom: 1rem;
      font-size: 1.5rem;
      color: #0b1221;
      font-weight: 700;
    }

    .card h3 a {
      text-decoration: none;
      color: #0b1221;
      transition: color 0.3s ease;
    }

    .card h3 a:hover {
      color: #07393B;
    }

    .card p {
      color: #555;
      line-height: 1.8;
      font-size: 1.05rem;
    }

    /* Primera tarjeta destacada (ocupa 2 columnas) */
    .card:first-child {
      grid-column: 1 / -1;
      background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
      color: rgb(0, 0, 0);
      border: none;
    }

    .card:first-child h3,
    .card:first-child h3 a {
      color: rgb(0, 0, 0);
      font-size: 1.8rem;
    }

    .card:first-child p {
      color: rgba(0, 0, 0, 0.9);
      font-size: 1.1rem;
    }

    .card:first-child:hover {
      transform: translateY(-8px) scale(1.01);
      box-shadow: 0 20px 60px rgba(19, 40, 41, 0.3);
    }

    /* Team mejorado */
    .team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 3rem;
      margin-top: 3rem;
    }

    .team-member {
      text-align: center;
      position: relative;
    }

    .team-photo {
      width: 250px;
      height: 250px;
      border-radius: 50%;
      margin: 0 auto 1.5rem;
      overflow: hidden;
      position: relative;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
      transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .team-photo::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 120%;
      height: 300%;
      border-radius: 50%;
      border: 4px solid #64BABD;
      opacity: 0;
      transform: scale(0.8);
      transition: all 0.4s ease;
    }

    .team-photo:hover::after {
      opacity: 1;
      transform: scale(1);
    }

    .team-photo:hover {
      box-shadow: 0 15px 45px rgba(65, 208, 52, 0.3);
      transform: scale(1.05);
    }

    .team-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .team-photo:hover img {
      transform: scale(1.15) rotate(3deg);
    }

    .team-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, rgba(11, 18, 33, 0.7), #2E6A6C);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.5s ease;
      padding: 1.5rem;
      backdrop-filter: blur(5px);
    }

    .team-photo:hover .team-overlay {
      opacity: 1;
    }

    .team-info {
      color: white;
      text-align: center;
      transform: translateY(20px);
      transition: transform 0.5s ease;
    }

    .team-photo:hover .team-info {
      transform: translateY(0);
    }

    .team-info h4 {
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
    }

    .team-info p {
      font-size: 0.9rem;
      line-height: 1.5;
    }

    .team-member h3 {
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
      color: #0b1221;
    }

    .team-member .role {
      color: #07393B;
      font-weight: 600;
      font-size: 1.05rem;
    }
    .team-member h3 a {
      text-decoration: none;
      color: #0b1221;
      transition: color 0.3s ease;
    }


    /* CTA */
    .cta {
      background: linear-gradient(135deg, #07393B, #64BABD);
      color: white;
      padding: 80px 20px;
      text-align: center;
    }

    .cta h2 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: white;
    }

    .cta p {
      font-size: 1.2rem;
      margin-bottom: 2rem;
      opacity: 0.95;
    }

    .cta .btn {
      background-color: white;
      color: #07393B;
    }

    .cta .btn:hover {
      background-color: #f8f9fa;
      transform: translateY(-2px);
    }

    /* Contact */
    .contact-section {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease;
    }

    .contact-section.show {
      max-height: 800px;
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      max-width: 600px;
      margin: 2rem auto;
    }

    input,
    textarea {
      width: 100%;
      padding: 1rem;
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      font-size: 1rem;
      transition: all 0.4s ease;
      font-family: inherit;
    }

    input:focus,
    textarea:focus {
      outline: none;
      border-color: #d0c834;
      box-shadow: 0 0 0 3px rgba(65, 208, 52, 0.1);
      transform: translateY(-2px);
    }

    textarea {
      resize: vertical;
      min-height: 150px;
    }

    /* Footer */
.footer {
  background-color: #0b1221;
  color: #a9b3c6;
  padding: 4rem 0 2rem;
  font-size: 0.95rem;
  text-align: left; /* Reset text-align for columns */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #2c3a54;
}

.footer-column h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-column p {
  line-height: 1.7;
  max-width: 300px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul a {
  color: #a9b3c6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom ul {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 1.5rem;
  margin: 0;
}

.footer-bottom a {
  color: #a9b3c6;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: white;
  text-decoration: underline;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
  .footer-content {
    text-align: center;
  }
  .footer-column p {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
  }
}

    .about-thesis {
      margin-bottom: 4rem;
      text-align: center;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .about-thesis h2 {
      text-align: center;
      margin-bottom: 2rem;
    }

    .about-thesis p {
      
      margin-bottom: 1.5rem;
      color: #444;
      font-size: 1.05rem;
      line-height: 1.8;
    
    }

    /* Responsive */
    @media (max-width: 768px) {
      .menu-toggle {
        display: flex;
      }

      .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(248, 249, 250, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid #ddd;
      }

      .nav-links.active {
        max-height: 500px;
      }

      .hero {
        height: 80vh;
        margin-top: 60px;
      }

      .hero h2 {
        font-size: 2.2rem;
      }

      .hero p {
        font-size: 1.1rem;
      }

      .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .about-text h2 {
        text-align: center;
      }

      .section {
        padding: 60px 20px;
      }

      .section h2 {
        font-size: 2rem;
      }

      .steps-grid {
        grid-template-columns: 1fr;
      }

      .team-photo {
        width: 200px;
        height: 200px;
      }

      .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .card:first-child {
        grid-column: 1;
      }

      .card:first-child h3,
      .card:first-child h3 a {
        font-size: 1.5rem;
      }

      .about-image {
        min-height: 400px;
        padding: 2rem;
      }

      .about-image img {
        width: 220px;
        height: 220px;
      }
    }

    .btn-linkedin {
      background: transparent;
      border-radius: 6px;
      width: 50px;
      height: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0;
      border: 2px solid white;
      transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .btn-linkedin:hover {
      background-color: #3C7B7D;
      border-color: #3C7B7D;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(60, 123, 125, 0.3);
    }

    .btn-linkedin svg {
      fill: white;
      transition: fill 0.3s ease;
    }

    .btn-linkedin:hover svg {
      fill: white;
    }

/* Thesis Section Style */
.thesis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.thesis-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.thesis-image img {
  max-width: 80%;
  height: auto;
}

/* Override original .about-thesis styles for the new layout */
#thesis .about-thesis {
  max-width: none; /* Remove max-width for grid layout */
  margin: 0; /* Reset margins */
  text-align: left; /* Align text to the left */
}

#thesis .about-thesis h2 {
  text-align: left; /* Align heading to the left */
  color: #0b1221; /* Revert color */
}

#thesis .about-thesis p {
  color: #444; /* Revert color */
}

  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section h2 {
    font-size: 1.8rem;
  }
}