* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #020024;
  background: radial-gradient(
    circle,
    rgba(2, 0, 36, 1) 0%,
    rgba(21, 22, 79, 1) 73%,
    rgba(2, 0, 36, 1) 100%
  );
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}
html
{
    scroll-behavior: smooth;
}
.circles
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}
.circles div
{
    position: absolute;
    list-style: none;
    width: 20px;
    height: 20px;
    background-color: rgba(255,255,255,0.2);
    bottom: -150px;
    animation: animate 25s linear infinite;
    -webkit-animation: animate 25s linear infinite;
    pointer-events: none;
}
@keyframes animate {
    0%
    {
        opacity: 1;
        border-radius: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
        transform: translateY(0) rotate(0deg);
        -webkit-transform: translateY(0) rotate(0deg);
        -moz-transform: translateY(0) rotate(0deg);
        -ms-transform: translateY(0) rotate(0deg);
        -o-transform: translateY(0) rotate(0deg);
}
    100%
    {
        opacity: 0;
        border-radius: 50%;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;
        transform: translateY(-1000px) rotate(720deg);
        -webkit-transform: translateY(-1000px) rotate(720deg);
        -moz-transform: translateY(-1000px) rotate(720deg);
        -ms-transform: translateY(-1000px) rotate(720deg);
        -o-transform: translateY(-1000px) rotate(720deg);
}
}
/* Background-animation */
.circles div:nth-child(1)
{
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}
.circles div:nth-child(2)
{
    left: 25%;
    width: 20px;
    height: 20px;
    animation-delay: 3s;
}
.circles div:nth-child(3)
{
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}
.circles div:nth-child(4)
{
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}
.circles div:nth-child(5)
{
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 18s;
}
.circles div:nth-child(6)
{
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}
.circles div:nth-child(7)
{
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}
.circles div:nth-child(8)
{
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 45s;
}
.circles div:nth-child(9)
{
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}
.circles div:nth-child(10)
{
    left: 85%;
    width: 150px;
    height:150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

/* navbar start */
.matrix-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  z-index: 2; 
}

.matrix-text {
  color: rgb(56, 100, 221);
  font-size: 1rem;
  font-family: monospace;
  position: relative;
text-shadow: 
    0 0 10px rgb(56, 100, 221), 
    0 0 20px rgb(56, 100, 221), 
    0 0 30px rgb(56, 100, 221);
  z-index: 2; 
}

.matrix-text::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: glitch 2s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  transform: translate(-2px, -2px);
  color: rgb(56, 100, 221);
text-shadow: 
    0 0 5px rgb(56, 100, 221), 
    0 0 15px rgb(56, 100, 221);
}



@keyframes glitch {
  0%, 100% {
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(0);
  }
  33% {
    clip-path: polygon(0 0, 100% 0, 100% 15%, 0 15%);
    transform: translate(-5px, -5px);
  }
  66% {
    clip-path: polygon(0 85%, 100% 85%, 100% 100%, 0 100%);
    transform: translate(5px, 5px);
  }
}
.main
{
    height: 100%;
    width: 100%;
    z-index: 1;
}

.navbar
{
    height: auto;
    width: 90%;
    background-color: rgba(0, 0, 0, 0.813);
    margin: 1.5rem auto;
    padding: 1rem 2rem;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    -ms-border-radius: 40px;
    -o-border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.navbar::after, .navbar::before
{
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 1000px;
    -webkit-border-radius: 1000px;
    -moz-border-radius: 1000px;
    -ms-border-radius: 1000px;
    -o-border-radius: 1000px;
    background: linear-gradient(var(--angle), transparent 50% ,  rgba(0, 0, 255, 0.8));
    z-index: -1;
    padding: 3px;
    animation: 3s spin linear infinite;
    -webkit-animation: 3s spin linear infinite;
}

.navbar::before {
  filter: blur(1.5rem);
  opacity: 0.5;
}

@keyframes spin {
  from { --angle: 0deg; }
  to { --angle: 360deg; }
}

.nav-logo img {
  height: 2.5rem;
}

.nav-items {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-items a {
  text-decoration: none;
  color: rgb(205, 204, 204);
  font-weight: 600;
  border-radius: 1000px;
  cursor: pointer;
  padding: 1rem;
}

.link {
  border: 1px solid transparent;
  transition: border 0.3s ease;
}

.link:hover {
  border: 1px solid rgb(56, 100, 221);
}

.link:active {
  border: 1px solid rgb(30, 60, 140);
}

.matrix-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  z-index: 2;
}

.matrix-text {
  color: rgb(56, 100, 221);
  font-size: 1rem;
  font-family: monospace;
  position: relative;
  text-shadow: 
    0 0 10px rgb(56, 100, 221), 
    0 0 20px rgb(56, 100, 221), 
    0 0 30px rgb(56, 100, 221);
  z-index: 2;
}

.matrix-text::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: glitch 2s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  transform: translate(-2px, -2px);
  color: rgb(56, 100, 221);
  text-shadow: 
    0 0 5px rgb(56, 100, 221), 
    0 0 15px rgb(56, 100, 221);
}

@keyframes glitch {
  0%, 100% {
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(0);
  }
  33% {
    clip-path: polygon(0 0, 100% 0, 100% 15%, 0 15%);
    transform: translate(-5px, -5px);
  }
  66% {
    clip-path: polygon(0 85%, 100% 85%, 100% 100%, 0 100%);
    transform: translate(5px, 5px);
  }
}

#menu-toggle {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  display: block;
  height: 3px;
  background: rgb(205, 204, 204);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.93);
  flex-direction: column;
  align-items: center;
  max-height: 0;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

#menu-toggle:checked ~ .nav-items {
  max-height: 400px;
  padding: 1rem 0;
  z-index: 20;
}

#menu-toggle:checked + .hamburger span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

#menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .nav-items {
    position: static;
    flex-direction: row;
    max-height: none;
    background: none;
    border-radius: 0;
    overflow: visible;
  }

  .nav-items a {
    padding: 0.8rem 1rem;
  }
}

/* navbar-ends */

/* main container starts */
#main-heading-container {
  width: 90%;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.type-writer {
  position: relative;
  margin: 20px 0;
  overflow: hidden;
  max-width: 100vw;
  padding: 0 1rem;
  box-sizing: border-box;
}

.type-writer h1 {
  position: relative;
  color: rgb(223, 214, 246);
  font-size: clamp(2rem, 6vw, 4rem); /* responsive size */
  text-shadow: 1px 1px 8px rgba(112, 196, 232, 0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-style: oblique;
  white-space: nowrap;
  margin-top: 3rem;
  overflow: hidden;
  width: 0;
  animation: type 8s steps(27) infinite;
}

.type-writer h1::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;               
  height: 100%;             
  background-color: rgb(173, 214, 225);
  animation: blink 0.8s steps(2) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes type {
  0%, 90%, 100% { width: 0; }
  30%, 60% { width: 100%; }
}

.sub-heading {
  font-size: 0.9rem;
  color: grey;
  margin-bottom: 1rem;
  width: 90%;
}

.head-text {
  font-size: 3.5rem;
  border: 0.5px solid rgb(39, 39, 137);
  padding: 0.8rem 1rem;
  border-radius: 30px;
  font-weight: bold;
  color: transparent;
  text-align: center;
  background-image: url('https://e0.pxfuel.com/wallpapers/430/390/desktop-wallpaper-dark-blue-polygonal-background-white-and-blue-polygon-thumbnail.jpg');
  background-size: 200%;
  background-position: 0 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-background 5s infinite alternate linear;
}

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

@media (min-width: 600px) {
  .type-writer h1 {
    font-size: 3rem;
  }
  .head-text {
    font-size: 6rem;
  }
}

@media (min-width: 1024px) {
  #main-heading-container {
    width: 80%;
  }

  .type-writer h1 {
    font-size: 4em; 
  }

  .head-text {
    font-size: 10rem; 
  }
}
/* main ends */
.line {
  height: 0.5px;
  margin: 2rem auto;
  width: 90%;
  background-color: #757577;
}
/* strike start */
#strike-window {
  min-height: 100vh;
  width: 100vw;
  place-items: center;
  gap: 2rem;
  padding: 1rem;
}

#strike-window::before {
  --line: hsl(0 0% 95% / 0.25);
  content: "";
  height: 100vh;
  width: 100vw;
  position: fixed;
  background:
    linear-gradient(90deg, var(--line) 1px, transparent 1px 10vmin) 0 -5vmin / 10vmin 10vmin,
    linear-gradient(var(--line) 1px, transparent 1px 10vmin) 0 -5vmin / 10vmin 10vmin;
  mask: linear-gradient(-15deg, transparent 30%, white);
  top: 0;
  z-index: -1;
}

section {
  display: grid;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

section p {
  margin: 0;
  font-size: 2rem;
  background: linear-gradient(hsl(245, 43%, 59%), hsl(0 0% 50%));
  color: transparent;
  background-clip: text;
  font-weight: 300;
  cursor: pointer;
}

.code {
  font-size: 2.2rem; 
  display: flex;
  flex-wrap: wrap;
  color: hsl(0 0% 100%);
  border-radius: 1rem;
  background: hsl(218, 73%, 9%);
  justify-content: center;
  box-shadow: 0 1px hsl(0 0% 100% / 0.25) inset;
  padding: 1rem;
}

.digit {
  display: flex;
  padding: 2.5rem 0.6rem;
  font-size: 2.5rem;
  color: rgb(183, 182, 190);
  transition: all 0.4s ease;
}

.digit:first-of-type {
  padding-left: 2rem;
}
.digit:last-of-type {
  padding-right: 2rem;
}

.digit span {
  scale: calc(var(--active, 0) + 0.5);
  filter: blur(calc((1 - var(--active, 0)) * 1rem));
  transition: scale calc(((1 - var(--active, 0)) + 0.2) * 1s),
              filter calc(((1 - var(--active, 0)) + 0.2) * 1s);
}

ul {
  padding: 0;
  margin: 0;
}

:root {
  --lerp-0: 1;
  --lerp-1: calc(sin(50deg));
  --lerp-2: calc(sin(45deg));
  --lerp-3: calc(sin(35deg));
  --lerp-4: calc(sin(25deg));
  --lerp-5: calc(sin(15deg));
}

.digit:is(:hover, :focus-visible) { --active: var(--lerp-0); }
.digit:is(:hover, :focus-visible) + .digit,
.digit:has(+ .digit:is(:hover, :focus-visible)) { --active: var(--lerp-1); }
.digit:is(:hover, :focus-visible) + .digit + .digit,
.digit:has(+ .digit + .digit:is(:hover, :focus-visible)) { --active: var(--lerp-2); }
.digit:is(:hover, :focus-visible) + .digit + .digit + .digit,
.digit:has(+ .digit + .digit + .digit:is(:hover, :focus-visible)) { --active: var(--lerp-3); }
.digit:is(:hover, :focus-visible) + .digit + .digit + .digit + .digit,
.digit:has(+ .digit + .digit + .digit + .digit:is(:hover, :focus-visible)) { --active: var(--lerp-4); }
.digit:is(:hover, :focus-visible) + .digit + .digit + .digit + .digit + .digit,
.digit:has(+ .digit + .digit + .digit + .digit + .digit:is(:hover, :focus-visible)) { --active: var(--lerp-5); }

@media (min-width: 600px) {
  section p {
    font-size: 3rem;
  }

  .code {
    font-size: 2.8rem;
    padding: 1.5rem;
  }

  .digit {
    padding: 3.5rem 0.8rem;
    font-size: 3.2rem;
  }

  .digit:first-of-type {
    padding-left: 3rem;
  }
  .digit:last-of-type {
    padding-right: 3rem;
  }
}

@media (min-width: 1024px) {
  section p {
    font-size: 4rem; 
  }

  .code {
    font-size: 3rem; 
    flex-wrap: nowrap;
  }

  .digit {
    padding: 5.5rem 1rem; 
    font-size: 4rem; 
  }

  .digit:first-of-type {
    padding-left: 5rem;
  }
  .digit:last-of-type {
    padding-right: 5rem;
  }
}


.card-heading {
    margin: 0 auto;
    margin-top: 2rem;
    font-size: 2rem; 
    color: rgb(195, 213, 247);
    cursor: pointer;
    padding: 1rem 1.5rem;
    z-index: 2;
    border-radius: 50px;
    transition: box-shadow 0.4s ease, transform 0.4s ease, background-color 0.4s;
}

.card-heading:hover {
    box-shadow: 0 0 0 2px rgba(229, 236, 254, 0.787);
    transform: scale(1.05);
    background-color: #171830;
}

.cards {
    width: 95%;
    margin: 2rem auto;
    display: grid;
    gap: 1.5rem;
    padding: 1rem;
    grid-template-columns: 1fr; 
    perspective: 1000px;
}

.card1, .card2 {
    height: 400px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: black;
    border-radius: 25px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s, box-shadow 0.6s;
}

.front-side, .back-side {
    position: absolute;
    height: 100%;
    width: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1.5rem;
}

.front-side h2, .back-side h2 {
    font-size: 1.5rem;
    text-align: center;
}

.front-side li, .back-side li {
    line-height: 2rem;
    font-size: 0.9rem;
}

.front-side {
    background: linear-gradient(45deg, #0c0813 43%, #23255f 100%, #C3CFD6 100%);
    border-radius: 25px;
}

.back-side {
    background: linear-gradient(225deg, #06010D 43%, #171830 100%, #C3CFD6 100%);
    border-radius: 25px;
    transform: rotateY(180deg);
}

.card1:hover {
    transform: rotateY(180deg) scale(1.05);
    box-shadow: rgba(172, 172, 187, 0.605) 0px 7px 29px 0px;
}

.card2:hover {
    transform: rotateY(180deg) scale(1.1);
    box-shadow: rgba(172, 172, 187, 0.605) 0px 7px 29px 0px;
}

ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

ul li {
    margin: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

ul li i {
    color: #1e90ff;
    font-size: 1rem;
}

.btn-enroll {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background-color: #1e90ff;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    align-self: center;
}

.btn-enroll:hover {
    transform: scale(1.05);
    background-color: #3aa0ff;
}

.feature-carousel {
    width: 95%;
    max-width: 100%;
    margin: 2rem auto;
    display: flex;
    overflow-x: auto;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    padding: 0 0.5rem;
}

.feature-carousel::-webkit-scrollbar {
    display: none;
}

.group {
    display: flex;
    gap: 1rem;
    padding: 0 0.5rem;
    flex-shrink: 0;
    animation: spined 25s infinite linear;
}

.card {
    background-color: rgba(28, 28, 56, 0.7);
    border: 1px solid #4a69bd;
    border-radius: 10px;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #f0f0f0;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    white-space: nowrap;
}

.card:hover {
    box-shadow: 0 10px 20px rgba(74, 105, 189, 0.3);
}

.card i {
    font-size: 1.5rem;
}

.card span {
    font-size: 1rem;
    font-weight: 500;
}

@keyframes spined {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.wrap {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.button {
    min-width: 250px;
    min-height: 50px;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 1000px;
}

@media screen and (min-width: 768px) {
    .cards {
        grid-template-columns: 1fr 1fr; 
        margin: 3rem auto;
        gap: 2rem;
    }

    .card1, .card2 {
        width: 400px;
        height: 500px;
    }

    .front-side h2, .back-side h2 {
        font-size: 2rem;
    }

    ul li {
        font-size: 1rem;
    }

    .feature-carousel {
        width: 90%;
        padding: 0 1rem;
    }

    .card span {
        font-size: 1.2rem;
    }

    .card i {
        font-size: 1.8rem;
    }
}

@media screen and (min-width: 1200px) {
    .cards {
        margin: 4rem auto;
        gap: 3rem;
    }

    .card1, .card2 {
        width: 450px;
        height: 550px;
    }

    .front-side h2, .back-side h2 {
        font-size: 2.2rem;
    }

    ul li {
        font-size: 1.1rem;
    }

    .card span {
        font-size: 1.3rem;
    }

    .card i {
        font-size: 2rem;
    }
}
/* ends */
.wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.button {
    min-width: 220px;
    min-height: 50px;
    display: inline-flex;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    margin-top: 2rem;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(90deg, rgb(37, 46, 178) 0%, rgb(79, 96, 209) 100%);
    border: none;
    border-radius: 1000px;
    box-shadow: 12px 12px 24px rgba(131, 176, 227, 0.64);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    outline: none;
    position: relative;
    padding: 10px;
}

.button::before {
    content: '';
    border-radius: 1000px;
    min-width: calc(220px + 12px);
    min-height: calc(50px + 12px);
    border: 6px solid #0b244e65;
    box-shadow: 0 0 60px rgba(4, 53, 109, 0.64);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all .3s ease-in-out;
}

.button:hover,
.button:focus {
    color: #ffffff;
    transform: translateY(-6px);
}

.button:hover::before,
.button:focus::before {
    opacity: 1;
}

.button::after {
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border: 6px solid #0033ff;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring 1.5s infinite;
}

.button:hover::after,
.button:focus::after {
    animation: none;
    display: none;
}

@keyframes ring {
    0% { width: 30px; height: 30px; opacity: 1; }
    100% { width: 300px; height: 300px; opacity: 0; }
}

.youtube {
    width: 180px;
    height: 45px;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.youtube:before {
    content: '';
    background: linear-gradient(45deg, #1c40e0, #27106c, #0d5c63, #2088dc, #0099ff, #002bff, #7a00ff, #130330, #c1d6dc);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.youtube:active
 { color: #000; }

.youtube:active:after
 { background: transparent; }

.youtube:hover:before 
{ opacity: 1; }

.youtube:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

.hover-underline {
    font-size: 1.8rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.hover-underline::after,
.hover-underline::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #1b1bce, #00ffff);
    bottom: -5px;
    left: 0; 
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
}

.hover-underline::before { top: -5px; transform-origin: left; }

.hover-underline:hover::after,
.hover-underline:hover::before { transform: scaleX(1); }
/* courses */
#courses {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.course-container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.left-side h2 {
    font-size: 2rem;
    color: #bebbeb;
    margin-bottom: 1rem;
    text-align: center;
}

.left-side p {
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

.youtube { margin: 0 auto; }

.right-side {
     perspective: 1000px; 
     margin-top: 2rem; 
    }

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.box-card {
    width: 150px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.box-card:hover
{
    animation: rotate3d 8s infinite linear;
}
.back 
{ transform: translateZ(-100px) rotateY(180deg); }

.face {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    backface-visibility: visible;
    border-radius: 12px;
    background: linear-gradient(145deg, #2a2a2a, #383838);
    border: 2px solid #646cff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.face i { font-size: 4rem; }

.face.front i { font-size: 6rem; color: #fcfcfc; }

.face span { font-size: 1rem; font-weight: bold; text-transform: uppercase; }

.face::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    top: -100%;
    left: -100%;
    transition: all 0.5s ease;
    transform: translateZ(20px);
}

.face::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.face:hover::before { top: 100%; left: 100%; }

.face:hover::after { opacity: 1; }

.front { transform: translateZ(75px); border-color: #646cff; }
.back { transform: translateZ(-75px) rotateY(180deg); border-color: #00bcd4; }
.right { transform: translateX(75px) rotateY(90deg); border-color: #1b0f52; }
.left { transform: translateX(-75px) rotateY(-90deg); border-color: #005eff; }
.top { transform: translateY(-75px) rotateX(90deg); border-color: #e1f2f5; }
.bottom { transform: translateY(75px) rotateX(-90deg); border-color: #2e27b0; }

@keyframes rotate3d {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    25% { transform: rotateX(90deg) rotateY(90deg); }
    50% { transform: rotateX(180deg) rotateY(180deg); }
    75% { transform: rotateX(270deg) rotateY(270deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

@media screen and (min-width: 768px) {
    .course-container {
        flex-direction: row;
        gap: 3rem;
        text-align: left;
    }

    .left-side h2 { font-size: 2.5rem; }
    .left-side p { font-size: 1.1rem; }
    .youtube { width: 200px; height: 50px; font-size: 1rem; }

    .box-card { width: 200px; height: 200px; }
    .front { transform: translateZ(100px); }
    .back { transform: translateZ(-100px) rotateY(180deg); }
    .right { transform: translateX(100px) rotateY(90deg); }
    .left { transform: translateX(-100px) rotateY(-90deg); }
    .top { transform: translateY(-100px) rotateX(90deg); }
    .bottom { transform: translateY(100px) rotateX(-90deg); }
}

/* Desktop */
@media screen and (min-width: 1024px) {
    .left-side h2 { font-size: 3rem; }
    .left-side p { font-size: 1.2rem; }
    .youtube { width: 220px; height: 55px; font-size: 1.1rem; }
    .box-card { width: 220px; height: 220px; }
    .front { transform: translateZ(110px); }
    .back { transform: translateZ(-110px) rotateY(180deg); } /* extra gap for back */
    .right { transform: translateX(110px) rotateY(90deg); }
    .left { transform: translateX(-110px) rotateY(-90deg); }
    .top { transform: translateY(-110px) rotateX(90deg); }
    .bottom { transform: translateY(110px) rotateX(-90deg); }
}

/* about-mentors */
#About-section
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 4rem;
}
#About-section .hover-underline
{
    font-size:4rem;
    font-weight: 600;
    font-style: oblique;
    color: #bfc2fa;
    cursor:  pointer;
    margin-bottom: 4rem;
}

.container{
    width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    margin: 0 auto;
  }
  
.instructor-section {
    width: 90%;
    margin: 4rem auto;
    text-align: center;
}
.instructor-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: #8ccef2;
}
.container{
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 25px;
    margin: 0 auto;
}
.card-inst{
    position: relative;
    width: 320px;
    height: 420px;
    margin: 0 auto;
    background: #1e1e3a; 
    box-shadow: 0 15px 60px rgba(0,0,0, .5);
    border-radius: 15px;
    border: 1px solid rgba(182, 156, 238, 0.2);
}
.card-inst .face{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}
.card-inst .face.face1{
    box-sizing: border-box;
    padding: 20px;
    color: #fff;
    flex-direction: column;
}

.card-inst .face.face1 .content {
    text-align: center;
}
.mentor-tags span {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    margin: 0 0.2rem 1.5rem;
    background-color: rgba(128, 90, 213, 0.2);
    color: #c7a2ff;
}
.mentor-bio {
    font-size: 0.9rem;
    color: #a0a0b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.mentor-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.btn {
    padding: 0.6rem 1.2rem; 
    border-radius: 8px;
     text-decoration: none;
      font-weight: bold; 
      transition: transform 0.2s ease;
}
.btn:hover { transform: scale(1.05); }
.btn.btn-primary { background-color: #805AD5; color: white; }
.btn.btn-secondary { background-color: transparent; color: #a0a0b0; border: 1px solid #4a4a6a; }


.card-inst .face.face2{
    background: #10102a;
    transition: 0.5s;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
}
.card-inst .face.face2 img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #805AD5;
    margin-bottom: 1rem;
    transition: 0.5s;
}
.card-inst .face.face2 h3{
    margin: 1rem 0 0 0;
    padding: 0;
    font-size: 1.8em;
    color: #fff;
    transition: 0.5s;
}

.card-inst:hover .face.face2{
    height: 80px;
    padding-top: 0;
    justify-content: center;
}
.card-inst:hover .face.face2 h3{
    font-size: 1.5em; 
}
.card-inst:hover .face.face2 img {
    width: 0px; 
    height: 0px;
    margin-bottom: 0;
    opacity: 0;
}
/* contact */
#contact-section {
    width: 90%;
    max-width: 1100px;
    margin: 2rem auto;
    font-family: 'Inter', sans-serif;
}

.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-header h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.contact-header h2 span {
    color: #a78bfa; 
}

.contact-header p {
    font-size: 1rem;
    color: #a0a0b0;
    max-width: 600px;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    gap: 2rem;
    background-color: #10102a;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(128, 90, 213, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-container:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(128, 90, 213, 0.4);
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-row {
    display: flex;
    gap: 1.5rem;
}
.form-row .input-group {
    flex: 1;
}
.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #cce5ee;
    font-size: 1rem;
    font-weight: 100;
}
.input-group i,input
{
    transition: transform 0.3s , box-shadow 0.3s;
    -webkit-transition: transform 0.3s , box-shadow 0.3s;
    -moz-transition: transform 0.3s , box-shadow 0.3s;
    -ms-transition: transform 0.3s , box-shadow 0.3s;
    -o-transition: transform 0.3s , box-shadow 0.3s;
}
.input-group i,input:hover
{
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
box-shadow: rgba(143, 143, 241, 0.25) 0px 50px 100px -20px, rgba(255, 186, 186, 0.3) 0px 30px 60px -30px, rgba(42, 92, 142, 0.35) 0px -2px 6px 0px inset;}
.input-group i,textarea
{
    transition: transform 0.3s , box-shadow 0.3s;
    -webkit-transition: transform 0.3s , box-shadow 0.3s;
    -moz-transition: transform 0.3s , box-shadow 0.3s;
    -ms-transition: transform 0.3s , box-shadow 0.3s;
    -o-transition: transform 0.3s , box-shadow 0.3s;
    cursor:pointer;
}
.input-group i,textarea:hover
{
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
box-shadow: rgba(143, 143, 241, 0.25) 0px 50px 100px -20px, rgba(255, 186, 186, 0.3) 0px 30px 60px -30px, rgba(42, 92, 142, 0.35) 0px -2px 6px 0px inset;
cursor: pointer;
}
.input-wrapper {
    position: relative;
}
.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #606080;
}
.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    background-color: #1e1e3a;
    border: 1px solid #303050;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}
.input-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-send {
    padding: 0.8rem 1.5rem;
    background-color: #805AD5;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    align-self: flex-start;
}
.btn-send:hover {
    transform: scale(1.05);
}

.contact-image {
    flex: 0 0 40%;
    display: grid;
    place-items: center;
}
.contact-image img {
    max-width: 100%;
    border: 0.6px solid #646cff;
    border-radius: 40px;
    height: auto;
    transition: transform 0.4s, box-shadow 0.4s;
    -webkit-transition: transform 0.4s, box-shadow 0.4s;
    -moz-transition: transform 0.4s, box-shadow 0.4s;
    -ms-transition: transform 0.4s, box-shadow 0.4s;
    -o-transition: transform 0.4s, box-shadow 0.4s;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    -ms-border-radius: 40px;
    -o-border-radius: 40px;
}
.contact-image img:hover
{
    transform: rotate(-5deg);
    -webkit-transform: rotate(-5deg);
    -moz-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
box-shadow: rgba(143, 143, 241, 0.25) 0px 50px 100px -20px, rgba(255, 186, 186, 0.3) 0px 30px 60px -30px, rgba(42, 92, 142, 0.35) 0px -2px 6px 0px inset;
    cursor: pointer;
}
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
    }
    .contact-image {
        margin-top: 2rem;
    }
}


/* footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1200px;
    margin: 4rem auto 2rem auto;
    padding: 2rem 1rem 1rem 1rem;
    border-top: 1px solid #303050;
    gap: 2rem;
}

.neon-text {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 5px #7477d8, 0 0 10px #bbb9e5, 0 0 20px #5155b2, 0 0 40px #4578a4, 0 0 80px hsl(214, 61%, 40%);
    animation: glow 1.5s infinite alternate;
    text-align: center;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #8480e8, 0 0 10px #8480e8, 0 0 20px #8480e8, 0 0 40px #8480e8, 0 0 80px #8480e8;
    }
    100% {
        text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 40px #00d4ff, 0 0 80px #00d4ff, 0 0 160px #00d4ff;
    }
}

.footer-logo a {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.footer-logo a:hover {
    color: #a78bfa;
}

.footer-links ul {
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links ul li {
    list-style: none;
}

.footer-links ul li a {
    text-decoration: none;
    color: #b0b0b0;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #00d4ff;
    left: 0;
    bottom: -4px;
    transition: width 0.3s ease;
}

.footer-links ul li a:hover::after {
    width: 100%;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-socials ul {
    display: flex;
    padding: 0;
    margin: 0;
    gap: 1rem;
}

.footer-socials ul li {
    list-style: none;
}

.footer-socials ul li a {
    width: 50px;
    height: 50px;
    background-color: #1a1a38;
    text-align: center;
    line-height: 50px;
    font-size: 22px;
    display: block;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 2px solid #303050;
    z-index: 1;
    transition: all 0.3s ease;
}

.footer-socials ul li a .icon {
    position: relative;
    color: #805AD5;
    transition: 0.5s;
    z-index: 3;
}

.footer-socials ul li a:hover .icon {
    color: #fff;
    transform: rotateY(360deg);
}

.footer-socials ul li a:before {
    content: ""; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    z-index: 2;
}

.footer-socials ul li a:hover:before {
    top: 0;
}

.footer-socials ul li:nth-child(1) a:before { background: #0077b5; } /* LinkedIn */
.footer-socials ul li:nth-child(2) a:before { background: #55acee; } /* Twitter */
.footer-socials ul li:nth-child(3) a:before { background: #333; } /* GitHub */
.footer-socials ul li:nth-child(4) a:before { background: #E4405F; } /* Instagram */

@media screen and (min-width: 768px) {
    footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 3rem 2rem;
    }

    .neon-text { font-size: 3rem; }
    .footer-links ul { gap: 2rem; }
    .footer-socials ul li a { width: 55px; height: 55px; font-size: 25px; line-height: 55px; }
}

@media screen and (min-width: 1024px) {
    .neon-text { font-size: 3.5rem; }
    .footer-links ul { gap: 2.5rem; }
    .footer-socials ul li a { width: 60px; height: 60px; font-size: 28px; line-height: 60px; }
}
