/* style.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}


/* General reset to avoid body padding/margin gaps */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f4f4f4;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Optional container wrapper if needed */
.container-full {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Hero Section */
.hero-section {
  overflow: hidden;
  position: relative;
  padding: 100px 1rem 2rem; /* Top padding + reduced sides */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Glass Card Style */
.glass-card {
  background: linear-gradient(45deg, crimson, #9b59b6);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 100%;
  max-width: 1200px; /* Keeps content centered without overflow */
  margin: 0 auto; /* Center the card */
}

/* Text Content */
.content {
  max-width: 500px;
}

.content h1 {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.content h1 span {
  color: #ffc107;
}

.content p {
  font-size: 1.1rem;
  color: #eee;
  margin-bottom: 1.5rem;
}

.hero-btn {
  background: #fff;
  color: #e60023;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #e60023;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* 3D Scene Card */
.scene {
  perspective: 1000px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card3d {
  width: 250px;
  height: 250px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card3d img {
  width: 70%;
  height: auto;
  border-radius: 10px;
}

.card3d:hover {
  transform: rotateY(20deg) rotateX(10deg);
}

/* Floating Icons */
.floating-icon {
  position: absolute;
  color: white;
  font-size: 2rem;
  animation: float 4s ease-in-out infinite;
}

.rocket {
  top: 15%;
  left: 5%;
}

.gear {
  bottom: 50%;
  right: 5%;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .glass-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .content {
    max-width: 100%;
    width: 100%;
  }

  .card3d {
    margin-top: 2rem;
    width: 200px;
    height: 200px;
  }

  .content h1 {
    font-size: 1.8rem;
    word-wrap: break-word;
  }

  .content p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .hero-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .glass-card {
    padding: 2rem 1rem;
  }

  .content h1 {
    font-size: 1.5rem;
  }

  .floating-icon {
    font-size: 1.5rem;
  }

  .card3d {
    width: 180px;
    height: 180px;
  }

  .hero-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}



/* process-section */

.process-section {
  /* background: #e0f7fa; */
  padding: 0rem 2rem;
  text-align: center;
}

.process-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: crimson;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.step {
  text-align: center;
  max-width: 120px;
}

.step .material-icons {
  font-size: 50px;
  background: white;
  border-radius: 50%;
  padding: 10px;
  color: crimson;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
}

.arrow {
  font-size: 2rem;
  color: #888;
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }
}
/* placement-services  */
.placement-services {
  padding: 0rem 2rem;
  width: 100%;
  background: none;
  color: #333;
}

.placement-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: crimson;
  margin-bottom: 2rem;
  text-align: center;
}

.placement-services p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #444;
  padding: 0 2%; /* Creates margin from left & right edges */
}
@media (max-width: 768px) {
  .placement-services {
    padding: 0rem 1.5rem;
  }

  .placement-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .placement-services p {
    font-size: 1rem;
    padding: 0 1%;
  }
}

@media (max-width: 480px) {
  .placement-services {
    padding: 0rem 1rem;
  }

  .placement-title {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .placement-services p {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0;
  }
}




/*placement-carousel-section  */

.placement-carousel-section {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}

.placement-heading {
  font-size: 28px;
  color: crimson;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border: 3px solid crimson;
  border-radius: 12px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: auto;
}

.carousel-slide img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: crimson;
  color: #fff;
  border: none;
  font-size: 28px;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.carousel-btn:hover {
  background: #a3002a;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.carousel-dots {
  text-align: center;
  margin-top: 10px;
}

.carousel-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #ccc;
  margin: 0 4px;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots .active {
  background: crimson;
}

/* Responsive Sizes */
@media (max-width: 480px) {
  .carousel-btn {
    top: auto;
    bottom: 25px;
    transform: none;
     font-size: 18px;
    padding: 6px 10px;
  
  }

  .prev {
    left: 15%;
  }

  .next {
    right: 15%;
  }
}

/* hiring-section */

.hiring-section {
  padding: 50px 20px;
  background: #f9f9f9;
  text-align: center;
}

.hiring-heading {
  font-size: 28px;
  color: crimson;
  font-weight: bold;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hiring-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.hiring-grid img {
  width: 100px;
  height: auto;
  transition: transform 0.3s, filter 0.3s;
}

.hiring-grid img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px crimson);
}


/* testimonial-section */
.testimonial-section {
  padding: 50px 20px;
  background: #fff;
  text-align: center;
}

.testimonial-heading {
  font-size: 28px;
  color: crimson;
  font-weight: bold;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fdfdfd;
  border: 2px solid crimson;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(220, 20, 60, 0.2);
}

.testimonial-text {
  font-style: italic;
  color: #333;
  margin-bottom: 15px;
}

.testimonial-name {
  color: crimson;
  font-weight: bold;
  margin-bottom: 5px;
}

.testimonial-role {
  color: #555;
  font-size: 14px;
}

/* placement-stats-section */

.placement-stats-section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.stats-heading {
  font-size: 28px;
  color: crimson;
  font-weight: bold;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  background: #f8f8f8;
  border: 2px solid crimson;
  border-radius: 12px;
  padding: 30px 20px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-6px);
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: crimson;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: #444;
}

/* Mobile styles */
@media (max-width: 480px) {
  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 14px;
  }
}

/* course-paths-section */

.course-paths-section {
  padding: 60px 20px;
  background-color: #f7f7f7;
  text-align: center;
}

.course-paths-heading {
  font-size: 28px;
  color: crimson;
  font-weight: bold;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.course-paths-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.course-path-item {
  display: flex;
  background: #fff;
  border-left: 6px solid crimson;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

.course-icon {
  font-size: 36px;
  color: crimson;
  flex-shrink: 0;
}

.course-content h3.course-name {
  font-size: 18px;
  color: #222;
  margin-bottom: 8px;
}

.course-content h3.course-name span {
  color: crimson;
  font-weight: bold;
}

.course-content p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .course-path-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .course-icon {
    font-size: 30px;
  }

  .course-content h3.course-name {
    font-size: 16px;
  }

  .course-content p {
    font-size: 13px;
  }
}



/* 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 */
  margin-bottom: 3px;
}

/* 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 */
.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: 28px;
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Scroll-to-Top Floating Button using ID */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #007bff;
  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: 28px;
  z-index: 1000;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Tablet View */
@media screen and (max-width: 1024px) {
  .whatsapp-float {
    left: 12px;
    bottom: 70px;
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  #scrollTopBtn {
    right: 55px;
    bottom: 70px;
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
}

/* Mobile View */
@media screen and (max-width: 600px) {
  .whatsapp-float {
    left: 10px;
    bottom: 80px; /* Adjust if navbar is present */
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  #scrollTopBtn {
    right: 30px;
    bottom: 80px;
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
}



/* 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;
  margin-bottom: 7px;
}

.submit-btn:hover {
  background-color: darkred;
}

/* Responsive */
@media (max-width: 600px) {
  .form-container {
    padding: 20px;
  }

  .enroll-btn {
    width: 100%;
  }
}



/* 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;
  margin-bottom: 7px;
}

.submit-btn:hover {
  background-color: darkred;
}

/* Responsive */
@media (max-width: 600px) {
  .form-container {
    padding: 20px;
  }

  .enroll-btn {
    width: 100%;
  }
}