/* General Styles */
:root {
  --primary: #073e5c;
  --primary-dark: #106fff;
  --secondary: #f59e0b;
  --dark: #1e293b;
  --light: #f8fafc;
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

h1, h2, h3, h4 {
  color: var(--dark);
  line-height: 1.2;
}

p {
  color: #64748b;
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

/* Header Section */
.header {
  background: linear-gradient(rgba(255, 255, 255, 0.7), #ef7602d4), 
    url(https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80) no-repeat center center / cover;
  color: #fff;
  text-align: center;
  padding: 100px 0;
  position: relative;
  z-index: auto;
}

.header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.header p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  animation: fadeInUp 1s ease-out 0.3s forwards;
  opacity: 0;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Placement Stats Section */
.placement-stats {
  background-color: #f9f9f9;
  padding: 80px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.total-placements {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.stat-item, .total-item {
  background-color: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.stat-item:hover, .total-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-item h3, .total-item h3 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-item p, .total-item p {
  color: #64748b;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

/* Placements Section */
.placements {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}

.company-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 30px auto 0;
  padding: 20px 0;
}

.slider-track {
  display: flex;
  animation: scroll 20s linear infinite;
  width: calc(200px * 15);
}

.slide {
  flex: 0 0 auto;
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  color: var(--dark);
  transition: var(--transition);
  border: 1px solid #eee;
}

.slide:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Upcoming Placements Section */
.upcoming-placements {
  padding: 80px 0;
  background-color: #f1f5f9;
  text-align: center;
}

.upcoming-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.upcoming-content p {
  color: #64748b;
  margin-bottom: 30px;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

/* Placement Process Section */
.placement-process {
  padding: 80px 0;
  background-color: #f8fafc;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.step {
  text-align: center;
  padding: 30px 20px;
  background-color: #fff;
  border-radius: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
}

.step h3 {
  margin: 10px 0;
  font-size: 1.3rem;
}

.step p {
  color: #64748b;
  font-size: 0.95rem;
}

/* Call-to-Action Section */
.cta {
  background: linear-gradient(25deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  margin-bottom: 30px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #ef7602;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn:hover {
  background-color: #e67e22;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 7.5));
  }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .total-placements {
    flex-direction: row;
    gap: 30px;
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 80px 0;
  }
  
  .slide {
    width: 150px;
    height: 70px;
    font-size: 0.9rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-title::after {
    width: 60px;
    bottom: -8px;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 60px 0;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .total-placements {
    flex-direction: column;
  }
  
  .stat-item, .total-item {
    padding: 25px 15px;
  }
  
  .slider-track {
    animation-duration: 30s;
  }
  
  .cta {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .header p {
    font-size: 1.1rem;
  }
  
  .slide {
    width: 120px;
    height: 60px;
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}