*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#0a0a0c;
    color:#e0e0e0;
    overflow-x:hidden;
    line-height:1.6;
    position: relative;
}

/* !===== 2. HEADER / NAVBAR ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 100;
}

.user-avatar {
  display: flex ;
  justify-content:flex-start;
  align-items:flex-start;
}

.avatar-img {
  width: 100px;  
  height: 100px;  
  border-radius: 50%;
  object-fit: cover;
  vertical-align:middle;
}


@keyframes avatarPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 20px rgba(37, 109, 191, 0.3); }
  50% { transform: scale(1.1); box-shadow: 0 15px 30px rgba(26, 128, 135, 0.6); }
}

.card-header h4 {
  margin-bottom: 0.375rem;
  font-weight: 700;
  align-content: flex-start;
}

.card-header p {
  color: var(--text-grey);
  font-size: 0.875rem;
  display: flex;
  align-items:flex-start;
  gap: 0.5rem;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

.card-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}


.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.testimonial-card {
    background-color: #466a8b; /* Dark Blue */
    padding: 20px;
    border: 1px solid #040c14; /* Dark Blue */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(1, 4, 13, 0.1);
}

.reactions {
  display:flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.reaction {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.625rem 1.125rem;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.reaction::before {
  content: '';
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  background: var(--success);
  border-radius: 25px;
  transition: transform 0.3s ease;
  z-index: -1;
}

.reaction:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(13, 162, 173, 0.3);
}

.reaction:hover::before {
  transform: translate(-50%, -50%) scale(1);
}
/* * Logo Styling */
.logo {
    font-family: 'Orbitron',sans-serif;
    font-size: 2.2rem;
    color: white;
    text-shadow: 0px 0px 15px red;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

/* * Navigation Links */
nav {
    display: flex;
    align-items: center;
    gap: 45px;
}

nav a {
    color: #e0e0e0;
    font-size: 1.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;        
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 8px 0;
}

nav a:hover {
    color: #ff009d;
    transform: translateY(-3px);
}

/* ! ===== 3. MARQUEE SECTION ===== */
.marquee-section {
    width: 100%;
    margin-top: 114px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0,0,0,0.8), #0b0b0d);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 25px 0;
}
.marquee-track {
    display: inline-block;
    animation: scroll-left 8s linear infinite;
}


.marquee {
    position: relative;
    white-space: nowrap;
}


.marquee-track span {
    display: inline-block;
    margin: 0 2rem;
    font-family: sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color:#fcfffcc4;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(21, 37, 37, 0.4);
    transition: transform 0.3s;
}

.marquee-track span:hover {
    color: #ff009d;
    transform: scale(1.2);
}

@keyframes scroll-left {
    0%   { 
        transform: translateX(100%); 
    }
    100% { 
        transform: translateX(-100%); 
    }
}

@media (max-width: 768px) {
    .marquee-track span { 
        font-size: 1.1rem; 
        margin: 0 1.2rem; 
    }
}

/* ! ===== 4. HERO SECTION ===== */
.hero{
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
}

.floating-circle{
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #ff009d, transparent 70%);
    filter: blur(120px);
    top: 15%;
    left: 10%;
    animation: float1 10s ease-in-out infinite alternate;
}

.floating-circle.small{
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #00fff2, transparent 70%);
    top: 60%;
    right: 8%;
    animation: float2 12s ease-in-out infinite alternate;
}

@keyframes float1 {
    0%{
        transform:translateY(0);
    }
    100%{
        transform:translateY(50px);
    }
}
@keyframes float2 {
    0%{
    transform:translateY(0);
    }
    100%{
        transform:translateY(-50px);
    }
}

.hero-content{
    position:relative; 
    z-index:2;
}

.hero h1{
    font-family:'Orbitron',sans-serif;
    font-size:clamp(2.5rem,5vw,4rem);
    white-space:nowrap;
    overflow:hidden;
    border-right:3px solid #00fff2;
    width:0ch;
    animation:typing 5s steps(25) 1s forwards, blink 0.8s step-end infinite alternate;
}
.hero h1 span{color:#ff009d;}
.hero p{
    margin:30px 0 50px;
    font-size:clamp(1.1rem,2.2vw,1.5rem);
    color:#ccc;
    max-width:700px;
    margin-inline:auto;
}
.btn{
    background: linear-gradient(90deg,#ff009d,#00fff2);
    padding:16px 45px;
    border-radius:40px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#fff;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size:1.5rem;
    text-decoration: none;
}

.color-change {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ff009d, #05514d, #ffdd00, #add302, #efd916);
    background-clip: text; /* for other browsers */
    color: transparent;
}


.btn {
    display: inline-block;
    transform: scale(0.95);
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn:hover {
    transform: scale(1); 
    box-shadow: 0 0 20px rgba(255, 0, 157, 0.5), 0 0 40px rgba(144, 26, 199, 0.5);
}


@keyframes typing{
    from{
        width:0;
    }
    to{
        width:22ch;
    }
}
@keyframes blink{
    50%{
        border-color:transparent;
    }
}

/* ===== 5. FEATURES ===== */
.features{
    padding:140px 10%;
    text-align: center;
}
.features h2{
    font-family:'Orbitron',sans-serif;
    font-size:clamp(2rem,4vw,2.6rem);
    color:#040707;
    margin-bottom:70px;
}
.feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:40px;
}
.feature-card{
    background:rgba(255,255,255,0.06);
    border-radius:20px;
    padding:50px 30px;
    backdrop-filter:blur(6px);
    border:1px solid rgba(11, 10, 10, 0.1);
    transition: transform 0.4s, background 0.4s;
}
.feature-card:hover{
    transform:translateY(-12px); 
    background:rgba(19, 18, 18, 0.1);
}
.feature-card h3{
    font-size:1.8rem;
    color:#6563f3;
    margin-bottom:20px;
}

.features .feature-grid .feature-card img{
    width: 100%;
    height: 100%;
}



.feature-card p{
    color:#edf50e;
    font-size:1.5rem;
    max-width:90%;
    margin:auto;
}

/*! ===== 6. VISION ===== */
.vision{
    background: radial-gradient(circle at top,#111 0%,#050505 100%);
    padding:140px 10%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}
.vision-text{
    max-width:800px;
}

.vision-text h2{
    font-family:'Orbitron',sans-serif;
    font-size:clamp(2rem,4vw,2.5rem);
    color:#3732c4;
    margin-bottom:30px;
}

.vision-text p{
    font-size: 1.9rem;
    font-weight: bolder;
    color:#ea35db;
    line-height:1.7;
    animation:fadeInUp 1.5s ease both;
}
@keyframes fadeInUp{
    0%{
        opacity:0; 
        transform:translateY(40px);
    }
    100%{
        opacity:1; 
        transform:translateY(0);
    }
}

/* !===== 7. CONTACT ===== */
.contact{
    padding:120px 10%;
    text-align:center;
}
.contact h2{
    color:#e60b80;
    font-family:'Orbitron',sans-serif;
    font-size:clamp(1.8rem,3.5vw,2.3rem);
    margin-bottom:30px;
}
.contact p{
    color:#4825e4;
    font-size:clamp(1.1rem,2vw,1.4rem);
}

.contact p span{

    color: rgb(237, 213, 30);
    font-size: larger;
    font-weight: 500;
    font-family: 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    word-spacing: 10px;
    text-shadow: 0px 0px  8px rgb(254, 204, 39);
}

/* ! ===== 8. FOOTER ===== */
footer{
    background:#050505;
    text-align:center;
    padding:40px 20px;
    font-size:1rem;
    color:#ffffff;
}

footer p{
    font-size: 1.6rem;
    font-weight: 500;
    background-color: transparent;
}

/* * Added Couse Section */
.course-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.feature-grid .feature-card h3{
    text-shadow: 0px 0px 5px rgb(220, 78, 201);
}

.feature-grid .feature-card p{
    text-shadow: 0px 0px 1px rgb(245, 245, 245);
}


.features h2{
    color: rgb(15, 5, 5);
    font-weight: lighter;
    font-size: 4.5rem;
    text-shadow: 0px 0px 10px rgb(185, 68, 178);
}

.course-img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(35, 66, 241, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover .course-img {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 0, 157, 0.5), 0 0 40px rgba(215, 255, 17, 0.5);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
    header {
        padding: 20px 8%;
    }
    .feature-card, .course-card {
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
    }

    nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 1.2rem;
    }

    .hero {
        padding: 0 6%;
    }

    .hero h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features, .vision, .contact {
        padding: 100px 6%;
    }

    .feature-grid {
        gap: 20px;
    }

    .course-img {
        height: auto; /* allow natural height on small screens */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-content, .features{
        justify-content: center;
        align-items: center;
        padding-left: 100px;
    }
    
    .vision{
        justify-content: center;
        align-items: center;        
    }

    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .feature-card h3,
    .course-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p,
    .course-card p {
        font-size: 1rem;
    }

    .features h2 {
        font-size: 3rem;
    }

    header, nav {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        position: absolute;
        top: 0;
        left: 30px;
    }
}
.teacher {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;
  gap: 5rem;
}



.rohit-bhaiya, .aditya-bhaiya {
  width: 300px;
  height: 500px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s;
  cursor: pointer;
  
  box-shadow: 10px 15px 20px rgba(0,0,0,0.5),
              -5px -10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  border: 2px solid #00f;
}

.rohit-bhaiya img, .aditya-bhaiya img {
  width: 70%;
  height: 40%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  /* box-shadow: 0 0 10px #00f; */
}

.rohit-bhaiya:hover  {
  transform: rotateY(180deg);
}

.aditya-bhaiya:hover {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  
  font-size: 12px;
  color: white;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);

}
.card-face h3 {
  font-size: 28px;
  margin-top: 0.5rem;
}


.card-face button:hover {
  color: #00f;
  text-shadow: 0 0 5px rgba(65, 65, 159, 1);
}



.thefront {
  background: linear-gradient(45deg, rgb(25, 100, 138), rgb(212, 43, 74));
}

.theback {
  background: linear-gradient(45deg, rgb(36, 138, 138), rgb(182, 26, 86));
  transform: rotateY(180deg);
  
}

.card-face span {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.5;
  
  box-shadow: 10px 15px 20px  rgba(0,0,0,0.5),
              -5px -10px 20px  rgba(0,0,0,0.1);
  border-radius: 10px;
  border: 1px solid white;

}

.card-face button {
  display: inline-block;
  
  background-color: rgb(149, 63, 137);
  
  text-decoration: none;
  border-radius: 0.5rem;
  width: 100px;
  height: 50px;
  font-size: 18px;
  margin-bottom: 1rem;
  
  
}
.card-face a{
  text-decoration: none;
  color: white;
}
footer .first ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .first ul li {
  margin: 8px 0;
}

footer .first ul li a,
footer .first ul li {
  text-decoration: none;
  color: #d1d5db;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

footer .first ul li a:hover {
  color: #60a5fa;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
}

/* ---------------- Footer Bottom ---------------- */
footer .second {
  border-top: 1px solid rgba(59, 130, 246, 0.3);
  text-align: center;
  padding-top: 20px;
  margin-top: 40px;
  font-size: 0.85rem;
  color: #a1a9c9;
}

/* ---------------- Animations ---------------- */
@keyframes slideIn {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

/* ---------------- Responsiveness ---------------- */

/* Tablets and above */
@media (min-width: 768px) {
  footer .first {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 40px;
  }

  footer .first div {
    flex: 1;
  }

  footer .first div p {
    max-width: 280px;
  }

  footer {
    padding: 60px 80px 20px;
  }
}


/* Desktop view */
@media only screen and (min-width: 1024px) {
  .nav .nav_toggle {
    display: none;
  }
  .nav .nav_menu {
    flex-direction: row;
    color: white;
  }
  .nav .nav_menu li {
    display: block;
  }
  .nav .nav_menu li:nth-child(1) {
    margin-right: 25%;
  }
  .nav .nav_menu li:nth-child(6) {
    margin-left: 25%;
  }
  .hero-section {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    margin: 5rem;
  }
  .contact-section {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-left p:nth-child(1) {
        font-size: clamp(24px, 8vw, 48px);
        font-family: 'supershiny';
        margin-bottom: 10px;
}
.contact-left span {
        font-size: clamp(24px, 8vw, 48px);
        font-family: 'supershiny';
        color: var(--primary);
}

.contact-left p:nth-child(2){
        background-color: transparent;
        font-size: 16px;
        color: var(--text-muted);
        margin-bottom: 10px;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full {
    width: 100%;
}

label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

input, textarea {
    background-color: var(--input);
    border: 1px solid var(--input-border);
    color: var(--text-color);
    padding: 12px 15px;
    border-radius: 6px;
    outline: none;
    font-size: 15px;
}

input::placeholder,
textarea::placeholder {
    color: #888;
}

textarea {
    resize: none;
}

.send-btn {
    background: linear-gradient(90deg, #8a63ff, var(--primary));
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
    align-self: flex-start;
}

.send-btn:hover {
    opacity: 0.85;
}

/* --- Right Side --- */
.contact-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 60px 0; /* light spacing above/below */
}

/* --- Main Image --- */
.image-box {
  position: relative;
  width: 120px;
  height: 120px;
}

.center-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
  position: relative;
}
