* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    width: 100%;
    overflow-x: hidden;
}

header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 70%;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    font-size: 15pt;
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #667eea;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15pt;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {    
    max-width: 800px;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.hero-buttons {    
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: #667eea;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid white;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 100px;
    height: 100px;
    background: white;
    clip-path: polygon(80% 0%, 100% 50%, 50% 100%, 0% 50%);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}
.shape:nth-child(4) {
    width: 200px;
    height: 200px;
    background: white;
    clip-path: polygon(30% 0%, 100% 50%, 50% 100%, 0% 50%);
    bottom: 60%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

section {
    background: white;
    padding: 5rem 5%;
}

.container {
    max-width: 90%;
    margin: auto;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mision{
    padding: 5%;
    text-align: left;    
    color: rgb(210, 201, 223);
}

.cuadromision{   
    border-radius: 5px; 
    margin-top: -5px;
    margin-left: 50%;
    width:500px;
    max-width: 80%;
    background-color: #151221b1;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.course-header {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

.course-header.python {
    background: linear-gradient(135deg, #e59763 0%, #ffc9a8 100%);
}

.course-header.web {
    background: linear-gradient(135deg, #d7dfaf 0%, #33f036 100%);
}

.course-header.react {
    background: linear-gradient(135deg, #61dafb 0%, #282c34 100%);
}

.course-header.node {
    background: linear-gradient(135deg, #69da9a 0%, #144714 100%);
}

.course-header.data {
    background: linear-gradient(135deg, #cb4282 0%, #4ecdc4 100%);
}

.course-header.mobile {
    background: linear-gradient(135deg, #c1ff64 0%, #0066ff 100%);
}

.course-header.animation {
    background: linear-gradient(135deg, #6f2f8d 0%, #f5576c 100%);
}

.course-header.unity {
    background: linear-gradient(135deg, #000000 0%, #434343 100%);
}

.course-header.video {
    background: linear-gradient(135deg, #e14f0b 0%, #fee140 100%);
}

.course-body {
    padding: 2rem;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.course-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.course-level {
    background: #f0f0f0;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
}

.course-duration {
    color: #999;
    font-size: 0.9rem;
}

.stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.features {
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}


#nosotros {
    height: 500px;
    position: relative;
    background-image: url("banner5.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;    
    text-align: center;
    padding: 120px 20px;     
  }
  

  .contact-form-section {
    background-color: #f8f9fb;
    padding: 100px 20px;
    text-align: center;
  }
  
  .contact-form-section h2 {
    margin-bottom: 10px;
    font-size: 2em;
  }
  
  .contact-form-section .subtitle {
    color: #666;
    margin-bottom: 40px;
  }
  
  form {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
  }
  
  input[type="text"],
  select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
  }
  
  input[type="text"]:focus,
  select:focus {
    outline: none;
    border-color: #0077ff;
    box-shadow: 0 0 4px rgba(0, 119, 255, 0.4);
  }
  
  button.btn-primary {
    display: inline-block;
    background-color: #0077ff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
  }
  
  button.btn-primary:hover {
    background-color: #005fcc;
  }
  



footer {
    background: #1a1a2e;
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

footer p {
    opacity: 0.8;
}



.success-section {
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(to bottom right, #0a0a2a, #0f3d63);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }


  .success-section {
    text-align: center;
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .success-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00ccff;
  }

  .success-section p.intro {
    font-size: 1.2em;
    margin-bottom: 50px;
    max-width: 900px;
    line-height: 1.6;
  }


  .payment-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .payment-card {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 25px;
    width: 320px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .payment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.5);
  }

  .payment-card h2 {
    color: #00ccff;
    font-size: 1.4em;
    margin-bottom: 10px;
  }

  .payment-card p.price {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
  }

  .qr-container img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 20px;
    background: white;
    padding: 8px;
  }

  .paypal-button {
    display: inline-block;
    background-color: #0070ba;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1em;
    text-decoration: none;
    transition: background 0.3s;
  }

  .paypal-button:hover {
    background-color: #005c99;
  }



  .course-info {
    background: rgba(255,255,255,0.08);
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }
  
  .course-info h2 {
    color: #00ccff;
    margin-bottom: 15px;
  }
  
  .course-info p {
    margin: 10px 0;
  }
  
  .schedule {
    background: rgba(255,255,255,0.08);
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: left;
  }
  
  .schedule h3 {
    color: #00ccff;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .schedule ul {
    list-style: none;
    padding: 0;
  }
  
  .schedule li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .next-steps {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .next-steps p {
    margin-bottom: 25px;
  }
  



@media (orientation:portrait) {

    .logo{
        margin-left: -15%;

    }
    
    .cta-button {
        margin-top:12%;
        border-radius: 5px;
        margin-right: -25%;
    }

    .cuadromision{    
        margin-top: -5px;
        margin-left: 10%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    h2 {
        font-size: 2rem;
    }
}

