/* Global */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-color: white;
  color: #333;
}


/* Header */
.jobs-internships-header {
  background-image: linear-gradient(to top, #e3e2e7 0%, #fceaf7 100%);
  text-align: center;
  padding: 70px 20px;
}

.ai-feedback-badge {
  display: inline-block;
  font-size: 0.9rem;
  background: #f4f4f6;
  color: #7a7a7a;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgb(226, 224, 224);
  font-weight: 500;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease;
}

.ai-feedback-badge span {
  font-weight: bold;
  color: #937bca;
}

.jobs-internships-header h1 {
  max-width: 900px;
  font-size: 50px;
  line-height: 1.2;
  margin: auto;
}

.jobs-internships-header p {
  font-size: 1.2rem;
  margin: 20px auto;
  max-width: 800px;
  line-height: 1.5;
  color: #333;
}



.jobs-internships-highlight {
  background: linear-gradient(to right, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.jobs-internships-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.jobs-internships-btn {
  padding: 0.75rem 4rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.jobs-internships-btn.start-btn {
  background: linear-gradient(to right, #6366f1, #ec4899);
  color: white;
}

.jobs-internships-btn.explore-btn {
  background-color: #ffffff;
  color: #191717;
}



.jobs-internships-btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Features Section */
.jobs-internships-features-section {
  padding: 3rem 1rem;
  text-align: center;
}

.jobs-internships-features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.jobs-internships-feature-card {
  padding: 0.75rem 2rem;
  border-radius: 16px;
  color: #1f1d1d;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  background: white;
}



.jobs-internships-feature-card:hover {
  transform: translateY(-10px);
}

.jobs-internships-feature-card h3 {
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.jobs-internships-feature-card p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Emoji */
.jobs-internships-feature-card::before {
  content: attr(data-icon);
  font-size: 3rem;
  display: block;
  line-height: 1;
}

/* Unique Card Backgrounds (Light Mode Only) */
.jobs-internships-card-1 {
  background: radial-gradient(circle at top left, #cae6fb 0%, #f6e9e9 100%);
}
.jobs-internships-card-2 {
  background: radial-gradient(circle at top left, #f8dfff 0%, #ffffff 100%);
}
.jobs-internships-card-3 {
  background: radial-gradient(circle at top left, #cffbdf 0%, #fff2f2 100%);
}
.jobs-internships-card-4 {
  background: radial-gradient(circle at top left, #ffeaa7 0%, #ffffff 100%);
}



/* Responsive */
@media (max-width: 768px) {
  .jobs-internships-header {
    padding: 50px 16px;
  }

  .jobs-internships-header h1 {
    text-align: left;
    font-size: 2.5rem;
    margin-left: 10px;
  }

  .jobs-internships-header p {
    font-size: 1rem;
  }

  .jobs-internships-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .jobs-internships-btn {
    width: 100%;
    max-width: 320px;
  }

  .jobs-internships-features-container {
    grid-template-columns: 1fr;
  }
}

/* internships-section */
.internships-section {
  padding: 30px 20px;
  text-align: center;
  
  transition: background 0.3s ease;
}


.internships-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.internships-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 100%;
  max-width: 600px;
  transition: background 0.3s ease, color 0.3s ease;
}


.internships-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.internships-company {
  display: flex;
  align-items: center;
  text-align: start;
  gap: 10px;
}

.internships-company img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
}

.internships-title {
  font-size: 18px;
  font-weight: bold;
}

.internships-location {
  font-size: 14px;
  color: #666;
}


.internships-tags {
  margin: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.internships-tag {
  background-color: #e6f0ff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
}


.internships-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
  text-align: start;
}


.detail-item {
  flex: 1 1 45%;
}

.internships-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.internships-bottom a {
  text-decoration: none;
  color: #0066ff;
  font-size: 14px;
}



.internships-bottom button {
  padding: 10px 20px;
  background-color: #0066ff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.internships-bottom button:hover {
  background-color: #0044cc;
}

/* Coding Jobs Header */
.jobs-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
}

/* Header container */
.jobs-internships-header {
  position: relative;      /* REQUIRED */
  overflow: hidden;
  padding-bottom: 120px;   /* space for waves */
}

/* Waves */
.waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1;
}

/* Keep content above waves */
.jobs-internships-header > *:not(.waves) {
  position: relative;
  z-index: 2;
}

/* Wave animation */
.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.parallax > use:nth-child(1) { animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-duration: 20s; }

/* Keyframes */
@keyframes move-forever {
  0%   { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}

/* Mobile */
@media (max-width: 768px) {
  .waves {
    height: 60px;
  }
  .jobs-internships-header {
    padding-bottom: 70px;
  }
}


/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .internships-card {
    width: 90%;
  }

  .internships-details .detail-item {
    flex: 1 1 100%;
  }

  .internships-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Phone (max-width: 500px) */
@media (max-width: 500px) {
  .internships-title {
    font-size: 16px;
  }

  .internships-card {
    padding: 15px;
    width: 95%;
  }

  .internships-tag {
    font-size: 12px;
    padding: 4px 8px;
  }

  .internships-bottom button {
    padding: 8px 16px;
    font-size: 14px;
  }
}


/* jobs section  */


.jobs-section {
  padding: 30px 20px;
  text-align: center;
  transition: background 0.3s ease;
}


.jobs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.jobs-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 100%;
  max-width: 600px;
  transition: background 0.3s ease, color 0.3s ease;
}



.jobs-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.jobs-company {
  display: flex;
  align-items: center;
  text-align: start;
  gap: 10px;
}

.jobs-company img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
}

.jobs-title {
  font-size: 18px;
  font-weight: bold;
}

.jobs-location {
  font-size: 14px;
  color: #666;
}



.jobs-tags {
  margin: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jobs-tag {
  background-color: #e6f0ff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
}

body.dark-mode .jobs-tag {
  background-color: #3a3a55;
  color: #f0f0f0;
}

.jobs-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
  text-align: start;
}

body.dark-mode .jobs-details {
  color: #ccc;
}

.detail-item {
  flex: 1 1 45%;
}

.jobs-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.jobs-bottom a {
  text-decoration: none;
  color: #0066ff;
  font-size: 14px;
}

body.dark-mode .jobs-bottom a {
  color: #72b8ff;
}

.jobs-bottom button {
  padding: 10px 20px;
  background-color: #0066ff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.jobs-bottom button:hover {
  background-color: #0044cc;
}

body.dark-mode .jobs-bottom button {
  background-color: #458eff;
}

body.dark-mode .jobs-bottom button:hover {
  background-color: #3366cc;
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .jobs-card {
    width: 90%;
  }

  .jobs-details .detail-item {
    flex: 1 1 100%;
  }

  .jobs-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Phone (max-width: 500px) */
@media (max-width: 500px) {
  .jobs-title {
    font-size: 16px;
  }

  .jobs-card {
    padding: 15px;
    width: 95%;
  }

  .jobs-tag {
    font-size: 12px;
    padding: 4px 8px;
  }

  .jobs-bottom button {
    padding: 8px 16px;
    font-size: 14px;
  }
}







 /* Center ads */
  .ads-center {
    width: 100%;
    text-align: center;
    margin: 20px auto;
  }

  /* Hide phone ad by default */
  .ads-phone {
    display: none;
  }

  /* Phone view */
  @media (max-width: 768px) {
    .ads-desktop {
      display: none !important;
    }
    .ads-phone {
      display: inline-block !important;
    }
  }


