body {
  font-family: 'Poppins', Arial, sans-serif;
  background: #fafbfc;
  margin: 0;
  padding: 0;
  color: #222;
}

.internships-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
}

.main-heading {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #181818;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.main-heading::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #1877f2 60%, #00c6fb 100%);
  border-radius: 2px;
  margin: 12px 0 0 0;
}

.internship-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.badge {
  position: absolute;
  top: 16px;
  right: 20px;
  background: linear-gradient(90deg, #1877f2 70%, #00c6fb 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(24,119,242,0.08);
  letter-spacing: 0.5px;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  transition: background 0.2s;
}
.card {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s, transform 0.35s;
}
.card-hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.35s, transform 0.35s;
}

.card {
  background: linear-gradient(135deg, #fff 80%, #eaf4ff 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(30, 41, 59, 0.08), 0 1.5px 6px rgba(30, 41, 59, 0.04);
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.4s cubic-bezier(.4,2,.6,1), transform 0.3s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, #1877f2 60%, #00c6fb 100%);
  border-radius: 18px 18px 0 0;
}

.card:hover {
  box-shadow: 0 12px 36px rgba(30, 41, 59, 0.18), 0 6px 24px rgba(30, 41, 59, 0.10);
  transform: translateY(-8px) scale(1.025);
}

.card h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #222;
  letter-spacing: 0.5px;
}

.card-desc {
  font-size: 1.02rem;
  color: #3a3a3a;
  margin-bottom: 12px;
  margin-top: 0;
}

.highlights {
  margin: 0 0 18px 0;
  padding: 0 0 0 18px;
  color: #1877f2;
  font-size: 1rem;
  line-height: 1.7;
  list-style: none;
}

.highlights li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 18px;
  color: #1877f2;
  font-weight: 500;
}

.highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #1877f2 60%, #00c6fb 100%);
  border-radius: 50%;
}

.details {
  list-style: disc inside;
  margin: 0 0 24px 0;
  padding: 0;
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
}

.details-btn {
  background: #1877f2;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, filter 0.2s;
  cursor: pointer;
  outline: none;
  display: inline-block;
}

.details-btn:hover, .details-btn:focus {
  background: #145dc1;
  box-shadow: 0 4px 16px 2px #00c6fb44, 0 4px 16px rgba(24, 119, 242, 0.16);
  filter: brightness(1.08) drop-shadow(0 0 8px #00c6fb88);
  transform: translateY(-2px) scale(1.06);
}

.card-img {
  width: 100%;
  max-width: 340px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(30,41,59,0.07);
  background: #f3f6fa;
  transition: box-shadow 0.3s, filter 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.card:hover .card-img {
  box-shadow: 0 6px 18px rgba(30,41,59,0.16);
  filter: brightness(1.04) saturate(1.1);
}

/* Responsive Design */
@media (max-width: 900px) {
  .internship-cards {
    grid-template-columns: 1fr;
  }
  .internships-section {
    padding: 0 8px;
  }
}

@media (max-width: 600px) {
  .main-heading {
    font-size: 2rem;
  }
  .card {
    padding: 20px 10px 18px 10px;
  }
  .container, .contact-form {
    padding: 18px 8px;
  }
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 8px;
}
.logo {
  display: block;
  margin: 0;
  max-width: 90px;
  height: 90px;
}
.dark-toggle {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 0;
  vertical-align: middle;
  padding: 0;
  outline: none;
  transition: filter 0.2s;
  display: flex;
  align-items: center;
  height: 40px;
}
.dark-toggle svg {
  color: #1877f2;
  background: none;
  transition: color 0.2s;
}
body.dark-mode .dark-toggle svg {
  color: #4eaaff;
}

.contact-section {
  background: linear-gradient(135deg, #fafdff 80%, #eaf4ff 100%);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(30,41,59,0.10);
  max-width: 600px;
  margin: 64px auto 32px auto;
  padding: 44px 32px 36px 32px;
  border-top: 5px solid #1877f2;
  position: relative;
}
.contact-section h2 {
  color: #1877f2;
  font-size: 2rem;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}
.contact-section h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #1877f2 60%, #00c6fb 100%);
  border-radius: 2px;
  margin-top: 8px;
}
.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #222;
}
.contact-form .input-group {
  position: relative;
  margin-bottom: 20px;
}

.contact-form .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: 0.6;
  pointer-events: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px 12px 46px;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fafdff;
  transition: border 0.2s;
  box-sizing: border-box;
}
.contact-form input:focus, .contact-form textarea:focus {
  border: 1.5px solid #1877f2;
  outline: none;
}
.contact-form textarea {
  min-height: 90px;
  resize: vertical;
}
.contact-form button {
  background: linear-gradient(90deg, #1877f2 70%, #00c6fb 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(24,119,242,0.08);
  margin-top: 8px;
}
.contact-form button:hover {
  background: #145dc1;
  box-shadow: 0 4px 16px 2px #00c6fb44, 0 4px 16px rgba(24, 119, 242, 0.16);
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 600px) {
  .contact-section {
    padding: 18px 6px 18px 6px;
  }
  .contact-section h2 {
    font-size: 1.3rem;
  }
}

.search-bar-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 28px;
}
.search-bar {
  width: 320px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1.5px solid #d0d7de;
  border-radius: 8px;
  font-size: 1.08rem;
  font-family: inherit;
  background: #fafdff;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(30,41,59,0.04);
}
.search-bar:focus {
  border: 1.5px solid #1877f2;
  outline: none;
  box-shadow: 0 4px 16px rgba(24,119,242,0.10);
}
@media (max-width: 600px) {
  .search-bar {
    width: 100%;
    font-size: 1rem;
  }
  .search-bar-container {
    margin-bottom: 18px;
  }
} 

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  align-items: center;
  justify-content: center;
  background: none;
  transition: opacity 0.2s;
}
.modal.open {
  display: flex;
}
.modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(30,41,59,0.18);
  max-width: 420px;
  width: 95vw;
  padding: 36px 28px 28px 28px;
  position: relative;
  animation: modalIn 0.25s cubic-bezier(.4,2,.6,1);
  z-index: 2;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-backdrop {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(24, 119, 242, 0.10);
  z-index: 1;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1877f2;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 3;
}
.modal-close:hover {
  opacity: 1;
}
.apply-btn {
  background: linear-gradient(90deg, #1877f2 70%, #00c6fb 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(24,119,242,0.08);
  margin: 18px 0 0 0;
  display: block;
  width: 100%;
}
.apply-btn:hover {
  background: #145dc1;
  box-shadow: 0 4px 16px 2px #00c6fb44, 0 4px 16px rgba(24, 119, 242, 0.16);
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 600px) {
  .modal-content {
    padding: 18px 6px 18px 6px;
    max-width: 98vw;
  }
} 

body.dark-mode {
  background: #181c23;
  color: #e6eaf3;
  transition: background 0.3s, color 0.3s;
}
body.dark-mode .internships-section,
body.dark-mode .container {
  color: #e6eaf3;
}
body.dark-mode .main-heading,
body.dark-mode .contact-section h2 {
  color: #4eaaff;
}
body.dark-mode .internship-cards {
  /* no change needed */
}
body.dark-mode .card {
  background: linear-gradient(135deg, #232a36 80%, #1a2230 100%);
  color: #e6eaf3;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
}
body.dark-mode .card h2,
body.dark-mode .card-desc,
body.dark-mode .highlights li,
body.dark-mode .details {
  color: #e6eaf3;
}
body.dark-mode .badge {
  background: linear-gradient(90deg, #4eaaff 70%, #1877f2 100%);
  color: #fff;
}
body.dark-mode .card-img {
  background: #232a36;
}
body.dark-mode .details-btn,
body.dark-mode .apply-btn {
  background: linear-gradient(90deg, #4eaaff 70%, #1877f2 100%);
  color: #fff;
}
body.dark-mode .details-btn:hover,
body.dark-mode .apply-btn:hover {
  background: #1877f2;
}
body.dark-mode .contact-section {
  background: linear-gradient(135deg, #232a36 80%, #1a2230 100%);
  border-top: 5px solid #4eaaff;
  color: #e6eaf3;
}
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
  background: #232a36;
  color: #e6eaf3;
  border: 1.5px solid #2e3a4d;
}
body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
  border: 1.5px solid #4eaaff;
}
body.dark-mode .contact-form label {
  color: #e6eaf3;
}
body.dark-mode .search-bar {
  background: #232a36;
  color: #e6eaf3;
  border: 1.5px solid #2e3a4d;
}
body.dark-mode .search-bar:focus {
  border: 1.5px solid #4eaaff;
}
body.dark-mode .modal-content {
  background: #232a36;
  color: #e6eaf3;
}
body.dark-mode .modal-close {
  color: #4eaaff;
}
body.dark-mode .modal-backdrop {
  background: rgba(30, 80, 180, 0.18);
}
body.dark-mode .main-heading::after,
body.dark-mode .contact-section h2::after {
  background: linear-gradient(90deg, #4eaaff 60%, #1877f2 100%);
}
body.dark-mode .logo {
  filter: drop-shadow(0 2px 8px #4eaaff88);
} 

.heading-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 40px;
  justify-content: flex-start;
}
.heading-row .dark-toggle {
  margin-top: 6px;
}
.heading-row .main-heading {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
  }
  .heading-row .main-heading {
    font-size: 2rem;
  }
  .heading-row .dark-toggle {
    margin-top: 0;
  }
} 

.search-sort-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.search-bar,
.sort-bar {
  height: 48px;
  font-size: 1.08rem;
  padding: 0 18px;
  border: 1.5px solid #d0d7de;
  border-radius: 8px;
  font-family: inherit;
  background: #fafdff;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(30,41,59,0.04);
  display: flex;
  align-items: center;
  margin-top: 0;
}
.search-bar {
  width: 340px;
  max-width: 100%;
}
.sort-bar {
  min-width: 170px;
  margin-left: 0;
}
@media (max-width: 900px) {
  .search-sort-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 18px;
  }
  .search-bar,
  .sort-bar {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
    height: 44px;
  }
}
body.dark-mode .sort-bar {
  background: #232a36;
  color: #e6eaf3;
  border: 1.5px solid #2e3a4d;
}
body.dark-mode .sort-bar:focus {
  border: 1.5px solid #4eaaff;
} 

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 0 24px 0;
  color: #1877f2;
  text-align: center;
  gap: 10px;
  animation: fadeIn 0.4s;
}
.contact-success svg {
  margin-bottom: 8px;
}
.contact-success h3 {
  color: #22c55e;
  font-size: 1.4rem;
  margin: 0 0 4px 0;
}
.contact-success p {
  color: #222;
  font-size: 1.08rem;
  margin: 0;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
body.dark-mode .contact-success {
  color: #4eaaff;
}
body.dark-mode .contact-success h3 {
  color: #22c55e;
}
body.dark-mode .contact-success p {
  color: #e6eaf3;
} 

.testimonials-section {
  max-width: 1100px;
  margin: 56px auto 32px auto;
  padding: 0 24px;
  text-align: center;
}
.testimonials-section h2 {
  color: #1877f2;
  font-size: 2rem;
  margin-bottom: 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.testimonials-list {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.testimonial {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30,41,59,0.08);
  padding: 32px 28px 24px 28px;
  max-width: 340px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.testimonial:hover {
  box-shadow: 0 8px 32px rgba(30,41,59,0.16);
  transform: translateY(-4px) scale(1.03);
}
.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(24,119,242,0.10);
}
.testimonial blockquote {
  font-size: 1.08rem;
  color: #222;
  font-style: italic;
  margin: 0 0 16px 0;
  line-height: 1.6;
}
.testimonial-meta {
  color: #1877f2;
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-meta span {
  color: #444;
  font-weight: 400;
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  .testimonials-list {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .testimonials-section {
    padding: 0 8px;
  }
}
body.dark-mode .testimonials-section h2 {
  color: #4eaaff;
}
body.dark-mode .testimonial {
  background: #232a36;
  color: #e6eaf3;
}
body.dark-mode .testimonial blockquote {
  color: #e6eaf3;
}
body.dark-mode .testimonial-meta {
  color: #4eaaff;
}
body.dark-mode .testimonial-meta span {
  color: #b0b8c9;
} 

.application-steps {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 36px;
  margin: 36px 0 32px 0;
  position: relative;
  z-index: 1;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1 1 120px;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eaf4ff;
  color: #1877f2;
  font-weight: 700;
  font-size: 1.18rem;
  margin-bottom: 8px;
  border: 2.5px solid #eaf4ff;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.step.completed .step-number {
  background: linear-gradient(90deg, #1877f2 70%, #00c6fb 100%);
  color: #fff;
  border: 2.5px solid #1877f2;
}
.step-label {
  font-size: 1.02rem;
  color: #222;
  font-weight: 500;
  text-align: center;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 19px;
  left: 100%;
  width: 48px;
  height: 4px;
  background: #eaf4ff;
  border-radius: 2px;
  z-index: -1;
  margin-left: 8px;
}
.step.completed:not(:last-child)::after {
  background: linear-gradient(90deg, #1877f2 70%, #00c6fb 100%);
}
@media (max-width: 900px) {
  .application-steps {
    gap: 18px;
    margin: 24px 0 18px 0;
  }
  .step-label {
    font-size: 0.98rem;
  }
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .step:not(:last-child)::after {
    width: 28px;
    margin-left: 4px;
  }
}
body.dark-mode .application-steps .step-number {
  background: #232a36;
  color: #4eaaff;
  border: 2.5px solid #232a36;
}
body.dark-mode .application-steps .step.completed .step-number {
  background: linear-gradient(90deg, #4eaaff 70%, #1877f2 100%);
  color: #fff;
  border: 2.5px solid #4eaaff;
}
body.dark-mode .application-steps .step-label {
  color: #e6eaf3;
}
body.dark-mode .application-steps .step:not(:last-child)::after {
  background: #232a36;
}
body.dark-mode .application-steps .step.completed:not(:last-child)::after {
  background: linear-gradient(90deg, #4eaaff 70%, #1877f2 100%);
} 

.stepper-controls {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}
.stepper-btn {
  background: linear-gradient(90deg, #1877f2 70%, #00c6fb 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(24,119,242,0.08);
  outline: none;
}
.stepper-btn:disabled {
  background: #b0b8c9;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.7;
}
.stepper-btn:hover:not(:disabled), .stepper-btn:focus:not(:disabled) {
  background: #145dc1;
  box-shadow: 0 4px 16px 2px #00c6fb44, 0 4px 16px rgba(24, 119, 242, 0.16);
  transform: translateY(-2px) scale(1.04);
} 