/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  /* Color Palette */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #10b981;
  --accent: #f59e0b;
  --dark-bg: #0f0f23;
  --dark-card: #1a1a2e;
  --dark-card-hover: #252547;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #334155;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #e0b834, #e44114);
  --gradient-secondary: linear-gradient(135deg, #10b981, #06b6d4);
  --gradient-dark: linear-gradient(135deg, #0f0f23, #1e1b4b);
  --gradient: linear-gradient(90deg, #6366f1, #10b981);

  /* Shadows */
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* Base Style */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  background: linear-gradient(to right, #f8fafc, #cbd5e1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeInUp 1s ease-out;
  transition: font-size 0.3s ease;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.logo-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: slideGlow 2s ease-in-out infinite alternate;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
/* Project Launching Countdown */
.countdown-banner {
  background: linear-gradient(90deg, #1e3a8a, #3730a3, #6d28d9);
  padding: 5px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.countdown-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.hackathon-title {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.live-badge {
  background-color: #ef4444;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulse 2s infinite;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
}

.countdown-timer {
  display: flex;
  gap: 8px;
  align-items: center;
}

.timer-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.timer-digits {
  display: flex;
  gap: 4px;
}

.time-unit {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 40px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: flip 1s ease-in-out infinite;
}

.time-unit:nth-child(1) {
  animation-delay: 0.1s;
}

.time-unit:nth-child(2) {
  animation-delay: 0.2s;
}

.time-unit:nth-child(3) {
  animation-delay: 0.3s;
}

.separator {
  font-weight: 700;
  font-size: 1.1rem;
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer 3s infinite;
  z-index: 1;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 15, 35, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo Styles */
.logo h2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
}

.logo span {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
}

/* Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  display: block;
  transition: width 0.3s ease-in-out;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Navbar -CTA Buttons */
.cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-btn,
.signup-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.login-btn {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.signup-btn {
  background: var(--gradient-primary);
  color: white;
}

.signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.15) 0%,
    rgba(15, 15, 35, 0) 70%
  );
  z-index: -2;
}
.hero-content {
  flex: 1;
  max-width: 600px;
  animation: fadeInLeft 1s ease-out;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
}
.first-btn,
.sec-btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.first-btn {
  background: var(--gradient-primary);
  color: white;
}

.first-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.sec-btn {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.sec-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}
/* Typing Container */
.typing-container {
  color: var(--gradient);
  border-right: 4px solid #6366f1;
  white-space: nowrap;
  overflow: hidden;
  width: 50;
  animation: typing 7s steps(40, end) 1s infinite alternate,
    blink 0.7s step-end infinite;
}
.typing-text {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Image with Floating Card */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-out;
}

.floating-card {
  background: var(--dark-card);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-slow);
  animation: float 3s ease-in-out infinite;
}

.floating-card:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.card-header {
  background: #2d2d42;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.card-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27ca3f;
}

.card-title {
  margin-left: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.card-body {
  padding: 1.5rem;
  font-family: "Fira Code", monospace;
  font-size: 0.9rem;
}

.code-line {
  display: flex;
  margin-bottom: 0.3rem;
}

.line-number {
  color: var(--text-muted);
  width: 30px;
  display: inline-block;
  text-align: right;
  margin-right: 1rem;
  user-select: none;
}

.code-comment {
  color: #6a9955;
}
.code-keyword {
  color: #569cd6;
}
.code-function {
  color: #dcdcaa;
}
.code-variable {
  color: #9cdcfe;
}
.code-string {
  color: #ce9178;
}

/* Feature Section */
.features {
  padding: 6rem 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.1) 0%,
    rgba(15, 15, 35, 0) 70%
  );
  z-index: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: var(--dark-card);
  padding: 2.5rem 1.5rem;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
  will-change: transform, box-shadow;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.3);
}

.feature-image img {
  width: 280px;
  height: 220px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* Courses Section */
.courses {
  padding: 80px 0;
  background: linear-gradient(145deg, #0f0f23 0%, #1a1a2e 100%);
  text-align: center;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  padding: 0 20px;
}

.course-card {
  background: #1e1e2f;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  border: 1px solid transparent;
  will-change: transform, box-shadow;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.3);
}

.course-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image {
  transform: scale(1.05);
}

.web-dev {
  background-image: url("https://res.cloudinary.com/devil0wagh/image/upload/v1758738293/web_hooznk.png");
}
.gen-ai {
  background-image: url("https://res.cloudinary.com/devil0wagh/image/upload/v1758738293/genai_isnfd6.png");
}
.dsa {
  background-image: url("https://res.cloudinary.com/devil0wagh/image/upload/v1758738291/cpp_e4dmot.png");
}

.course-content {
  padding: 25px;
  text-align: left;
}

.course-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #fff;
}

.course-content p {
  font-size: 0.95rem;
  color: #d1d5db;
  margin-bottom: 15px;
}

.course-info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 15px;
}

.level {
  background: #6366f1;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}

.course-card:hover .level {
  background: #4f46e5;
}

.course-btn {
  display: inline-block;
  background: #10b981;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.4s ease, transform 0.3s ease;
}

.course-btn:hover {
  background: #059669;
  transform: scale(1.05);
}

/* Mentor Section */
.simple-mentors {
  padding: 6rem 0;
  background: var(--gradient-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

.mentors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.mentor-card {
  background: var(--dark-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
  will-change: transform, box-shadow;
}

.mentor-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.3);
}

.mentor-image {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.mentor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mentor-card:hover .mentor-image img {
  transform: scale(1.05);
}

.mentor-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-primary);
  color: rgb(247, 247, 247);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.mentor-info {
  padding: 1.5rem;
}

.mentor-role {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.mentor-bio {
  margin-bottom: 1.5rem;
}

.mentor-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.skill {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

.connect-btn {
  padding: 0.6rem 1.5rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.connect-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Stats Saction */
.stats {
  padding: 6rem 0;
  background: linear-gradient(145deg, rgb(15, 15, 35) 0%, rgb(26, 26, 46) 100%);
  color: white;
  text-align: center;
}

.stats h2 {
  color: white;
}

.stats h2::after {
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-card {
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Testimonials Section  */
.testimonials {
  padding: 6rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--gradient-dark);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
  will-change: transform, box-shadow;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.3);
}

.testimonial-content {
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  opacity: 0.3;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-info h4 {
  margin-bottom: 0.2rem;
}

.author-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--gradient-dark);
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 1rem;
}

.cta-content p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-btn {
  padding: 1rem 2.5rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cta-btn a {
  text-decoration: none;
  color: white;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background: var(--dark-card);
}

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

.contact-header p {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.submit-btn {
  display: block;
  margin: 2rem auto 0;
  padding: 1rem 2.5rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Footer Section */
.footer {
  background: #0a0a1a;
  border-top: 1px solid var(--border-color);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 4rem 0 2rem 2rem;
  margin: auto;
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-logo h3 {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.footer-logo h3 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}
.footer-description {
  margin: 1rem 0 1.5rem;
}

.social-links {
  display: flex;
  flex-direction: row;
  gap: 0.9rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--text-primary);
  transform: translateX(5px);
}

.youtube:hover {
  color: #ff0000;
}
.instagram:hover {
  color: #e4405f;
}
.x:hover {
  color: #263945;
}
.linkedin:hover {
  color: #0077b5;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 5px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-secondary);
}

.footer-bottom-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding: 0.8rem;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  align-items: end;
  font-size: 28px;
  color: var(--dark);
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
  padding: 6px 10px;
  border-radius: 8px;
}

/* Animation Effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg)
      translateY(-10px);
  }
}

@keyframes slideGlow {
  from {
    width: 40%;
    opacity: 0.7;
  }
  to {
    width: 60%;
    opacity: 1;
  }
}

/* Animation of Typing Container */
@keyframes typing {
  0% {
    width: 0;
  }

  50% {
    width: 100%;
  }

  100% {
    width: 0;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Animation Of Countdown */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes flip {
  0%,
  100% {
    transform: perspective(200px) rotateX(0deg);
  }
  50% {
    transform: perspective(200px) rotateX(10deg);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
/* Tablet View */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero-buttons {
    justify-content: center;
  }
  .first-btn {
    margin-bottom: 1.5rem;
  }
  .typing-text {
    font-size: 3rem;
    font-weight: 800;
  }
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }
}

/* Mobile-first */
@media (max-width: 768px) {
  /* Mobile Navigation */
  .menu-icon {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 225px;
    right: 20px;
    width: 220px;
    background: linear-gradient(135deg, var(--dark-card), var(--secondary));
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 999;
  }

  .nav-links li {
    margin: 0;
    width: 100%;
  }

  .nav-links a {
    color: #fff;
    padding: 20px 0;
    width: 100%;
    text-align: center;
    display: block;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
  }

  .menu-toggle:checked + .menu-icon + .nav-links {
    max-height: 400px;
    opacity: 1;
  }

  .menu-toggle:checked + .menu-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: rotate(90deg);
  }

  /* Mobile Layout Adjustments */
  .hero-content,
  .hero-image {
    width: 100%;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 0 1rem;
  }

  .first-btn,
  .sec-btn {
    width: 100%;
    max-width: 300px;
    transition: var(--transition);
    cursor: pointer;
  }

  .cta-buttons {
    display: none;
  }

  /* typing container */

  .typing-text {
    margin-top: 110px;
    font-size: 1.8rem;
    font-weight: 800;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .courses h2 {
    font-size: 2rem;
  }

  .course-content {
    text-align: center;
  }

  .course-info {
    justify-content: center;
  }

  /* countdown */
  .countdown-content {
    flex-direction: column;
    gap: 12px;
  }

  .hackathon-title {
    font-size: 1rem;
  }

  .time-unit {
    font-size: 1rem;
    min-width: 35px;
    padding: 4px 8px;
  }
}
