body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background: #f6f9ff;
}

/* Header */
.internshala-header {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.internshala-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
}

.nav-links a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links a:hover {
  color: #007bff;
}

.user-actions {
  display: flex;
  gap: 10px;
}

.login-btn,
.signup-btn {
  padding: 8px 16px;
  border: 1px solid #007bff;
  background: white;
  color: #007bff;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.signup-btn {
  background: #007bff;
  color: white;
}

.login-btn:hover,
.signup-btn:hover {
  opacity: 0.9;
}

/* Modal form */

/* === Modal Wrapper === */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

/* === Modal Box === */
.modal-content {
  background-color: #fff;
  margin: 8% auto;
  padding: 30px 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  position: relative;
}

/* === Title === */
.modal-content h2 {
  margin-bottom: 25px;
  color: #1b4f9c;
  text-align: center;
  font-size: 24px;
}

/* === Form Layout === */
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* === Input Fields === */
.modal-content input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border 0.3s ease;
}

.modal-content input:focus {
  border-color: #1b4f9c;
  outline: none;
}

/* === Submit Button === */
.modal-content button {
  width: 100%;
  padding: 12px;
  background-color: #1b4f9c;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.modal-content button:hover {
  background-color: #1552a0;
}

/* === Close Button === */
.close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 24px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close:hover {
  color: #000;
}


@media (max-width: 500px) {
  .modal-content {
    padding: 20px 15px;
    width: 95%;
  }

  .modal-content h2 {
    font-size: 20px;
  }

  .modal-content input,
  .modal-content button {
    font-size: 14px;
  }
}


/* Banner */

.banner {
  background: linear-gradient(to right, #e8f0fe, #ffffff);
  padding: 60px 20px;
  text-align: center;
}

.banner-content {
  max-width: 700px;
  margin: 0 auto;
}

.banner h1 {
  font-size: 2.5rem;
  color: #1b4f9c;
  margin-bottom: 10px;
}

.banner p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
}

.banner-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.banner-cards .card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 25px 20px;
  width: 250px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.banner-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.banner-cards .card img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.banner-cards .card h3 {
  font-size: 1.2rem;
  color: #1b4f9c;
  margin-bottom: 8px;
}

.banner-cards .card p {
  font-size: 0.95rem;
  color: #555;
}



/* Banner end */

/* Quote Section Styling */
.quote-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh;
    background: linear-gradient(135deg, #6dd5ed, #2193b0);
    perspective: 1000px;
}

.quote-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    animation: float3D 6s ease-in-out infinite;
}

.quote-text {
    font-size: 1.4rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.quote-author {
    font-size: 1rem;
    color: #f0f0f0;
    font-weight: bold;
}

/* 3D Floating Animation */
@keyframes float3D {
    0% {
        transform: rotateY(0deg) rotateX(0deg) translateZ(0);
    }
    25% {
        transform: rotateY(5deg) rotateX(3deg) translateZ(10px);
    }
    50% {
        transform: rotateY(0deg) rotateX(0deg) translateZ(0);
    }
    75% {
        transform: rotateY(-5deg) rotateX(-3deg) translateZ(10px);
    }
    100% {
        transform: rotateY(0deg) rotateX(0deg) translateZ(0);
    }
}


/* crousels */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Adjust width for large visibility */
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-container {
    display: flex;
    align-items: center;
    position: relative;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    width: 100vw; /* Full screen width */
    height: 500px; /* Increased height */
    object-fit: cover;
    border-radius: 10px;
}

/* Navigation Buttons */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.prev-btn:hover, .next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Dots */
.dots {
    text-align: center;
    padding: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 5px;
    background-color: gray;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: black;
}

/* chat button */
/* Chat Button Hover Effect */
#chatBtn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

/* Chat Popup Styling */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 18px;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
}

.chat-button:hover {
    background-color: #1ebe57;
}

/* Chat Popup */
.chat-popup {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 15px;
    z-index: 1000;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #555;
}

.chat-body {
    margin-top: 10px;
}

.chat-body p {
    font-size: 14px;
    color: #333;
}

.chat-body textarea {
    width: 100%;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px;
    resize: none;
    font-size: 14px;
}

.send-button {
    width: 100%;
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px;
    margin-top: 8px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.send-button:hover {
    background-color: #1ebe57;
}

/* Exam Updates */
.exam-updates {
  background-color: #f9f9f9;
  padding: 40px 20px;
  border-top: 2px solid #e0e0e0;
  border-bottom: 2px solid #e0e0e0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.exam-updates .exam-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.exam-updates h2 {
  font-size: 26px;
  color: #d62828;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 700;
}

.exam-updates p {
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
}

.exam-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.exam-cards .card {
  background-color: #fff;
  border: 2px solid #d62828;
  border-radius: 8px;
  padding: 20px;
  max-width: 300px;
  flex: 1 1 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.exam-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.exam-cards .card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.exam-cards .card h3 {
  font-size: 20px;
  color: #1b4f9c;
  margin-bottom: 10px;
}

.exam-cards .card p {
  font-size: 15px;
  color: #555;
}


.topbar {
  background-color: #1b4f9c;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar h1 {
  font-size: 1.5rem;
}

.topbar h1 span {
  font-weight: 300;
  font-size: 1rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

.tile {
  background: white;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #1b4f9c;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.tile img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.tile:hover {
  transform: scale(1.05);
}

.highlight {
  border: 3px solid #00aaff;
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: url('icons/circle.png') no-repeat center center / cover;
}
/* Scolarship */
.scholarship-yojana {
  background-color: #fefefe;
  padding: 40px 20px;
  border-top: 2px solid #eee;
}

.scholarship-yojana h2 {
  text-align: center;
  color: black;
  font-size: 26px;
  margin-bottom: 10px;
}

.scholarship-yojana p {
  text-align: center;
  color: black;
  margin-bottom: 30px;
  font-size: 16px;
  
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.filter-form label {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  color: #333;
}

.filter-form select,
.filter-form input {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.filter-form button {
  padding: 10px 20px;
  background-color: #1b4f9c;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.filter-form button:hover {
  background-color: #1552a0;
}

.scheme-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.scheme-cards .card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  max-width: 300px;
  flex: 1 1 250px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  text-align: center;
}

.scheme-cards .card:hover {
  transform: translateY(-5px);
}

.scheme-cards .card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.scholarship-yojana {
  background: url('./img/Ind.jpeg') no-repeat center center;
  background-size: cover;
  padding: 40px 20px;
  color: #fff;
  position: relative;
}

.scholarship-yojana::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent overlay for text visibility */
  z-index: 1;
}

.scholarship-yojana .container {
  position: relative;
  z-index: 2;
}


#assignments {
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.assignment-container {
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 100%;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1); /* Transparent */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}


.assignment-container:hover {
  transform: translateY(-4px);
}


.assignment-container h2 {
  font-size: 30px;
  color: #2c3e50;
  margin-bottom: 25px;
  font-weight: 700;
}

.file-list h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #34495e;
}

.file-list ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.file-list li {
  margin: 10px 0;
}

.file-list a {
  text-decoration: none;
  font-size: 16px;
  color: #007bff;
  transition: color 0.2s ease-in-out;
}

.file-list a:hover {
  color: #0056b3;
}



.footer {
  background-color: #f8f9fa;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
  padding: 40px 20px 10px;
  border-top: 1px solid #e0e0e0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer h3, .footer h4 {
  margin-bottom: 10px;
  color: #007bff;
  font-size: 18px;
}

.footer p, .footer a {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

.footer a:hover {
  color: #007bff;
  text-decoration: underline;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.social-icons a {
  margin-right: 10px;
  font-size: 18px;
  color: #555;
}

.social-icons a:hover {
  color: #007bff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  color: #888;
  border-top: 1px solid #e0e0e0;
  margin-top: 20px;
}






