:root {

  --primary: #0066FF;

  --primary-gradient: linear-gradient(135deg, #001A5A 0%, #0066FF 100%);

  --electric-gradient: linear-gradient(135deg, #0066FF 0%, #1E90FF 100%);

  --navy-gradient: linear-gradient(135deg, #001A5A 0%, #0A1F6B 100%);

  --black: #000000;

  --white: #ffffff;

  --text-main: #1a1a1a;

  --text-muted: #555555;

  --bg-dark: #f8f9fc;

  --bg-card: rgba(255, 255, 255, 0.45);

  --bg-grey-white: #f2f5f9;

  --bg-internship: linear-gradient(135deg, #f0f7ff 0%, #e2eeff 100%);

  --border-color: rgba(0, 0, 0, 0.05);

  --accent-blue: #0066FF;

  --glass: rgba(255, 255, 255, 0.45);

  --glass-border: rgba(255, 255, 255, 0.5);

  --selection-bg: #0066FF;

}



::selection {

  background: var(--selection-bg);

  color: var(--white);

}



body::before {

  content: "";

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");

  opacity: 0.05;

  pointer-events: none;

  z-index: 9999;

}



* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}



body {

  font-family: 'Inter', sans-serif;

  background-color: var(--bg-dark);

  color: var(--text-main);

  scroll-behavior: smooth;

  overflow-x: hidden;

  line-height: 1.6;

}



.container {

  max-width: 1280px;

  margin: 0 auto;

  padding: 0 24px;

}



/* ===== Preloader ===== */

#preloader {

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: var(--white);

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  z-index: 9999;

  transition: opacity 0.4s;

}



.loader {

  width: 48px;

  height: 48px;

  border: 4px solid var(--secondary);

  border-top: 4px solid var(--primary);

  border-radius: 50%;

  animation: spin 1s linear infinite;

}



@keyframes spin {

  0% {

    transform: rotate(0deg);

  }



  100% {

    transform: rotate(360deg);

  }

}



/* ===== Back to Top ===== */

#backToTop {

  position: fixed;

  bottom: 30px;

  right: 30px;

  background: var(--primary-gradient);

  border: none;

  color: var(--white);

  width: 48px;

  height: 48px;

  border-radius: 50%;

  cursor: pointer;

  font-size: 1.4rem;

  z-index: 99;

  opacity: 0;

  visibility: hidden;

  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);

}



#backToTop.show {

  opacity: 1;

  visibility: visible;

}



/* ===== Navbar ===== */

.navbar {

  position: sticky;

  top: 0;

  background: var(--glass);

  backdrop-filter: blur(25px);

  -webkit-backdrop-filter: blur(25px);

  z-index: 1000;

  padding: 1rem 0;

  border-bottom: 1px solid var(--glass-border);

  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

}



.nav-container {

  display: flex;

  justify-content: space-between;

  align-items: center;

}



.logo {

  display: flex;

  align-items: center;

}



.logo-img {

  height: 45px;

  width: auto;

  display: block;

}



.footer-logo-img {

  height: 55px;

  width: auto;

  margin-bottom: 1.5rem;

}



.nav-links ul {

  display: flex;

  gap: 2.5rem;

  list-style: none;

}



.nav-links a {

  text-decoration: none;

  color: #333333;

  font-weight: 600;

  font-size: 0.95rem;

  transition: 0.3s ease;

}



.nav-links a:hover {

  color: var(--primary);

}



.portal-link {

  background: var(--primary-gradient);

  color: var(--white) !important;

  padding: 8px 20px;

  border-radius: 50px;

  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);

  transition: all 0.3s ease !important;

}



.portal-link:hover {

  transform: translateY(-2px);

  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);

}



.hamburger {

  display: none;

  font-size: 1.8rem;

  cursor: pointer;

  color: var(--black);

}



/* ===== Hero ===== */

.hero {

  position: relative;

  min-height: 90vh;

  display: flex;

  align-items: center;

  overflow: hidden;

  background: radial-gradient(circle at 70% 30%, #0066FF05 0%, #ffffff 100%);

}



.section.internship {

  background: var(--bg-internship) !important;

}



.about {

  background-color: var(--bg-dark);

}



.about .about-card {

  background: var(--white);

  border-color: rgba(0, 0, 0, 0.05);

}



.hero-bg-animation {

  position: absolute;

  inset: 0;

  z-index: 0;

}



.circle {

  position: absolute;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(0, 102, 255, 0.12), transparent);

  animation: float 15s infinite ease-in-out;

  filter: blur(40px);

}



.c1 {

  width: 400px;

  height: 400px;

  top: -10%;

  left: -10%;

}



.c2 {

  width: 600px;

  height: 600px;

  bottom: -20%;

  right: -15%;

  animation-delay: 2s;

}



.c3 {

  width: 250px;

  height: 250px;

  top: 40%;

  left: 60%;

  animation-delay: 4s;

}



.grid-pattern {

  position: absolute;

  width: 100%;

  height: 100%;

  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);

  background-size: 50px 50px;

}



@keyframes float {

  0% {

    transform: translate(0, 0) rotate(0deg);

  }



  33% {

    transform: translate(30px, -50px) rotate(2deg);

  }



  66% {

    transform: translate(-20px, 20px) rotate(-2deg);

  }



  100% {

    transform: translate(0, 0) rotate(0deg);

  }

}



.hero-container {

  display: flex;

  align-items: center;

  gap: 3rem;

  position: relative;

  z-index: 2;

}



.hero-content {

  flex: 1;

}



.hero-content h1 {

  font-size: 3.8rem;

  font-weight: 800;

  line-height: 1.1;

  margin-bottom: 1.5rem;

  letter-spacing: -1px;

}



.hero-tagline {

  font-size: 1.25rem;

  color: var(--text-muted);

  margin: 2rem 0;

  max-width: 600px;

  font-weight: 400;

}



.btn {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 14px 32px;

  border-radius: 50px;

  font-weight: 600;

  text-decoration: none;

  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  font-size: 1rem;

}



.btn-primary {

  background: var(--primary-gradient);

  color: var(--white);

  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.2);

}



.btn-primary:hover {

  transform: translateY(-3px) scale(1.02);

  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.4);

}



.btn-outline {

  border: 2px solid var(--primary);

  color: var(--primary);

}



.btn-outline:hover {

  background: var(--primary);

  color: var(--white);

  transform: translateY(-3px);

}



.hero-ui-graphic {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.glass-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.main-card {
  width: 380px;
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  animation: float-slow 6s ease-in-out infinite;
}

.card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.card-header .dots {
  display: flex;
  gap: 6px;
}

.card-header .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.card-header .dots span:nth-child(1) { background: #EF4444; }
.card-header .dots span:nth-child(2) { background: #F59E0B; }
.card-header .dots span:nth-child(3) { background: #10B981; }

.skeleton-line {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  margin-bottom: 12px;
}

.skeleton-line.w-70 { width: 70%; }
.skeleton-line.w-40 { width: 40%; }

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.metric-box i {
  font-size: 1.5rem;
  color: var(--primary);
  background: rgba(0, 102, 255, 0.1);
  padding: 10px;
  border-radius: 8px;
}

.metric-info .metric-val {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.metric-info .metric-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.float-card {
  position: absolute;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  z-index: 3;
}

.float-card i {
  font-size: 1.2rem;
}

.card-1 {
  top: 10%;
  right: -5%;
  animation: float-delayed 7s ease-in-out infinite;
}

.card-2 {
  bottom: 15%;
  left: -5%;
  animation: float-slow 8s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

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

@media (max-width: 992px) {
  .hero-ui-graphic {
    display: none;
  }
}



/* Section General */

.section {

  padding: 5rem 0;

}



.section-header {

  text-align: center;

  margin-bottom: 3rem;

}



.section-header h2 {

  font-size: 3rem;

  font-weight: 800;

  letter-spacing: -1.5px;

}



.underline {

  width: 60px;

  height: 6px;

  background: var(--electric-gradient);

  margin: 1.2rem auto 0;

  border-radius: 10px;

  transition: width 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}



.section-header:hover .underline {

  width: 120px;

}



/* About, Services, etc */

.about-grid,

.services-grid,

.internship-grid,

.courses-grid,

.timeline-steps,

.feature-cards,

.projects-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 2rem;

  perspective: 1000px;

}



.about-card,

.service-card,

.internship-feature,

.course-card,

.feature-card,

.project-card,

.testimonial-card {

  background: var(--bg-card);

  padding: 2.5rem;

  border-radius: 28px;

  backdrop-filter: blur(15px);

  -webkit-backdrop-filter: blur(15px);

  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);

  border: 1px solid var(--glass-border);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);

  transform-style: preserve-3d;

}



.about-card i,

.service-card i,

.internship-feature i {

  font-size: 2.8rem;

  background: var(--electric-gradient);

  -webkit-background-clip: text;

  background-clip: text;

  color: transparent;

  margin-bottom: 1.5rem;

  filter: drop-shadow(0 5px 15px rgba(0, 102, 255, 0.2));

}



.service-card:hover,

.course-card:hover,

.project-card:hover,

.feature-card:hover,

.internship-feature:hover {

  transform: translateY(-15px) rotateX(4deg) rotateY(2deg) scale(1.02);

  background: rgba(255, 255, 255, 0.65);

  border-color: rgba(255, 255, 255, 0.8);

  box-shadow: 0 40px 80px rgba(0, 60, 255, 0.1), 0 20px 40px rgba(0, 0, 0, 0.05);

}



.course-card .tech-stack {

  font-size: 0.85rem;

  color: var(--primary);

  font-weight: 600;

  margin-top: 20px;

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

}



.course-card .tech-stack span {

  padding: 4px 12px;

  background: rgba(0, 102, 255, 0.1);

  border-radius: 20px;

  border: 1px solid rgba(0, 102, 255, 0.2);

}



.timeline-steps {

  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

  text-align: center;

}



.step-icon {

  font-size: 2rem;

  background: var(--glass);

  width: 80px;

  height: 80px;

  display: flex;

  margin: 0 auto 1.2rem;

  border-radius: 50%;

  align-items: center;

  justify-content: center;

  color: var(--primary);

  border: 1px solid var(--border-color);

}



.stats-row {

  display: flex;

  justify-content: space-around;

  flex-wrap: wrap;

  gap: 3rem;

  text-align: center;

  margin-bottom: 4rem;

}



.stat-item h3 {

  font-size: 3.5rem;

  background: var(--electric-gradient);

  -webkit-background-clip: text;

  background-clip: text;

  color: transparent;

  font-weight: 800;

}



/* Filter buttons */

.filter-buttons {

  display: flex;

  justify-content: center;

  gap: 1rem;

  margin-bottom: 2rem;

  flex-wrap: wrap;

}



.filter-btn {

  background: var(--bg-card);

  border: 1px solid var(--border-color);

  padding: 10px 24px;

  border-radius: 40px;

  color: var(--white);

  cursor: pointer;

  font-weight: 500;

  transition: 0.3s;

}



.filter-btn.active,

.filter-btn:hover {

  background: var(--primary-gradient);

  color: var(--white);

  border-color: transparent;

}



/* Carousel */

.carousel-container {

  position: relative;

  max-width: 800px;

  margin: 0 auto;

  overflow: hidden;

}



.testimonial-slider {

  display: flex;

  transition: transform 0.5s ease;

}



.testimonial-card {

  min-width: 100%;

  background: var(--bg-card);

  margin: 0 1rem;

  padding: 3rem;

  border-radius: 32px;

  border: 1px solid var(--border-color);

}



.carousel-btn {

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  background: var(--primary-gradient);

  border: none;

  width: 45px;

  height: 45px;

  border-radius: 50%;

  cursor: pointer;

  color: var(--white);

  font-weight: bold;

  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);

}



.prev {

  left: -20px;

}



.next {

  right: -20px;

}



/* FAQ */

.faq-accordion {

  max-width: 800px;

  margin: 0 auto;

}



.faq-item {

  background: var(--bg-card);

  margin-bottom: 1.2rem;

  border-radius: 24px;

  overflow: hidden;

  border: 1px solid var(--border-color);

}



.faq-question {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 1.5rem;

  cursor: pointer;

  font-weight: 600;

  transition: background 0.3s;

}



.faq-question:hover {

  background: rgba(0, 102, 255, 0.05);

}



.faq-answer {

  max-height: 0;

  overflow: hidden;

  transition: all 0.4s ease;

  padding: 0 1.5rem;

  color: var(--text-muted);

}



.faq-item.active {

  border-color: var(--primary);

}



.faq-item.active .faq-answer {

  max-height: 300px;

  padding: 0 1.5rem 1.5rem;

}



.faq-item.active .fa-plus {

  transform: rotate(45deg);

  color: var(--primary);

}



/* Contact */

.contact-wrapper {

  display: grid;

  grid-template-columns: 1fr 1.2fr;

  gap: 4rem;

}



.contact-info div {

  margin-bottom: 1.5rem;

  display: flex;

  align-items: center;

  gap: 15px;

  font-size: 1.1rem;

}



.contact-info i {

  color: var(--primary);

  font-size: 1.2rem;

}



.contact-form input,

.contact-form textarea {

  width: 100%;

  padding: 16px;

  background: var(--bg-card);

  border: 1px solid var(--border-color);

  border-radius: 18px;

  color: var(--white);

  margin-bottom: 1.2rem;

  transition: 0.3s;

}



.contact-form input:focus,

.contact-form textarea:focus {

  border-color: var(--primary);

  outline: none;

  box-shadow: 0 0 15px rgba(0, 102, 255, 0.1);

}



.contact-form button {

  border: none;

  cursor: pointer;

  width: 100%;

  justify-content: center;

}



/* Footer */

footer {

  background: var(--bg-grey-white);

  padding: 4rem 0 2rem;

  text-align: center;

  border-top: 1px solid var(--border-color);

}



.footer-logo {

  margin-bottom: 1.5rem;

}



.footer-links {

  display: flex;

  justify-content: center;

  gap: 3rem;

  flex-wrap: wrap;

  margin-bottom: 2rem;

}



.footer-links a {

  color: var(--text-muted);

  text-decoration: none;

  transition: 0.3s;

  font-weight: 500;

}



.footer-links a:hover {

  color: var(--primary);

}



.footer-social i {

  font-size: 1.6rem;

  margin: 0 12px;

  color: var(--text-muted);

  cursor: pointer;

  transition: 0.3s;

}



.footer-social i:hover {

  color: var(--primary);

  transform: translateY(-3px);

}



.copyright {

  margin-top: 3rem;

  color: var(--text-muted);

  font-size: 0.9rem;

  opacity: 0.7;

}



/* Responsive */

@media (max-width: 992px) {

  .hero-container {

    flex-direction: column;

    text-align: center;

  }



  .hero-content h1 {

    font-size: 2.5rem;

  }



  .nav-links {

    position: fixed;

    top: 70px;

    left: -100%;

    width: 80%;

    height: calc(100vh - 70px);

    background: var(--bg-dark);

    flex-direction: column;

    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);

    padding: 3rem 2rem;

    border-right: 1px solid var(--border-color);

    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.08);

  }



  .nav-links.active {

    left: 0;

  }



  .nav-links ul {

    flex-direction: column;

    gap: 1.5rem;

  }



  .hamburger {

    display: block;

  }



  .contact-wrapper {

    grid-template-columns: 1fr;

  }



  .carousel-btn {

    display: none;

  }



  .about-grid {

    grid-template-columns: 1fr !important;

    gap: 2rem !important;

    text-align: center !important;

  }



  .about-text {

    text-align: center !important;

  }



  .about-text ul {

    grid-template-columns: 1fr !important;

    text-align: left;

    max-width: 300px;

    margin: 2rem auto 0 !important;

  }



  .trust-bar {

    justify-content: center !important;

  }

}



@media (max-width: 640px) {

  .section {

    padding: 3rem 0;

  }



  .hero-buttons .btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem !important;
    align-items: center;
  }
}

/* FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  margin-bottom: 1.2rem;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(0, 102, 255, 0.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

.faq-item.active .fa-plus {
  transform: rotate(45deg);
  color: var(--primary);
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info div {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
}

.contact-info i {
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  color: var(--white);
  margin-bottom: 1.2rem;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.1);
}

.contact-form button {
  border: none;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}

/* Footer */
footer {
  background: var(--bg-grey-white);
  padding: 4rem 0 2rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
}

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

.footer-social i {
  font-size: 1.6rem;
  margin: 0 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.3s;
}

.footer-social i:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: var(--bg-dark);
    flex-direction: column;
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 3rem 2rem;
    border-right: 1px solid var(--border-color);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hamburger {
    display: block;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center !important;
  }

  .about-text {
    text-align: center !important;
  }

  .about-text ul {
    grid-template-columns: 1fr !important;
    text-align: left;
    max-width: 300px;
    margin: 2rem auto 0 !important;
  }

  .trust-bar {
    justify-content: center !important;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }

  .hero-buttons .btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem !important;
    align-items: center;
  }
}

/* Portfolio Marquee Enhanced */
.logo-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 4rem 0;
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark) 10%, transparent);
}

.logo-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark) 10%, transparent);
}

.logo-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 2rem;
  mask-image: linear-gradient(to right,
      hsl(0 0% 0% / 0),
      hsl(0 0% 0% / 1) 10%,
      hsl(0 0% 0% / 1) 90%,
      hsl(0 0% 0% / 0));
}

.marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  min-width: 100%;
  animation: scrollMarquee 20s linear infinite;
}

.logo-marquee:hover .marquee-group {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.marquee-item img {
  max-width: 220px;
  max-height: 100px;
  object-fit: contain;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.marquee-item img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 10px 15px rgba(0, 102, 255, 0.2));
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - 2rem));
  }
}

/* Mobile 2-column Grid for Android View */
@media (max-width: 768px) {
  .services-grid,
  .internship-grid,
  .timeline-steps {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
  }

  .service-card,
  .step,
  .internship-feature {
    padding: 1.2rem 1rem !important;
  }

  .service-card h3,
  .step h4,
  .internship-feature span {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .service-card p,
  .step p,
  .internship-feature p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  .service-card i,
  .step-icon,
  .internship-feature i {
    font-size: 1.4rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  .step-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
    margin: 0 auto 0.8rem !important;
  }
}