/* ===== COMPLETE CSS FILE ===== */
/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
  font-family: inherit;
}

    body {
      font-family: 'Poppins', sans-serif;
      /* margin: 20px; */
    }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Remove gaps between sections */
section {
  margin: 0;
  padding: 4rem 0;
}

/* Ensure consistent container widths */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
/*Responsive for Global Styles */
@media (max-width: 1024px) {
  section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
}

/* Navbar */
.navbar {
  background-color: crimson;
  border-bottom: 2px solid black;
  position: fixed;
  width: 100%;
  z-index: 1000;
  font-family: 'Segoe UI', sans-serif;
  animation: slideDown 0.6s ease-in-out;
  top: 0;
  left: 0;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.navbar-logo {
  width: 45px;
  height: 45px;
  margin-right: 0px;
  margin-bottom:0.4px;
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text {
  font-size: 1rem;
  font-weight: bold;
  color: white;
  margin-bottom: 3px;
}

.brand-subtext {
  font-size: 0.75rem;
  color: white;
}

/* Navbar Links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.navbar-links a {
  text-decoration: none;
  color: white;
  padding: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-links a:hover {
  color: black;
  transform: translateY(-2px);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 0.95rem;
  color: white;
  transition: color 0.3s ease;
}

.dropdown-btn:hover {
  color: black;
}

.dropdown-content {
  position: absolute;
  background-color: #fffbea;
  top: 25px;
  left: 0;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid black;
  border-radius: 4px;
  overflow: hidden;
  min-width: 250px;
  z-index: 1001;
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    transform: scaleY(0.8);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.dropdown-content a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #ffe066;
  color: #ff0000;
}

/* Enroll Now button */
.login-btn {
  background-color: #8B0A23;
  color: #000;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.login-btn:hover {
  background-color: #ffc107;
  color: #ff0000;
  transform: scale(1.05);
}

/* Hamburger Menu */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .navbar-links {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 1rem;
    display: none;
    gap: 1rem;
    z-index: 999;
    border-top: 1px solid black;
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-links a,
  .dropdown-btn,
  .login-btn {
    width: 100%;
    text-align: center;
    padding: 0.4rem 0.8rem;
    color: crimson;
  }

  .login-btn {
    font-size: 0.9rem;
    padding: 6px 16px;
    margin: 0 auto;
    display: block;
  }

  .dropdown-content {
    position: relative;
    top: 0;
    left: 0;
    border: none;
    box-shadow: none;
    background-color: transparent;
    width: 100%;
    padding-left: 0;
    display: none;
  }

  .dropdown-content.active {
    display: block;
  }

  .dropdown-content a {
    padding: 0.5rem 0;
    color: #333;
  }

  .brand-subtext {
    font-size: 0.6rem;
    color: white;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .login-btn {
    font-size: 0.9rem;
    padding: 6px 16px;
    margin: 0 auto;
    display: inline-block;
    width: auto;
    max-width: 200px;
  }
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* ===============================
   HERO SECTION ELECTRONICS - DESKTOP
================================== */
.section-hero-electronics {
  padding: 4rem 2rem 4rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content-electronics {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.trusted-learners-electronics {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.learner-profiles-electronics {
  display: flex;
  margin-left: -10px;
}

.learner-profiles-electronics img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -10px;
}

.learners-text-electronics {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.hero-title-electronics {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.highlight-gradient-electronics {
  background: linear-gradient(45deg, crimson, #9b59b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheading-electronics {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-apply-btn-electronics {
  display: inline-block;
  background: linear-gradient(45deg, crimson, purple);
  color: #fff;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.hero-apply-btn-electronics:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.hero-image-electronics {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  border-radius: 20px;
}

.hero-image-electronics img {
  max-width: 100%;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 16px;
  border: 3px solid crimson;
}

/* ========== TABLET ========== */
@media (max-width: 1024px) {
  .section-hero-electronics {
    padding: 6rem 1.5rem 3rem;
  }

  .hero-content-electronics {
    gap: 3rem;
  }

  .hero-title-electronics {
    font-size: 2.5rem;
  }

  .hero-subheading-electronics {
    font-size: 1.1rem;
  }

  .hero-image-electronics img {
    max-height: 350px;
  }
}

/* ========== MOBILE ========== */
@media (max-width: 767px) {
  .section-hero-electronics {
    padding: 4rem 1rem 2rem;
  }

  .hero-content-electronics {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .trusted-learners-electronics {
    justify-content: center;
  }

  .hero-title-electronics {
    font-size: 2rem;
  }

  .hero-subheading-electronics {
    font-size: 1rem;
  }

  .hero-apply-btn-electronics {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .hero-image-electronics img {
    max-width: 350px;
  }
}

/* ========== ABOUT SECTION ========== */
.about-section-electronics {
  padding: 80px 20px;
  background-color: #fff;
}

.about-section-electronics .section-title {
  text-align: center;
  font-size: 2.5rem;
  color: crimson;
  margin-bottom: 10px;
  font-weight: bold;
}

.about-section-electronics .section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-card {
  background-color: #f9f9f9;
  border: 2px solid crimson;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-icon {
  font-size: 2.5rem;
  color: crimson;
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 1.3rem;
  color: #111;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Tablet */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section-electronics .section-title {
    font-size: 2.2rem;
  }

  .about-section-electronics .section-subtitle {
    font-size: 1rem;
  }

  .about-card {
    padding: 25px 15px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-section-electronics .section-title {
    font-size: 2rem;
    text-align: left;
  }

  .about-section-electronics .section-subtitle {
    text-align: left;
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .about-card {
    padding: 20px 15px;
    text-align: left;
  }

  .about-icon {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .about-card h3 {
    font-size: 1.2rem;
  }

  .about-card p {
    font-size: 0.95rem;
  }
}

/* ========== COURSE HIGHLIGHTS ========== */
.section-highlights-electronics {
  background: #fff;
  text-align: center;
  padding: 1rem 1rem 4rem; /* reduced top padding from 4rem to 2rem */
}

.highlights-title-electronics {
  font-size: 2.5rem;
  font-weight: 700;
  color: crimson;
  margin-bottom: 3rem;
}

.highlights-line-electronics {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.highlights-line-electronics::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, crimson, #9b59b6);
  z-index: 1;
}

.highlight-item-electronics {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
  position: relative;
  z-index: 2;
}

.highlight-circle-electronics {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, crimson, #9b59b6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.highlight-text-electronics {
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  padding: 0 0.5rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .highlights-title-electronics {
    font-size: 2rem;
  }

  .highlights-line-electronics {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .highlights-line-electronics::before {
    display: none;
  }

  .highlight-item-electronics {
    flex: 1;
    min-width: calc(50% - 1rem);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .highlights-title-electronics {
    font-size: 1.8rem;
    padding: 0rem 1rem 1rem; /* reduced top padding from 4rem to 2rem */
  }

  .highlights-line-electronics {
    flex-direction: column;
    gap: 2rem;
  }

  .highlight-item-electronics {
    max-width: 100%;
  }

  .highlight-circle-electronics {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Scroll Reveal Animation */
.scroll-reveal-electronics {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-electronics.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* ===== Common Image Style for Electronics Courses ===== */
.dual-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.course-img {
  width: 45%;
  max-width: 360px;
  border-radius: 50%;
  border: 4px dashed crimson;
  padding: 5px;
  box-shadow: 0 4px 18px rgba(220, 20, 60, 0.3);
  transition: transform 0.3s ease;
}

.course-img:hover {
  transform: scale(1.05);
}

/* Tablet View */
@media (max-width: 768px) {
  .course-img {
    width: 80%;
    border-radius: 30px;
  }

  .dual-images {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

/* Mobile View */
@media (max-width: 480px) {
  .course-img {
    width: 90%;
    max-width: 100%;
    border-radius: 20px;
  }
}

/* vlsi-course */
.section-vlsi-course {
  background-color: #fdfdfd;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.vlsi-container {
  max-width: 1000px;
  margin: 0 auto;
}

.vlsi-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: crimson;
  margin-bottom: 30px;
  text-align: center;
}

.vlsi-highlights {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 500;
  color: #444;
}

.vlsi-highlights li {
  background: #f0f0f0;
  padding: 10px 15px;
  border-radius: 10px;
}

.vlsi-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Tablet */
@media (max-width: 768px) {
  .vlsi-heading {
    font-size: 2rem;
    text-align: left;
  }
  .vlsi-text {
    font-size: 1rem;
    text-align: left;
  }
  .vlsi-highlights {
    justify-content: flex-start;
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .vlsi-heading {
    font-size: 1.6rem;
  }

  .vlsi-container {
    padding: 0 10px;
  }

  .vlsi-highlights {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
  }

  .vlsi-highlights li {
    text-align: left;
  }
}
/* vlsi-asic */
.section-vlsi-asic-course {
  background-color: #fdfdfd;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.vlsi-asic-container {
  max-width: 1000px;
  margin: 0 auto;
}

.vlsi-asic-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: crimson;
  margin-bottom: 30px;
  text-align: center;
}

.vlsi-asic-highlights {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 500;
  color: #444;
}

.vlsi-asic-highlights li {
  background: #f0f0f0;
  padding: 10px 15px;
  border-radius: 10px;
}

.vlsi-asic-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Tablet */
@media (max-width: 768px) {
  .vlsi-asic-heading {
    font-size: 2rem;
    text-align: left;
  }

  .vlsi-asic-text {
    font-size: 1rem;
    text-align: left;
  }

  .vlsi-asic-highlights {
    justify-content: flex-start;
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .vlsi-asic-heading {
    font-size: 1.6rem;
  }

  .vlsi-asic-container {
    padding: 0 10px;
  }

  .vlsi-asic-highlights {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
  }

  .vlsi-asic-highlights li {
    text-align: left;
  }
}
/* embedded-course */
.section-embedded-course {
  background-color: #fdfdfd;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.embedded-container {
  max-width: 1000px;
  margin: 0 auto;
}

.embedded-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: crimson;
  margin-bottom: 30px;
  text-align: center;
}

.embedded-highlights {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 500;
  color: #444;
}

.embedded-highlights li {
  background: #f0f0f0;
  padding: 10px 15px;
  border-radius: 10px;
}

.embedded-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Tablet */
@media (max-width: 768px) {
  .embedded-heading {
    font-size: 2rem;
    text-align: left;
  }

  .embedded-text {
    font-size: 1rem;
    text-align: left;
  }

  .embedded-highlights {
    justify-content: flex-start;
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .embedded-heading {
    font-size: 1.6rem;
  }

  .embedded-container {
    padding: 0 10px;
  }

  .embedded-highlights {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
  }

  .embedded-highlights li {
    text-align: left;
  }
}

.section-embedded-ai-course {
  background-color: #fdfdfd;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.embedded-ai-container {
  max-width: 1000px;
  margin: 0 auto;
}

.embedded-ai-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: crimson;
  margin-bottom: 30px;
  text-align: center;
}

.embedded-ai-highlights {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 500;
  color: #444;
}

.embedded-ai-highlights li {
  background: #f0f0f0;
  padding: 10px 15px;
  border-radius: 10px;
}

.embedded-ai-text {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 20px;
  text-align: justify;
}

/* Tablet */
@media (max-width: 768px) {
  .embedded-ai-heading {
    font-size: 2rem;
    text-align: left;
  }

  .embedded-ai-text {
    font-size: 1rem;
    text-align: left;
  }

  .embedded-ai-highlights {
    justify-content: flex-start;
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .embedded-ai-heading {
    font-size: 1.6rem;
  }

  .embedded-ai-container {
    padding: 0 10px;
  }

  .embedded-ai-highlights {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
  }

  .embedded-ai-highlights li {
    text-align: left;
  }
}

.section-pcb-course {
  background-color: #fdfdfd;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.pcb-container {
  max-width: 1000px;
  margin: 0 auto;
}

.pcb-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: crimson;
  margin-bottom: 30px;
  text-align: center;
}

.pcb-highlights {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 500;
  color: #444;
}

.pcb-highlights li {
  background: #f0f0f0;
  padding: 10px 15px;
  border-radius: 10px;
}

.pcb-text {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 20px;
  text-align: justify;
}

/* Tablet */
@media (max-width: 768px) {
  .pcb-heading {
    font-size: 2rem;
    text-align: left;
  }

  .pcb-text {
    font-size: 1rem;
    text-align: left;
  }

  .pcb-highlights {
    justify-content: flex-start;
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .pcb-heading {
    font-size: 1.6rem;
  }

  .pcb-container {
    padding: 0 10px;
  }

  .pcb-highlights {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
  }

  .pcb-highlights li {
    text-align: left;
  }
}

/* =============================
   Electronics Course Contents Section
============================= */
.section-electronics-contents {
  background: #fff;
  padding: 1.5rem 1rem 3rem;
}

.electronics-contents-container {
  max-width: 700px;
  margin: 0 auto;
}

.electronics-contents-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: crimson;
  text-align: center;
  margin-bottom: 1.5rem;
}

.contents-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.accordion-item {
  border: 1.2px solid #e9ecef;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item.active {
  border-color: crimson;
  box-shadow: 0 2px 8px rgba(220, 20, 60, 0.1);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-item.active .accordion-header {
  background: crimson;
  color: #fff;
}

.accordion-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: #fff;
}

.accordion-content {
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 1rem;
  max-height: 200px;
}

.accordion-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion-list li {
  padding: 0.3rem 0;
  color: #555;
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.95rem;
}

.accordion-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: crimson;
  font-weight: bold;
}

/* Tablet View */
@media (max-width: 768px) {
  .electronics-contents-title {
    font-size: 1.7rem;
    text-align: left;
  }

  .accordion-header {
    padding: 0.7rem 1rem;
  }

  .accordion-item.active .accordion-content {
    padding: 0.9rem;
  }
}

/* Mobile View */
@media (max-width: 480px) {
  .electronics-contents-container {
    padding: 0 8px;
  }

  .section-electronics-contents {
    padding: 20px 8px 30px;
  }

  .electronics-contents-title {
    font-size: 1.4rem;
    text-align: left;
  }
}

/* =============================
   Benefits of Learning Electronics Tools Section
============================= */
.section-electronics-benefits {
  background: #f9f9f9;
  padding: 2rem 1rem;
}

.electronics-benefits-container {
  max-width: 1000px;
  margin: 0 auto;
}

.electronics-benefits-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: crimson;
  text-align: center;
  margin-bottom: 2rem;
}

.electronics-benefits-subtitle {
  font-size: 1rem;
  color: #555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.electronics-benefits-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.electronics-benefit-card {
  background: #fff;
  padding: 1.8rem 1.2rem;
  border-radius: 10px;
  border: 1px solid crimson;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.electronics-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.electronics-benefit-icon {
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: crimson;
}

.electronics-benefit-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #333;
}

.electronics-benefit-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* Tablet View */
@media (max-width: 768px) {
  .electronics-benefits-title {
    font-size: 1.8rem;
    text-align: left;
  }

  .electronics-benefits-subtitle {
    text-align: left;
  }

  .electronics-benefit-card {
    padding: 1.5rem 1rem;
  }
}

/* Mobile View */
@media (max-width: 480px) {
  .section-electronics-benefits {
    padding: 2rem 1rem;
    animation: fadeInUp 0.8s ease-in-out;
  }

  .electronics-benefits-title {
    font-size: 1.25rem;
    line-height: 1.3;
    text-align: left;
    margin-bottom: 0.5rem;
    animation: slideInLeft 0.6s ease-in-out;
  }

  .electronics-benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    text-align: center;
    animation: bounceIn 0.8s ease-in-out;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  60% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* =============================
   Electronics Counter Section
============================= */
.electronics-counter-section {
  background: linear-gradient(135deg, crimson 0%, #9b59b6 100%);
  color: #fff;
  padding: 3rem 1rem;
}

.electronics-counter-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.electronics-counter-box {
  text-align: center;
  flex: 1;
  min-width: 220px;
}

.electronics-counter {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.electronics-counter-box p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.electronics-divider {
  width: 2px;
  height: 60px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 2rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .electronics-counter {
    font-size: 2.5rem;
  }

  .electronics-counter-section {
    padding: 2.5rem 1rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .electronics-counter-section {
    padding: 1.5rem 0.8rem;
  }

  .electronics-counter-container {
    flex-direction: column;
    gap: 1rem;
  }

  .electronics-divider {
    width: 40px;
    height: 1px;
    margin: 0.3rem 0;
  }

  .electronics-counter {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
  }

  .electronics-counter-box p {
    font-size: 0.95rem;
  }
}

/* ================================
   Electronics Core Competencies Section
================================ */

.section-electronics-competency {
  background: #f8f9fa;
  padding: 3rem 1rem;
  text-align: center;
}

.electronics-competency-title {
  font-size: 2.5rem;
  color: crimson;
  font-weight: 700;
  margin-bottom: 1rem;
}

.electronics-competency-subtitle {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #222;
}

.electronics-competency-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 2rem;
}

.electronics-competency-box {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border-left: 5px solid;
  text-align: left;
  transition: all 0.3s ease;
}

.electronics-competency-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.electronics-competency-box.pink { border-left-color: #e91e63; }
.electronics-competency-box.orange { border-left-color: #ff9800; }
.electronics-competency-box.purple { border-left-color: #9c27b0; }
.electronics-competency-box.yellow { border-left-color: #ffeb3b; }
.electronics-competency-box.violet { border-left-color: #673ab7; }
.electronics-competency-box.red { border-left-color: #f44336; }

.electronics-competency-content h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: 600;
}

.electronics-competency-content h3 i {
  color: crimson;
  margin-right: 0.5rem;
}

.electronics-competency-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

.electronics-competency-step {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: crimson;
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .electronics-competency-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .electronics-competency-container {
    grid-template-columns: 1fr;
  }
  .electronics-competency-box {
    padding: 1.5rem;
  }
  .electronics-competency-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .electronics-competency-box {
    padding: 1rem;
  }
  .electronics-competency-step {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }
  .electronics-competency-content h3 {
    font-size: 1.05rem;
  }
}

/* ================================
   Electronics Center Advantages Section
================================ */

.electronics-feature-section {
  background: linear-gradient(to right, #6a11cb 0%, crimson 100%);
  padding: 3rem 1rem;
}

.electronics-feature-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.electronics-feature-heading {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 3rem;
  animation: fadeSlideUp 1s ease forwards;
}

.electronics-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.electronics-feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  color: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transform: translateY(30px);
  opacity: 0;
  animation: fadeSlideUp 1s ease forwards;
}

.electronics-feature-card:nth-child(1) { animation-delay: 0.2s; }
.electronics-feature-card:nth-child(2) { animation-delay: 0.4s; }
.electronics-feature-card:nth-child(3) { animation-delay: 0.6s; }

.electronics-feature-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  border-color: #fff;
}

.electronics-feature-card .material-icons {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  color: #fff;
}

.electronics-feature-card:hover .material-icons {
  transform: scale(1.2);
}

.electronics-feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

.electronics-feature-card p {
  color: #f0f0f0;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .electronics-feature-heading {
    font-size: 2rem;
  }
  .electronics-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .electronics-feature-heading {
    font-size: 1.8rem;
  }
  .electronics-feature-grid {
    grid-template-columns: 1fr;
  }
  .electronics-feature-card {
    padding: 2rem 1.5rem;
  }
  .electronics-feature-card .material-icons {
    font-size: 2.5rem;
  }
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   Companies where Electronics students got jobs
================================== */
.section-hiring-electronics {
  background: #f8f9fa;
}

.hiring-electronics-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 0 2rem;
}

.hiring-electronics-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hiring-electronics-title .crimson {
  color: crimson;
}

.hiring-electronics-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hiring-electronics-btn {
  display: inline-block;
  background: linear-gradient(45deg, crimson, #6a11cb);
  color: #fff;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.hiring-electronics-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.company-electronics-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.company-electronics-logo {
  width: 80px;
  height: 60px;
  object-fit: contain;
  transition: all 0.3s ease;
  border-radius: 5px;
  padding: 0.5rem;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.company-electronics-logo:hover {
  transform: scale(1.1);
}

.more-companies-electronics {
  grid-column: span 2;
  text-align: center;
  color: #666;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 1rem;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .hiring-electronics-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .company-electronics-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .company-electronics-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==============================
   Electronics Certificate Timeline Section
============================== */

.section-certificate-electronics {
  background: linear-gradient(to right, #6a11cb 0%, crimson 100%);
  padding: 4rem 2rem;
  color: white;
}

.certificate-electronics-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.certificate-electronics-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Timeline */
.certificate-electronics-timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid rgba(255, 255, 255, 0.4);
}

.timeline-electronics-step {
  margin-bottom: 2rem;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.timeline-electronics-step.active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-electronics-circle {
  position: absolute;
  left: -30px;
  top: 0;
  width: 30px;
  height: 30px;
  background: #fff;
  color: #2575fc;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-electronics-content {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.timeline-electronics-step-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-electronics-step-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* Certificate Image */
.certificate-electronics-right {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
}

.certificate-electronics-image-wrapper {
  position: relative;
  text-align: center;
  margin-top: 6rem;
}

.certificate-electronics-image {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.certificate-electronics-image.active {
  opacity: 1;
  transform: translateY(0);
}

/* Badge */
.certificate-electronics-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  color: #2575fc;
  padding: 1rem;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 80px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  z-index: 2;
}

.certificate-electronics-badge:hover {
  transform: scale(1.05);
}

.certificate-electronics-badge .material-icons {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.2rem;
}

.certificate-electronics-badge p {
  font-size: 0.7rem;
  font-weight: bold;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .certificate-electronics-container {
    grid-template-columns: 1fr;
  }

  .certificate-electronics-right {
    order: -1;
    margin-bottom: 2rem;
  }

  .certificate-electronics-title {
    text-align: center;
  }

  .timeline-electronics-step {
    text-align: left;
  }

  .certificate-electronics-image {
    max-width: 90%;
  }
}


/* footer */

.footer {
  background-color: #1c1c22;
  color: white;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 200px;
}

/* Fix logo spacing */
.footer-logo-img {
  width: 100px;
  margin: -25px 0; /* adds top and bottom spacing */
}

/* Make the paragraph justified */
.footer-col p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;  /* <-- this makes it align full */
}


.footer-logo-text {
  font-size: 20px;
  color: crimson;
  margin-bottom: 15px; /* increased from 10px */
}


.footer-col h3 {
  color: crimson;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: crimson;
}

.footer-col p,
.footer-col a {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  text-align: left;
}
.location-link {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.6;
  display: inline-block;
}

.location-link:hover {
  color: crimson;
  text-decoration: underline;
}


.social-icons a {
  display: inline-flex;                  /* Centers icon in circle */
  align-items: center;
  justify-content: center;
  width: 36px;                           /* Fixed width */
  height: 36px;                          /* Same height = circle */
  border-radius: 50%;                   /* Makes it a circle */
  border: 1px solid crimson;
  background-color: transparent;
  color: white;
  font-size: 16px;
  margin-right: 8px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background-color: crimson;
  color: white;
}


.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  color: #aaa;
  font-size: 13px;
}
/* Normal-looking link */
.plain-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.plain-link:hover {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
.footer-container {
  gap: 0px !important;
}

.footer-col {
  margin-bottom: 10px !important;
}


  .footer-col h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .footer-col ul li {
    margin-bottom: 4px;
  }

  .footer-logo-img {
    width: 80px;
  }

  .footer-logo-text {
    font-size: 18px;
  }

  .social-icons {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .footer-bottom {
    text-align: left;
    margin-top: 20px;
  }
}


/* WhatsApp Floating Button with Font Icon */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebd5a;
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Mobile Responsive */
@media screen and (max-width: 600px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 24px;
    bottom: 15px;
    left: 15px;
  }
}


/* Scroll to Top Button Bottom Right */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  font-size: 24px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
#scrollTopBtn:hover {
  background-color: #0056b3;
}




/* Enroll Button */
.enroll-btn {
  background-color: crimson;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.enroll-btn:hover {
  background-color: darkred;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Form Container */
.form-container {
  background: #fff;
  padding: 5px 20px;         /* 🔻 Reduced padding */
  border-radius: 12px;
  width: 90%;
  max-width: 400px;           /* 🔻 Reduced width too */
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}



.form-container h2 {
  margin-bottom: 20px;
  color: crimson;
  text-align: center;
}

/* Close Button */
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  color: crimson;
  cursor: pointer;
}

/* Form Fields */
.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: crimson;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: crimson;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background-color: darkred;
}

/* Responsive */
@media (max-width: 600px) {
  .form-container {
    padding: 20px;
  }

  .enroll-btn {
    width: 100%;
  }
}