/* ========= Global Styles ========= */

/* Typography */
h1,
h2,
h3 {
  color: #64ffda;
  text-align: center;
}

a {
  text-decoration: none;
  color: #64ffda;
}
p {
  font-size: 24px;
  line-height: 1.6;
  text-align: center;
}
/* Typography */
h1,
h2,
h3 {
  color: #64ffda;
  text-align: center;
  position: relative;
}

/* Cool Heading Effect */
h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #64ffda;
  display: block;
  margin: 10px auto;
  border-radius: 2px;
}

.home-page-big-container{
  margin-top: 73px;
}

/* Buttons with Glow Effect */
.btn {
  display: inline-block;
  background: linear-gradient(45deg, #64ffda, #2dd4bf);
  color: #0a192f;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
  transition: all 0.3s;
}

.btn:hover {
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.8);
  transform: scale(1.05);
}
/* Base Reset */


a {
  text-decoration: none;
  color: #64ffda;
}

h1 {
  color: #64ffda;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

/* Animated Background Particles */
#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Hero Content with Glass Effect */
.hero-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 60px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
  font-size: 50px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  animation: fadeIn 2s ease-in-out;
}

.hero-content .highlight {
  color: #64ffda;
  display: inline-block;
  animation: glowingText 2s infinite alternate;
}

@keyframes glowingText {
  from {
    text-shadow: 0 0 10px #64ffda;
  }
  to {
    text-shadow: 0 0 20px #64ffda, 0 0 30px #64ffda;
  }
}

.hero-content p {
  font-size: 18px;
  color: #d3d3d3;
  margin-top: 10px;
  animation: fadeIn 3s ease-in-out;
}

/* Futuristic Button */
.btn {
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: bold;
  color: #0d1b2a;
  background: linear-gradient(135deg, #64ffda, #1de9b6);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.8);
}

/* Light Flare Effects */
.flare {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(0, 212, 255, 0) 70%
  );
  opacity: 0.8;
  animation: moveFlare 5s infinite alternate;
}

/* Positioning Different Flares */
.flare:nth-child(1) {
  top: 80%;
  left: 10%;
  animation-duration: 6s;
}

.flare:nth-child(2) {
  top: 50%;
  left: 80%;
  animation-duration: 7s;
}

.flare:nth-child(3) {
  top: 63%;
  left: -10%;
  animation-duration: 5s;
}

.flare:nth-child(4) {
  top: -1%;
  left: 78%;
  animation-duration: 6.5s;
}

/* Flare Animation */
@keyframes moveFlare {
  from {
    transform: translateX(0) rotate(20deg);
  }
  to {
    transform: translateX(100px) rotate(40deg);
    opacity: 0.6;
  }
}

.code-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.python-code {
  padding: 15px;
  color: #64ffda;
  font-family: "Courier New", monospace;
  border-radius: 10px;
  text-align: left;
  white-space: pre-wrap; /* Ensures text wraps */
  word-wrap: break-word; /* Breaks long words */
  overflow-x: hidden; /* Disable horizontal scrolling */
  width: 45%;
  min-width: 300px;
  font-size: 11px;
}

/* Media Queries for Fine-Tuning */
@media (max-width: 768px) {
  .hero-content {
    padding: 25px 20px;
    width: 95%;
  }
  
  .code-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .python-code {
    min-width: unset;
    width: 100%;
    font-size: 14px;
  }
  
  /* Adjust flare positions for mobile */
  .flare:nth-child(1) {
    top: 70%;
    left: 5%;
  }
  
  .flare:nth-child(2) {
    top: 40%;
    left: 70%;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 20px 15px;
    width: 83%;
  }
  
  .btn {
    padding: 10px 25px;
  }
  .python-code {
    font-size: 10px;
    width: 100%;
    margin-left: -100px;
  }
  .hero-content p {
    font-size: 11px;
  }
  .hero-content h1 {
    font-size: 21px;
  }
  /* Further adjust flares for very small screens */
  .flare {
    display: none; /* Optionally hide flares on very small screens */
  }
  
  /* Or reduce their size */
  .flare {
    width: 100px;
    height: 100px;
  }
  
}



/* ========= Services Section ========= */
.services {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 100px;
}

/* Card Styling with Animations */
.card {
  background: #112240;
  padding: 25px;
  border-radius: 12px;
  width: calc(33.33% - 20px);
  min-width: 280px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 0px 10px rgba(100, 255, 218, 0.1);
  opacity: 0;
  transform: scale(2);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out,
    background 1s ease-in-out, box-shadow 1s ease-in-out;
  background: linear-gradient(145deg, #112240, #0a192f); /* Same as hover */
  box-shadow: 0px 10px 20px rgba(100, 255, 218, 0.3);
}
.card.visible {
  opacity: 1;
  transform: scale(1);
  background: #112240; /* Back to normal */
  box-shadow: 0px 0px 10px rgba(100, 255, 218, 0.1);
}
/* Add delay for each card */
.card:nth-child(1) {
  animation-delay: 0.1s;
}
.card:nth-child(2) {
  animation-delay: 0.3s;
}
.card:nth-child(3) {
  animation-delay: 0.5s;
}
.card:nth-child(4) {
  animation-delay: 0.7s;
}
.card:nth-child(5) {
  animation-delay: 0.9s;
}
.card:nth-child(6) {
  animation-delay: 1.1s;
}

@keyframes cardAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Floating Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 20px rgba(100, 255, 218, 0.3);
  background: linear-gradient(145deg, #112240, #0a192f);
}

/* Gradient Border Animation */
.card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(145deg, #64ffda, #2dd4bf);
  border-radius: 14px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  color: #112240;
}

.card:hover::before {
  opacity: 1;
}

/* Icon Animation */
.card i {
  font-size: 50px;
  color: #64ffda;
  margin-bottom: 10px;
  transition: color 0.3s, transform 0.3s;
}

.card:hover i {
  color: #112240;
  transform: scale(1.2);
}

/* Text Animation */
.card h3 {
  transition: color 0.3s;
}

.card:hover h3 {
  color: #112240;
}

/* Second Row Adjustments */

/* Responsive Design */
/* Tablet: 768px and down */
@media (max-width: 768px) {
  .card {
    width: calc(50% - 20px);
    margin: 0 auto;
  }

  .service-cards {
    justify-content: center;
  }
}

/* Phone: 480px and down */
@media (max-width: 480px) {
  .card {
    width: 100%;
  }
}


/* ========= Portfolio Section ========= */
.portfolio {
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1400px;
}

/* Portfolio Grid */
.portfolio-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 60px;
}

/* Portfolio Item Styling */
.portfolio-item {
  width: 30%;
  min-width: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transform: perspective(1000px) rotateY(0deg);
  transition: transform 0.5s ease-in-out, box-shadow 0.4s ease-in-out;
  box-shadow: 0px 5px 20px rgba(100, 255, 218, 0.2);
  background: rgba(17, 34, 64, 0.5);
  backdrop-filter: blur(10px);
}

/* *Uniform Image Sizing* */
.portfolio-item img {
  width: 100%;
  height: 200px; /* Fixed height */
  object-fit: fill; /* Ensures uniform aspect ratio */
  border-radius: 12px;
  transition: transform 0.3s ease-in-out;
}

/* 3D Hover Effect */
.portfolio-item:hover {
  transform: perspective(1000px) rotateY(30deg) scale(1.05);
  box-shadow: 0px 10px 30px rgba(100, 255, 218, 0.5);
}

/* Hover Image Zoom */
.portfolio-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.2);
}

/* *Overlay for Project Details* */
.portfolio-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  border-radius: 12px;
}

/* Show Overlay on Hover */
.portfolio-item:hover .overlay {
  opacity: 1;
}

/* Overlay Text */
.overlay p {
  color: #64ffda;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

/* *See Project Button* */
.overlay .btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  color: #112240;
  background: #64ffda;
  border-radius: 6px;
  font-weight: bold;
  text-transform: uppercase;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
  text-decoration: none;
}

.overlay .btn:hover {
  background: #2dd4bf;
  transform: scale(1.1);
}
/* Project Information */
.project-info {
  text-align: center;
  padding: 15px;
  background: rgba(17, 34, 64, 0.8); /* Subtle background */
  color: #ccd6f6;
  border-radius: 0 0 12px 12px; /* Matches image border */
  transition: background 0.3s ease-in-out;
}

/* Title */
.project-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: bold;
  color: #64ffda;
}

/* Description */
.project-info p {
  font-size: 1rem;
  color: #a8b2d1;
  line-height: 1.5;
}

/* Training Section Styles */
.training {
  padding: 100px 5%;
  position: relative;
  background: linear-gradient(135deg, #0a192f 0%, #020c1b 100%);
  overflow: hidden;
}

.tech-particle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(100,255,218,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.binary-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><text x="10" y="20" font-family="monospace" font-size="10" fill="rgba(100,255,218,0.03)">101010</text></svg>');
  z-index: 0;
  opacity: 0.3;
}

.training-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #64ffda, #a8ff78);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch::before {
  color: #a8ff78;
  z-index: -1;
  animation: glitch-effect 3s infinite;
}

.glitch::after {
  color: #ff64da;
  z-index: -2;
  animation: glitch-effect 2s reverse infinite;
}

.typing-subtitle {
  font-size: 1.5rem;
  color: #ccd6f6;
  margin-bottom: 20px;
}

.typing-text {
  display: inline-block;
  border-right: 2px solid #64ffda;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(40) infinite, blink-caret 0.75s step-end infinite;
}

.training-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px auto;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.training-card {
  perspective: 1000px;
  height: 350px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 15px;
}

.training-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-front {
  background: linear-gradient(135deg, #112240 0%, #0a192f 100%);
  border: 1px solid rgba(100, 255, 218, 0.2);
}

.card-back {
  background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
  transform: rotateY(180deg);
  border: 1px solid rgba(168, 255, 120, 0.2);
}

.tech-icon {
  width: 80px;
  height: 80px;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
  color: #64ffda;
  border: 2px solid rgba(100, 255, 218, 0.3);
}

.card-front h3 {
  color: #e6f1ff;
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}

.duration-badge {
  background: rgba(100, 255, 218, 0.2);
  color: #64ffda;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.level-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #a8b2d1;
  font-size: 0.9rem;
}

.level-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(100, 255, 218, 0.2);
  border: 1px solid rgba(100, 255, 218, 0.3);
}

.level-dot.active {
  background: #64ffda;
}

.card-back h4 {
  color: #e6f1ff;
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-align: center;
}

.curriculum-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  width: 100%;
}

.curriculum-list li {
  color: #a8b2d1;
  padding: 8px 0;
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
}

.curriculum-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #64ffda;
}

.enrollment-stats {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-top: auto;
}

.enrollment-stats .stat {
  text-align: center;
}

.enrollment-stats .stat-number1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e6f1ff;
  margin-bottom: 5px;
}

.enrollment-stats .stat-label {
  font-size: 0.8rem;
  color: #a8b2d1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(100, 255, 218, 0.1) 0%,
    transparent 70%
  );
  border-radius: 15px;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
}

.training-card:hover .card-glow {
  opacity: 1;
}

/* Internship Section */
.internship-section {
  max-width: 1000px;
  margin: 80px auto;
  position: relative;
  z-index: 2;
}

.internship-card {
  background: linear-gradient(135deg, #112240 0%, #0a192f 100%);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(100, 255, 218, 0.2);
  position: relative;
  overflow: hidden;
}

.internship-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(100, 255, 218, 0.05) 0%,
    transparent 70%
  );
  z-index: 0;
}

.internship-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.internship-header h3 {
  color: #e6f1ff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.internship-header h3 i {
  color: #64ffda;
}

.duration-chip {
  background: rgba(168, 255, 120, 0.2);
  color: #a8ff78;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(168, 255, 120, 0.3);
}

.internship-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

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

.benefit-icon {
  width: 50px;
  height: 50px;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #64ffda;
  flex-shrink: 0;
  border: 1px solid rgba(100, 255, 218, 0.3);
}

.benefit-item p {
  color: #ccd6f6;
  margin: 0;
  font-size: 1rem;
}

.internship-stats {
  display: flex;
  justify-content: space-around;
  background: rgba(17, 34, 64, 0.5);
  border-radius: 10px;
  padding: 20px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(100, 255, 218, 0.1);
}

.internship-stats .stat-item {
  text-align: center;
  padding: 0 15px;
}

.internship-stats .stat-number1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #64ffda;
  margin-bottom: 5px;
}

.internship-stats .stat-label {
  font-size: 0.9rem;
  color: #a8b2d1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Training CTA */
.training-cta {
  position: relative;
  margin-top: 100px;
  padding: 60px;
  background: rgba(17, 34, 64, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  overflow: hidden;
  z-index: 2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.training-cta h3 {
  color: #e6f1ff;
  font-size: 2rem;
  margin-bottom: 15px;
}

.training-cta p {
  color: #ccd6f6;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.highlight-date {
  color: #64ffda;
  font-weight: 500;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 15px 40px;
  background: linear-gradient(135deg, #64ffda, #2dd4bf);
  color: #0a192f;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(100, 255, 218, 0.5);
}

.arrow-circle {
  width: 30px;
  height: 30px;
  background: #0a192f;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease;
}

.cta-button:hover .arrow-circle {
  transform: rotate(45deg);
}

.cta-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: radial-gradient(
    circle at center,
    rgba(100, 255, 218, 0.05) 1px,
    transparent 1px
  );
  background-size: 15px 15px;
  animation: floatDots 20s linear infinite;
}

/* Animations */
@keyframes glitch-effect {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-5px, 5px);
  }
  40% {
    transform: translate(-5px, -5px);
  }
  60% {
    transform: translate(5px, 5px);
  }
  80% {
    transform: translate(5px, -5px);
  }
  100% {
    transform: translate(0);
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #64ffda;
  }
}

@keyframes floatDots {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100px);
  }
}

/* Magnetic Effect */
.magnetic {
  display: inline-block;
  position: relative;
  transition: transform 0.2s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .training-cards-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

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

@media (max-width: 768px) {
  .training {
    padding: 80px 5%;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .typing-subtitle {
    font-size: 1.3rem;
  }

  .internship-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .training-cta {
    padding: 40px 20px;
  }

  .training-cta h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .training-cards-container {
    grid-template-columns: 1fr;
  }

  .internship-benefits {
    grid-template-columns: 1fr;
  }

  .internship-stats {
    flex-direction: column;
    gap: 20px;
  }

  .training-cta h3 {
    font-size: 1.5rem;
  }

  .training-cta p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* ============ Ultra Creative About Section ============ */
.about {
  padding: 120px 5%;
  background: radial-gradient(ellipse at bottom, #0a192f 0%, #020c1b 100%);
  color: #e6f1ff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 80px;
}

.particle-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.holographic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      45deg,
      rgba(100, 255, 218, 0.03) 0%,
      transparent 50%,
      rgba(168, 255, 120, 0.03) 100%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(100, 255, 218, 0.1),
      rgba(100, 255, 218, 0.1) 1px,
      transparent 1px,
      transparent 4px
    );
  z-index: -1;
  pointer-events: none;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* Animated Title */
.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 2rem;
  perspective: 1000px;
  justify-content: center;
  gap: 0.5rem;
}

.title-word {
  display: inline-block;
  background: linear-gradient(90deg, #64ffda, #a8ff78, #64ffda);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  animation: shine 3s linear infinite, floatTitle 6s ease-in-out infinite;
}

.title-word-1 {
  animation-delay: 0s, 0s;
}
.title-word-2 {
  animation-delay: 0.33s, 0.33s;
}
.title-word-3 {
  animation-delay: 0.66s, 0.66s;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

@keyframes floatTitle {
  0%,
  100% {
    transform: translateY(0) rotateX(0);
  }
  50% {
    transform: translateY(-15px) rotateX(10deg);
  }
}

/* CSS for Sliding Carousel */
.interactive-description-container {
  width: 100%;
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.interactive-description-wrapper {
  overflow: hidden;
}

.interactive-description {
  display: flex;
  transition: transform 0.5s ease;
}

.about-description {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  font-size: 20px;
}

.about-description.active {
  opacity: 1;
}

.description-nav {
  margin-top: 20px;
}

.desc-nav-btn {
  background-color: #ccc;
  border: none;
  border-radius: 5px;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  cursor: pointer;
  border-radius: 50%;
}

.desc-nav-btn.active {
  background-color: #64ffda;
}

/* Add this to your CSS */
/* General Grid Layout */
.stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 4rem 0;
  perspective: 1000px;
}

/* 3D Cube Styling */
/* CSS - Updated for solid cube */
.stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 4rem 0;
  perspective: 1200px;
}

.stat-cube {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-15deg) rotateY(-15deg);
  transition: transform 1.5s ease-in-out;
  cursor: pointer;
}

.cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(17, 34, 64, 0.9);
  border: 1px solid rgba(100, 255, 218, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(100, 255, 218, 0.2);
  backface-visibility: visible;
}

/* Position all 6 faces */
.cube-face.front {
  transform: translateZ(100px);
  background: linear-gradient(
    135deg,
    rgba(17, 34, 64, 0.9),
    rgba(10, 25, 47, 0.95)
  );
}
.cube-face.back {
  transform: rotateY(180deg) translateZ(100px);
  background: linear-gradient(
    135deg,
    rgba(17, 34, 64, 0.9),
    rgba(47, 25, 10, 0.95)
  );
}
.cube-face.right {
  transform: rotateY(90deg) translateZ(100px);
  background: rgba(100, 255, 218, 0.15);
}
.cube-face.left {
  transform: rotateY(-90deg) translateZ(100px);
  background: rgba(168, 255, 120, 0.15);
}
.cube-face.top {
  transform: rotateX(90deg) translateZ(100px);
  background: rgba(100, 218, 255, 0.15);
}
.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(100px);
  background: rgba(255, 100, 218, 0.15);
}

/* Text styles */
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #64ffda;
  margin-bottom: 0.5rem;
}
.cube-face.right .stat-number {
  color: #a8ff78;
}
.cube-face.left .stat-number {
  color: #52d1b2;
}
.cube-face.top .stat-number {
  color: #64d1ff;
}
.cube-face.bottom .stat-number {
  color: #ff64da;
}

.stat-label {
  font-size: 1rem;
  color: #ccd6f6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Complete rotation animation showing all faces */
@keyframes rotateCube {
  0% {
    transform: rotateX(-15deg) rotateY(-15deg);
  }
  16% {
    transform: rotateX(-15deg) rotateY(-105deg);
  } /* Right */
  32% {
    transform: rotateX(-15deg) rotateY(-195deg);
  } /* Back */
  48% {
    transform: rotateX(-15deg) rotateY(-285deg);
  } /* Left */
  64% {
    transform: rotateX(75deg) rotateY(-285deg);
  } /* Top */
  80% {
    transform: rotateX(-105deg) rotateY(-285deg);
  } /* Bottom */
  100% {
    transform: rotateX(-15deg) rotateY(-15deg);
  } /* Front */
}

.stat-cube:hover {
  animation: rotateCube 12s infinite ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(75px);
}
.cube-face.left {
  transform: rotateY(-90deg) translateZ(75px);
}
.cube-face.back {
  transform: rotateY(180deg) translateZ(75px);
}
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .stat-cube {
    width: 150px;
    height: 150px;
  }
/* Position all 6 faces */
.cube-face.front {
  transform: translateZ(75px);
  background: linear-gradient(135deg, rgba(17, 34, 64, 0.9), rgba(10, 25, 47, 0.95));
}
.cube-face.back {
  transform: rotateY(180deg) translateZ(75px);
  background: linear-gradient(135deg, rgba(17, 34, 64, 0.9), rgba(47, 25, 10, 0.95));
}
.cube-face.right {
  transform: rotateY(90deg) translateZ(75px);
  background: rgba(100, 255, 218, 0.15);
}
.cube-face.left {
  transform: rotateY(-90deg) translateZ(75px);
  background: rgba(168, 255, 120, 0.15);
}
.cube-face.top {
  transform: rotateX(90deg) translateZ(75px);
  background: rgba(100, 218, 255, 0.15);
}
.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(75px);
  background: rgba(255, 100, 218, 0.15);
}
}

/* DNA Strand */
.dna-container {
  margin: 6rem 0;
  position: relative;
}

.dna-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: #e6f1ff;
  position: relative;
}

.dna-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, #64ffda, #a8ff78);
  margin: 10px auto;
}

.dna-strand {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

.dna-strand::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #64ffda, transparent);
  z-index: -1;
}

.dna-base {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.base-icon {
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(17, 34, 64, 0.7);
  border-radius: 50%;
  border: 2px solid #64ffda;
  font-size: 2rem;
  color: #64ffda;
  transition: all 0.5s;
  position: relative;
  z-index: 2;
}

.dna-base:hover .base-icon {
  transform: scale(1.2) translateY(-10px);
  box-shadow: 0 10px 20px rgba(100, 255, 218, 0.3);
  background: rgba(100, 255, 218, 0.2);
}

.base-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, #64ffda, #a8ff78);
  transform-origin: top;
  animation: dnaPulse 2s infinite alternate;
}

.dna-base:nth-child(odd) .base-connector {
  animation-delay: 0.5s;
}

@keyframes dnaPulse {
  from {
    transform: scaleY(0.8);
    opacity: 0.7;
  }
  to {
    transform: scaleY(1.2);
    opacity: 1;
  }
}

/* Holographic Cards */
.holo-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin: 5rem 0;
}

.holo-card {
  flex: 1;
  min-width: 350px;
  perspective: 1000px;
  position: relative;
}

.holo-card::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, #64ffda, #a8ff78, #64ffda);
  z-index: -1;
  filter: blur(10px);
  opacity: 0.7;
  transition: all 0.5s;
}

.holo-card:hover::before {
  opacity: 0.9;
  filter: blur(15px);
}

.holo-content {
  padding: 2.5rem;
  background: rgba(17, 34, 64, 0.7);
  border: 1px solid rgba(100, 255, 218, 0.3);
  border-radius: 10px;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.5s;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.holo-card:hover .holo-content {
  transform: translateZ(20px);
}

.holo-icon {
  font-size: 3rem;
  color: #64ffda;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.holo-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #e6f1ff;
  position: relative;
  z-index: 2;
}

.holo-card p {
  color: #a8b2d1;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.holo-reflection {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(100, 255, 218, 0.3), transparent);
  border-radius: 0 0 10px 10px;
  transform-origin: bottom;
  transform: scaleY(0.5);
  opacity: 0.7;
  transition: all 0.5s;
}

.holo-card:hover .holo-reflection {
  transform: scaleY(0.8);
  opacity: 0.9;
}

/* Interactive Timeline */
.timeline-container {
  margin: 6rem 0;
}

.timeline-container h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: #e6f1ff;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #64ffda, #a8ff78);
  z-index: 1;
}

.timeline-event {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.event-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0a192f;
  border: 3px solid #64ffda;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.timeline-event:hover .event-dot {
  transform: scale(1.5);
  background: #64ffda;
  box-shadow: 0 0 15px #64ffda;
}

.event-content {
  position: absolute;
  top: 40px;
  background: rgba(17, 34, 64, 0.9);
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid rgba(100, 255, 218, 0.3);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  white-space: nowrap;
}


/* Make first event content visible by default */
.timeline-event:first-child .event-content {
  opacity: 1;
  transform: translateY(0);
}

/* Hide first event content when hovering over any other event */
.timeline-event:not(:first-child):hover ~ .timeline-event:first-child .event-content {
  opacity: 0;
  transform: translateY(10px);
}

/* Hover effect for other events */
.timeline-event:hover .event-content {
  opacity: 1;
  transform: translateY(0);
}


.timeline-event:hover .event-content {
  opacity: 1;
  transform: translateY(0);
}

.timeline-event.future .event-dot {
  border-style: dashed;
  animation: pulseFuture 2s infinite;
}

@keyframes pulseFuture {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(100, 255, 218, 0);
  }
}

/* Floating Tech Orbs */
.floating-tech {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.tech-orb {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: white;
  filter: drop-shadow(0 0 10px currentColor);
  animation: floatOrb 15s infinite linear;
}

.tech-orb i {
  animation: spinIcon 10s infinite linear reverse;
}

.tech-orb.python {
  background: radial-gradient(
    circle,
    rgba(53, 114, 165, 0.8) 0%,
    rgba(53, 114, 165, 0.2) 70%
  );
  color: #3572a5;
  top: 20%;
  left: 5%;
  animation-delay: 0s;
}

.tech-orb.react {
  background: radial-gradient(
    circle,
    rgba(97, 218, 251, 0.8) 0%,
    rgba(97, 218, 251, 0.2) 70%
  );
  color: #61dafb;
  top: 70%;
  left: 80%;
  animation-delay: 0.5s;
  animation-duration: 18s;
}

.tech-orb.node {
  background: radial-gradient(
    circle,
    rgba(140, 200, 75, 0.8) 0%,
    rgba(140, 200, 75, 0.2) 70%
  );
  color: #8cc84b;
  top: 40%;
  left: 90%;
  animation-delay: 1s;
  animation-duration: 20s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(50px, 50px) rotate(90deg);
  }
  50% {
    transform: translate(100px, 0) rotate(180deg);
  }
  75% {
    transform: translate(50px, -50px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes spinIcon {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .stat-cube {
    width: 150px;
    height: 150px;
  }

  .cube-face.front {
    transform: translateZ(75px);
  }

  .cube-face.top,
  .cube-face.right {
    transform: rotateX(90deg) translateZ(75px);
  }

  .cube-face.right {
    transform: rotateY(90deg) translateZ(75px);
  }
}

@media (max-width: 768px) {
  .about {
    padding: 80px 5%;
  }

  .stats-grid {
    flex-direction: column;
    align-items: center;
  }

  .stat-cube {
    margin-bottom: 2rem;
  }

  .holo-card {
    min-width: 100%;
  }

  .timeline {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 40px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, #64ffda, #a8ff78);
  }

  .timeline-event {
    margin-bottom: 40px;
    flex-direction: row;
    align-items: flex-start;
  }

  .event-dot {
    margin-right: 20px;
    margin-bottom: 0;
  }

  .event-content {
    position: static;
    transform: none;
    margin-top: 5px;
    white-space: normal;
  }

  .dna-strand {
    flex-direction: column;
  }

  .dna-strand::before {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #64ffda, #a8ff78);
  }
}
@media (max-width: 1024px) {
  .timeline-container {
    display: none;
  }
  }
/* ========= Contact Section ========= */
.cm-contact-section {
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #0a192f, #112240);
    overflow: hidden;
    padding: 100px 20px;
  }
  
  /* Futuristic Holographic Background */
  .cm-contact-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(
      circle,
      rgba(100, 255, 218, 0.15) 0%,
      rgba(10, 25, 47, 0.9) 80%
    );
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: cm-backgroundGlow 10s infinite alternate ease-in-out;
  }
  
  /* Background Glow Animation */
  @keyframes cm-backgroundGlow {
    0% { filter: blur(10px); }
    100% { filter: blur(20px); }
  }
  
  /* Contact Container */
  .cm-contact-container {
    max-width: 600px;
    margin: auto;
  }
  
  /* Contact Heading */
  .cm-contact-heading {
    font-size: 2.5rem;
    color: #64ffda;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  
  /* Contact Subtitle */
  .cm-contact-subtitle {
    color: #ccd6f6;
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  /* Contact Box */
  .cm-contact-box {
    background: rgba(17, 34, 64, 0.6);
    padding: 60px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    box-shadow: 0px 5px 15px rgba(100, 255, 218, 0.3);
    border: 1px solid rgba(100, 255, 218, 0.2);
  }
  
  /* Floating Input Fields */
  .cm-input-group {
    position: relative;
    margin-bottom: 20px;
  }
  
  .cm-input-group input,
  .cm-input-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    outline: none;
    color: white;
    transition: all 0.3s ease-in-out;
  }
  
  /* Floating Label Effect */
  .cm-input-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: all 0.3s ease-in-out;
  }
  
  /* Floating Effect */
  .cm-input-group input:focus ~ label,
  .cm-input-group input:not(:placeholder-shown) ~ label,
  .cm-input-group textarea:focus ~ label,
  .cm-input-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 12px;
    color: #64ffda;
  }
  
  /* Glowing Borders */
  .cm-input-group input:focus,
  .cm-input-group textarea:focus {
    border-bottom: 2px solid #64ffda;
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
  }
  
  /* Neon Input Border Effect */
  .cm-input-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
  }
  
  .cm-input-group input:focus ~ .cm-input-border,
  .cm-input-group textarea:focus ~ .cm-input-border {
    width: 100%;
    left: 0;
  }
  
  /* Send Button with Magnetic Hover */
  .cm-send-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #112240;
    background: #64ffda;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
  }
  
  /* Hover Effect */
  .cm-send-btn:hover {
    background: #2dd4bf;
    transform: scale(1.05);
  }
  
  /* Thank You Modal Styles */
  .cm-thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .cm-thank-you-modal.active {
    opacity: 1;
    visibility: visible;
  }
  
  .cm-modal-content {
    background: rgba(17, 34, 64, 0.9);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.4s ease;
  }
  
  .cm-thank-you-modal.active .cm-modal-content {
    transform: translateY(0);
  }
  
  .cm-modal-header {
    text-align: center;
    margin-bottom: 25px;
  }
  
  .cm-modal-icon {
    font-size: 5rem;
    color: #64ffda;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.7);
    animation: cm-pulse 2s infinite;
  }
  
  @keyframes cm-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  .cm-modal-title {
    color: #64ffda;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .cm-modal-body {
    color: #ccd6f6;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
  }
  
  .cm-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(100, 255, 218, 0.2);
    border-radius: 2px;
    margin: 20px 0;
    overflow: hidden;
  }
  
  .cm-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #64ffda, #2dd4bf);
    border-radius: 2px;
    transition: width 5s linear;
  }
  
  .cm-countdown {
    color: #64ffda;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
  }
  
  .cm-modal-footer {
    text-align: center;
  }
  
  .cm-modal-close {
    background: linear-gradient(45deg, #64ffda, #2dd4bf);
    color: #0a192f;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
  }
  
  .cm-modal-close:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
  }
  
  .cm-modal-close::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
    transition: 0.5s;
  }
  
  .cm-modal-close:hover::before {
    left: 100%;
  }
  
  .cm-modal-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .cm-modal-particles .cm-particle {
    position: absolute;
    background: rgba(100, 255, 218, 0.5);
    border-radius: 50%;
    filter: blur(1px);
    animation: cm-float-particle 15s infinite linear;
  }
  
  @keyframes cm-float-particle {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 50px) rotate(90deg); }
    50% { transform: translate(100px, 0) rotate(180deg); }
    75% { transform: translate(50px, -50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .cm-modal-content {
      padding: 20px;
    }
    
    .cm-modal-icon {
      font-size: 4rem;
    }
    
    .cm-modal-title {
      font-size: 1.5rem;
    }
  }

/* ========= FOOTER ========= */
.cyber-footer {
  position: relative;
  padding: 80px 10%;
  background: radial-gradient(ellipse at top, #020c1b, #0a192f);
  overflow: hidden;
  border-top: 1px solid rgba(100, 255, 218, 0.2);
  box-shadow: 0 -20px 50px rgba(100, 255, 218, 0.1);
}

/* Particle Background */
#footerParticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Holographic Grid Overlay */
.hologrid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
}

/* Floating Cyber Orbs */
.cyber-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  animation: floatOrb 15s infinite linear;
}

.orb-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(100, 255, 218, 0.3),
    transparent 70%
  );
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(168, 255, 120, 0.3),
    transparent 70%
  );
  top: 60%;
  left: 70%;
  animation-delay: 3s;
}

.orb-3 {
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(255, 100, 218, 0.3),
    transparent 70%
  );
  top: 30%;
  left: 50%;
  animation-delay: 6s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(50px, 50px) rotate(90deg);
  }
  50% {
    transform: translate(100px, 0) rotate(180deg);
  }
  75% {
    transform: translate(50px, -50px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* 3D Neon Logo */
.footer-brand {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.brand-name {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #64ffda;
  text-transform: uppercase;
  text-shadow: 0 0 5px #64ffda, 0 0 10px #64ffda,
    0 0 20px rgba(100, 255, 218, 0.8), 0 0 40px rgba(100, 255, 218, 0.5);
  position: relative;
  animation: neonFlow 6s infinite alternate ease-in-out;
}
/* Smooth Neon Flow Animation */
@keyframes neonFlow {
  0% {
    text-shadow: 0 0 5px #64ffda, 0 0 10px #64ffda,
      0 0 15px rgba(100, 255, 218, 0.8);
  }
  100% {
    text-shadow: 0 0 10px #64ffda, 0 0 20px rgba(100, 255, 218, 1),
      0 0 30px rgba(100, 255, 218, 0.6);
  }
}

/* Subtle Glitch Flicker (Refined, Not Chaotic) */
.brand-name::before {
  content: "CODYMAKE";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: rgba(100, 255, 218, 0.5);
  text-shadow: 0px 0px 5px rgba(100, 255, 218, 0.8),
    0px 0px 10px rgba(100, 255, 218, 0.6);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
  animation: glitchFlicker 3s infinite alternate ease-in-out;
}

/* Glitch Effect */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch::before {
  color: #a8ff78;
  z-index: -1;
  animation: glitch-effect 3s infinite;
}

.glitch::after {
  color: #ff64da;
  z-index: -2;
  animation: glitch-effect 2s reverse infinite;
}

@keyframes glitch-effect {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-5px, 5px);
  }
  40% {
    transform: translate(-5px, -5px);
  }
  60% {
    transform: translate(5px, 5px);
  }
  80% {
    transform: translate(5px, -5px);
  }
  100% {
    transform: translate(0);
  }
}
/* Refined Glitch Effect */
@keyframes glitchFlicker {
  0% {
    transform: translate(0);
    opacity: 0.8;
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(2px, -2px);
  }
  60% {
    transform: translate(-1px, 1px);
    opacity: 0.7;
  }
  80% {
    transform: translate(1px, -1px);
  }
  100% {
    transform: translate(0);
    opacity: 0.8;
  }
}
/* Typing Tagline */
.tagline {
  font-size: 1.3rem;
  color: #a8b2d1;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.typing-effect {
  display: inline-block;
  border-right: 2px solid #64ffda;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(40) infinite, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #64ffda;
  }
}

/* Holographic Navigation */
.cyber-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.nav-link {
  position: relative;
  color: #64ffda;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 15px;
  overflow: hidden;
}

.link-text {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.link-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 255, 218, 0.2),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 1;
}

.nav-link:hover .link-text {
  text-shadow: 0 0 10px #64ffda;
}

.nav-link:hover .link-hover {
  transform: translateX(100%);
}

/* Interactive Social Icons (Holo-Projected) */
.cyber-social {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.social-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #64ffda;
  font-size: 1.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon i {
  position: relative;
  z-index: 2;
}

.icon-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #64ffda;
  border-radius: 50%;
  animation: pulseRing 2s infinite;
  opacity: 0;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.2);
  color: #0a192f;
  background: #64ffda;
  box-shadow: 0 0 30px #64ffda;
}

.social-icon:hover .icon-ring {
  animation: none;
  opacity: 1;
  border-color: rgba(100, 255, 218, 0.5);
}

@keyframes pulseRing {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* AI-Powered Copyright */
.cyber-copyright {
  text-align: center;
  position: relative;
  z-index: 2;
}

.binary-effect {
  font-family: "Courier New", monospace;
  color: rgba(168, 255, 120, 0.3);
  font-size: 0.9rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.cyber-copyright p {
  color: #a8b2d1;
  font-size: 0.9rem;
}

.year {
  color: #64ffda;
  font-weight: bold;
}

/* Scanning Laser Effect */
.laser-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #64ffda, transparent);
  box-shadow: 0 0 10px #64ffda;
  animation: scan 6s linear infinite;
  opacity: 0.7;
  z-index: 1;
}

@keyframes scan {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Adjust orbs for small screens */
@media (max-width: 768px) {
  .orb-1 {
    width: 120px;
    height: 120px;
    top: 30%;
    left: 5%;
  }

  .orb-2 {
    width: 100px;
    height: 100px;
    top: 70%;
    left: 60%;
  }

  .orb-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 45%;
  }
}

/* Typography for mobile */
@media (max-width: 600px) {
  .brand-name {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .tagline {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .nav-link {
    font-size: 0.95rem;
  }

  .cyber-nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cyber-social {
    justify-content: center;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/* Responsive tweaks for very large screens */
@media (min-width: 1400px) {
  .brand-name {
    font-size: 4rem;
  }

  .tagline {
    font-size: 1.4rem;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .social-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}

/* ========= Background Animation ========= */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Floating Dots Effect */
.floating-dots {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #64ffda;
  border-radius: 50%;
  opacity: 0.3;
  animation: floating 6s infinite ease-in-out;
}

.dots1 {
  top: 20%;
  left: 10%;
  animation-delay: 1s;
}
.dots2 {
  top: 50%;
  left: 80%;
  animation-delay: 2s;
}
.dots3 {
  top: 80%;
  left: 30%;
  animation-delay: 3s;
}
.dots4 {
  top: 10%;
  left: 60%;
  animation-delay: 4s;
}

/* ========= Scroll Reveal JS ========= */
@media (max-width: 1023px) {


  .card,
  .portfolio-item {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .btn {
    padding: 10px 18px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  h1 {
    font-size: 28px;
  }

  p {
    font-size: 14px;
  }
}



/* Modal Styles */
.cyber-modal-images {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.main-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(100, 255, 218, 0.2);
  height: 300px;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.sub-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.sub-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(100, 255, 218, 0.2);
  height: 150px;
}

.sub-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.1) 0%, rgba(10, 25, 47, 0.7) 100%);
  transition: opacity 0.3s ease;
}

.main-image:hover .image-overlay,
.sub-image:hover .image-overlay {
  opacity: 0.7;
}

.cyber-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cyber-modal.active {
  opacity: 1;
  visibility: visible;
}

.cyber-modal-content {
  background: rgba(17, 34, 64, 0.95);
  border: 1px solid rgba(100, 255, 218, 0.3);
  border-radius: 15px;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.cyber-modal.active .cyber-modal-content {
  transform: translateY(0);
}

.cyber-modal-header {
  padding: 25px;
  border-bottom: 1px solid rgba(100, 255, 218, 0.2);
  text-align: center;
}

.cyber-modal-title {
  color: #64ffda;
  font-size: 1.8rem;
  margin: 0;
  text-transform: uppercase;
}

.cyber-modal-title span {
  color: #ccd6f6;
  display: block;
  font-size: 1.5rem;
  margin-top: 5px;
}

.cyber-modal-subtitle {
  color: #8892b0;
  margin: 10px 0 0;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.cyber-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 100; /* Ensure it's above other elements */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(100, 255, 218, 0.3);
    transition: all 0.3s ease;
}

.cyber-modal-close:hover {
  transform: rotate(90deg);
  color: #2dd4bf;
}

.cyber-modal-body {
  padding: 25px;
  color: #ccd6f6;
}

.cyber-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cyber-modal-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(100, 255, 218, 0.2);
  height: 100%;
}

.cyber-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.1) 0%, rgba(10, 25, 47, 0.7) 100%);
}

.cyber-modal-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.detail-section h3 {
  color: #64ffda;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.detail-section p {
  margin: 0;
  line-height: 1.6;
  color: #a8b2d1;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  background: rgba(100, 255, 218, 0.1);
  color: #64ffda;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(100, 255, 218, 0.3);
}

.cyber-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cyber-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #a8b2d1;
}

.cyber-features li i {
  color: #64ffda;
  font-size: 0.8rem;
  margin-top: 3px;
}

.cyber-modal-footer {
  padding: 20px 25px;
  border-top: 1px solid rgba(100, 255, 218, 0.2);
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.cyber-modal-btn {
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  font-size: 0.9rem;
}

.cyber-modal-btn.primary {
  background: linear-gradient(45deg, #64ffda, #2dd4bf);
  color: #0a192f;
}

.cyber-modal-btn.secondary {
  background: transparent;
  border: 1px solid #64ffda;
  color: #64ffda;
}

.cyber-modal-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .cyber-modal-grid {
      grid-template-columns: 1fr;
  }
  
  .cyber-modal-image {
      height: 250px;
  }
  
  .cyber-modal-title {
      font-size: 1.5rem;
  }
  
  .cyber-modal-title span {
      font-size: 1.2rem;
  }
  
  .cyber-modal-footer {
      flex-direction: column;
  }
  
  .cyber-modal-btn {
      width: 100%;
      justify-content: center;
  }
}

@media (max-width: 480px) {
  .cyber-modal-content {
      width: 95%;
      padding: 15px;
  }
  
  .cyber-modal-header {
      padding: 20px 15px 15px;
  }
  
  .cyber-modal-body {
      padding: 15px;
  }
  
  .cyber-modal-close {
      top: 10px;
      right: 15px;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .main-image {
      height: 200px;
  }
  
  .sub-image {
      height: 100px;
  }
}

@media (max-width: 480px) {
  .main-image {
      height: 180px;
  }
  
  .sub-images {
      grid-template-columns: 1fr;
  }
  
  .sub-image {
      height: 90px;
  }
}






/* explore more button */
.hologram-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.hologram-modal.active {
  opacity: 1;
  visibility: visible;
}

.hologram-container {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 70vh;
  background: rgba(17, 34, 64, 0.3);
  border: 1px solid rgba(100, 255, 218, 0.2);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 0 50px rgba(100, 255, 218, 0.1),
              inset 0 0 20px rgba(100, 255, 218, 0.1);
  z-index: 2;
  overflow: hidden;
}

.hologram-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #64ffda;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
}

.hologram-display {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  perspective: 1000px;
}

.tech-element {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(100, 255, 218, 0.05);
  border: 1px solid rgba(100, 255, 218, 0.2);
  border-radius: 50%;
  opacity: 0;
  transform: rotateY(90deg);
  transition: all 0.5s ease;
}

.tech-element.active {
  opacity: 1;
  transform: rotateY(0deg);
}

.tech-element i {
  font-size: 5rem;
  color: #64ffda;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(100, 255, 218, 0.7);
}

.tech-element h3 {
  color: #ccd6f6;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hologram-controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.hologram-nav {
  background: transparent;
  border: 1px solid #64ffda;
  color: #64ffda;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hologram-nav:hover {
  background: rgba(100, 255, 218, 0.1);
}

.tech-indicators {
  display: flex;
  gap: 10px;
}

.tech-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(100, 255, 218, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tech-indicators .indicator.active {
  background: #64ffda;
  transform: scale(1.2);
}

.hologram-info {
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  width: 300px;
  background: rgba(23, 42, 69, 0.7);
  border: 1px solid rgba(100, 255, 218, 0.1);
  border-radius: 10px;
  padding: 20px;
}

.info-panel {
  display: none;
}

.info-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.info-panel h4 {
  color: #64ffda;
  font-size: 1.3rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.info-panel p {
  color: #8892b0;
  line-height: 1.5;
  margin-bottom: 15px;
}

.info-panel ul {
  list-style: none;
  padding: 0;
}

.info-panel ul li {
  color: #ccd6f6;
  padding: 5px 0;
  position: relative;
  padding-left: 20px;
}

.info-panel ul li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: #64ffda;
}

/* Holographic effects */
.hologram-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, rgba(100, 255, 218, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(100, 255, 218, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hologram-glare {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: rotateGlare 20s linear infinite;
}

@keyframes rotateGlare {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Small screen adjustments (max-width: 768px) */
@media (max-width: 768px) {
  .info-panel h4 {
    text-align: center;
  }
  .hologram-container {
    height: 80vh;
    padding: 20px;
    width: 95%;
  }

  .hologram-display {
    width: 200px;
    height: 200px;
    top: 30%;
  }

  .tech-element i {
    font-size: 3rem;
    margin-bottom: 10px;
  }

  .tech-element h3 {
    font-size: 1.1rem;
  }

  .hologram-info {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 250px;
    padding: 15px;
  }

  .hologram-controls {
    bottom: 15px;
  }

  .hologram-nav {
    width: 35px;
    height: 35px;
  }

  .info-panel h4 {
    font-size: 1.1rem;
  }

  .info-panel p {
    font-size: 0.9rem;
  }

  .info-panel ul li {
    font-size: 0.9rem;
  }
}

/* Extra small screens (max-width: 480px) */
@media (max-width: 480px) {

  .hologram-container {
    height: 85vh;
    padding: 15px;
  }

  .hologram-display {
    width: 180px;
    height: 180px;
    top: 25%;
  }

  .tech-element i {
    font-size: 2.5rem;
  }

  .tech-element h3 {
    font-size: 1rem;
  }

  .hologram-info {
    margin-top: 220px;
    padding: 10px;
  }

  .hologram-controls {
    gap: 10px;
  }

  .hologram-nav {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .tech-indicators .indicator {
    width: 10px;
    height: 10px;
  }
}

/* Portrait mode adjustments */
@media (max-width: 768px) and (orientation: portrait) {
  .hologram-container {
    height: 70vh;
  }

  .hologram-display {
    top: 20%;
  }

  .hologram-info {
    margin-top: 200px;
  }
}

/* Landscape mode adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .hologram-container {
    height: 90vh;
  }

  .hologram-display {
    width: 220px;
    height: 220px;
    top: 25%;
    left: 30%;
    transform: translate(-50%, -50%);
  }
  .tech-indicators {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 80%;
  }
  .hologram-info {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 45%;
    margin-top: 0;
  }
}

/* explore more button end*/



