* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*::selection {
    background: #e94560;
    color: #ffffff;
}
@font-face {
    font-family: Futura;
    src: url(./Futura-Bold.woff);
}


body {
    font-family:sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f3460, #e94560);

}
.preloader{
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 20000;
    pointer-events: none;
    background: #201420 url('resuorses/spiral-15148_512.gif') no-repeat center center;
}
.nav {
    height: 80px;
    width: 80%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    margin: 20px 147px;
    border-radius: 50px;
    /* Glassmorphism effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);    
    /* Border and shadow */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-curser{
    height: 100px;
    width: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);   
    position: fixed;
    top: 50%;
    transform: translate(-50%,-50%) scale(0);
}
.logo{
    display: flex;
    justify-content: left;
    align-items: center;
    height: 100%;

}

.content ul {
    display: flex;
    justify-content: space-between;
    /*gap: 20px;*/
}
.content ul li{
    list-style-type: none;
    font-size: 1.5vw;
    font-weight: 600;
    color: #fff;
    padding: 28px;
    cursor: pointer;
    transition: all 1.5s;
}
.content ul li a{
    list-style-type: none;
    text-decoration: none;
    color: #fff;
}

ul li:hover{
    background: #00000024;
}

.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: linear-gradient(135deg, #0f3460, #e94560);*/
    overflow: hidden;
}

/* Static Grid Background */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-top: 100px;

}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 36, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0f3460;
    transform: translateY(-2px);
}


.course-section{
    width: 100%;
    min-height: 130vh;
    /*background: linear-gradient(135deg, #0f0f23, #1a1a2e);*/
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;

}
.course-main{
    display: flex;
    justify-content: space-around;
    height: auto;
    padding:0 12vw;
}
.course-section h1{
    font-size: 4vw;
    color: white;
    font-weight: 900;
    font-family: Futura;
    text-align: center;
    padding: 32px;

}
/* Course Section 1 - Responsive Fixes */
.course-section-1 {
    width: 100%;
    min-height: 100vh; /* Changed from 100vw to 100vh */
    overflow: hidden;
    background: linear-gradient(135deg, #2d1b69, #11998e);
    padding: 2rem 0; /* Added padding for better spacing */
}

.course-section-1 h1 {
    font-size: 4vw;
    color: white;
    font-weight: 900;
    font-family: Futura;
    text-align: center;
    padding: 32px;
}

.course-section-1 h2 {
    font-size: 3vw;
    color: white;
    font-weight: 900;
    font-family: Futura;
    text-align: center;
    padding: 32px;
    text-transform: capitalize;
}

.cont {
    width: 70%;
    max-width: 800px; /* Added max-width for better control */
    margin: 0 auto;
    padding: 0 1rem; /* Added horizontal padding */
}

.cont p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}

.cont img {
    width: 100%;
    height: auto; /* Changed from 100% to auto for better aspect ratio */
    max-height: 400px; /* Added max-height */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 3px 2px 18px rgba(255, 255, 255, 0.3);
    margin-bottom: 3rem;
    margin-top: 3rem;
}









.main-video{
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0f0f23, #1a1a2e);
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-container{
    width: 80%;
    height: 70%;
}
.video-container video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}


/* Team Section */
.team-section {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    position: relative;
    overflow: hidden;
}

.team-container {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.team-content {
    display: flex;
    align-items: center;
    width: 500vw; /* 5x viewport width for horizontal scroll */
    height: 100vh;
    will-change: transform;
}

.team-intro {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.team-title {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.team-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    line-height: 1.6;
}

.team-members {
    display: flex;
    align-items: center;
    height: 100vh;
    gap: 4rem;
    padding: 0 4rem;
}

.team-member {
    min-width: 350px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: bold;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-image span {
    display: block;
}

.member-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1.2rem;
    color: #e94560;
    margin-bottom: 1rem;
    font-weight: 600;
}

.member-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    background: rgba(233, 69, 96, 0.2);
    color: #e94560;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(233, 69, 96, 0.3);
}

/*course Section*/

        .filter-buttons {
          text-align: center;
          margin-bottom: 40px;
        }

        .filter-buttons button {
          background: linear-gradient(135deg, #667eea, #764ba2);
          color: white;
          border: none;
          padding: 12px 25px;
          margin: 10px;
          border-radius: 25px;
          font-weight: 600;
          font-size: 1rem;
          cursor: pointer;
          transition: all 0.3s ease;
          box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .filter-buttons button:hover {
          transform: translateY(-3px);
          background: linear-gradient(135deg, #764ba2, #667eea);
          box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        }

        .filter-buttons button:active {
          transform: scale(0.95);
        }

        /* Highlight the active button */
        .filter-buttons button.active-btn {
          background: linear-gradient(135deg, #ff6b6b, #ff9ff3);
          box-shadow: 0 10px 25px rgba(0,0,0,0.4);
          transform: translateY(-2px);
        }


        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .header {
            text-align: center;
            margin-bottom: 50px;
            color: white;
        }

        .header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .header p {
            font-size: 1.2rem;
            opacity: 0.9;
        }

        .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }

        .course-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .course-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .course-card:hover::before {
            transform: scaleX(1);
        }

        .course-card:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .course-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 24px;
            color: white;
        }

        .course-card:nth-child(2) .course-icon {
            background: linear-gradient(135deg, #4ecdc4, #44a08d);
        }

        .course-card:nth-child(3) .course-icon {
            background: linear-gradient(135deg, #45b7d1, #2196f3);
        }

        .course-card:nth-child(4) .course-icon {
            background: linear-gradient(135deg, #96ceb4, #8bc34a);
        }

        .course-card:nth-child(5) .course-icon {
            background: linear-gradient(135deg, #feca57, #ff9ff3);
        }

        .course-card:nth-child(6) .course-icon {
            background: linear-gradient(135deg, #ff9a9e, #fecfef);
        }

        .course-title {
            color: white;
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .course-duration {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.9rem;
            display: inline-block;
            margin-bottom: 15px;
            font-weight: 500;
        }

        .course-description {
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.6;
            margin-bottom: 20px;
            font-size: 0.95rem;
        }

        .course-features {
            margin-bottom: 25px;
        }

        .feature {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
        }

        .feature::before {
            content: '✨';
            margin-right: 10px;
        }

        .course-btn {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            font-size: 1rem;
        }

        .course-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            background: linear-gradient(135deg, #764ba2, #667eea);
        }

        .level-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.9);
            color: #333;
            padding: 5px 12px;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        @media (max-width: 768px) {
            .courses-grid {
                grid-template-columns: 1fr;
            }
            
            .header h1 {
                font-size: 2rem;
            }
        }
/*course Section End*/


/* Gradient overlays for smooth transitions */
.gradient-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 10vw;
    height: 100vh;
    background: linear-gradient(to right, rgba(30, 60, 114, 1), transparent);
    z-index: 10;
    pointer-events: none;
}

.gradient-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 10vw;
    height: 100vh;
    background: linear-gradient(to left, rgba(30, 60, 114, 1), transparent);
    z-index: 10;
    pointer-events: none;
}

@media (max-width: 768px) {
    .team-title {
        font-size: 3rem;
    }

    .team-member {
        min-width: 280px;
        height: 400px;
        padding: 1.5rem;
    }

    .member-image {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }

    .member-name {
        font-size: 1.5rem;
    }

    .member-role {
        font-size: 1rem;
    }

    .team-intro {
        padding: 0 1rem;
    }

    .team-members {
        gap: 2rem;
        padding: 0 2rem;
    }
}





.footer {
          background: linear-gradient(135deg, #0a0a1a, #0f0f23);
          color: #ffffff;
          padding: 60px 0 30px;
          border-top: 1px solid rgba(255, 255, 255, 0.1);
          box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
      }

      .footer-container {
          max-width: 1200px;
          margin: 0 auto;
          padding: 0 20px;
      }

      .footer-content {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
          gap: 40px;
          margin-bottom: 40px;
      }

      .footer-section h3 {
          color: #ffffff;
          font-size: 1.3rem;
          margin-bottom: 20px;
          font-weight: bold;
      }

      .footer-section p,
      .footer-section li {
          color: #b2bec3;
          margin-bottom: 10px;
          font-size: 0.95rem;
      }

      .footer-section ul {
          list-style: none;
      }

      .footer-section a {
          color: #b2bec3;
          text-decoration: none;
          transition: color 0.3s ease;
      }

      .footer-section a:hover {
          color: #74b9ff;
      }

      .social-icons {
          display: flex;
          gap: 15px;
          margin-top: 20px;
      }

      .social-icon {
          width: 40px;
          height: 40px;
          background: linear-gradient(45deg, #667eea, #764ba2);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          color: white;
          text-decoration: none;
          font-weight: bold;
          transition: transform 0.3s ease;
      }

      .social-icon:hover {
          transform: translateY(-3px);
      }

      .newsletter {
          margin-top: 20px;
      }

      .newsletter-input {
          display: flex;
          gap: 10px;
          margin-top: 15px;
      }

      .newsletter-input input {
          flex: 1;
          padding: 12px 15px;
          border: 1px solid rgba(255, 255, 255, 0.2);
          border-radius: 25px;
          background: rgba(255, 255, 255, 0.1);
          color: white;
          backdrop-filter: blur(10px);
      }

      .newsletter-input input::placeholder {
          color: #b2bec3;
      }

      .newsletter-btn {
          background: linear-gradient(45deg, #e94560, #0f3460);
          border: none;
          padding: 12px 25px;
          border-radius: 25px;
          color: white;
          font-weight: bold;
          cursor: pointer;
          transition: transform 0.3s ease;
      }

      .newsletter-btn:hover {
          transform: translateY(-2px);
      }

      .footer-divider {
          height: 1px;
          background: rgba(255, 255, 255, 0.1);
          margin: 30px 0;
      }

      .footer-bottom {
          display: flex;
          justify-content: space-between;
          align-items: center;
          flex-wrap: wrap;
          gap: 20px;
      }

      .footer-bottom p {
          color: #636e72;
          font-size: 0.9rem;
      }

      .footer-links {
          display: flex;
          gap: 20px;
          flex-wrap: wrap;
      }

      .footer-links a {
          color: #636e72;
          text-decoration: none;
          font-size: 0.9rem;
          transition: color 0.3s ease;
      }

      .footer-links a:hover {
          color: #74b9ff;
      }

      .logo-footer {
          color: #ffffff;
          font-size: 1.5rem;
          font-weight: bold;
          margin-bottom: 15px;
      }

      .color-demo {
          background: #1a1a2e;
          padding: 40px 20px;
          text-align: center;
          color: white;
      }

      .color-palette {
          display: flex;
          justify-content: center;
          gap: 20px;
          margin-top: 30px;
          flex-wrap: wrap;
      }

      .color-item {
          text-align: center;
          min-width: 120px;
      }

      .color-box {
          width: 80px;
          height: 80px;
          border-radius: 15px;
          margin: 0 auto 10px;
          display: flex;
          align-items: center;
          justify-content: center;
          color: white;
          font-weight: bold;
          font-size: 0.8rem;
          text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
      }

      .color-code {
          font-size: 0.8rem;
          color: #b2bec3;
          font-family: monospace;
      }

      @media (max-width: 768px) {
          .footer-content {
              grid-template-columns: 1fr;
              gap: 30px;
          }

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

          .newsletter-input {
              flex-direction: column;
          }

          .social-icons {
              justify-content: center;
          }

          .color-palette {
              grid-template-columns: repeat(2, 1fr);
          }
      }





@media (max-width: 945px){
    .first-cours{
        width: 100%;
    }
}
@media (max-width: 1028px) {
    .course-main{
        display: flex;
        justify-content: space-around;
        height: auto;
        padding:0 12vw;
        gap: 20px;
    }

}

*/@media (max-width: 600px) {
    .course-main{
        display: flex;
        justify-content: space-around;
        height: auto;
        padding:0 12vw;
        flex-wrap: wrap;
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 250px;
    }
}

/* Tablet Responsiveness */
@media (max-width: 1024px) {
    .course-section-1 h1 {
        font-size: 5vw;
        padding: 24px;
    }
    
    .course-section-1 h2 {
        font-size: 4vw;
        padding: 24px;
    }
    
    .cont {
        width: 80%;
        padding: 0 1.5rem;
    }
    
    .cont p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .course-section-1 {
        min-height: auto; /* Allow natural height on mobile */
        padding: 1rem 0;
    }
    
    .course-section-1 h1 {
        font-size: 8vw;
        padding: 20px 10px;
        line-height: 1.2;
    }
    
    .course-section-1 h2 {
        font-size: 6vw;
        padding: 20px 10px;
        line-height: 1.3;
    }
    
    .cont {
        width: 90%;
        padding: 0 1rem;
    }
    
    .cont p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
        text-align: left; /* Changed from justify for better mobile readability */
    }
    
    .cont img {
        max-height: 250px;
        margin-bottom: 2rem;
        margin-top: 2rem;
        box-shadow: 2px 2px 12px rgba(255, 255, 255, 0.2);
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .course-section-1 h1 {
        font-size: 10vw;
        padding: 15px 5px;
    }
    
    .course-section-1 h2 {
        font-size: 8vw;
        padding: 15px 5px;
    }
    
    .cont {
        width: 95%;
        padding: 0 0.5rem;
    }
    
    .cont p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 18px;
    }
    
    .cont img {
        max-height: 200px;
        border-radius: 8px;
        margin-bottom: 1.5rem;
        margin-top: 1.5rem;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .course-section-1 h1 {
        font-size: 12vw;
        padding: 10px;
    }
    
    .course-section-1 h2 {
        font-size: 10vw;
        padding: 10px;
    }
    
    .cont p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}




/* Nav Tablet Responsiveness (1024px and below) */
@media (max-width: 1024px) {
    .nav {
        width: 90%;
        margin: 15px 5%;
        padding: 0 25px;
    }
    
    .content ul li {
        font-size: 2vw;
        padding: 20px 15px;
    }
    
    .logo img {
        height: 45px;
    }
}

/* Mobile Responsiveness (768px and below) */
@media (max-width: 768px) {
    .nav {
        width: 95%;
        margin: 10px 2.5%;
        height: 70px;
        padding: 0 20px;
        border-radius: 35px;
    }
    
    .content {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo img {
        height: 40px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .nav {
        width: 95%;
        margin: 10px 2.5%;
        height: 60px;
        padding: 0 15px;
        border-radius: 30px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
    
    .mobile-menu ul li {
        width: 90%;
        padding: 12px 25px;
    }
    
    .mobile-menu ul li a {
        font-size: 1.1rem;
    }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
    .nav {
        height: 55px;
        padding: 0 10px;
        margin: 5px 2.5%;
    }
    
    .logo img {
        height: 30px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
    }
}

