* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    font-family: 'OL Manhattan Bold';
    src: url('OLManhattan-Bold.woff2') format('woff2'),
        url('OLManhattan-Bold.woff');
    overflow-x: hidden;
    color: #054879;
}


canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: relative;

}

.text-slide {
    font-size: 4rem;
    font-weight: 900;
    opacity: 0;
    transform: translateY(100px);
    transition: all 1.5s ease;
    color: #fff;
}

.text-slide.visible {
    opacity: 1;
    transform: translateY(0);
}

.second-section {

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    height: 100vh;
  }

  .text-block {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(90deg, white, #054879, white);
    background-size: 300% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s ease-in-out infinite;
    opacity: 0;
    transform: translateY(100px);
    transition: all 1.5s ease;
  }

  .text-block.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .text-block.left {
    align-self: flex-start;
  }

  .text-block.center {
    align-self: center;

  }

  .text-block.right {
    align-self: flex-end;
  }

  @keyframes gradientFlow {
    0% {
      background-position: 0% center;
    }
    50% {
      background-position: 100% center;
    }
    100% {
      background-position: 0% center;
    }
  }


.text-slide {
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
    background: linear-gradient(90deg, white, #054879, white);
    background-size: 300% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s ease-in-out infinite;
    opacity: 0;
    transform: translateY(100px);
    transition: all 1.5s ease;
  }

  .text-slide.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Animation for color shift */
  @keyframes gradientFlow {
    0% {
      background-position: 0% center;
    }
    50% {
      background-position: 100% center;
    }
    100% {
      background-position: 0% center;
    }
  }
  @media (max-width: 400px) {
    .section {
      padding: 20px;
      height: auto; /* Adjust height for smaller screens */
    }

    .text-slide {
      font-size: 1.4rem; /* Reduce font size for smaller screens */
      margin: 0 10px; /* Prevent text from overflowing */
    }

    .second-section {
      gap: 20px; /* Reduce space between sections */
      padding: 40px 10px; /* Adjust padding */
    }

    .text-block {
      font-size: 2rem; /* Make text size smaller */
      animation: none; /* Disable animations */
      margin: 0 10px; /* Adjust margins */
    }

    .text-block.left, .text-block.center, .text-block.right {
      text-align: center; /* Center align text */
    }
  }


/* Course Cards */

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 20px auto 20px auto;
    padding: 0 20px;
    z-index: 10;
    background: #000;
}

.card {
    perspective: 1000px;
    height: 500px;
    width: 320px;
    border-radius: 16px;
    overflow: hidden;
}

.card-inner {
    height: 100%;
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 0 25px rgba(0, 221, 255, 0.1);
}

.card-front {
    background: rgba(255, 255, 255, 0.05);
    color: #000000;
    border: 1px solid rgba(0, 221, 255, 0.2);
    text-align: center;
}

.course-title {
    font-size: 26px;
    font-weight: bold;
    color: #054879;
    margin-bottom: 12px;
}

.course-level {
    font-size: 24px;
    color: #ffffff;
    opacity: 0.95;
    margin-bottom: 20px;
}

.know-more-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #2563eb, #1e3a8a); /* Blue gradient */
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.know-more-btn:hover {
    background: #ffffff;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}


.card-back {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    transform: rotateY(180deg);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-details {
    overflow-y: auto;
    width: 100%;
}

.course-description {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 12px;
}

.course-features {
    padding-left: 22px;
    color: #ffffff;
    font-size: 15px;
}

.course-features li {
    margin-bottom: 8px;
    list-style: disc;
}

.course-tags {
    margin-top: 18px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.6;
}

.course-features i {
    color: #054879;
    margin-right: 10px;
    min-width: 20px;
}

.card-front .course-tags {
    margin-top: 15px;
    background: rgba(0, 221, 255, 0.1);
    border-left: 4px solid #054879;
    padding: 12px 16px;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    box-shadow: 0 0 10px rgba(0, 221, 255, 0.1);
}


.ribbon {
    width: 140px;
    background: #ffffff;
    color: #000;
    font-weight: bold;
    text-align: center;
    line-height: 28px;
    position: absolute;
    top: 25px;
    right: -30px;
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
    z-index: 10;
    font-size: 12px;
}

.ribbon-popular {
    background: #054879;
    color: #ffffff;
}

.ribbon-rated {
    background: #ff4c60;
    color: #fff;
}

.internship-badge {
    background: rgba(13, 255, 255, 0.15);
    /* Soft neon cyan glow */
    color: rgb(255, 255, 255);
    /* Neon Cyan Text */
    font-size: 13px;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    border: 1px solid #054879;
    box-shadow: 0 0 10px rgba(13, 255, 255, 0.2);
    text-shadow: 0 0 2px rgba(13, 255, 255, 0.5);
}

.internship-badge i {
    color: #054879;
}


/* Empowering */
#scroll-wrapper {
    position: relative;
    height: 250vh;
    /* total scroll height: adjust if needed */
    font-family: 'Druk Wide Bold', sans-serif;


}

.scroll-section {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 40px;
    background: url('/images/begginers.jpg');

    /* Add a dark overlay for better readability */
}

.scroll-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
}

.scroll-row,
.scroll-text,
.scroll-img {
    position: relative;
    z-index: 1;
}


.scroll-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-img {
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease;
}

.scroll-img img {
    height: auto;
    width: auto;
    max-height: 60px;
    max-width: 214px;
    object-fit: contain;
    display: block;
}

.scroll-text {
    font-size: 3.8rem;
    font-weight: 900;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
    line-height: 1.4;
    letter-spacing: 1.5px;
    /* No margin, so it touches image */
}

.scroll-text span {
    text-decoration: underline;
    color: #fff;
}

/* Animation */
.scroll-row.visible .left,
.scroll-row.visible .right {
    transform: translateX(0);
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .scroll-row {
        flex-direction: column;
        text-align: center;
    }

    .scroll-text {
        font-size: 1.8rem;
        transform: translateY(20px);

    }

    .scroll-row.visible .scroll-text {
        transform: translateY(0);
    }
}



/* Why Us */
.spacer {
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.whyus-scroll-section {
    position: relative;
    height: 600vh;
    background: #000;
}

.whyus-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.whyus-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    font-weight: 900;
    color: #fff;
    z-index: 0;
    user-select: none;
    white-space: nowrap;
}

.whyus-card-container {
    display: flex;
    gap: 2rem;
    transform: translateX(100vw);
    /* Start off-screen to the right */
    transition: transform 0.1s linear;
    z-index: 1;
    padding: 2rem;
}


.whyus-card {
    min-width: 340px;
    max-width: 360px;
    background: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    opacity: 1;
    transform: scale(1);
    transition: transform 0.3s;
    color: #000000;
}

.whyus-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whyus-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #000000;
}








 /* Awards Section */
 .awards-section {
    padding: 100px 20px;
    /* Match or contrast your 'Why Us' background */
    color: white;
    position: relative;
    z-index: 10;
  }



  .awards-title {
    font-size: 10vw;
    font-weight: 900;
    color: #fff;
    text-transform: lowercase;
    display: flex;
    justify-content: center;
    z-index: 1;
    position: relative;
  }

  .awards-title span {
    display: inline-block;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.7s ease-out, opacity 0.7s ease-out;
  }

  .floating-books {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .book {
    position: absolute;
    width: 180px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    opacity: 1;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    will-change: transform, opacity;
  }

  .book1 { top: 30%; left: 5%; background-color: #F4B400; }
  .book2 { top: 30%; right: 10%; background-color: #EA4335; }
  .book3 { top: 90%; left: 45%; background-color: #4285F4; }
  .book4 { top: 120%; right: 20%; background-color: #34A853; }
  .book5 { top: 135%; left: 15%; background-color: #FF6D00; }
  .book6 { top: 95%; left: 30%; background-color: #a4279d; }



  .site-footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 60px 30px 20px;
    font-family: inherit;
    font-weight: 400;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
    text-align: center;
}

.footer-newsletter {
    flex: 1 1 300px;
}

.footer-newsletter h3 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: lowercase;
    margin: 10px 0 20px;
    line-height: 1.1,

}

.footer-newsletter p {
    font-size: 16px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.newsletter-form input {
    padding: 14px 18px;
    border-radius: 50px;
    border: none;
    font-size: 14px;
    outline: none;
    width: 70%;
    background: #1f2937;
    color: #f3f4f6;
    font-family: inherit;
    font-weight: 400;
    transition: box-shadow 0.3s;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}

.newsletter-form button {
    background-color: #3b82f6;
    border: none;
    padding: 12px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s, transform 0.2s;
}

.newsletter-form button:hover {
    background-color: #2563eb;
    transform: scale(1.05);
}

.footer-logo {
    flex: 1 1 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo img {
    max-width: 180px;
}

.footer-contact {
    flex: 1 1 300px;
}

.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #d1d5db;
    font-family: inherit;
}

.contact-item {


    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 2rem;
    font-weight: 600;
    text-transform: lowercase;
    line-height: 1.1,

}

.footer-social {
    margin-top: 40px;
    text-align: center;
}

.footer-social a {
    margin: 0 10px;
    color: #9ca3af;
    font-size: 20px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    font-size: 13px;
    color: #6b7280;
}
.footer-bottom .footer-links {
    margin-top: 10px;
}

.footer-bottom .footer-links a {
    color: #6b7280;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.footer-bottom .footer-links a:hover {
    color: #f0c040; /* Or your brand highlight color */
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

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

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 50px;
    }
}
