:root {
  /* Updated Colors to Match NT Logo */
  --primary-color: #2563eb;
  /* Blue - matches the T in your logo */
  --primary-hover: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary-color: #dc2626;
  /* Red - matches the N in your logo */
  --accent-color: #2563eb;
  --red-accent: #dc2626;
  /* Red accent matching logo */

  /* Text Colors */
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-dark: #111827;
  --text-gray: #6b7280;
  --text-dark-blue: #1e40af;
  --text-light-gray: #374151;
  --text-heading: #111827;

  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-light-blue: #eff6ff;
  --bg-light-red: #fef2f2;
  --bg-gradient-start: #dbeafe;
  --bg-overlay: rgba(37, 99, 235, 0.8);

  /* Border Colors */
  --border-light: #e5e7eb;
  --border-gray: #d1d5db;
  --border-focus: #2563eb;

  /* Shadow Colors */
  --shadow-light: rgba(37, 99, 235, 0.1);
  --shadow-medium: rgba(37, 99, 235, 0.15);
  --shadow-dark: rgba(37, 99, 235, 0.08);
  --shadow-popup: rgba(37, 99, 235, 0.1);
  --shadow-nav: rgba(37, 99, 235, 0.3);
  --shadow-red: rgba(220, 38, 38, 0.1);
}


/* Banner Section */
.banner {
  min-height: 100vh;
  background: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;

}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 90%;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.08;
  animation: float 15s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #3b82f6, #2563eb);
  border-radius: 50%;
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, #ef4444, #dc2626);
  border-radius: 30px;
  top: 20%;
  right: -5%;
  animation-delay: 5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, #60a5fa, #3b82f6);
  border-radius: 50%;
  bottom: 10%;
  left: 10%;
  animation-delay: 10s;
}

.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.banner-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.banner-text {
  color: #1f2937;
}

.banner-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #111827;
}

.title-static {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInLeft 1s ease-out;
}

.typewriter-container {
  display: inline-block;
  margin-top: 0.5rem;
}

.typewriter-text {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-right: 3px solid #ef4444;
  padding-right: 5px;
  animation: blink 1s infinite;
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1.1;
}

.banner-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #6b7280;
  animation: slideInLeft 1s ease-out 0.4s both;
}

.banner-buttons {
  display: flex;
  gap: 1rem;
  animation: slideInLeft 1s ease-out 0.8s both;
}

.btn-banner {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-primary-banner {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-primary-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary-banner {
  background: #ffffff;
  color: #3b82f6;
  border: 2px solid #3b82f6;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary-banner:hover {
  background: #3b82f6;
  color: #ffffff;
  transform: translateY(-3px);
}

.banner-image {
  position: relative;
  animation: slideInRight 1s ease-out 0.5s both;
}

.banner-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: floatCard 6s ease-in-out infinite;
  border: 1px solid rgba(229, 231, 235, 0.8);
  color: #1f2937;
}

.card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 20%;
  left: -15%;
  animation-delay: 3s;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.card-desc {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Enhanced Animations with Performance Optimizations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-20px) rotate(120deg);
  }

  66% {
    transform: translateY(10px) rotate(240deg);
  }
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes blink {

  0%,
  50% {
    border-color: #ef4444;
  }

  51%,
  100% {
    border-color: transparent;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

/* Base Styles */
.banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
  padding: 2rem 0;
}

.banner-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.banner-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.banner-text {
  z-index: 3;
}

.banner-title,
.typewriter-text {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #111827;
}

.typewriter-text {
  border-right: 3px solid #ef4444;
  padding-right: 5px;
  animation: blink 1.5s infinite;
}

.banner-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #6b7280;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.banner-buttons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.btn-banner {
  padding: 1.2rem 2.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.btn-primary-banner {
  background: #ef4444;
  color: white;
}

.btn-secondary-banner {
  background: transparent;
  color: #111827;
  border: 2px solid #e5e7eb;
}

.btn-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.banner-image {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  z-index: 3;
}

.banner-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Floating Elements */
.floating-card {
  position: absolute;
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  font-weight: 500;
  color: #111827;
  z-index: 4;
  animation: floatCard 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-1 {
  top: 15%;
  right: -5%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 20%;
  left: -8%;
  animation-delay: 2s;
}

/* Floating Shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #f87171);
  opacity: 0.08;
  animation: float 15s ease-in-out infinite;
  z-index: 1;
}

.shape-1 {
  width: 250px;
  height: 250px;
  top: -10%;
  left: -12%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.shape-2 {
  width: 180px;
  height: 180px;
  top: 20%;
  right: -8%;
  animation-delay: 5s;
  animation-duration: 18s;
}

.shape-3 {
  width: 140px;
  height: 140px;
  bottom: 10%;
  left: 10%;
  animation-delay: 10s;
  animation-duration: 22s;
}

/* Animation Classes */
.title-static {
  animation: slideInLeft 1s ease-out;
}

.banner-description {
  animation: fadeIn 1s ease-out 0.3s both;
}

.banner-buttons {
  animation: slideInUp 1s ease-out 0.6s both;
}

.banner-image {
  animation: slideInRight 1s ease-out 0.2s both;
}

/* Large Desktop */
@media (min-width: 1200px) {
  .banner-container {
    max-width: 1400px;
    padding: 3rem;
  }

  .banner-title,
  .typewriter-text {
    font-size: 4rem;
  }

  .banner-description {
    font-size: 1.3rem;
  }
}

/* Desktop */
@media (max-width: 1199px) and (min-width: 992px) {
  .banner-container {
    padding: 2.5rem;
  }

  .banner-content {
    gap: 3.5rem;
  }
}

/* Large Tablets */
@media (max-width: 991px) and (min-width: 769px) {
  .banner-container {
    padding: 2rem;
  }

  .banner-content {
    gap: 3rem;
  }

  .banner-title,
  .typewriter-text {
    font-size: 3.2rem;
  }

  .banner-description {
    font-size: 1.15rem;
  }

  .floating-card {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .card-1 {
    top: 10%;
    right: -6%;
  }

  .card-2 {
    bottom: 15%;
    left: -10%;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .banner {
    min-height: 90vh;
    padding: 1.5rem 0;
    background: #ffffff;
  }

  .banner-container {
    padding: 1.5rem;
  }

  .banner-content {
    grid-template-columns: 1fr;
    gap: 1.5rem; /* Reduced from 2.5rem */
    text-align: center;
  }

  .banner-text {
    order: 2;
  }

  .banner-image {
    order: 1;
    max-width: 400px;
    margin: 0 auto;
  }

  .banner-title,
  .typewriter-text {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: #111827;
  }

  .banner-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
    color: #6b7280;
  }

  .banner-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .btn-banner {
    width: 100%;
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
    justify-content: center;
    border-radius: 50px;
    min-width: auto;
  }

  /* Keep floating cards but make them smaller and better positioned */
  .floating-card {
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: white;
    color: #111827;
  }

  .card-1 {
    top: 8%;
    right: 5%;
    transform: scale(0.8);
  }

  .card-2 {
    bottom: 12%;
    left: 5%;
    transform: scale(0.8);
  }

  /* Adjust floating shapes */
  .shape-1 {
    width: 200px;
    height: 200px;
    top: -6%;
    left: -15%;
    opacity: 0.06;
  }

  .shape-2 {
    width: 150px;
    height: 150px;
    top: 25%;
    right: -10%;
    opacity: 0.06;
  }

  .shape-3 {
    width: 110px;
    height: 110px;
    bottom: 15%;
    left: 8%;
    opacity: 0.06;
  }
}

/* Mobile Landscape */
@media (max-width: 640px) {
  .banner {
    min-height: 85vh;
    padding: 1rem 0;
    background: #ffffff;
  }

  .banner-container {
    padding: 1rem;
  }

  .banner-content {
    gap: 1rem;
  }

  .banner-title,
  .typewriter-text {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #111827;
  }

  .banner-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    max-width: 90%;
    color: #6b7280;
  }

  .banner-buttons {
    gap: 1rem;
    max-width: 350px;
  }

  .btn-banner {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }

  .banner-image {
    max-width: 350px;
  }

  /* Mobile floating cards - smaller and repositioned */
  .floating-card {
    padding: 0.6rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 10px;
    background: white;
    color: #111827;
  }

  .card-1 {
    top: 5%;
    right: 2%;
    transform: scale(0.7);
  }

  .card-2 {
    bottom: 8%;
    left: 2%;
    transform: scale(0.7);
  }

  /* Smaller floating shapes */
  .shape-1 {
    width: 160px;
    height: 160px;
    top: -4%;
    left: -18%;
    opacity: 0.05;
  }

  .shape-2 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: -12%;
    opacity: 0.05;
  }

  .shape-3 {
    width: 90px;
    height: 90px;
    bottom: 12%;
    left: 5%;
    opacity: 0.05;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  .banner {
    min-height: 65vh;
    padding: 0.8rem 0;
    background: #ffffff;
  }

  .banner-container {
    padding: 0.8rem;
  }

  .banner-content {
    gap: 0.8rem;
  }

  .banner-title,
  .typewriter-text {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: #111827;
  }

  .typewriter-text {
    border-right-width: 2px;
    padding-right: 3px;
  }

  .banner-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
    max-width: 95%;
    color: #6b7280;
  }

  .banner-buttons {
    gap: 0.6rem;
    max-width: 100%;
    padding: 0 1rem;
  }

  .btn-banner {
    width: 100%;
    padding: 0.9rem 1.8rem;
    font-size: 0.9rem;
    border-radius: 45px;
  }

  .banner-image {
    max-width: 300px;
  }

  /* Very small floating cards for mobile */
  .floating-card {
    padding: 0.5rem 0.7rem;
    font-size: 0.7rem;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    background: white;
    color: #111827;
  }

  .card-1 {
    top: 3%;
    width: 140px;
    right: 1%;
    transform: scale(0.6);
  }

  .card-2 {
    width: 140px;
    bottom: 5%;
    left: 1%;
    transform: scale(0.6);
  }

  /* Minimal floating shapes */
  .shape-1 {
    width: 120px;
    height: 120px;
    top: -2%;
    left: -20%;
    opacity: 0.04;
  }

  .shape-2 {
    width: 100px;
    height: 100px;
    top: 35%;
    right: -15%;
    opacity: 0.04;
  }

  .shape-3 {
    width: 80px;
    height: 80px;
    bottom: 8%;
    left: 3%;
    opacity: 0.04;
  }
}

/* Small Mobile */
@media (max-width: 360px) {
  .banner {
    min-height: 75vh;
    padding: 0.5rem 0;
    background: #ffffff;
  }

  .banner-container {
    padding: 0.5rem;
  }

  .banner-content {
    gap: 0.6rem;
  }

  .banner-title,
  .typewriter-text {
    font-size: 1.7rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
    color: #111827;
  }

  .banner-description {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    padding: 0;
    color: #6b7280;
  }

  .banner-buttons {
    gap: 0.4rem;
    padding: 0 0.5rem;
  }

  .btn-banner {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    border-radius: 40px;
  }

  .banner-image {
    max-width: 260px;
  }

  /* Hide floating cards on very small screens or make them tiny */
  .floating-card {
    padding: 0.4rem 0.6rem;
    font-size: 0.65rem;
    border-radius: 6px;
    background: white;
    color: #111827;
  }

  .card-1 {
    top: 2%;
    right: 0%;
    transform: scale(0.5);
  }

  .card-2 {
    bottom: 3%;
    left: 0%;
    transform: scale(0.5);
  }

  /* Ultra minimal floating shapes */
  .shape-1 {
    width: 100px;
    height: 100px;
    top: 0%;
    left: -22%;
    opacity: 0.03;
  }

  .shape-2 {
    width: 80px;
    height: 80px;
    top: 40%;
    right: -18%;
    opacity: 0.03;
  }

  .shape-3 {
    width: 60px;
    height: 60px;
    bottom: 5%;
    left: 2%;
    opacity: 0.03;
  }
}

/* Extra Small Mobile */
@media (max-width: 320px) {

  .banner-content {
    gap: 0.6rem; /* Reduced from 1.5rem */
  }
  .banner-title,
  .typewriter-text {
    font-size: 1.5rem;
    color: #111827;
  }

  .banner-description {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.8rem;
  }

  .btn-banner {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }

  .banner-image {
    max-width: 240px;
  }

  /* Hide floating cards on extra small screens */
  .floating-card {
    display: none;
  }

  .shape {
    opacity: 0.02;
  }
}

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
  .banner {
    min-height: 100vh;
    padding: 0.5rem 0;
    background: #ffffff;
  }

  .banner-content {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    text-align: left;
    align-items: center;
  }

  .banner-text {
    order: 1;
  }

  .banner-image {
    order: 2;
    max-width: 250px;
  }

  .banner-title,
  .typewriter-text {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #111827;
  }

  .banner-description {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    color: #6b7280;
  }

  .banner-buttons {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .btn-banner {
    max-width: 160px;
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }

  /* Small floating cards for landscape */
  .floating-card {
    padding: 0.4rem 0.6rem;
    font-size: 0.6rem;
    background: white;
    color: #111827;
  }

  .card-1 {
    top: 5%;
    right: 2%;
    transform: scale(0.5);
  }

  .card-2 {
    bottom: 5%;
    left: 2%;
    transform: scale(0.5);
  }
}

/* Performance Optimizations */
.shape,
.floating-card {
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.banner-title,
.typewriter-text,
.banner-description,
.banner-buttons,
.banner-image {
  will-change: opacity, transform;
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn-banner:hover {
    transform: none;
  }

  .btn-primary-banner:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  .btn-secondary-banner:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  /* Reduce animation intensity on touch devices */
  .shape {
    animation-duration: 25s;
  }

  .floating-card {
    animation-duration: 6s;
  }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .shape {
    animation: none;
  }

  .floating-card {
    animation: none;
  }

  .typewriter-text {
    animation: blink 2s infinite;
  }

  .title-static,
  .banner-description,
  .banner-buttons,
  .banner-image {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Print Styles */
@media print {
  .banner {
    min-height: auto;
    background: white !important;
  }

  .shape,
  .floating-card {
    display: none !important;
  }

  .banner-title,
  .typewriter-text {
    color: black !important;
    font-size: 24pt !important;
  }

  .banner-description {
    color: black !important;
    font-size: 12pt !important;
  }

  .banner-buttons {
    display: none !important;
  }
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}

.hero-text {
  max-width: 50%;
  color: var(--bg-white);
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--orange-accent);
}

.hero-buttons {
  margin-top: 20px;
}

.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  margin-right: 10px;
  cursor: pointer;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--bg-white);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary-color);
}

.hero-image img {
  width: 400px;
}

.success {
  background: var(--bg-white);
  padding: 40px;
  text-align: center;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.stats div {
  text-align: center;
}

.stats h2 {
  font-size: 32px;
  color: var(--primary-color);
}

.overview,
.what-torc,
.key-features,
.explore-courses,
.testimonials,
.latest-news {
  padding: 60px 20px;
  text-align: center;
}

.feature-cards,
.what-torc-images,
.feature-list,
.course-cards,
.news-items {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.card,
.feature-item,
.testimonial-card,
.news-item {
  background: var(--bg-white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow-light);
  max-width: 300px;
}

.our-success {
  background-color: var(--bg-light);
  padding: 80px 20px;
  text-align: center;
}

.our-success h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.our-success p {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin: 0 auto 25px;
  max-width: 720px;
  line-height: 1.6;
}

.success-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
}

.stat {
  background: var(--bg-white);
  padding: 30px 25px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  width: 200px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.stat:hover {
  box-shadow: 0 8px 24px var(--shadow-dark);
  transform: translateY(-5px);
}

.stat h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.stat p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light-gray);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
  animation: fadeIn 0.3s ease-out;
}

.popup-content {
  background: var(--bg-white);
  position: relative;
  border-radius: 20px;
  width: 800px;
  max-width: 90%;
  max-height: 90vh;
  box-shadow: 
    0 25px 50px var(--shadow-medium),
    0 10px 25px var(--shadow-dark);
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: row;
}

.popup-image-section {
  flex: 1;
  background-image: url('https://images.pexels.com/photos/289738/pexels-photo-289738.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  position: relative;
  border-radius: inherit;
  margin: 9px 18px;
}

.popup-form-section {
  flex: 1;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  z-index: 10;
}

.close-btn:hover {
  color: var(--bg-white);
  background: linear-gradient(135deg, var(--red-accent), #b91c1c);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 4px 12px var(--shadow-red);
}

.popup-content h2 {
  font-size: 35px;
  color: #000000;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-align: left;
}

.popup-content input[type="tel"] {
  width: 100%;
  padding: 18px 24px;
  margin: 20px 0;
  border: 2px solid var(--border-gray);
  border-radius: 30px;
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-white);
  box-shadow: 
    inset 0 2px 4px var(--shadow-dark),
    0 1px 2px var(--shadow-dark);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #000000;
}

.popup-content input[type="tel"]:focus {
  border-color: var(--border-focus);
  box-shadow: 
    0 0 0 3px var(--shadow-light),
    inset 0 2px 4px var(--shadow-dark),
    0 4px 12px var(--shadow-medium);
  outline: none;
  transform: translateY(-1px);
}

.popup-content input[type="tel"]::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.popup-content button {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--red-accent) 100%);
  color: var(--bg-white);
  padding: 16px 32px;
  margin-top: 7px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 15px rgba(37, 99, 235, 0.3),
    0 2px 4px var(--shadow-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 120px;
}

.popup-content button:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(37, 99, 235, 0.4),
    0 4px 8px var(--shadow-medium);
}

.popup-content button:active {
  transform: translateY(0);
  box-shadow: 
    0 2px 8px rgba(37, 99, 235, 0.3),
    0 1px 2px var(--shadow-dark);
}

.popup-overlay.active {
  display: flex;
}

body.modal-open {
  overflow: hidden;
}

.popup-overlay.active .popup-content {
  transform: scale(1) translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .popup-content {
    flex-direction: column;
    width: 350px;
    max-height: 80vh;
  }

  .popup-image-section {
    min-height: 200px;
    flex: none;
  }

  .popup-form-section {
    padding: 30px 25px;
    flex: none;
  }

  .popup-content h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #000000;
  }

  .popup-content input[type="tel"] {
    padding: 16px 20px;
    font-size: 16px;
    margin: 15px 0;
    color: #000000;
  }

  .popup-content button {
    padding: 14px 28px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .popup-content {
    width: 320px;
    margin: 20px;
  }

  .popup-image-section {
    min-height: 180px;
  }

  .popup-form-section {
    padding: 25px 20px;
  }

  .popup-content h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #000000;
  }
}

@media (max-width: 360px) {
  .popup-content {
    width: 280px;
  }

  .popup-form-section {
    padding: 20px 15px;
  }
}



.why-choose-us {
  background: linear-gradient(135deg, var(--bg-light-blue) 0%, var(--bg-white) 50%, var(--bg-light-red) 100%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.why-choose-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(37, 99, 235, 0.03) 50%, transparent 70%);
  pointer-events: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 32px var(--shadow-light);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.6s;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px var(--shadow-medium);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--bg-white);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  /* REMOVED FLOATING ANIMATION - ICONS ARE NOW STABLE */
}

.feature-card:nth-child(odd):hover .feature-icon {
  background: linear-gradient(135deg, var(--secondary-color), #ef4444);
  /* REMOVED ROTATION - ONLY COLOR CHANGES ON HOVER */
}

.feature-card:nth-child(even):hover .feature-icon {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
  /* REMOVED ROTATION - ONLY COLOR CHANGES ON HOVER */
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

.stats-section {
  margin-top: 80px;
  text-align: center;
  background: var(--bg-white);
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow-light);
  border: 1px solid var(--border-light);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stats-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stat-item.show {
  opacity: 1;
  transform: translateY(0);
}


.stats-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stat-item {
  position: relative;
  /* ADDED STAGGERED ANIMATION FOR EACH STAT ITEM */
  opacity: 0;
  transform: translateY(30px);
}

.stat-item:nth-child(1) {
  animation: slideUpStat 0.6s ease-out 2s forwards;
}

.stat-item:nth-child(2) {
  animation: slideUpStat 0.6s ease-out 2.2s forwards;
}

.stat-item:nth-child(3) {
  animation: slideUpStat 0.6s ease-out 2.4s forwards;
}

.stat-item:nth-child(4) {
  animation: slideUpStat 0.6s ease-out 2.6s forwards;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}



/* Responsive Design */
@media (max-width: 768px) {
  .why-choose-us {
    padding: 60px 15px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 30px 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stats-section {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stats-title {
    font-size: 2rem;
  }
}

/* Animation for cards appearing */
.feature-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
  animation-delay: 0.6s;
}

.feature-card:nth-child(7) {
  animation-delay: 0.7s;
}

.feature-card:nth-child(8) {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* NEW ANIMATIONS FOR STATS SECTION */
@keyframes slideUpStats {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUpStat {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card:nth-child(odd) {
  border-left: 4px solid var(--primary-color);
}

.feature-card:nth-child(even) {
  border-left: 4px solid var(--secondary-color);
}

.student-review-wrapper {
  padding: 100px 20px;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-white));
  margin-bottom: 40px;
}

.student-review-section {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: auto;
}

.student-review-section h2 {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 30px;
}

.student-review-section h2 span {
  color: var(--primary-color);
}

.student-review-slider {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 280px;
}

.student-review-card {
  display: none;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease-in-out;
  width: 100%;
}

.student-review-card.active {
  display: flex;
}

.student-review-img {
  width: 120px;
  height: 120px;
  border-radius: 15px;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  box-shadow: 0 5px 15px var(--shadow-light);
  margin-bottom: 15px;
}

.student-review-name {
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
}

.student-review-role {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.student-review-text {
  font-size: 16px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.4;
  padding: 0 10px;
}

.student-review-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(50, 181, 183, 0.1);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 22px;
  transition: all 0.3s ease;
}

.student-review-nav:hover {
  background: var(--primary-color);
  color: var(--bg-white);
}

.prev {
  left: -60px;
}

.next {
  right: -60px;
}

.About-Home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.About-Home {
  padding: 60px 0;
}

.About-Home-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.About-Home-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

.About-Home-text {
  flex: 1;
}

.About-Home-section-title span {
  color: var(--primary-color);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: inline-block;
  position: relative;
  padding-bottom: 5px;
}

.About-Home-section-title span::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
  margin-top: 5px;
}

.About-Home-section-title h2 {
  font-size: 36px;
  color: var(--text-dark-blue);
  margin: 20px 0;
  font-weight: 700;
  line-height: 1.2;
}

.About-Home-pera-top,
.About-Home-pera-bottom {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.About-Home-btn-contact {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 12px 30px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
  border: none;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.About-Home-btn-contact:hover {
  background-color: var(--primary-light);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

  /* Hero Section */
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    margin-top: 20px;
  }

  .hero-text {
    max-width: 100%;
    order: 2;
  }

  .hero-text h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .hero-image {
    order: 1;
  }

  .hero-image img {
    width: 100%;
    max-width: 300px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 250px;
    margin-right: 0;
    padding: 12px 20px;
  }

  /* Success Section */
  .success {
    padding: 30px 15px;
  }

  .stats {
    flex-direction: column;
    gap: 20px;
  }

  .stats h2 {
    font-size: 24px;
  }

  /* Our Success Section */
  .our-success {
    padding: 50px 15px;
  }

  .our-success h2 {
    font-size: 2rem;
  }

  .our-success p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .success-stats {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .stat {
    width: 100%;
    max-width: 280px;
  }

  /* General Sections */
  .overview,
  .what-torc,
  .key-features,
  .explore-courses,
  .testimonials,
  .latest-news {
    padding: 40px 15px;
  }

  .feature-cards,
  .what-torc-images,
  .feature-list,
  .course-cards,
  .news-items {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .card,
  .feature-item,
  .testimonial-card,
  .news-item {
    max-width: 100%;
    width: 100%;
  }

  /* Popup */
  .popup-content {
    width: 90%;
    max-width: 320px;
    padding: 30px 20px;
  }

  .popup-content h2 {
    font-size: 20px;
  }

  /* Why Choose Us Section */
  .why-choose-us-new {
    padding: 40px 15px;
  }

  .why-choose-us-new h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .choose-grid-wrapper {
    padding: 0 20px;
  }

  .choose-grid {
    flex-direction: column;
    gap: 20px;
  }

  .choose-item {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    min-width: auto;
  }

  .left-arrow,
  .right-arrow {
    display: none;
  }


  /* Student Review Section */
  .student-review-wrapper {
    padding: 60px 15px;
  }

  .student-review-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .student-review-slider {
    min-height: 320px;
  }

  .student-review-img {
    width: 100px;
    height: 100px;
  }

  .student-review-name {
    font-size: 18px;
  }

  .student-review-text {
    font-size: 14px;
    padding: 0 5px;
  }

  .prev {
    left: 0px;
  }

  .next {
    right: 0px;
  }

  .student-review-nav {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  /* About Home Section */
  .About-Home-container {
    padding: 30px 15px;
  }

  .About-Home {
    padding: 0px 0;
  }

  .About-Home-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .About-Home-text {
    padding-top: 20px;
  }

  .About-Home-section-title h2 {
    font-size: 28px;
  }

  .About-Home-pera-top,
  .About-Home-pera-bottom {
    font-size: 15px;
  }

  .About-Home-btn-contact {
    padding: 14px 25px;
    font-size: 13px;
  }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .our-success h2 {
    font-size: 1.8rem;
  }

  .why-choose-us-new h2 {
    font-size: 24px;
  }

  .choose-item {
    max-width: 100%;
    padding: 15px;
  }

  .choose-item h3 {
    font-size: 20px;
  }

  .choose-item p {
    font-size: 14px;
  }

  .student-review-section h2 {
    font-size: 18px;
  }

  .About-Home-section-title h2 {
    font-size: 24px;
  }

  .popup-content {
    padding: 25px 15px;
  }

  .popup-content h2 {
    font-size: 18px;
  }

  .popup-content input[type="email"] {
    padding: 12px;
    font-size: 14px;
  }

  .popup-content button {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Large Mobile/Small Tablet */
@media (max-width: 991px) {
  .About-Home-content {
    flex-direction: column;
    text-align: center;
  }

  .About-Home-text {
    padding-top: 20px;
  }
}