



/* Reset + base */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: "Poppins", sans-serif; }
html, body { height: 100%; }
body {
  background-color: #000;
  color: #fff;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* BACKGROUND GLOW */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 95% 5%, rgba(255, 59, 59, 0.85) 0%, transparent 30%),
    radial-gradient(circle at 5% 95%, rgba(255, 20, 20, 0.6) 0%, transparent 30%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.internship-btn {
  margin-top: 28px;
  padding: 14px 36px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 30px;
  background: transparent;
  border: 2px solid #ff2a2a;
  color: #ff2a2a;
  cursor: pointer;
  transition: 0.3s;
}

.internship-btn:hover {
  background: #ff2a2a;
  color: #fff;
  box-shadow: 0 0 18px rgba(255,42,42,0.6);
}


/* Top right nav (glass) */
.dashboard {
 /*  position: fixed;*/
  top: 20px;
  right: 20px; 
  background-color: rgba(255,255,255,0.05);
  padding: 10px 18px;
  border-radius: 12px;
  display: flex;
  gap: 14px;
  backdrop-filter: blur(6px);
   z-index: 10; 
  box-shadow: 0 4px 18px rgba(0,0,0,0.6);
}
.dashboard a { color: #fff; text-decoration: none; font-size: 0.95rem; padding: 6px 10px; border-radius: 8px; transition: 0.18s; }
.dashboard a:hover, .dashboard a.active { background: rgba(255,255,255,0.08); }

/* Logo & brand */
.logo-box {
  /* position: fixed;*/
  top: 20px;
  left: 30px; 
  display: flex;
  gap: 12px;
  align-items: center;
   z-index: 12; 
}

.logo { height: 64px; width: auto; }
.brand-text h2 { font-size: 28px; margin: 0; color: #fff; text-shadow: 0 0 12px rgba(255,0,0,0.55); }
.brand-text p { font-size: 11px; margin: 0; color: #ff6b6b; letter-spacing: 1px; text-transform: uppercase; }

/* Main / hero */
main { position: relative; z-index: 5; display: block; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 18px 80px; }

/* hero section */
.hero {  min-height: 90vh;          /* full screen hero */
  display: flex;
  justify-content: center;    /* horizontal center */
  align-items: center;        /* vertical center */
  text-align: center; }
.hero-inner { display: inline-block; max-width: 900px; padding-top: 20px;}
.hero-text { font-size:4rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fff; line-height: 1.1;margin-bottom: 16px; }
.hero-text span { color: #ffffff;  }
.sub-line { margin-top: 20px; color: #d0d0d0; font-size: 1.1rem;opacity:0.85 }
/* .hero-text .highlight { color: #f90000; } */
/* BIG spacer below hero to create "hug" space on scroll */
.hero-spacer { height: 30vh; min-height: 200px; } adjust to taste

/*animated text*/

.animated-text {
  display: inline-block;
  margin-top: 12px;
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  min-height: 1.2em; /* prevents jump */
}

#changing-word {
  display: inline-block;
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-shadow: 0 0 18px rgba(32, 11, 11, 0.6);
  color: red;
}




/* Courses section */
.courses-section { background: transparent; padding-bottom: 80px; }
.section-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom: 22px; padding: 0 6px; }
.section-header h3 { font-size: 1.2rem; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.view-all { color: #ff8a8a; text-decoration: none; font-size: .95rem; }

/* Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 920px) { .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .courses-grid { grid-template-columns: 1fr; } }

/* Course card */
.course-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  display:flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 6px 24px rgba(0,0,0,0.6);
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.7); }

.course-card img { width: 100%; height: 170px; object-fit: cover; display:block; }
.course-body { padding: 14px; display:flex; flex-direction:column; gap:10px; flex:1; }
.course-body h4 { margin:0; font-size:1.05rem; }
.course-body p { color:#cfcfcf; font-size: .92rem; line-height:1.2; margin:0; flex:1; }

/* Card footer: price + enroll */
.card-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top: 6px; }
.price { font-weight:700; color:#ffb3b3; }
.course-card button {
  background: linear-gradient(90deg, rgba(255,59,59,0.95), rgba(255,47,47,0.95));
  border: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: transform .12s, opacity .12s;
}
.course-card button:active { transform: translateY(1px); opacity: .95; }

/* CTA */
.courses-cta { text-align:center; margin-top: 20px; }
.primary-btn {
  display:inline-block; padding: 10px 18px; border-radius: 12px; text-decoration:none;
  background: rgba(255,59,59,0.95); color:#fff; font-weight:700;
  box-shadow: 0 8px 30px rgba(255,59,59,0.07);
}

/* Enroll message style */
.enroll-message {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  background: rgba(0,0,0,0.45);
}
.enroll-card {
  background: linear-gradient(180deg, #0f0f0f, #111111);
  border-radius: 14px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,0.06);
  min-width: 260px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0,0,0,0.6);
}
.enroll-card p { margin-bottom: 12px; color:#fff; }
.close-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 12px;
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
}

.placements {
  margin-top: 80px;
  padding: 60px 20px;
  
  text-align: center;
}
.placements-title {
  font-size: 3rem;
  font-weight: 700;
  font-family: monospace;
  margin-bottom: 40px;
  color: #ffffff;
}
.placements-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 32px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.placements-logos img {
  max-width: 120px;
  width: 100%;
  height: auto;
  margin: auto;

  opacity: 0.75;
  transition: all 0.3s ease;
}
.placements-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}


/* ==============================
   INTERNSHIP POPUP (GLASS UI)
================================ */


/* Overlay */
.internship-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Popup Card */
.internship-card {
  width: 420px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 35px 30px 40px;
  color: #fff;
  position: relative;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.8),
    inset 0 0 0 1px rgba(255,255,255,0.1);
  animation: popupIn 0.6s ease;
  transform-style: preserve-3d;
}

/* Entry animation */
@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.85) rotateX(15deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotateX(0);
  }
}

/* Logo Header */
.popup-header {
  text-align: center;
  margin-bottom: 30px;
}

.popup-header img {
  height: 48px;
  margin-bottom: 12px;
}

.popup-header h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.popup-header p {
  font-size: 0.9rem;
  color: #ccc;
}

/* Form */
.internship-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Floating input */
.input-group {
  position: relative;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: rgba(0,0,0,0.35);
  color: #ffffff;
  font-size: 0.95rem;
}

.input-group label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #c4bbbb;
  font-size: 0.85rem;
  pointer-events: none;
  transition: 0.3s;
}

/* Float effect */
.input-group input:focus + label,
.input-group input:valid + label,
.input-group select:focus + label,
.input-group select:valid + label {
  top: -8px;
  font-size: 0.7rem;
  color: #ff2a2a;
}

/* Button */
.apply-btn {
  margin-top: 10px;
  padding: 14px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, #ff2a2a, #b30000);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255,42,42,0.7);
}

/* Close */
.close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #aaa;
}

.close-btn:hover {
  color: #fff;
}

/* Hidden */
.hidden {
  display: none;
}

/* ==============================
   THANK YOU POPUP
================================ */

.thankyou-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.thankyou-card {
  width: 380px;
  padding: 40px 30px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  text-align: center;
  color: #fff;
  animation: thankYouPop 0.6s ease;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.8),
    inset 0 0 0 1px rgba(255,255,255,0.1);
}

/* Entry animation */
@keyframes thankYouPop {
  from {
    opacity: 0;
    transform: scale(0.8) rotateX(20deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotateX(0);
  }
}

/* Checkmark */
.checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2a2a, #b30000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 0 30px rgba(255,42,42,0.8);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.thankyou-card h2 {
  margin-bottom: 10px;
}

.thankyou-card p {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.thankyou-card button {
  padding: 12px 30px;
  border-radius: 25px;
  border: none;
  background: #ff2a2a;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.thankyou-card button:hover {
  box-shadow: 0 0 25px rgba(255,42,42,0.7);
}

/* ==============================
   CONFETTI
================================ */

.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2000;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 14px;
  opacity: 0.9;
  animation: fall linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}







/* ================= FOOTER ================= */

/* Utility */
.hidden { display: none !important; }