:root {
  /* Brand Colors */
  --primary-color: #473fc5;
  --secondary-color:#4f46e5 ;
  --accent-color: #00c896;
  --dark-color: #222;
  --light-color: #f8f9fa;

  /* Text Colors */
  --text-dark: #333;
  --text-light: #666;
  --text-heading: #222;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-secondary:linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  --gradient-mix: radial-gradient(circle, var(--primary-color) 15%, var(--secondary-color) 100%);
  --gradient-header: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark-color) 0%, #444 100%);
  --aurora: linear-gradient(135deg,rgba(29, 146, 217, 0.85) 0%, rgba(71, 63, 197, 0.85) 71%);
}


html{
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* custom scroll bar */
::-webkit-scrollbar {
  width: 7px;
}
    
::-webkit-scrollbar-track {
  background: rgba(241, 241, 241, 0.1);
  border-radius: 8px;
}
    
::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 8px;
} 
  


body {
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-color);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

/* Adding animated elements to enhance visual appeal */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

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

  100% {
    transform: translateY(0px);
  }
}

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

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}
/* Header */
header{
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.1rem 0;
  background: transparent;
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(185, 176, 176, 0.95);
  z-index: 1000;
  transition: all 0.4s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem; 
}
.logo-container{
  flex-shrink: 0;
}
.logo-link{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem;
  border-radius: 8px;
}
.logo-link img{
  width: 50px;
  height: auto;
}
.nav-title{
  font-size: 1.5rem;
  font-weight: 800;
  color: #4f46e5;
  letter-spacing: -0.025rem;
  transition: all 0.3s ease;
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
}
.nav-links li{
  position: relative;
}
.nav-links a{
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block; 
}
.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateX(-50%);
  border-radius: 1px;
}
.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary-color);
  background: rgba(79, 70, 229, 0.05);
  transform: translateY(-1px);
  outline: none;
}
.nav-links a:hover::before,
.nav-links a:focus::before {
  width: 100%;
}
.nav-links a:active {
   transform: translateY(0);
}
/* Hamburger Button */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-dark);
  padding: 0.75rem;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);;
  position: relative;
  z-index: 1001;
}

.menu-toggle:hover,
.menu-toggle:focus {
  background: rgba(79, 70, 229, 0.1);
  color: var(--secondary-color);
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.menu-toggle .fa-bars,
.menu-toggle .fa-times {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active .fa-bars {
  transform: rotate(90deg);
  opacity: 0;
}

.menu-toggle.active .fa-times {
  transform: rotate(0deg);
  opacity: 1;
}

/* Hero Section */
.hero-section {
  margin: 0;
  height: 100vh;
  background-color: #fff; 
  background-image: radial-gradient(rgba(0,0,0,0.15) 1px, transparent 1px);
  background-size: 24px 24px;  
  position: relative;
  overflow: hidden; 
  min-height: 100vh;

}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(59,130,246,0.25), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(139,92,246,0.25), transparent 60%);
  pointer-events: none;
}
.hero-section-text {
  max-width: 900px;
  margin: 0 auto; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12rem 2rem 4rem;
  gap: 1.4rem;
  position: relative;
}
.tagline {
  display: inline-block;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.3);
  color: #4f46e5;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  --webkit-backdrop-filter: blur(10px);
}
.hero-section-text h2 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #4f46e5 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
  letter-spacing: -0.02em;
}
.hero-section-text p {
  font-size: 1.3rem;
  color: rgba(26, 26, 26, 0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
  margin-left: auto;
  margin-right: auto;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: white;
  position: relative;
}

.service-underline {
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto 3rem;
  border-radius: 2px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0);
}

.service-hover-effect {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgb(68 0 212 / 5%) 0%, rgb(45 0 238 / 5%) 100%);
  z-index: -1;
  transition: all 0.5s ease;
}

.service-card:hover .service-hover-effect {
  top: 0;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: var(--aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /*animation: pulse 3s infinite ease-in-out;*/
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.service-card p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}
  /* Training highlight section */
.training-highlights {
  background-color: var(--light-color);
  padding: 4rem 0;
  height: auto;
}
.training-highlights .card-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.training-highlights .container h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--text-dark);
  position: relative;
}     

.training-highlights .card {
  display: flex;
  max-width: 1200px;
  width: 100%;
  background: white;
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.training-highlights .card-media {
  flex: 0 0 40%;
  min-width: 240px;
  background: #ddd;
  position: relative;
  aspect-ratio: 4/3;
}
.training-highlights .card-media img {
  position: absolute; inset: 0;
  width: 100%; 
  height: 100%;
  object-fit: cover;
  display: block;
}
.training-highlights .card-body {
  flex: 1;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-content: start;
  gap: 10px;
}
.training-highlights .title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.training-highlights .description {
  margin: 0;
  color: rgba(55, 50, 49, 0.91);
  line-height: 1.6;
  font-weight: 600;
}
.training-highlights .comment-box {
  background-color: #f9fafb;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  padding: 12px;
  width: 100%;
}
.training-highlights .comment-text {
  color: #374151;
  font-style: italic;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.training-highlights .comment-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.training-highlights .avatar-initials {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
}
.training-highlights .commenter-name {
  font-weight: 600;
  color: #111827;
  font-size: 0.9rem;
}
.training-highlights .card-btn {
  background: #374151;
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px); 
  }

.training-highlights .card-btn:hover {
  background: #111827;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
/* Dots */
.dots {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  gap: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--secondary-color);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover { 
  background: var(--primary-color); 
}
.dot.active {
background: var(--primary-color);
width: 24px;
}
/* About Section */
.about {
  padding: 4rem 0;
  background-color: white;
}
.about .container{
  padding: 0 1rem;
}


.accordion-container {
padding: 2rem;
}
.accordion-item {
margin-bottom: 1rem;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; 
}
.accordion-item:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.accordion-header {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); 
padding: 1.5rem 2rem;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
transition: all 0.3s ease-in-out; 
border-left: 4px solid var(--primary-color);
}
.accordion-header:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}
.accordion-item.active .accordion-header {
  background: var(--gradient-secondary);
  color: white;
}
.accordion-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  flex-grow: 1;
}
.accordion-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease-in-out;
  margin-left: 1rem;
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: grid; 
  grid-template-rows: 0fr; 
  transition: grid-template-rows 0.4s ease-in-out; 
  background: white;
}

.accordion-item.active .accordion-content {
  grid-template-rows: 1fr;
}

.accordion-content .content-wrapper {
  overflow: hidden;
}

.accordion-content .content-text {
font-size: 1rem;
line-height: 1.7;
color: #555;
padding: 2rem; 
}
.team {
padding: 4rem 0;
background-color: var(--light-color);
}

.section-title {
text-align: center;
margin-bottom: 1rem;
font-size: 2rem;
color: var(--text-dark);
position: relative;
font-weight: 600;
}

.section-divider {
width: 80px;
height: 3px;
background: var(--accent-color);
margin: 15px auto;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.horizontal-content {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1.8rem;
padding: 2rem;
width: 100%;
}
.partners-contain{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 240px));
  align-items: center;
  justify-items: center;
  justify-content: center;
  gap: 1.8rem;
  padding: 2rem;
}

.team-card {
gap: 1.4rem;
padding: 2rem;
background: none;
border-radius: 12px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
flex: 0 1 240px; 
}

.team-img{
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: none;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, .1);
  overflow: hidden;
}

.team-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  color: var(--text-light);
}

.team-info h3 {
  font-size: 1.4rem;
  margin-top: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.team-social{
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 1rem;
}
 .team-social a i{
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-social a i:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 0 8px var(--primary-color));
}

/* Partners Section */
.partners {
  padding: 4rem 0;
  background-color: white;
}

.partner-card {
  background: none;
  transition: all 0.4s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  opacity: .8;
  transform: scale(.9);
}

.partner-card:hover {
  opacity: 1;
  transform: scale(1);
}

.partner-img {
  width: 80%;
}

.partner-card img {
  width: 100%;
}

.partner-card h2 {
  color: var(--text-light);
  margin-top: 1rem;
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
}

.border.dashed {
  border-style: dashed !important;
}

.placeholder-image {
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
}

  /* Footer */
  footer {
    position: relative;
    width: 100vw;
    height: auto;
    text-align: center;
  } 

    .footer-content{
      width: 100%;
      padding: 1rem 4rem 1rem 4rem;
      display: grid;
      grid-template-columns: auto 1fr;
      grid-template-rows: auto auto;
      position: relative;
      min-height: 40vh;
      background: url("../assets/images/wave.png");
      background-repeat: no-repeat;
      background-size: 100% 100%;
      background-position: top center;
    }

    /* mascot*/
    .footer-image{
      grid-column: 1;
      grid-row: 1;
      width: 240px;
      object-fit: cover;
      animation: 2s infinite bounce linear;
    }
    .footer-image img{
      width: 100%;
      filter: drop-shadow(-4px -2px 2px rgba(0, 0, 0, .1));
    }
    @keyframes bounce {
      0%{
        transform: translateY(0px);
      }
      25%{
        transform: translateY(-4px);
      }
      75%{
        transform: translateY(4px);
      }
      100%{
        transform: translateY(0);
      }
    }

    /* contact form*/  
    .contact-form {
      grid-column: 2;
      grid-row: 1 / span 2; 
      padding: 1rem 1rem 0 1rem;
      display: flex;
      flex-direction: column;
      justify-content: end;
      align-items: center;
      gap: 12px;
      font-weight: 400;
      max-width: 600px;
      width: 100%;
      height: 100%;
      margin: 0 auto;
    }
      .contact-form input,  .contact-form textarea{
        font-size: 16px;
        font-weight: 400;
        background:rgba(255, 255, 255, .1);
        color: rgb(255, 255, 255);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        outline: none;
        padding: 4px 8px;
        text-align: left;
        transition: all ease-in .2s;
        width: 100%;
      }
        .contact-form input::placeholder,  .contact-form textarea::placeholder{
          color: rgba(255, 255, 255, 0.4);
          font-size: 14px;
        }
        .contact-form input:focus,
        .contact-form textarea:focus {
          border-color: rgba(255, 255, 255, 0.5);
          background: rgba(255, 255, 255, 0.15);
          transform: translateY(-2px);
        }

      /* message */
      .messageinput {
        resize: none;
        height: calc(30%);
      }
      /* cta */
      .cta {
          padding: 8px 16px;
          border-radius: 4px;
          font-weight: 500;
          cursor: pointer;
          transition: all ease-in-out .2s;
          color: rgba(255, 255, 255, 1);
          background: transparent;
          border: solid 1px rgb(255, 255, 255);
          height: auto;
      }
        .cta:hover{
          color: #111827;
          background: rgb(255, 255, 255);
          box-shadow: inset 0 0 0 1px #111827;
        }
      /* sending animation */
      .cta.loading {
        position: relative;
        color: transparent !important;
      }

      .cta.loading::after {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        top: 50%;
        left: 50%;
        margin: -10px 0 0 -10px;
        border: 2px solid rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        border-top-color: transparent;
        animation: spin 1s ease-in infinite;
      }

      @keyframes spin {
        to { transform: rotate(360deg); }
      }  
    
    /* contact info and social media icons */
    .contact-info {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        align-items:flex-start;
        flex-wrap: wrap;
        gap: 6px;
    }

    .footer-social {
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 16px;
      color: rgba(255, 255, 255, .7);
      font-size: 1rem;
      font-weight: 400;
      text-align: left;
      transition: all ease-in .3s;
    }
    .footer-social.info:hover{
      color: rgb(255, 255, 255);
      text-shadow: 0 0 4px rgba(247, 247, 247, 0.7);
    }
    .footer-social i{
      font-size: 1.1rem;
    }

    .footer-social.info a{
      color: rgba(255, 255, 255, .7);
      text-decoration: none;
      transition: all 0.3s ease-in;
    } .footer-social.info a:hover{
        color: rgb(255, 255, 255);
        text-shadow: 0 0 4px rgba(247, 247, 247, 0.7);
      }
    /* social media icons */
    .footer-social .social-links {
      list-style: none;
      display: inline-flex;
      align-items: center;
      gap: 16px;
    }
    .footer-social .social-links li a i{
      color: rgba(255, 255, 255, 1);
      opacity: .7;
      transition: all 0.3s ease-in;
    }
    .footer-social .social-links li a i:hover{
      opacity: 1;
      transform: translateY(-4px);
      filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
    }



/* go up button */
.upButton{
  border: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .1);
  transition: all ease .3s;
  cursor: pointer;
  position: fixed;
  z-index: 1000;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  visibility: hidden;
}
.upButton i{
  font-size: 18px;
}
  .upButton:hover{
    opacity: 1;
    transform: translateY(-4px);
  }

  /* mostrar u ocultar según el scroll del usuario */
  .upButton.show{
    opacity: 1;
    visibility: visible;
  }

/* Visually Hidden (for accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Animation styles */
.pre-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}


/* Responsive styles */
@media (max-width: 1024px){
  .nav-container{
    padding: 0 1.5rem;
  }
   .nav-links{
     gap: 1.5rem;
   }
   .nav-links a{
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
   }

   /* footer */
    /* footer content */
    .footer-content{
      padding: 3rem 3rem 1rem 3rem;
    }
    /* contact form */
    .contact-form{
      max-width: 780px;
      width: 100%;
      height: auto;
    }
}
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 65px;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
  }
  .nav-links.active {
    right: 0;
  }
  .menu-toggle {
    display: block;
  }

  /* footer */
  .footer-content{
    padding: 2rem 2rem 1rem 2rem;
  }
    /* contact form */
    .contact-form{
      max-width: 680px;
      width: 100%;
      height: auto;
    }

}
@media (max-width: 768px) {
  .nav-container{
    padding: 0.1rem;
  }
  .nav-title{
    font-size: 1.2rem;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(300px, 80vw);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .nav-links a {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    color: var(--dark-color);
    border-radius: 8px;
    display: block;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
  }
  .menu-toggle {
    display: block;
  }
  .hero-section{
    padding-top: 6rem 1rem 4rem;
  }
  .tagline{
    font-size: 0.8rem;
    padding: 0.04rem 1.2rem;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }

  /* Training highlight section */
    .training-highlights .card{
    flex-direction: column;
    }
    .training-highlights .card-media{
    width: 100%;
    min-width: 100%;
    height: auto;
    aspect-ratio: 21/9;
    }
    .training-highlights .card-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
    }
    .training-highlights .card-body{
    gap: 10px;
    }
    .training-highlights .title {
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .training-highlights .description {
    line-height: 1.4;
  } 
  .training-highlights .comment-text {
    font-size: 0.75rem;
  }
  .training-highlights .comment-footer {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .training-highlights .avatar-initials {
    width: 22px;
    height: 22px;
    font-size: 0.6rem;
  }
  .training-highlights .commenter-name {
    font-size: 0.7rem;
  }

  /* About Section */
  .accordion-container{
    padding: 0.5rem;
  }
  .accordion-header{
    padding: 0.5rem 0.5rem;
  }
  .accordion-title{
    font-size: 1rem;
  }
  .accordion-item.active .accordion-content{
    padding: 0.6rem;
  }
  .accordion-content .content-text{
    font-size: 0.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }

    /* footer */
    /* footer contact */ 
    .footer-content{
      grid-template-columns: 1fr;
      grid-template-rows: repeat(3, auto);
      align-items: center;
      align-content: center;
      justify-content: center;
      justify-items: center;
      gap: 2rem;
      padding: 2rem 2rem 1rem 2rem;
    }
    /* footer image */
    .footer-image{
      width: 200px;
    }

    /* contact form */
    .contact-form{
      grid-column: 1;
      grid-row: 2;
      max-width: 600px;
      width: 100%;
      height: auto;
    }
 
    /* contact info and social media icons */
    .footer-social{
      font-size: .9rem;
      text-align: center;
      justify-content: center;
    }
    .footer-social i{
      font-size: .9rem;
    }
    .upButton{
      display: none;
    }
    /* contact info*/
    .contact-info{
      grid-column: 1;
      grid-row: 3;
      align-items: center;
      text-align: center;
      gap: .9rem;
      justify-content: center;
    }
}

@media (max-width: 480px) {
  .nav-container {
      padding: 0 0.75rem;
    }
    
    .logo-link img {
      width: 40px;
      height: 40px;
    }
    
    .nav-title {
      font-size: 1.1rem;
    }
    
    .hero-section-text {
      padding: 8rem 0.75rem 3rem;
      gap: 2rem;
    }
    .hero-section-text span{
      font-size: 0.7rem;
    }
    .hero-section-text h2{
      font-size: 2rem;
    }
    .hero-section-text p{
      font-size: 1rem;
    }
      /* About Section */
    .accordion-content .content-text {
      font-size: 0.8rem;
      padding: 0.4rem; 
    }
    .accordion-title {
      font-size: 1rem;
      font-weight: 600;
    }
  /* footer */
    /* footer contact */ 
    .footer-content{
      grid-template-columns: 1fr;
      grid-template-rows: repeat(3, auto);
      align-items: center;
      align-content: center;
      justify-content: center;
      justify-items: center;
      gap: 2rem;
      padding: 1rem;
    }
    /* footer image */
    .footer-image{
      width: 160px;
      animation: none;
    }
    /* contact form */
    .contact-form{
      grid-column: 1;
      grid-row: 2;
      width: 100%;
      height: auto;
      padding: 4rem 1rem 1rem 1rem;
    }
 
    /* contact info*/
    .contact-info{
      grid-column: 1;
      grid-row: 3;
      align-items: center;
      text-align: center;
      gap: 1rem;
      justify-content: center;
    }
    /* footer social */
    .footer-social{
      text-align: center;
      justify-content: center;
    }

}