* {
  box-sizing: border-box;
  font-family: "Noto Sans Devanagari", sans-serif;
}

body {
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
  font-size: 20px;
  overflow-x: hidden;
}

/* Top Strip */
/* Top Strip */
.top-strip {
  background: #ffd700;
  color: #004080;
  padding: 10px 0;
  width: 100%;
}

.top-strip-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  flex-wrap: wrap;
}

.top-strip a {
  color: #004080;
  text-decoration: none;
}

.top-strip .social-icons a {
  font-size: 20px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.top-strip .social-icons a:hover {
  color: #fff;
}

.top-strip .contact-info a {
  margin: 0 10px;
  font-size: 14px;
}

.login-btn {
  /* background: #004080; */
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.login-btn i {
  margin-right: 5px;
}

.login-btn:hover {
  background: #fff;
  color: #004080;
  transform: scale(1.05);
}

/* Responsiveness for Top Strip */
@media (max-width: 768px) {
  .top-strip-content {
    flex-direction: column;
    text-align: center;
    padding: 10px 15px;
  }

  .top-strip .social-icons {
    margin-bottom: 10px;
  }

  .top-strip .social-icons a {
    font-size: 18px;
    margin: 0 8px;
  }

  .top-strip .contact-info {
    margin-bottom: 10px;
  }

  .top-strip .contact-info a {
    font-size: 12px;
    display: inline-block;
    margin: 5px 8px;
  }

  .login-btn {
    padding: 5px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .top-strip .social-icons a {
    font-size: 16px;
    margin: 0 6px;
  }

  .top-strip .contact-info a {
    font-size: 11px;
    margin: 5px 6px;
  }

  .login-btn {
    font-size: 12px;
    padding: 4px 10px;
  }
}
/* Header */
header {
  background: #004080;
  color: white;
  padding: 20px 0;
  text-align: center;
  width: 100%;
}

header .logo {
  font-size: 24px;
  font-weight: bold;
  margin-right: 20px;
}

header h1 {
  font-size: 42px;
}

/* Navigation */
nav {
  background: #0059b3;
  padding: 15px 0;
  width: 100%;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 25px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 22px;
  padding: 0px 10px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

nav ul li a i {
  margin-right: 8px;
}

nav ul li a:hover {
  background: #ffd700;
  color: #004080;
  border-radius: 25px;
  padding: 2px 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Content */
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 50px 0;
  text-align: center;
}

.section h2 {
  position: relative;
  display: inline-block;
  color: #004080;
  font-size: 36px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  padding-bottom: 10px;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: #004080;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.section h2:hover::after {
  width: 80%;
}

/* Mission Section */
.mission-section {
  background: linear-gradient(135deg, #004080 0%, #0059b3 100%);
  color: white;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 50px 0;
}

.mission-section .content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.mission-section h2 {
  background: none;
  color: #ffd700;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.mission-section h2::after {
  background: #ffd700;
}

.mission-section p {
  color: #fff;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Slider Styling */
.carousel {
  height: 550px;
  overflow: hidden;
}

.carousel-inner,
.carousel-item,
.carousel-item img {
  height: 100%;
  object-fit: cover;
}

/* About Us Section */
.about-us-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: flex-start;
}

.about-text {
  flex: 0 0 70%;
  max-width: 70%;
  text-align: left;
}

.about-members {
  flex: 0 0 30%;
  max-width: 30%;
}

.member-slider {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px;
  border: 1px solid #f5e8a2;
}

.member-slider .carousel-inner {
  height: auto;
}

.member-item {
  text-align: center;
  padding: 20px;
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #ffd700;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-photo .fa-user {
  font-size: 60px;
  color: #004080;
}

.member-name {
  font-size: 20px;
  font-weight: bold;
  color: #004080;
  margin-bottom: 5px;
}

.member-position {
  font-size: 16px;
  color: #666;
}

/* Contact Us Section */
.contact-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #ffd700;
}

.contact-info .info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-info .info-item i {
  font-size: 24px;
  color: #004080;
  margin-right: 15px;
}

.contact-info .info-item p {
  margin: 0;
  font-size: 18px;
}

.contact-info .info-item a {
  color: #004080;
  text-decoration: none;
}

.contact-info .info-item a:hover {
  color: #ffd700;
}

.contact-form .form-label {
  font-weight: bold;
  color: #004080;
}

.contact-form .form-control {
  border-radius: 8px;
  border: 1px solid #004080;
  font-size: 16px;
}

.contact-form .form-control:focus {
  border-color: #ffd700;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.contact-form .btn-primary {
  background: #004080;
  border: none;
  padding: 12px;
  font-size: 18px;
  transition: background 0.3s ease;
}

.contact-form .btn-primary:hover {
  background: #ffd700;
  color: #004080;
}

/* Footer */
footer {
  background: #004080;
  color: white;
  padding: 20px 0;
  width: 100%;
  text-align: center;
}

footer ul {
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

footer ul li {
  display: inline-block;
  margin: 0 25px;
}

footer ul li a {
  color: white;
  text-decoration: underline;
  font-size: 16px;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #ffd700;
}

/* Responsiveness */
@media (max-width: 768px) {
  .top-strip {
    font-size: 12px;
  }

  header {
    padding: 15px 0;
  }

  header h1 {
    font-size: 24px;
  }

  nav ul li {
    display: block;
    margin: 10px 0;
  }

  nav ul li a {
    justify-content: center;
  }

  .section h2 {
    font-size: 28px;
  }

  footer ul li {
    display: block;
    margin: 10px 0;
  }

  .carousel {
    max-height: 300px;
  }

  .about-us-row {
    flex-wrap: wrap;
  }

  .about-text,
  .about-members {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .about-text {
    text-align: center;
  }

  .member-photo {
    width: 100px;
    height: 100px;
  }

  .member-photo .fa-user {
    font-size: 50px;
  }

  .member-name {
    font-size: 18px;
  }

  .member-position {
    font-size: 14px;
  }

  .member-slider {
    border-radius: 15px;
  }

  .mission-section {
    width: 100%;
    left: 0;
    transform: none;
    padding: 30px 0;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-info .info-item i {
    font-size: 20px;
    margin-right: 10px;
  }

  .contact-info .info-item p {
    font-size: 16px;
  }

  .contact-form .btn-primary {
    font-size: 16px;
    padding: 10px;
  }
}

/* members css */
/* Members Section */
.members-section {
  background: linear-gradient(135deg, #f4f4f4 0%, #e6f0fa 100%);
  padding: 60px 0;
}

.member-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #ffd700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.member-card .member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #ffd700;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}

.member-card .member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card .member-photo .fa-user {
  font-size: 60px;
  color: #004080;
}

.member-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: #004080;
  margin-bottom: 10px;
}

.member-card .position {
  font-size: 18px;
  color: #666;
  margin-bottom: 10px;
}

.member-card .position i {
  color: #004080;
  margin-right: 8px;
}

.member-card .address {
  font-size: 16px;
  color: #555;
  line-height: 1.4;
}

.member-card .address i {
  color: #004080;
  margin-right: 8px;
}

/* Responsiveness for Members */
@media (max-width: 768px) {
  .members-section {
    padding: 40px 0;
  }

  .member-card {
    padding: 15px;
  }

  .member-card .member-photo {
    width: 100px;
    height: 100px;
  }

  .member-card .member-photo .fa-user {
    font-size: 50px;
  }

  .member-card h3 {
    font-size: 20px;
  }

  .member-card .position {
    font-size: 16px;
  }

  .member-card .address {
    font-size: 14px;
  }
}

/* Colleges Section */
.colleges-section {
  background: linear-gradient(135deg, #f4f4f4 0%, #e6f0fa 100%);
  padding: 60px 0;
}

.college-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.college-table thead {
  background: #004080;
  color: white;
}

.college-table th {
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.college-table tbody tr {
  transition: background 0.3s ease;
}

.college-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.college-table tbody tr:hover {
  background: #e6f0fa;
}

.college-table td {
  padding: 15px;
  font-size: 16px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.college-table td:first-child {
  font-weight: bold;
  color: #004080;
}

.college-table .btn-link {
  color: #004080;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.college-table .btn-link:hover {
  color: #ffd700;
}

/* Responsiveness for Colleges */
@media (max-width: 768px) {
  .colleges-section {
    padding: 40px 0;
  }

  .college-table th,
  .college-table td {
    font-size: 14px;
    padding: 10px;
  }

  .college-table th {
    display: none; /* Hide headers on mobile */
  }

  .college-table td {
    display: block;
    width: 100%;
    text-align: left;
    border-bottom: none;
    position: relative;
    padding-left: 50%;
  }

  .college-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: bold;
    color: #004080;
  }

  .college-table td:first-child::before {
    content: "क्र.सं.";
  }

  .college-table td:nth-child(2)::before {
    content: "नाम";
  }

  .college-table td:nth-child(3)::before {
    content: "पता";
  }

  .college-table td:nth-child(4)::before {
    content: "वेबसाइट";
  }
}

/* Top Strip Login Button */
.top-strip {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-btn {
  /*  position: absolute; */
  right: 15px;

  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.login-btn i {
  margin-right: 5px;
}

.login-btn:hover {
  background: #ffd700;
  color: #004080;
  transform: scale(1.05);
}

/* Login Section */
.login-section {
  background: linear-gradient(135deg, #e6f0fa 0%, #f4f4f4 100%);
  min-height: calc(100vh - 260px); /* Adjust for header/footer */
  padding-top: 20px; /* Proper margin from top */
  padding-bottom: 40px;
  display: flex;
  align-items: center;
}

.login-card {
  min-width: 476px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #ffd700;
  width: 100%;
  max-width: 600px;
  transition: transform 0.3s ease;
}

.login-card:hover {
  transform: translateY(-5px);
}

.login-card h2 {
  color: #004080;
  font-size: 28px;
  margin-bottom: 25px;
  text-align: center; /* Centered title */
  font-weight: bold;
}

.login-form .form-label {
  font-weight: bold;
  color: #004080;
  display: flex;
  align-items: center;
}

.login-form .form-label i {
  margin-right: 8px;
  color: #ffd700;
}

.login-form .form-control {
  border-radius: 8px;
  border: 1px solid #004080;
  font-size: 16px;
  padding: 10px;
}

.login-form .form-control:focus {
  border-color: #ffd700;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.login-form .btn-primary {
  background: #004080;
  border: none;
  padding: 12px;
  font-size: 18px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.login-form .btn-primary:hover {
  background: #ffd700;
  color: #004080;
}

.forgot-password {
  color: #004080;
  text-decoration: none;
  font-size: 14px;
}

.forgot-password:hover {
  color: #ffd700;
  text-decoration: underline;
}

/* Responsiveness for Login */
@media (max-width: 768px) {
  .login-section {
    padding-top: 60px; /* Reduced top margin for mobile */
    padding-bottom: 20px;
  }

  .login-card {
    padding: 20px;
    max-width: 90%; /* Slightly wider on mobile */

    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #ffd700;
    width: 100%;

    transition: transform 0.3s ease;
  }

  .login-card h2 {
    font-size: 24px;
  }

  .login-form .btn-primary {
    font-size: 16px;
    padding: 10px;
  }
}

/* Admin Colleges Section */
.admin-colleges-section {
  background: linear-gradient(135deg, #f4f4f4 0%, #e6f0fa 100%);
  padding: 60px 0;
  min-height: calc(100vh - 260px);
}

.admin-colleges-section h2 {
  color: #004080;
  font-size: 32px;
  margin-bottom: 0;
}

.college-table {
  background: white;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.college-table thead {
  background: #004080;
  color: white;
}

.college-table th {
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.college-table tbody tr {
  transition: background 0.3s ease;
}

.college-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.college-table tbody tr:hover {
  background: #e6f0fa;
}

.college-table td {
  padding: 15px;
  font-size: 16px;
  border-bottom: 1px solid #ddd;
  text-align: center;
  vertical-align: middle;
}

.college-table td:first-child {
  font-weight: bold;
  color: #004080;
}

.college-table .btn-warning {
  background: #ffd700;
  border: none;
  color: #004080;
  padding: 6px 12px;
  font-size: 14px;
  transition: background 0.3s ease;
}

.college-table .btn-warning:hover {
  background: #004080;
  color: white;
}

/* Modal Styles */
.modal-content {
  border-radius: 15px;
  border: 2px solid #ffd700;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.modal-header {
  background: #004080;
  color: white;
  border-bottom: none;
}

.modal-title {
  font-size: 20px;
  font-weight: bold;
}

.modal-body {
  padding: 20px;
}

.modal-body .form-label {
  font-weight: bold;
  color: #004080;
}

.modal-body .form-control {
  border-radius: 8px;
  border: 1px solid #004080;
  font-size: 16px;
}

.modal-body .form-control:focus {
  border-color: #ffd700;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.modal-body .btn-primary {
  background: #004080;
  border: none;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.modal-body .btn-primary:hover {
  background: #ffd700;
  color: #004080;
}

/* Responsiveness */
@media (max-width: 768px) {
  .admin-colleges-section {
    padding: 40px 0;
  }

  .admin-colleges-section h2 {
    font-size: 26px;
  }

  .college-table th,
  .college-table td {
    font-size: 14px;
    padding: 10px;
  }

  .college-table .btn-warning {
    font-size: 12px;
    padding: 4px 8px;
  }

  .modal-body {
    padding: 15px;
  }

  .modal-title {
    font-size: 18px;
  }
}
