/* 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: 10px 25px;   
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  width: 100%;
  height: 135px;        
  z-index: 1000;
}
/* ..... */
.university-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.university-logo img {
  top:50px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #ddd;
}
.university-details h2 {
  font-size: 10px;
  font-size: 1.4rem;
  color: #002147;
}

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

.rating-section {
  text-align: right;
}
.rating-stars {
  color: gold;
  font-size: .9rem;
}

.apply-btn {
  background: #004aad;
  color: white;
  border: none;
  padding: 1px 5px;       /* 🔹 और छोटा किया गया */
  border-radius: 3px;
  cursor: pointer;
  font-size: 10px;        /* 🔹 छोटा टेक्स्ट */
  font-weight: 400;
  position: relative;
  top: -3px;              /* 🔹 थोड़ा ऊपर लाया गया */
  transition: 0.3s;
}

.apply-btn:hover {
  background: #003080;     /* hover पर गहरा नीला */
}
/* 🔹 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 {
  position: fixed;
  top: 100px; 
  left: 0;
  width: 100%;
  background: #ffffff;
  text-align: center;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
  z-index: 999; /* header से नीचे नहीं जाए */
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.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;
  flex-wrap: wrap;            
  gap: 30px;
  align-items: flex-start;
  justify-content: center;  
 margin: 100px auto 60px;
  padding: 20px;
  max-width:100%;
  position: relative;        
  top: 168px;                      
}


/* 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;
  }
}

/* ====== TOP COURSES  ====== */

.course-slider1 {
  text-align: center;
  padding: 40px;
  top:400px;
}

.slider-container1 {
  position: relative;
  width: 90%;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 16px;
}
.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

/* Course Cards */
.course-card1 {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  width: 320px;
  flex-shrink: 0;
  padding-bottom: 20px;
  transition: transform 0.3s;
}

.course-card1:hover {
  transform: scale(1.03);
}

.course-card1 img {
  width: 100%;
  border-radius: 16px 16px 0 0;
  height: 180px;
  object-fit: cover;
}

.course-card1 h3 {
  color: #003c91;
  font-size: 18px;
  margin: 12px 0;
}

.info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 20px;
  font-size: 14px;
}

p {
  margin: 0 20px;
  text-align: left;
  font-size: 14px;
  color: #333;
}

/* Arrows (Updated) */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #003c91;
  color: #fff;
  border: none;
  font-size: 26px;
  cursor: pointer;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.arrow:hover {
  background: #0056cc;
  transform: translateY(-50%) scale(1.1);
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  .course-card { width: 260px; }
}

@media (max-width: 768px) {
  .course-card { width: 240px; }
}

@media (max-width: 600px) {
  .course-card { width: 90%; margin: 0 auto; }
  .arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .arrow.left { left: 5px; }
  .arrow.right { right: 5px; }
}

/* ===== TABLE ===== */
 .container {
  width: 100%;
  display: flex;
  justify-content: center; /* center align horizontally */
  align-items: flex-start;  /* align top of both boxes */
  gap: 30px;
  flex-wrap: wrap; /* responsive ke liye */
  margin-top: 20px;
}

/* College Info Table */
.table-box {
  background: white;
  border-radius: 8px;
  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(200px * 14);
  animation: scroll 20s linear infinite;
}


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

.slide img {
  width: 80%;
  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: 40px;
  border-radius: 10px;
}

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

.process-steps {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 15px;
  flex-wrap: nowrap;
}

.step {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  padding: 15px 10px; /* 🔹 Height कम की गई */
  border-left: 4px solid #0033a0;
  text-align: center;
  line-height: 1.4; /* 🔹 Text compact */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 150px; 
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

@media (max-width: 992px) {
  .process-steps {
    flex-wrap: wrap; 
  }
  .step {
    flex: 1 1 45%;
  }
}

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

.apply-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, #0033a0, #0056d2); /* Blue gradient */
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 51, 160, 0.3);
  transition: all 0.3s ease;
  margin-top: 30px;
}

.apply-btn:hover {
  background: linear-gradient(90deg, #0056d2, #0033a0);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 51, 160, 0.4);
}

.apply-btn:active {
  transform: scale(0.97);
}

.apply-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.4);
}

/* ===== 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: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

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

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

/* ===== COMMENT SECTION ===== */
/* ===== 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 */
#scrollTopBtn1 {
  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;
}

#scrollTopBtn1: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;
}



/* ...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
}




/* 📱 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; 
  width: 100%;
}
}



/* ....filter */

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


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

/* ===== top couse ===== *//* Scrollable container */
.course-container3{
  max-width:900px;
  margin:auto;
  left:90px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
  overflow:hidden;
}

/* Category */
.category3 {
  background:white;
  color:black;
  padding:8px 12px;
  border-radius:8px;
  margin-bottom:5px;
  cursor:pointer;
  font-weight:600;
  display:flex;
  justify-content:space-between;
  /* align-items:center; */
  border: 1px solid #ccc;
}
.category3:hover { background:#f1f1f1; }

/* Sub-courses container */
.sub-courses {
  display:none;
  margin-left:10px;
  margin-top:5px;
  margin-bottom:10px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 10px;
  border-left: 3px solid black;
}

/* Scrollbar design */
.sub-courses::-webkit-scrollbar {
  width: 6px;
}
.sub-courses::-webkit-scrollbar-thumb {
  background:black;
  border-radius: -5px;
}
.sub-courses::-webkit-scrollbar-thumb:hover {
  background: black;
}

/* Detailed Course Card */
.course-card3 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 12px;
    border-radius:8px;
    margin-bottom:5px;
    border:1px solid #ddd;
    gap: 10px;
}

.course-info1 { flex: 1; }
 .course-title {
  font-weight: 600;
  color: #222;
  font-size: 15px;
  margin-bottom: 3px;
  text-align: left;
}
.course-meta {
  display: flex;
  justify-content: flex-start; 
  flex-wrap: wrap; 
}
.course-meta span {
  display: block;
  margin-bottom: 3px;
}


.eligibility, .course-type, .specialization, .fee, .rating {
  font-size:12px;
  margin-bottom:2px;
   text-align: left;
}

.specialization {
    display: block;
    margin-top: 2px;
    color: #00796b;
     text-align: left;
}

.icon-section button {
  margin-right:4px;
  padding:4px 6px;
  border:none;
  border-radius:5px;
  cursor:pointer;
}
.email-btn { background:#e53935; color:#fff; }
.email-btn:hover { background:#c62828; }
.share-btn { background:#00796b; color:#fff; }
.share-btn:hover { background:#004d40; }

.hidden-text { display:none; }

.apply {
  background: #00796b;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);

  margin-top: -20px; 
}
.apply:hover {
  background: #009688;          
  transform: scale(1.05);    
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.apply:active {
  transform: scale(0.98);      
}


/* .faclity.. */
.facilities-container {
  display: grid;
  grid-template-rows: repeat(2, 1fr); 
  gap: 10px; /* ← यही gap horizontal और vertical दोनों के बीच space बना रहा है */
}


 .facilities-box {
    width: 100%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px 40px;
  }

  .facilities-box h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #222;
    font-weight: 600;
  }

  /* ✅ हर लाइन में 4 बॉक्स */
  .facilities-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
  }

  /* नाम और स्टेटस दोनों के लिए समान बॉक्स */
  .facility-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: #fff;
  padding: 10px;           
  width:120px ;
  height: 70px;    
    margin-left: auto;     
    gap:10px; 
  transition: all 0.3s ease;
}

.facility-icon {
  font-size: 22px;          
  color: #3cb8aa;
  margin-bottom: 6px;
}

.facility-name {
  font-size: 14px;          
  font-weight: 500;
  color: #333;
}

   .status.ok {
    font-size: 22px;
    color: green;
    font-weight: bold;
  }

  @media (max-width: 900px) {
    .facilities-container {
      grid-template-columns: repeat(2, 1fr); /* मोबाइल पर 2 बॉक्स */
    }
  }

  @media (max-width: 500px) {
    .facilities-container {
      grid-template-columns: 1fr; 
    }
  }

  .status-card {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: #fff;
  width: 50px;        
  height: 70px;      
  margin: auto;     
  transition: all 0.3s ease;
}

.status-card:hover {
  border-color: #3cb8aa;
  background: #f0fcf8;
}

.status.ok {
  font-size: 20px;
  color: green;
  font-weight: bold;
}

/* ...comment */

 .comment-section {
      background: #ece2e2;
      padding: 15px;
      width: 900px;
      
      margin-left: 120px;
      top:0;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .comment-section h2 {
      color: #111827;
      margin-bottom: 6px;
      font-size: 18px;
    }

    textarea {
      width: 98%;
      height: 40px;
      resize: none;
      padding: 8px;
      border-radius: 6px;
      border: 1px solid #e5e7eb;
      background-color: #f9fafb;
      font-size: 13px;
      outline: none;
      transition: 0.2s;
    }

    textarea:focus {
      border-color: #22c55e;
      background: #fff;
    }

    .comment-btn {
      margin-top: 10px;
      background: #059669;
      color: #fff;
      padding: 6px 12px;
      border: none;
      border-radius: 6px;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .comment-btn:hover {
      background: #047857;
      transform: translateY(-1px);
    }

    .input-row {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      margin-top: 10px;
    }

    .input-row input {
      flex: 1;
      padding: 8px 10px;
      border-radius: 6px;
      border: 1px solid #e5e7eb;
      background-color: #f9fafb;
      font-size: 13px;
      outline: none;
      transition: 0.2s;
    }

    .input-row input:focus {
      border-color: #22c55e;
      background: #fff;
    }

    /* 🔹 All Q&A + Comments */
    .display-comments {
      width: 1200px !important;
      background:rgb(220, 243, 243);
      border-radius: 8px;
      padding: 25px 30px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      height: 300px;
      overflow-y: auto;
      scrollbar-width: thin;
    }

    .display-comments::-webkit-scrollbar {
      width: 8px;
    }
    .display-comments::-webkit-scrollbar-thumb {
      background-color: #a1a1aa;
      border-radius: 4px;
    }
    .display-comments::-webkit-scrollbar-thumb:hover {
      background-color: #6b7280;
    }

    .qa-item {
      background: #f9fafb;
      padding: 12px;
      border-radius: 8px;
      margin-bottom: 12px;
      border-left: 4px solid #10b981;
    }

    .question {
      font-weight: 600;
      color: #111827;
      font-size: 14px;
      margin-bottom: 5px;
    }

    .user-name {
      font-size: 12px;
      color: #6b7280;
      margin-bottom: 8px;
    }

    .answer {
      font-size: 13px;
      color: #333;
      margin-top: 5px;
    }

    .comment-list {
      margin-top: 8px;
      padding-left: 15px;
      border-left: 2px solid #d1d5db;
    }

    .comment {
      font-size: 12.5px;
      color: #444;
      margin-bottom: 4px;
    }

    .comment-actions {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-top: 8px;
      font-size: 12px;
      color: #6b7280;
      cursor: pointer;
    }

    .comment-actions span:hover {
      color: #059669;
    }

/* ...... course  List*/
/* .page-container {
  display: flex;
  gap: 20px;
  padding: 20px;
  height: 100vh;
  box-sizing: border-box;
  overflow: hidden; 
  margin-right: 50px;
} */
.page-container {
  display: flex;
  justify-content: flex-start;   /* Left align */
  align-items: flex-start;
  gap: 40px;
  padding: 30px;
  background: #f5f7fa;
}
/* LEFT */
/* .course-container3 {
  flex: 3;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  width: 500px;
   margin-right: 100px;
} */
 .course-container3 {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;

 
  width: 800px;      
  flex-shrink: 0;    
}


.sub-courses {
  display: none;
  padding: 10px 15px;
  background: #f2f5ff;
  border-radius: 6px;
  margin-top: 5px;
  animation: fadeIn 0.3s ease;
  max-height: 300px;        
  overflow-y: auto;   
}
.sub-courses.active {
  display: block;
}
.sub-courses::-webkit-scrollbar {
  width: 6px;
}
.sub-courses::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
}
.sub-courses::-webkit-scrollbar-track {
  background: transparent;
}

/* Category Header */
.category3 {
  background: #0044cc;
  color: white;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
  margin-top: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}
.category3:hover { background: #002b80; }
.category3 i { transition: transform 0.3s ease; }
.category3.active i { transform: rotate(180deg); }

/* Course Cards */
.course-card3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: white;
  padding: 15px;
  margin-bottom: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}
.course-card3:hover { transform: translateY(-3px); }

.course-title { font-size: 16px; font-weight: 600; color: #0044cc; }
.course-meta span { margin-right: 10px; font-size: 13px; color: #555; }
.eligibility, .course-type, .specialization { font-size: 13px; color: #333; margin-top: 5px; }

.course-right { text-align: right; }
.fee, .rating { font-size: 14px; margin-bottom: 6px; }

.icon-section button {
  border: none;
  background: #e6ebff;
  color: #0044cc;
  border-radius: 6px;
  padding: 6px;
  margin: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.icon-section button:hover { background: #0044cc; color: #fff; }

.apply {
  margin-top: 8px;
  background: #0044cc;
  color: #fff;
  padding: 6px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 10px;
  transition: background 0.3s;
}
.apply:hover { background: #002b80; }

/* RIGHT */
.ad-section {
  flex: 1;
  width: 300px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  overflow-y: auto;
  margin-left: 100px;
}
.ad-box { text-align: center; margin-bottom: 20px; }
.ad-box img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.ad-box img:hover { transform: scale(1.03); }
.ad-box p { font-size: 14px; margin-top: 8px; color: #333; }

@keyframes fadeIn {
  from {opacity: 0; transform: scaleY(0.95);}
  to {opacity: 1; transform: scaleY(1);}
}
/* ....==========       ================= */
