/*========================================= KANUSHRI TECHNOLOGIES Version : 1.0 =========================================*/

/*========================================= Google Font =========================================*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

/*========================================== CSS Variables =========================================*/
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #f97316;
  --secondary-dark: #ea580c;
  --dark: #08111f;
  --dark-light: #111c2d;
  --text: #475569;
  --white: #ffffff;
  --light: #f8fafc;
  --border: #e2e8f0;
  --success: #10b981;

  --container: 1200px;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.2);

  --transition: 0.35s ease;
}

/*=========================================   Reset =========================================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
}

section {
  padding: 120px 0;
}

/*========================================= Utilities =========================================*/
.container {
  width: min(var(--container), 92%);
  margin: auto;
}

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

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title {
  margin-top: 15px;
  font-size: 52px;
  line-height: 1.15;
  color: var(--dark);
}

.section-description {
  margin-top: 20px;
  color: var(--text);
  line-height: 1.8;
}

/*========================================= Buttons =========================================*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--dark);
}

/*================================== Header ==================================*/

.header {
  position: fixed;
  /* top:20px; */
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header .container {
  max-width: 1400px;
  height: 88px;
  margin: auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;

  background: rgba(8, 17, 31, 0.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);

  background: white;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);

  width: 100%;
  max-width: 1600px;
}

/* Logo */

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 180px;
  height: auto;
}

/* Navigation */

.navbar {
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  color: #0f172a;
  font-size: 17px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #f97316;
}

/* Buttons */

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions .btn {
  height: 54px;
  padding: 0 28px;
  white-space: nowrap;
}

/* Mobile */

.mobile-menu {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 26px;
  color: #0f172a;
}

/*================================== Mobile Header ==================================*/

@media (max-width: 992px) {
  .header .container {
    grid-template-columns: 180px auto;
    padding: 0 20px;
    height: 80px;
    position: relative;
  }

  .logo img {
    width: 150px;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: end;
  }

  .navbar {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 9999;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 30px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    color: #0f172a;
    font-size: 18px;
  }
}

/*=========================================  Hero =========================================*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, #1d4ed8 0%, transparent 30%),
    radial-gradient(circle at bottom left, #f97316 0%, transparent 25%),
    linear-gradient(135deg, #08111f, #111c2d);
  padding-top: 140px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.hero-content {
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 800;
}

.hero h1 span {
  color: var(--secondary);
}

.hero p {
  max-width: 620px;
  margin: 30px 0 45px;
  color: #cbd5e1;
  line-height: 1.9;
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/*========================================= Hero Image =========================================*/
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 650px;
}

.hero-image img {
  width: 100%;
  max-width: 560px;
  position: relative;
  z-index: 5;
  animation: floatImage 6s ease-in-out infinite;
  border-radius: 8px;
}

/*========================================= Floating Technology Cards =========================================*/
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: #fff;
  box-shadow: var(--shadow);
  z-index: 10;
  animation: floating 5s ease-in-out infinite;
}

.floating-card i {
  font-size: 22px;
}

.floating-card span {
  font-size: 15px;
  font-weight: 600;
}

.angular {
  top: 60px;
  left: 10px;
}

.node {
  top: 140px;
  right: -10px;
}

.python {
  bottom: 180px;
  left: -20px;
}

.aws {
  bottom: 70px;
  right: 20px;
}

.ai {
  top: 280px;
  left: 40%;
}

/*========================================= Statistics =========================================*/
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.stat-card {
  padding: 24px;
  text-align: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  transition: var(--transition);
}

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

.stat-card h3 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.stat-card span {
  font-size: 15px;
  color: #cbd5e1;
}

/*========================================= Animated Background =========================================*/
.hero::after {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  right: -200px;
  top: -200px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 70%);
  animation: pulseGlow 8s linear infinite;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-shape.one {
  width: 250px;
  height: 250px;
  background: #2563eb;
  top: 80px;
  right: 80px;
}

.hero-shape.two {
  width: 220px;
  height: 220px;
  background: #f97316;
  bottom: 60px;
  left: 50%;
}

/*========================================= Scroll Indicator =========================================*/
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 26px;
  animation: scrollDown 2s infinite;
}

/*========================================= Animations =========================================*/
@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes scrollDown {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

/*========================================= Responsive =========================================*/
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-image {
    min-height: 500px;
  }

  .floating-card {
    transform: scale(0.9);
  }
}

@media (max-width: 768px) {
  .header .container {
    padding: 14px 20px;
  }

  .header-actions {
    display: none;
  }

  .navbar {
    display: flex;
  }

  .mobile-menu {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .floating-card {
    display: none;
  }
}

/*============================== Courses ==============================*/

.courses {
  background: #fff;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

.section-heading h2 {
  margin: 18px 0;
  font-size: 42px;
  line-height: 1.15;
  color: var(--dark);
}

.section-heading h2 span {
  color: var(--primary);
}

.section-heading p {
  color: var(--text);
  line-height: 1.8;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.course-card {
  position: relative;
  padding: 40px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--border);
  transition: 0.35s;
  overflow: hidden;
}

.course-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow);
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.35s;
}

.course-card:hover::before {
  transform: scaleX(1);
}

.featured {
  background: linear-gradient(135deg, #0f172a, #172554);
  color: #fff;
}

.featured h3,
.featured p {
  color: #fff;
}

.course-icon {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
  color: #fff;
  margin-bottom: 25px;
}

.programming {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.fullstack {
  background: linear-gradient(135deg, #f97316, #fb923c);
}

.ai {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.course-card h3 {
  margin-bottom: 15px;
  font-size: 26px;
}

.course-card p {
  line-height: 1.8;
  margin-bottom: 25px;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills span {
  padding: 10px 18px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.featured .skills span {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 992px) {
  .course-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 40px;
  }
}

/*================================== Projects ==================================*/

.projects {
  background: #f8fafc;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.35s;
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.project-content {
  padding: 28px;
}

.project-category {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.project-content h3 {
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 14px;
}

.project-content p {
  line-height: 1.8;
  margin-bottom: 22px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tags span {
  padding: 8px 14px;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.featured {
  position: relative;
}

.featured-label {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 14px;
  background: var(--secondary);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/*================================== Expert ==================================*/

.trainer {
  background: #fff;
}

.trainer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.image-wrapper {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.image-wrapper img {
  width: 100%;
  display: block;
}

.trainer-image {
  position: relative;
}

.experience-card {
  position: absolute;
  right: -20px;
  bottom: 40px;
  background: #2563eb;
  color: #fff;
  padding: 25px 35px;
  border-radius: 20px;
  text-align: center;
}

.experience-card h2 {
  font-size: 48px;
}

.trainer-content h2 {
  font-size: 42px;
  margin: 20px 0;
  line-height: 1.2;
}

.trainer-content h2 span {
  color: var(--primary);
}

.trainer-content p {
  line-height: 1.9;
  margin-bottom: 35px;
}

.trainer-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: 0.35s;
}

.highlight:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

.highlight i {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--primary);
}

.trainer-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.btn-outline-dark {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 992px) {
  .trainer-grid {
    grid-template-columns: 1fr;
  }

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

  .trainer-highlights {
    grid-template-columns: 1fr;
  }

  .trainer-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .experience-card {
    position: static;
    margin-top: 20px;
  }
}

/*================================== WHY CHOOSE US ==================================*/

.why-us {
  background: #f8fafc;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  background: #fff;
  padding: 35px 30px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: 0.35s;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.why-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 28px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 50%, #fb923c 100%);
  color: #fff;
  font-size: 34px;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
  transition: 0.35s ease;
}

.why-card:hover .why-icon {
  transform: translateY(-6px) rotate(-5deg) scale(1.08);
  box-shadow: 0 20px 45px rgba(249, 115, 22, 0.35);
}

.why-card h3 {
  margin-bottom: 15px;
  color: var(--dark);
  font-size: 22px;
}

.why-card p {
  color: var(--text);
  line-height: 1.8;
}

@media (max-width: 1200px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/*================================== Admission CTA ==================================*/

.admission-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb, #1d4ed8, #0f172a);
  padding: 120px 0;
}

.admission-cta::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -250px;
  right: -180px;
}

.admission-cta::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.18);
  left: -120px;
  bottom: -150px;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: auto;
  text-align: center;
}

.admission-cta .section-tag {
  color: #fff;
}

.admission-cta h2 {
  color: #fff;
  font-size: 56px;
  margin: 20px 0;
  line-height: 1.15;
}

.admission-cta p {
  color: #dbeafe;
  line-height: 1.9;
  font-size: 18px;
}

.cta-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
}

.cta-features span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
}

.cta-features i {
  color: #22c55e;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: #2563eb;
}

@media (max-width: 768px) {
  .admission-cta h2 {
    font-size: 38px;
  }

  .cta-features {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
}

/*================================== Software Services ==================================*/

.services {
  background: #ffffff;
}

.services-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.services-left h2 {
  margin: 20px 0;
  font-size: 52px;
  line-height: 1.2;
  color: var(--dark);
}

.services-left h2 span {
  color: var(--primary);
}

.services-left > p {
  margin-bottom: 40px;
  line-height: 1.9;
}

.service-list {
  display: grid;
  gap: 22px;
}

.service-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: 0.35s;
}

.service-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

.service-item i {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.service-item h4 {
  margin-bottom: 8px;
  color: var(--dark);
}

.service-item p {
  color: var(--text);
}

.services-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.services-card {
  padding: 35px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a, #172554);
  color: #fff;
  box-shadow: var(--shadow);
}

.service-number {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.services-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.services-card p {
  color: #cbd5e1;
  line-height: 1.8;
}

@media (max-width: 992px) {
  .services-content {
    grid-template-columns: 1fr;
  }

  .services-left h2 {
    font-size: 40px;
  }
}

/*================================== Testimonials ==================================*/

.testimonials {
  background: #f8fafc;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #fff;
  padding: 35px;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: 0.35s;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.testimonial-card.featured {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
}

.quote {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--primary);
  font-size: 22px;
}

.featured .quote {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.testimonial-card p {
  line-height: 1.8;
  margin-bottom: 30px;
}

.student {
  display: flex;
  align-items: center;
  gap: 15px;
}

.student img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.student h4 {
  margin-bottom: 5px;
}

.student span {
  font-size: 14px;
  color: #64748b;
}

.featured .student span {
  color: #dbeafe;
}

@media (max-width: 992px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/*================================= Courses ==================================*/

.courses {
  background: #fff;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 70px;
}

.course-card {
  position: relative;
  padding: 35px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: 0.35s;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.course-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 28px;
}

.blue {
  background: #2563eb;
}
.orange {
  background: #f97316;
}
.green {
  background: #10b981;
}
.red {
  background: #ef4444;
}
.purple {
  background: #7c3aed;
}

.course-level {
  padding: 8px 16px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
}

.course-card h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

.course-card p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-list li {
  position: relative;
  padding-left: 24px;
}

.course-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.featured {
  border: 2px solid var(--primary);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.dark {
  background: #08111f;
  color: #fff;
}

.dark h3,
.dark li {
  color: #fff;
}

.dark .btn {
  margin-top: 25px;
  width: 100%;
}

@media (max-width: 992px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
}

/*================================== FAQ ==================================*/

.faq {
  background: #fff;
}

.faq-wrapper {
  max-width: 900px;
  margin: 70px auto 0;
}

.faq-item {
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: 0.3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
}

.faq-question i {
  color: var(--primary);
  transition: 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 30px 25px;
  line-height: 1.9;
  color: var(--text);
}

.faq-item.active .faq-answer {
  max-height: 220px;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 16px;
    padding: 22px;
  }

  .faq-answer p {
    padding: 0 22px 22px;
  }
}

/*================================== Contact ==================================*/

.contact {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 50px;
  margin-top: 70px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  transition: 0.3s;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.info-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: #2563eb;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
}

.info-card h4 {
  margin-bottom: 6px;
  color: var(--dark);
}

.info-card a {
  color: var(--text);
  word-break: break-word;
}

.contact-form {
  padding: 40px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 22px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  outline: none;
  font-size: 16px;
  transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

textarea {
  resize: vertical;
}

.submit-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/*================================== Footer ==================================*/

.footer {
  background: #08111f;
  color: #cbd5e1;
  padding: 90px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 50px;
}

.footer-logo {
  width: 190px;
  margin-bottom: 25px;
  border-radius: 8px;
  background-color: white;
}

.footer-about p {
  line-height: 1.9;
  margin-bottom: 30px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 22px;
  font-size: 20px;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer ul li {
  color: #cbd5e1;
}

.footer ul li a {
  transition: 0.3s;
}

.footer ul li a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact i {
  color: var(--secondary);
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: #cbd5e1;
}

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

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
