/* 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: 15px 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 125px;
  box-sizing: border-box;
}

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

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

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

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

.rating-section {
  text-align: right;
  top:-10px;
}

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

.apply-btn {
  background: #004aad;
  color: #fff;
  border: none;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
  top:-7px;
  font-weight: 200;
  position: relative;
  transition: 0.3s ease;
}

.apply-btn:hover {
  background: #003080;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .header {
    flex-direction: row; 
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 10px;
    padding: 8px 12px;
    height: auto; 
    position:flex;
  }

  /* ===== UNIVERSITY INFO ===== */
  .university-info {
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
  }

  .university-logo {
    flex-shrink: 0;
  }

  .university-logo img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
  }

  .university-details {
    flex: 1;
    text-align: left;
    padding: 0;
  }

  .university-details h2 {
    font-size: 15px;
    line-height: 1.2;
    color: #004d40;
    margin: 0;
  }

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

  .university-details p {
    font-size: 12px;
    color: #444;
    margin-top: 4px;
    line-height: 1.4;
  }

  /* ===== RATING SECTION ===== */
  .rating-section {
    display: none;
  }

  /* ===== APPLY BUTTON ===== */
  .apply {
    background: linear-gradient(50deg, #00796b, #009688);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
    transition: 0.3s ease;
  }

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

/* ===== EXTRA SMALL DEVICES (Phones < 500px) ===== */
@media (max-width: 500px) {
  .header {
    padding: 6px 10px;
    gap: 6px;
  }

  .university-logo img {
    width: 55px;
    height: 55px;
  }

  .university-details h2 {
    font-size: 13px;
  }

  .university-details p {
    font-size: 11px;
  }

  .apply-btn {
    font-size: 10px;
    padding: 7px 12px;
  }
}


/* ===== Tabs Layout ===== */

.tabs-container {
  position: fixed;
  top: 110px; 
  left: 0;
  width: 100%;
  background: #ffffff;
  text-align: center;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
  z-index: 1000;
  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: 5px;
  transition: all 0.3s ease;
}

.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;
}

/* ===== Menu Toggle  ===== */
.menu-toggle {
  display: none;
  font-size: 20px;
  font-weight: bold;
  background: #00307a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 15px;
  cursor: pointer;
  transition: 0.3s;
}
.menu-toggle:hover {
  background: #00225b;
}

/* ===== Mobile View ===== */
@media (max-width: 768px) {
  .tabs-container {
    top: auto;
    position: relative;
 top:80px;
    box-shadow: none;
    border-bottom: none;
  }

 .menu-toggle {
    display: block; /* show only on mobile */
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 100;
  }

  .tabs {
 
    display: none;
    flex-direction: column;
    align-items: center;
     gap: 10px;
    background: #00307a;
    border-radius: 10px;
    margin: 10px auto;
    width: 40%;
    margin-right: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    padding: 10px 0;
    animation: slideDown 0.3s ease;
  }

  .tabs.show {
    display: flex;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .tab-btn {
    width: 80%;
    text-align: right;
    font-size: 15px;
    padding: 10px;
    border-radius: 20px;
  }
}


/* ===== 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;
}
.about-box p{
  font-size: 12px;
}
.hidden-text{
  font-size: 12px;
}
/* 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;
}

/* 🔹 Mobile Responsive */
@media (max-width: 768px) {
  .about-placement {
    flex-direction: column-reverse; 
    align-items: center;
    top: 100px;
    margin: 60px auto;
  }

  .about-left,
  .about-right {
    flex: 100%;
    width: 100%;
    text-align: center;
  }

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

  .about-image {
    width: 90%;
    max-width: 350px;
    height: auto;
  }
}


/* ====== TOP COURSES  ====== */
.course-slider1 {
  text-align: center;
  background: #f9f9f9;
  padding: 40px 10px;
  position: relative;
  top:120px;
}

.course-slider1 h2 {
  font-size: 24px;
  margin-bottom: 25px;
  color: #004d40;
}

.slider-container1 {
  position: relative;
  overflow: hidden;
  width: 90%;
  margin: auto;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
}

.course-card, .course-card1 {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  padding: 15px;
  flex: 0 0 31%;
  text-align: left;
}

.course-card img, .course-card1 img {
  width: 90%;
  border-radius: 8px;
  height: 170px;
  object-fit: cover;
}

.course-card h3, .course-card1 h3 {
  font-size: 16px;
  margin: 10px 0;
  color: #00796b;
}

.course-card .info div,
.course-card1 .info div {
  font-size: 13px;
  margin: 2px 0;
  color: #555;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #009688;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10;
}

.arrow.left {
  left: -10px;
}

.arrow.right {
  right: -10px;
}

.arrow:hover {
  background: #00796b;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .course-card, .course-card1 {
    flex: 0 0 100%;
  }

  .arrow.left {
    left: 5px;
  }

  .arrow.right {
    right: 5px;
  }
}

/* =======about1======= */
.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 list =====--> */
.page-container {
  display: flex;
  justify-content: flex-start;  
  align-items: flex-start;
  
  gap: 50px;
  padding: 20px 40px;
  background: #f5f7fa;
  flex-wrap: wrap;
}

/*  LEFT SIDE (COURSE LIST)*/
.course-container4 {
  background: #fff;
  padding: 12px;
  margin-left: 0;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  position: relative;
   text-align: center;
  overflow: hidden;
  width: 800px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* Sub Courses Dropdown */
.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: #3668cd;
  color: white;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 3px;
  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-card3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: white;
  padding: 12px;
  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: 12px;
  background-color:lightskyblue;
  color: #555;
}
.eligibility, .course-type, .specialization {
  font-size: 12px;
  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: -2px;
  background: #0044cc;
  color: #fff;
  padding: 6px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.3s;
}
.apply:hover { background: #002b80; }

/* ===== RIGHT SIDE (ADS SECTION) ===== */
.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: 40px;
}

.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;
}

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

/*  RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .page-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .course-container3 {
    width: 90%;
  }

  .ad-section {
    width: 80%;
    margin: 20px 0 0;
  }
}

/*  MOBILE VIEW */
@media (max-width: 768px) {
  .page-container {
    flex-direction: column;
    align-items: flex-start;     
    justify-content: flex-start;
    gap: 20px;
    padding: 10px 15px;
    width: 100%;
    height: 100vh;               
    overflow-y: auto;            
    overflow-x: hidden;         
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  .page-container::-webkit-scrollbar {
    width: 6px;                
  }
  .page-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
  }
  .page-container::-webkit-scrollbar-track {
    background: transparent;
  }

  /*  COURSE CONTAINER */
  .course-container3 {
    width: 95%;
    margin: 0 auto;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #fff;
    overflow-y: auto;           
    max-height: 85vh;             
  }


  .course-container3::-webkit-scrollbar {
    width: 6px;
  }
  .course-container3::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }

  /* ADS SECTION HIDE  */
  .ad-section {
    display: none;
  }

  /* CATEGORY HEADER*/
  .category3 {
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
    text-align: left;
  }

  /* COURSE CARD */
  .course-card3 {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    margin-bottom: 15px;
  }

  .course-title {
    font-size: 15px;
  }

  .course-meta span {
    font-size: 13px;
  }

  .course-right {
    text-align: left;
    margin-top: 10px;
  }

  .apply {
    width: 100%;
    font-size: 14px;
    margin-top: 10px;
  }
}

/* ===== TABLE ===== */
 .container {
  width: 100%;
  display: flex;
  justify-content: flex-start; 
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin: 40px auto;
  padding: 0 40px;
}

/* 🔹 Table Section */
.table-box {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 650px;
  transition: all 0.3s ease;
}

.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;
}

.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 animation */
.arrow {
  transition: transform 0.3s;
}
.rotate {
  transform: rotate(90deg);
}

/* 🔹 Responsive Design */
@media (max-width: 1024px) {
  .container {
    justify-content: center;
    padding: 0 20px;
  }

  .table-box {
    width: 80%;
  }

  .news-box {
    width: 60%;
  }
}

/* 🔹 Mobile Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column; 
    align-items: center;
    gap: 20px;
    padding: 0 10px;
  }

  .table-box,
  .news-box {
    width: 100%;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  }

  .table-box th,
  .table-box td {
    padding: 10px;
    font-size: 14px;
  }

  .news-header {
    padding: 12px 15px;
    font-size: 16px;
  }
.news-content {
    padding: 12px 15px;
  }
}

/* ===== 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: 20px;
  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; 
  border-left: 4px solid #0033a0;
  text-align: center;
  line-height: 1.4; 
  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);
}
.apply-btn1{
  display:block;
  text-align:center;
   margin:15px auto;
    background:#0044cc;
     color:#fff;
      padding:10px 20px;
       border-radius:6px; 
       width:max-content;
        text-decoration:none;
         font-weight:600;
}
@media (max-width: 992px) {
  .process-steps {
    flex-wrap: wrap; 
  }
  .step {
    flex: 1 1 45%;
  }
}

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

/* ========palcment======= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
.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;
}

/* 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: 50%;
    height: auto;
  }
}
/* ===== 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;
  }
}



/* ===== COMMENT SECTION ===== */
/* Contact Form Container */
.contact-form {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 800px;
  margin: 60px auto;
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-3px);
}
.contact-form h2 {
  margin-bottom: 20px;
  color: #0044cc;
  font-size: 22px;
}
.form-row {
  display: flex;
  gap: 15px;
}

.form-row input {
  flex: 1;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0044cc;
}

/* Submit Button */
.contact-form button {
  background: #0044cc;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.contact-form button:hover {
  background: #002b80;
}
#formMessage {
  margin-top: 10px;
  font-size: 14px;
  color: green;
}

/* ✅ Responsive Design */
@media (max-width: 768px) {
  .contact-form {
    width: 90%;
    padding: 20px;
  }

  .contact-form h2 {
    font-size: 20px;
  }
  .form-row {
    flex-direction: column;
  }
}


.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);
}

/* 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;
}
/* ..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; 
  font-size: 13px;  
  line-height: 1.3; 
}
header .brand-title {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; 
  width: 100%;
}
}

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



/* .faclity.. */
.facilities-container {
  display: grid;
  grid-template-rows: repeat(2, 1fr); 
  gap: 10px;
}


 .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;
  }
  .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, 2fr); /* मोबाइल पर 2 बॉक्स */
    }
  }

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

  .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 20px;
  width: 900px;
  margin: 0 auto;
  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;
  text-align: left;
}

textarea {
  width: 100%;
  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;
}

/* 🔹 Comments Display Section */
.display-comments {
  width: 100%;
  max-width: 1200px;
  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;
  margin: 20px auto;
}

.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;
}

/* =========================
   🔹 Responsive Design
========================= */

/* 📱 Tablet View (max 900px) */
@media (max-width: 900px) {
  .comment-section {
    width: 95%;
    margin: 0 auto;
  }

  .display-comments {
    width: 95%;
    padding: 20px;
  }

  textarea {
    height: 50px;
  }
}

/* 📱 Mobile View (max 600px) */
@media (max-width: 600px) {
  .comment-section {
    width: 90%;
    padding: 12px;
  }

  .comment-section h2 {
    font-size: 16px;
    text-align: center;
  }

  .input-row {
    flex-direction: column;
    gap: 10px;
  }

  .display-comments {
    width: 100%;
    height: 250px;
    padding: 15px;
  }

  textarea {
    height: 60px;
  }

  .comment-btn {
    justify-content: center;
    width: 100%;
  }

  .qa-item {
    padding: 10px;
  }

  .question {
    font-size: 13px;
  }

  .answer {
    font-size: 12.5px;
  }
}


/* .....scrollerbtn1 */
/* Scroll to Top Button */
#scrollTopBtn1 {
  position: fixed;
  bottom: 30px;
  right: 17px;
  background-color: #009688;
  color: #fff;
  border: none;
  outline: none;
  padding: 12px 14px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  display: none; /* initially hidden */
  z-index: 9999;
}

/* Hover effect */
#scrollTopBtn1:hover {
  background-color: #00796b;
  transform: translateY(-2px);
}
