* {
    margin: 0;scroll-behavior: smooth;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    height: 100vh;
    width: 100%;
    background: linear-gradient(17deg,rgba(10, 10, 10, 1) 0%, rgba(25, 11, 11, 1) 38%, rgba(183, 23, 23, 1) 60%, rgba(253, 29, 29, 1) 76%, rgba(252, 160, 65, 1) 97%, rgba(252, 176, 69, 1) 100%);
    color: #fff;
}
.header{
    padding: 20px 62px;
    width: 100%;
    height: 70px;
}
.nav
{   font-size: 17px;
    justify-content: space-between;
    align-items: center;
    display: flex; position: sticky;
    flex-direction: row;
}

.logo {
    display: flex;                  
    align-items: center;           
    padding-left: 50px;                      
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform-origin: center;       
}

.logo img {
    width: 40px;                    
    height: auto;
    transition: transform 0.3s ease;
}

.logo a {
    font-size: 2rem;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);          
}

.logo:hover a {
    color: #080808;                 
}
.links a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.5rem;
    display: inline-block; 
    transition: transform 0.3s ease, color 0.3s ease;
}

.links a:hover {
    color: black;
    transform: scale(0.9);
}

.btns button {
    background-color: white;
    color: black;
    border: none;
    margin-left: 10px;
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition:all  0.3s;
    display: inline-block; 
    
}

.btns button:hover {
    background-color: black;
    color: white;transform: scale(1.1);
}

/* ============main===================== */
.main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    height: 85vh;
    color: white;
    gap: 30px;
    
}

.explosion {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-80%, -20%) scale(0);
  opacity: 0;
  width: 300px;
  height: 300px;filter: drop-shadow(0 0 20px rgba(255, 100, 0, 0.6));
  pointer-events: none;
  animation: blast 5s linear infinite;
}

@keyframes blast {
  0%, 5% {
    transform: translate(-80%, -20%) scale(0);
    opacity: 0;
  }

  10% {
    transform: translate(-80%, -20%) scale(1);
    opacity: 1;
  }

  20% {
    transform: translate(-80%, -20%) scale(1.5);
    opacity: 1;
  }
  31.5% {
    transform: translate(-80%, -20%) scale(2);
    opacity: 0;
  }
  100% {
    transform: translate(-80%, -20%) scale(0);
    opacity: 0;
  }
}


.left {
    flex: 1;
}

.texts span:first-child {
    font-size: 4rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.texts span:nth-child(2) {
    font-size: 2rem;
    line-height: 1.6;
    display: block;
    max-width: 500px;
    margin-bottom: 30px;
    color: #ccc;
}

.l-btns {
    margin-bottom: 20px;
    padding-left: 10px;
}

.l-btns a {
    color: white;
    font-size: 1.8rem;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.l-btns :hover {
    color: #ffcc00;
    transform: scale(1.2);
}

.btns2 {   
    display: flex;
    gap: 15px;
}

.btns2 button , .btns2 button a{
    background-color: rgb(54, 3, 3);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 50px;
    cursor: pointer;font-size: 1rem;
    font-weight: 600;
    transition:all  0.3s;
    display: inline-block; text-decoration: none;
    
}


.right {
    flex: 1;
    position: relative;
    height: 480px;
    overflow: hidden;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.6s ease; /* smooth zoom effect */
}

.right img:hover {
    transform: scale(1.1);
}


/*================== courses================== */
.paidsections {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 20px;
  background-color: #0A0A0A; /* match your dark theme */
  color: #fff;
}

.paidsections h1  {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: rgb(252, 130, 9); 
}

.paidsections span {
  max-width: 900px;
  font-size: 1.7rem;
  color: #c0c0c0;
  line-height: 1.6;
  display: flex;justify-content: center;align-items: center;
}

.paidcourses{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background-color: #0A0A0A;
  
}
.cards{
    padding-top: 15px;
    display: flex;
    flex-direction: row;gap: 4rem; 
    view-timeline-name: --cards-scroll;
    view-timeline-axis: block;
}
.card {
  width: 320px;
  background: linear-gradient(to bottom right,
    rgba(210, 221, 238, 0.1),  
    transparent,
    rgba(214, 221, 233, 0.1)   
  );
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
}
@keyframes slideFromLeft {
  from {
    opacity: 1;
    transform: translateX(-250px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromRight {
  from {
    opacity: 1;
    transform: translateX(250px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card:nth-child(1) {
  animation: slideFromLeft 5s linear ;
  animation-timeline: --cards-scroll;
  animation-range: entry 0% cover 40%;
}

.card:nth-child(2) {
  animation: slideFromRight 5s linear ;
  animation-timeline: --cards-scroll;
  animation-range: entry 0% cover 40%;
}
.card:hover {
 
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.carrdimg {
  width: 100%;
  height: 180px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0e0d0d;
}

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

.cardtext {
  padding: 20px;
}

.cardtext h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff7f7;
}

.cardtext p {
  font-size: 0.95rem;
  color: #adabab;
  line-height: 1.4;
  margin-bottom: 20px;
}

.cardtext .card-btn {
  background-color: #ff9100; text-decoration: none;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cardtext .card-btn:hover {
  background-color: #df6705;
}
/* =======free courses ==========*/

 .freecourses span,
.hackathon span {
  display: block;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  font-size: 1.7rem;
  color: #c0c0c0;
  line-height: 1.6;
}
.freecourses h1 , .hackathon h1
{
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: rgba(252, 160, 65, 1); /* highlight color */
}
.ex-btn {
    background-color: rgb(255, 114, 20);
    color: white;
    border: none;
    margin-top: 1rem;
    padding: 15px;
    border-radius: 50px;
    cursor: pointer;font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}
.slider {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;background: #0A0A0A; padding: 0 30px;
}

.slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: left 1s linear;
  background-color: #0A0A0A;
}
.slide h1 {
  font-size: 3.5rem;
   background: linear-gradient(90deg, rgb(177, 173, 252) 10%, rgb(62, 169, 231) 35%, rgb(30, 204, 195) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px;
}

.slide span {
  font-size: 1.5rem;
  color: #c0c0c0;
  line-height: 1.6;
  max-width: 900px;
  margin: 5px auto;
}
@keyframes slideShow {
  0% { left: 100%; opacity: 0; }      
  10% { left: 0; opacity: 1; }        
  50% { left: 0; opacity: 1; }        
  60% { left: -100%; opacity: 0; }    
  100% { left: -100%; opacity: 0; }   
}

.freecourses, .hackathon {
  position: absolute;
  width: 100%;
  top: 0;
  transition: opacity 0.5s linear;
}

.freecourses {
  animation: slideShow 6s ease-in-out infinite;
}

.hackathon {
  animation: slideShow 6s ease-in-out infinite;
  animation-delay: 3s; 
}

/* ============mentors============== */
.mentors {
  
    display: flex;align-items: center;flex-direction: column;
    width: 100%;
    height: 100vh;
    position: relative;background: #0A0A0A;
  }

  .mentors h1 {
    font-size: 3.5rem;text-align: center;
    color: #fa6604;
    margin-bottom: 10px;
  }

  .mentors > span {
    display: block;text-align: center;
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
  }

 .rohit, .aditya {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  border-radius: 20px;
  padding: 50px;
  position: absolute;
  width: 100%;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s ease;
  animation: toggle 10s infinite;
  backdrop-filter: blur(10px);
}

@keyframes toggle {
  0%, 45% {
    opacity: 1;
    visibility: visible;
  }
  50%, 100% {
    opacity: 0;
    visibility: hidden;
  }
}

.rohit {
  animation-delay: 0s;
}

.aditya {
  animation-delay: 5s;
}

.rohit .l img,
.aditya .r img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.aditya .r img {
  margin-left: 100px;
}

.r, .l {
  flex: 1;
  text-align: left;
}

.r h1, .l h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 25px;
  transition: transform 0.4s ease;
}

.r .role-line,
.l .role-line {
  display: flex;
  align-items: center;
  gap: 15px; 
  margin-bottom: 10px;
}

.r .role-line span,
.l .role-line span {
  margin: 0;
  color: #ff6600;
  font-weight: 500;
  font-size: 1rem;
}
.r .role-line p,
.l .role-line p{
  color: #cec6c6;
}
.r span, .l span{
  color: #ddd;
  font-size: 1rem;
  line-height: 1.6;
}

.rohit:hover,
.aditya:hover {
  transform: translateX(-50%) scale(1.05);
 
}

.rohit:hover .l img,
.aditya:hover .r img {
  border-color: #fa6604;
  box-shadow: 0 0 20px #fa6604, 0 0 40px #fa6604;
  transform: scale(1.1);
}

.rohit:hover h1,
.aditya:hover h1 {
  transform: scale(1.1);
  
}

/* ===========footer========== */
.footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 30px;
    background: #0a0a0a;
    color: #fff;
    padding: 60px 80px 20px;
    text-align: left;
    position: relative;
}

/* ---- Footer sections ---- */
.footer .f1 span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffa600;
    display: block;
    margin-bottom: 10px;
}

.footer .f1 p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 280px;
}

.footer .f2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer .f2 a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .f2 a:hover {
    color: #ffcc00;
    transform: translateX(5px);
}

.footer .f3 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer .f3 span {
    color: #94a3b8;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer .f3 span:hover {
    color: #ffcc00;
}

.footer .f4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.footer .f4 span {
    display: block;
   color: #94a3b8;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 8px;
    line-height: 1.5;
}

.footer > span:last-child {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}



/* =========contact========= */
.contact{padding: 22px 80px;
   background:#0a0a0a;
   display: flex;
   justify-content: center;
}
 .contact-section {
      border-radius: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 90px;
    }

    .contact-text {
      flex: 1;
    }

    .contact-text h1 {
      font-size: 42px;
      font-weight: 700;
    }

    .contact-text h1 span {
      color: rgb(247, 132, 17);
    }

    .contact-text p {
      color: #c0c0c0;
      margin: 15px 0 25px;
      line-height: 1.6;
    }

    form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  color: #c0c0c0;
  font-size: 14px;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(224, 222, 222, 0.541);
  border-radius: 10px;
  background-color: #0F1219D9;
  color: #fff;
  font-size: 15px;
  outline: none;
}

input:focus,
textarea:focus {
  border: 1px solid rgba(252, 160, 65, 1);
}

textarea {
  height: 120px;
  resize: none;
}

.btn {
  background: rgb(240, 123, 7);
  color: #fff;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  align-self: flex-start; /* keeps it aligned to the left */
  font-size: 15px;
}

.btn:hover {
  background: rgba(255, 140, 40, 1);
}

.contact-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.contact-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(252, 160, 65, 1);
}

