/* ================= RESET & BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}

body {
  background-color: #f8fbff;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}


/* ================= NAVBAR ================= */
nav {
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 25px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
}

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

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #cfe1ff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  border-radius: 3px;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(90deg, #1e3a8a, #2563eb);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links a {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active {
    max-height: 300px;
    margin-top: 52px;
  }

  .hamburger {
    display: flex;
  }
}

/* ================= HERO / CAROUSEL ================= */
.carousel {
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  padding: 6rem 2rem 5rem;
}

.carousel-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-text {
  flex: 1 1 45%;
}

.carousel-text h1 {
  font-size: 2.8rem;
  color: #1d4ed8;
  margin-bottom: 1rem;
  font-weight: 700;
}

.carousel-text p {
  color: #475569;
  font-size: 1rem;
  margin-bottom: 1.8rem;
}

.btn-primary {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #1d4ed8, #1e40af);
  transform: translateY(-3px);
}

.carousel-image {
  flex: 1 1 45%;
  text-align: center;
}

.carousel-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

/* ================= ABOUT SECTION ================= */
.about-us {
  background: #f1f5ff;
  padding: 10px;
}

.section-title h2,
.about-us .section-title {
  color: #1d4ed8;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
}

.about-image img {
  
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1 1 45%;
  color: #334155;
  font-size: 1rem;
  line-height: 1.8;
}

/* ================= COURSES ================= */

.courses-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 20px;
  padding: 20px;
}

@media screen  and (max-width:550px){
  .courses-container{
    grid-template-columns: repeat(1,auto);
  }
}

.course-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.course-card h3 {
  color: #0044cc;
  margin-bottom: 10px;
}

.course-card p {
  font-size: 14px;
  color: #444;
  margin-bottom: 15px;
}

.join-btn, .details-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 5px 10px 5px;
  font-weight: 600;
  font-size: 14px;
}

.join-btn {
  background-color: #0056ff;
  color: white;
}

.details-btn {
  background-color: #eee;
  color: #333;
}

.details {
  margin-top: 10px;
  text-align: left;
  font-size: 13px;
  color: #222;
  background-color: #f9f9f9;
  border-left: 3px solid #0056ff;
  padding: 10px;
  border-radius: 4px;
}

/* ===== Placement Partners Section ===== */
.partners {
  background: white;
  padding: 80px 10%;
  text-align: center;
}

.partners .section-title {
  color: #003f9a;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  justify-items: center;
}

.partner-card {
  background: linear-gradient(90deg, #001f4d, #0077ff);
  color: white;
  padding: 18px 10px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  width: 100%;
  max-width: 220px;
  text-align: center;
  transition: 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 47, 119, 0.2);
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 47, 119, 0.35);
  background: linear-gradient(90deg, #0077ff, #001f4d);
}

/* Responsive */
@media (max-width: 768px) {
  .partner-card {
    font-size: 0.85rem;
    max-width: 180px;
    padding: 14px;
  }
}


/*================== Counsellor ==================*/


  /* The main counsellor section */
  .counsellor-section {
  background: linear-gradient(135deg, #004aad, #0066ff);
  color: white;
  padding: 40px 30px;
  border-radius: 15px;
  max-width: 900px;
  margin: 40px auto; /* center horizontally with margin */
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 6px 25px rgba(0, 102, 255, 0.6);
}

.counsellor-section img {
  width: 160px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.7);
}

.counsellor-text {
  flex-grow: 1;
}

.counsellor-text small {
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.9;
  display: block;
  margin-bottom: 8px;
}

.counsellor-text h2 {
  font-size: 2.4rem;
  margin: 0 0 15px 0;
}

.phone-number {
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.phone-number svg {
  width: 26px;
  height: 26px;
  margin-right: 12px;
  fill: white;
}

.whatsapp-button {
  background-color: white;
  color: #25d366;
  border: 2px solid #25d366;
  border-radius: 30px;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: none;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: fit-content;
}

.whatsapp-button:hover {
  background-color: #25d366;
  color: white;
  border-color: #25d366;
}

.whatsapp-button svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@media (max-width: 650px) {
  .counsellor-section {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .counsellor-section img {
    width: 130px;
    margin-bottom: 20px;
  }
  .phone-number {
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
}



/* ================= PLACEMENTS ================= */
.placements {
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  padding: 5rem 2rem;
  text-align: center;
}

.placements h2 {
  color: #1e40af;
  margin-bottom: 2rem;
}

.placement-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
}

.placement-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem 1rem;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.15);
  transition: all 0.3s ease;
}

.placement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(29, 78, 216, 0.25);
}

.placement-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #2563eb;
  margin-bottom: 1rem;
}

.placement-card h3 {
  color: #1e40af;
  margin-bottom: 0.3rem;
}

.placement-card p {
  color: #475569;
}



/* ===== Contact Section ===== */
.contact {
  background: #f3f6fc;
  padding: 80px 10%;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.map {
  flex: 1;
  min-width: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 47, 119, 0.15);
}

.address {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 47, 119, 0.1);
}

.address h2 {
  color: #003f9a;
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.address h4 {
  color: #334155;
  margin-bottom: 10px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .map iframe {
    height: 250px;
  }

  .address {
    text-align: center;
  }
}



/* ===== Job Guarantee Section ===== */
.job-guarantee {
  background: linear-gradient(90deg, #001f4d, #0077ff);
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 80px 20px;
  border-radius: 0;
  box-shadow: 0 8px 25px rgba(0, 47, 119, 0.3);
}

.job-guarantee h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.job-guarantee p {
  font-size: 1.1rem;
  font-weight: 400;
  color: #e0ebff;
  max-width: 700px;
  margin: auto;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .job-guarantee {
    padding: 60px 15px;
  }

  .job-guarantee h2 {
    font-size: 1.8rem;
  }

  .job-guarantee p {
    font-size: 1rem;
  }
}


.soft-skills {
  background: linear-gradient(135deg, #004aad, #007bff);
  color: white;
  text-align: center;
  padding: 70px 20px;
  border-radius: 10px;
  margin: 60px auto;
  max-width: 1200px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.soft-skills h2 {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 15px;
}

.soft-skills p {
  font-size: 1.1em;
  margin-bottom: 50px;
  opacity: 0.9;
}

.skills-images {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.skill-box {
  background: white;
  color: #004aad;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.skill-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.skill-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.skill-box h3 {
  font-size: 1.2em;
  margin-top: 10px;
}



/* ================= FOOTER ================= */
.footer {
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  color: white;
  padding: 4rem 2rem 1.5rem;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
}

.footer-logo img {
  width: 180px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: #e2e8f0;
  font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #e0f2fe;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-contact p {
  font-size: 0.95rem;
  color: #e2e8f0;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.social-icons img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.15);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #e0e7ff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .carousel-content {
    flex-direction: column;
    text-align: center;
  }

  .about-container {
    flex-direction: column;
  }

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

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