/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
  background: #3cb8aa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.university-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.university-logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #ddd;
}

.university-details h2 {
  font-size: 1.4rem;
  color: #002147;
}

.university-details p {
  font-size: 0.9rem;
  color: #666;
}

.rating-section {
  text-align: right;
}

.rating-stars {
  color: gold;
  font-size: 1.2rem;
}

.apply-btn {
  background: #004aad;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.apply-btn:hover {
  background: #00307a;
}


/* 🔹 Mobile Responsive */
@media (max-width: 768px) {
  .header {
 
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    gap: 15px;
  }
  .university-info {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
.university-logo img {
    width: 80px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
  }

  .university-details h2 {
    font-size: 18px;
    line-height: 1.3;
    color: #004d40;
   margin-top: 5px;
  }

  .university-details h2 span {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
  }

  .university-details p {
    font-size: 14px;
    color: #444;
    margin-top: 5px;
    line-height: 1.4;
    padding: 0 10px;
  }

  .rating-section {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .rating-stars {
    display: none;
    font-size: 20px;
    margin-bottom: 5px;
  }
 .rating-section p {
    display: none;
 }
  .apply-btn {
    background: linear-gradient(50deg, #00796b, #009688);
    color: #fff;
    border: none;
    padding: 8px 13px;
    border-radius: 8px;
    cursor: pointer;
    width: 70%;
    max-width: 200px;
    font-size: 15px;
    font-weight: bold;
    margin-top: 8px;
    transition: 0.3s ease;
  }

  .apply-btn:hover {
    background: linear-gradient(90deg, #00695c, #00897b);
  }
}

/* ===== TABS ===== */

.tabs-container {
  text-align: center;
  background: #fff;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #00307a;
  gap: 10px;
  padding: 10px;
}

.tab-btn {
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
  background: #fff;
  color: #00307a;
  font-weight: 600;
}



/* 🔹 Mobile View */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    background-color: blue;
    /* margin: 0 auto; */
  }

  .tabs {
    display: none;
    flex-direction: column;
    gap: 10px;
    background:black;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    padding: 10px;
    animation: slideDown 0.3s ease;
  }

  .tabs.show {
    display: flex;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
/* ===== ABOUT SECTION ===== */
.about-placement {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin: 30px 0;
}

/* Left side text */
.about-left {
  flex: 1;
}

/* Right side image */
.about-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image {
  max-width: 100%;

  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.view-btn {
  color: blue;
}

/* Responsive */
@media(max-width: 768px) {
  .about-placement {
    flex-direction: column;
  }

  .about-right,
  .about-left {
    flex: 100%;
  }

  .about-right {
    margin-top: 20px;
  }
}

/* ===== TABLE ===== */
.container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

/* College Info Table */
.table-box {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 650px;
}

.table-box table {
  width: 100%;
  border-collapse: collapse;
}

.table-box th {
  background: #004aad;
  color: white;
  text-align: left;
  padding: 15px;
  width: 30%;
}

.table-box td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  color: #333;
}

/* News Section (Dropdown Style) */
.news-box {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 0;
  overflow: hidden;
}

/* Dropdown header */
.news-header {
  background: #004aad;
  color: white;
  cursor: pointer;
  padding: 15px 20px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px 10px 0 0;
  user-select: none;
}

.news-header:hover {
  background: #00327a;
}

.news-content {
  display: none;
  padding: 15px 20px;
  max-height: 400px;
  overflow-y: auto;
}

.news-item {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item strong {
  color: #222;
  display: block;
}

.news-item span {
  color: #666;
  font-size: 14px;
}

/* Arrow icon animation */
.arrow {
  transition: transform 0.3s;
}

.rotate {
  transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .table-box,
  .news-box {
    width: 90%;
  }
}


/* ===== SLIDER ===== */
/* Slider Section */
#course {
  padding: 60px 20px;
  background: #f5f6fa;
  text-align: center;
}

#course h2 {
  font-size: 32px;
  color: #004aad;
  margin-bottom: 10px;
}

#course h4 {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

/* Slider Container */
.slider {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  height: 110px;
  border-radius: 10px;
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slide-track {
  display: flex;
  width: calc(250px * 14);
  animation: scroll 20s linear infinite;
}


.slide {
  width: 250px;
  flex-shrink: 0;
  margin: 0 15px;
}

.slide img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.slide img:hover {
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .slide {
    width: 180px;
    margin: 0 10px;
  }

  .slide img {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .slide {
    width: 140px;
    margin: 0 8px;
  }

  .slide img {
    height: 100px;
  }
}



/* ===== ADMISSION ===== */
#admission {
  background: #f9fafc;
  padding: 20px;
  border-radius: 10px;
}

#admission h1 {
  color: #00307a;
  margin-bottom: 10px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.step {
  background: #fff;
  border-left: 5px solid #004aad;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* ===== FAQ ===== */
#faq {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  box-sizing: border-box;
}

#faq h2 {
  font-size: 32px;
  text-align: center;
  color: #004aad;
  margin-bottom: 30px;
  font-weight: 900;
}

.faq-item {
  background: #f7f9fc;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
  font-weight: 700;
  cursor: pointer;
  color: black;
  font-size: 18px;
  position: relative;
  padding-right: 30px;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 15px;
  color: black;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 10px 0 0 0;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}

.faq-question.active+.faq-answer {
  display: block;
}

@media (max-width: 768px) {
  #faq h2 {
    font-size: 28px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer {
    font-size: 15px;
  }
}

/* ========palcment======= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.placement-header {

  color: black;
  text-align: center;
  padding: 100px 20px;
}

.placement-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.placement-header p {
  font-size: 18px;
}

/* Placement Highlights */
.placement-highlights {
  padding: 50px 15px;
  background: #f9fafc;
  text-align: center;
}

.placement-highlights h2 {
  font-size: 25px;
  color: #004aad;
  margin-bottom: 40px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  width: 250px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: #004aad;
  margin-bottom: 10px;
}

/* Placement Process */
.placement-process {
  padding: 60px 20px;
}

.placement-process h2 {
  font-size: 28px;
  color: #004aad;
  text-align: center;
  margin-bottom: 40px;
}

.process-steps {
  list-style-type: decimal;
  max-width: 800px;
  margin: auto;
  padding-left: 20px;
}

.process-steps li {
  padding: 10px 0;
  font-size: 18px;
}

/* Placement Gallery */
.placement-gallery {
  padding: 60px 20px;
  background: #f9fafc;
}

.placement-gallery h2 {
  font-size: 28px;
  color: #004aad;
  text-align: center;
  margin-bottom: 40px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.gallery img {
  width: 250px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #004aad;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .gallery img {
    width: 90%;
    height: auto;
  }
}

/* ===== COMMENT SECTION ===== */
.reply-section {
  background: #f4f6fb;
  padding: 50px 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Section Heading */
.reply-section h2 {
  font-size: 32px;
  color: #004aad;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
}

/* Section Subtext */
.reply-section p {
  font-size: 16px;
  color: #555;
  text-align: center;
  margin-bottom: 30px;
}

/* Form Container */
.reply-section form {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Input Row for Name, Email, Mobile */
.reply-section .input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

/* Individual Inputs */
.reply-section .input-row input {
  flex: 1 1 30%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Textarea Full Width */
.reply-section textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  transition: all 0.3s ease;
  min-height: 120px;
  resize: vertical;
}

/* Focus Effect */
.reply-section input:focus,
.reply-section textarea:focus {
  border-color: #004aad;
  box-shadow: 0 0 8px rgba(0, 74, 173, 0.3);
  outline: none;
}

/* Checkbox Label */
.reply-section .save-option {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #555;
  margin-top: 10px;
}

.reply-section .save-option input {
  margin-right: 10px;
}

/* Submit Button */
.reply-section button {
  width: 100%;
  background: #004aad;
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
}

/* Hover Effect */
.reply-section button:hover {
  /* width: 10px; */
  background: #00307a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .reply-section .input-row input {
    flex: 1 1 48%;
  }
}

@media (max-width: 768px) {
  .reply-section h2 {
    font-size: 28px;
  }

  .reply-section p {
    font-size: 15px;
  }

  .reply-section .input-row input {
    flex: 1 1 100%;
  }

  .reply-section input,
  .reply-section textarea {
    font-size: 15px;
  }

  .reply-section button {
    font-size: 16px;
    padding: 12px;
  }
}

/* Comment Display Section */
#commentForm {
  max-width: 500px;
  margin: 0 auto;
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

#commentForm input,
#commentForm textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

#commentForm button {
  background: #004aad;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
}

.comments {
  max-width: 600px;
  margin: 30px auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.comment {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.comment:last-child {
  border-bottom: none;
}

.comment h3 {
  margin: 0;
  color: #004aad;
}

.comment small {
  color: gray;
  font-size: 13px;
}

.comment p {
  margin-top: 5px;
}

#showMoreBtn {
  display: none;
  background: #004aad;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 15px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
  background: #f9fafc;
  border-radius: 10px;
}

.contact-info,
.contact-form {
  flex: 1 1 45%;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.contact-info h2,
.contact-form h2 {
  color: #00307a;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.contact-form button {
  background: #004aad;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #00307a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
  }

  .tabs {
    flex-direction: column;
  }

  .contact-section {
    flex-direction: column;
  }
}

/* About Section */
.about1 {
  max-width: 1200px;
  margin: 20px auto 10px;
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.about h3 {
  color: #002b5b;
  font-size: 50px;
  margin-bottom: 10px;
}

.about p {
  line-height: 1.6;
  font-size: 15px;
}

.course-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 20px;
  height: 400px;
  overflow-y: scroll;
  background: #e9eef9;
  border-radius: 8px;
  margin: 20px auto;
  width: 95%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.course-section::-webkit-scrollbar {
  width: 8px;
}

.course-section::-webkit-scrollbar-thumb {
  background: rgb(27, 26, 26);
  border-radius: 5px;
}

.course-section::-webkit-scrollbar-track {
  background: #d9e2f5;
}

.course-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  width: 200px;
  height: 400px;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

.course-info {
  padding: 10px;
  flex-grow: 1;
}

.course-info p {
  font-size: 12px;
  color: #444;
  margin-top: 5px;
}

.course-info h3 {
  font-size: 14px;
  color: #003366;
  margin-bottom: 8px;
}

.course-meta span {
  display: inline-block;
  margin-right: 5px;
  font-size: 12px;
  color: #666;
}

.rating {
  font-size: 13px;
  color: #f39c12;
}

.price {
  background: #f1f6ff;
  padding: 10px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 13px;
}

.fee {
  font-weight: bold;
  color: #009933;
  font-size: 13px;
}

.icon-section {
  margin-top: 5px;
}

.icon-section button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin: 5px;
  color: #007bff;
}

.icon-section button:hover {
  color: #0056b3;
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 1000;
  background-color: #0078d7;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: none;
}

#scrollTopBtn:hover {
  background-color: #005bb5;
  transform: scale(1.1);
}

/*..............  */
.sidebar {
  width: 280px;
  background: #ffffff;
  height: 500px;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #00b482;
  border-radius: 10px;
}

.filter-section {
  margin-bottom: 20px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.filter-header {
  background: #f6f7f8;
  font-weight: 600;
  font-size: 15px;
  color: #1a1a1a;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.filter-header:hover {
  background: #e9ecef;
}

.filter-header i {
  transition: transform 0.3s ease;
}

.filter-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 10px;
}

.filter-content.open {
  max-height: 200px;
  padding: 10px 14px;
}

.filter-content label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  cursor: pointer;
}

.filter-content input[type="checkbox"] {
  accent-color: #00b482;
  margin-right: 10px;
  transform: scale(1.1);
}

/* Main content */
.main-content {
  margin-left: 300px;
  padding: 40px;
  flex: 1;
}

.course-detail {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  color: #00b482;
  margin-bottom: 10px;
}

p {
  color: #444;
  line-height: 1.6;
}

/* ......sports */
header {
  background: #0f2a47;
  color: #fff;
  width: 100%;
  font-size: 12px;
  text-align: center;
  padding: 3px;
}

.container {
  max-width: 1200px;
  height: auto;
  margin: 40px auto;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

img {
  width: 400px;
  height: 200px;
  gap: 50px;
  border-radius: 12px;
  margin-bottom: 20px;
}

h2 {
  color: #0f2a47;
}

p {
  line-height: 1.6;
}

/* ...hostel.. */
.box1 {

  color: #fff;
  align-items: center;
  padding: 25px 10px;
  text-align: center;
}

header h1 {
  font-size: 28px;
  margin: 0;
}

.container {
  max-width: 1100px;
  margin: 40px auto;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
}

.hero img {
  width: 700px;
  height: 300px;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.hero:hover img {
  transform: scale(1.05);
}

h2 {

  margin-top: 20px;
}

p {
  line-height: 1.7;
  font-size: 15px;
  margin-top: 10px;
}

ul {
  list-style-type: "✔ ";
  padding-left: 20px;
  line-height: 1.8;
  color: #444;
}

.facility-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.card {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}


.button {
  display: block;
  height: 7px;
  margin: 20px auto;
  background-color: blue;
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.button:hover {
  background-color: darkblue;
  /* Hover effect */
}

@media (max-width: 600px) {
  header h1 {
    font-size: 20px;
  }

  .container {
    margin: 16px;
    padding: 13px;
  }
}

/* ...laibary */
/* Header */
.box2 {

  color: blueviolet;
  text-align: center;
  padding: 20px 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.box1 h2 {
  font-size: 25px;
  letter-spacing: 1px;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 30px auto;
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero img {
  width: 100%;
  border-radius: 10px;
  height: 400px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* About Section */
.container h2 {
  color: #004aad;
  margin-top: 20px;
  margin-bottom: 10px;
}

.container p {
  text-align: justify;
  margin-bottom: 20px;
}

/* Facility Cards */
.facility-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
  margin: 20px 0;
}

.facility-grid img {
  width: 80%;
  height: 100px;
}

.card {
  flex: 1;
  background: #ffffff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 10px;
}

.card h3 {
  color: #004aad;
  margin: 10px 0 5px;
}

.card p {
  font-size: 15px;
}

/* List Section */
ul {
  margin-top: 10px;
  margin-bottom: 20px;
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
}

/* Button */
.btn {
  display: block;
  margin: 20px auto;
  background: #004aad;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #003080;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
  .facility-grid {
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .card {
    flex: 1 1 100%;
  }

  .hero img {
    height: 250px;
  }
}

/* ..add.. */


header {
  padding: 10px;
  background:burlywood;
  border-bottom: 1px solid #e7f0ff;
  display: flex;
  align-items: center;
  gap: 10px
}

.logo {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800
}

.brand-title {
  font-weight: 700;
  font-size: 16px
}

.container1 {
  max-width: 1000px;
  margin: 12px auto;
  padding: 10px;
  background-color:rgb(31, 119, 119);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 12px
}

.top-banner {
  grid-column: 1/-1;
  background: #fff;
  border: 1px dashed #e6f4ff;
  padding: 8px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 13px
}

main {
  min-height: 250px
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px
}

.ad-card {
  background: var(--card);
  padding: 10px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px
}

.ad-media {
  height: 90px;
  border-radius: 8px;
  border: 1px solid #eef6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600
}

.ad-title {
  font-weight: 700;
  font-size: 14px
}

.ad-desc {
  color: var(--muted);
  font-size: 12px
}

.btn {
  padding: 6px 8px;
  border-radius: 6px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 12px
}

.btn.ghost {
  background: transparent;
  border: 1px solid #dbeaff;
  color: var(--accent)
}

aside {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.card1 {
  background: var(--card);
  padding: 10px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 13px
}

input,
select,
textarea {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #e6eefc;
  font-size: 12px
}

textarea {
  min-height: 60px
}

.preview {
  min-height: 70px;
  border-radius: 6px;
  border: 1px solid #e9f3ff;
  background: #fbfeff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px
}


/* 📱 MOBILE RESPONSIVE STYLING */
@media (max-width: 768px) {

  header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 8px;  /* pehle yahan zyada space hoti hai — ise kam kar diya */
  font-size: 13px;   /* text thoda chhota */
  line-height: 1.3;  /* text ke beech ka gap kam */
}


header .brand-title {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* agar text lamba ho to ... dikhayega */
  width: 100%;
}

  .container1 {
    flex-direction: column;
    gap: 15px;
    padding: 10px;
  }

  main, aside {
    width: 100%;
  }

  .ad-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }

  .top-banner {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  section[style] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  select, input {
    width: 100%;
  }

  .btn {
    font-size: 14px;
  }

  .brand-title {
    animation: none; /* Stop sliding text on small screens */
    white-space: normal;
  }
}



/* ....filter */

h1, h2 {
  margin-bottom: 10px;
}

/* ===== Slider ===== */
.slider {
  overflow: hidden;
  position: relative;
  margin: 20px 0;
  width: 100%;
  height: 150px;
}

.slide-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.slide {
  min-width: 200px;
  margin-right: 20px;
}

.slide img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===== About Section ===== */
.about1 {
  background:lightcyan;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* ===== Container Layout ===== */
.container2 {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

/* ===== Sidebar ===== */
.sidebar1 {
  flex: 1;
  min-width: 200px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
}

.filter-header .arrow {
  transition: transform 0.3s;
}

.filter-content {
  display: none;
  margin-top: 10px;
  flex-direction: column;
}

.filter-content.open {
  display: flex;
}

.filter-content label {
  margin-bottom: 8px;
}

/* ===== Main Content ===== */
.main-content {
  flex: 3;
  min-width: 300px;
  background: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.course-detail h2 {
  margin-bottom: 10px;
}

.course-detail p {
  margin-bottom: 8px;
}

.course-detail .info-list p {
  margin: 5px 0;
}

.course-detail ul {
  margin: 5px 0 10px 20px;
}

/* ===== Responsive ===== */
@media(max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .slide img {
    width: 150px;
    height: 100px;
  }
}