/* General Reset */
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
} */
/* body {
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;

} */


/* Second menu (tabs) */

.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
}

.fixed-tabs {
    position: fixed;
    top: 60px; /* same as mainmenu height */
    width: 100%;
    z-index: 9999;
}
#univ_tabs_menu .tabs1 {
    margin-bottom: 5px;
}
.react-upcoming__event {
    padding-top: 1px;
}
/* ===== HEADER ===== */
.university_section{
  margin-top: -1px;
}
.top_university{
    height:200px;
    position:relative;   
    left:0;
    width:100%;
    z-index:1000;
/* background-color: lightcyan; */
    background-image:url("https://img.jagranjosh.com/images/2022/March/1432022/87938208.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    border-radius:0 0 10px 10px;
    overflow:hidden;
    padding:20px 30px;
}

/* better overlay */
.overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
}

/* content */
.head-content{
    position:relative;
    height:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
margin-left: 60px;
margin-right: 50px;
  }

/* left section */
.university-info{
    display:flex;
    align-items:center;
    gap:15px;
    margin-left: 90px;
}

.university-logo img{
    width:120px;
    height:120px;
    border-radius:8px;
    /* background:white; */
    padding:4px;
}

/* text highlight */
.university-details h2{
    margin:0;
    font-size:35px;
    color:#ffffff;
      
    font-weight:700;
}

.university-details span{
    font-size:20px;
    color:#ffd700;
}

.university-details p{
    margin-top:5px;
    font-size:18px;
    color:#ffffff;
}

/* rating */
.rating-section{
    text-align:center;
    color:white;
    margin-right: 40px;
}

.rating-stars{
    font-size:18px;
    color:#ffd700;
}

.apply1{
    margin-top:8px;
    padding:10px 22px;
    border:none;
    background:#10177a;
    color:white;
    font-weight:bold;
    font-size: 18px;
    border-radius:5px;
    cursor:pointer;
}

.apply:hover{
    background:#e0484d;
}

/* ===== Tabs Layout ===== */
.tabs_section{
  top: 383px;
  background-color: #00307a;
}
.tabs-container1 {
  position: relative;
  left: 0;   
  width: 100%;
  /* background: #ffffff; */
  text-align: center;
  padding: 1px 0;
  border-bottom: 1px solid #ddd;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}


.tabs1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* background: #00307a; */
   background: #040404;
  gap: 10px;

  padding: 5px;
  transition: all 0.3s ease;
}

.tab-btn {
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  padding: 8px 10px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 17px;
}

.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{
padding:0px 0px;
background:#f6f7fb;
font-family:Arial;
}


/* layout */

.about-placement{
display:flex;
align-items:center;
justify-content:space-between;
gap:40px;
}

/* left side */

.about-left{
flex:1;
}

.about-left h2{
font-size:30px;
margin-bottom:20px;
color:#0b1f35;
}

.about-box{
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
line-height:1.7;
font-size:15px;
}

/* hidden text */

.hidden-text{
display:none;
}

/* view button */

.view-btn{
color:#ff7a00;
font-weight:bold;
cursor:pointer;
margin-left:8px;
}

/* right side */

.about-right{
flex:1;
text-align:center;
}

.about-image{
width:100%;
height: 300px;
max-width:620px;
border-radius:12px;
box-shadow:0 6px 20px rgba(0,0,0,0.2);
}

/* responsive */

@media(max-width:768px){

.about-placement{
flex-direction:column;
text-align:center;
}

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

}

/* ====== TOP COURSES  ====== */
 /* Section heading */
 /* SECTION */
.myCourseSlider{
  padding:40px;
}

/* HEADING */
.myCourseSlider h2{
  text-align:center;
  font-size:30px;
  font-weight:700;
  color:#0c223f;
  margin-bottom:35px;
  position:relative;
}

.myCourseSlider h2::after{
  content:"";
  width:80px;
  height:4px;
  background:#0c223f;
  display:block;
  margin:10px auto 0;
  border-radius:2px;
}

/* SWIPER FIX */
.courseSwiper{
  position:relative;
  padding:20px 40px;

  
}

.swiper-slide{
  display:flex;
  justify-content:center;
}

/* CARD */
.course-card1{
  width:100%;
width: 490px;
  height:auto;
  background:#fff;
  border-radius:15px;
  padding:20px;
  box-shadow:0 8px 25px rgba(0,0,0,0.1);
  border-top:4px solid #0c223f;
  transition:0.3s;
}

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

/* TITLE */
.course-name{
  font-size:20px;
  font-weight:700;
  color:#0c223f;
  margin-bottom:20px;

  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

/* DETAILS */
.course-details{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:8px 15px;
}

.course-details p{
  margin:0;
  font-size:14px;
  color:#555;
}

/* FULL WIDTH LINE */
.course-details .full{
  grid-column: span 2;
  margin-top:10px;
}

.course-details .full strong{
  font-size:15px;
  color:#0c223f;
}

/* ARROWS */
.swiper-button-next,
.swiper-button-prev{
  color:#0c223f;
  top:50%;
  transform:translateY(-50%);
}

  /* <!--==== course list =====--> */
  .section_about{
  background-color: #c3cbda;
  margin-top: 20px;
}
.page-container {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;  
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #cfd7e3;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
}

/*  LEFT SIDE (COURSE LIST)*/
.course-container4 {
  background: #fff;
  padding: 12px;
  margin-left:20;
  margin-top: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  position: relative;
   text-align: center;
  overflow: hidden;
  width: 1000px;
  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;
  left:0;
}
.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: 20px;
  font-weight: 600;
  color:black;
  text-align: left !important;
  display: block;
  margin-left: 0;
}
/* ... */
.course-info1 {
  text-align: left !important;
  display: block;
}
.course-meta {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  text-align: left !important;
}
.course-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
 
}
/* .... */
.course-meta span {
  margin-right: 10px;
 font-size: 15px;
  font-weight: 800px;
  background-color: lightskyblue;
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}
.eligibility, .course-type, .specialization {
  font-size: 12px;
  color: #060606;
  margin-top: 5px;
  text-align: left !important;
  display: block;
}

.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 form======== */
.apply-modal{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.apply-box{
  background:#fff;
  padding:25px;
  border-radius:10px;
  width:350px;
  position:relative;
  animation:fadeIn 0.3s ease;
}

.apply-box h2{
  text-align:center;
  margin-bottom:15px;
}

.apply-box input,
.apply-box select{
  width:100%;
  padding:10px;
  margin:8px 0;
  border:1px solid #ccc;
  border-radius:5px;
}

.apply-box button{
  width:100%;
  padding:10px;
  background:#0c223f;
  color:#fff;
  border:none;
  border-radius:5px;
  cursor:pointer;
}

.close-btn{
  position:absolute;
  top:10px;
  right:15px;
  font-size:22px;
  cursor:pointer;
}

@keyframes fadeIn{
  from{transform:scale(0.8); opacity:0;}
  to{transform:scale(1); opacity:1;}
}
.apply {
  margin-top: -5px;
  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;
  margin-top: 20px;
  width: 300px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  overflow-y: auto;
  height: 500px;
  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 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    width: 50%;
    height: auto;       
    overflow: visible; 
  }
  .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-container3 {
      width: 50%;
    }
     .course-container3 {
    width:100px;
    margin: 0 auto;
    padding: 10px 8px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);

    /* ✅ Mobile fixes */
    max-height: unset;
    overflow-y: unset;
    overflow-x: hidden;

    display: block;
  }
.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 ===== */
.section_table{
padding:60px 20px;
background:#f2f6ff;

font-family:Arial;

}

.table-title{
text-align:center;
font-size:32px;
margin-bottom:10px;
color:#0b1f35;
}

.table-subtitle{
text-align:center;
color:#666;
margin-bottom:40px;
}

/* layout */

/* ===== TABLE DESIGN ===== */

.table-box{
flex:2;
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.table-box table{
width:100%;
border-collapse:collapse;
font-size:15px;
}

.table-box th{
background:#0b1f35;
color:white;
padding:12px;
text-align:left;
width:35%;
}

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

.table-box tr:nth-child(even){
background:#f7f9fc;
}

/* ===== NEWS BOX ===== */

.news-box{
flex:1;
background:white;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
overflow:hidden;
}

.news-header{
background:linear-gradient(135deg,#0b1f35,#1b3c6d);
color:white;
padding:15px;
font-size:18px;
font-weight:bold;
text-align:center;
}

/* scroll area */

.news-content{
max-height:300px;
overflow-y:auto;
padding:15px;
}

.news-item{
padding:12px;
border-bottom:1px solid #eee;
transition:0.3s;
}

.news-item:hover{
background:#f1f6ff;
}

.news-item strong{
display:block;
color:#0b1f35;
font-size:16px;
}

.news-item span{
font-size:15px;
color:#666;
}
.ads-section{
width:90%;
margin:auto;
text-align:center;
font-family:Arial;
}

.ads-section h2{
font-size:28px;
margin-bottom:20px;
position:relative;
}

.ads-section h2::after{
content:"";
width:80px;
height:4px;
background:orange;
display:block;
margin:8px auto;
border-radius:5px;
}

.ads-slider{
position:relative;
overflow:hidden;
}

.ads-container{
display:flex;
gap:20px;
transition:0.5s;
}

.ads-card{
min-width:50%;
border-radius:15px;
overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

.ads-card img{
width:100%;
height:300px;
object-fit:cover;
display:block;
}

/* arrows */

.arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,0.4);
color:white;
border:none;
font-size:28px;
padding:10px 15px;
cursor:pointer;
border-radius:50%;
}

.arrow.left{
left:10px;
}

.arrow.right{
right:10px;
}
/* ===== 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======= */
.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: 10px;
  padding: 4px 8px;
  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.active + .faq-answer {
  display: block;
}
.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);
  }
}



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


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


/* 📱 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;
}
.ads-page1{
width:100%;
padding:40px 0;
background:#f6f7fb;
text-align:center;
font-family:Arial;
}

.ads-page1 h2{
font-size:28px;
margin-bottom:25px;
position:relative;
}

.ads-page1 h2::after{
content:"";
width:80px;
height:4px;
background:orange;
display:block;
margin:8px auto;
border-radius:5px;
}

/* ads image */

.ads-box1{
width:95%;

margin:auto;
background:white;
padding:15px;
border-radius:12px;
box-shadow:0 5px 20px rgba(0,0,0,0.15);
}

.ads-box1 img{
width:100%;
height:300px;
border-radius:10px;
display:block;
}


/* .faclity.. */
   .facilities-main{
display:flex;
gap:30px;
}
.facilities-box h2{
    font-size:29px;
    font-weight:700;
    color:#124ea2;
    margin-bottom:20px;
    text-align:center;      /* Center the text */
    border-left:none;       /* Remove left border */
    padding-left:0;
}
/* LEFT GRID */
.facilities-container{
flex:3;
display:grid;
grid-template-columns:repeat(6,1fr);
gap:15px;
}

.facility-card{
    margin-left: 20px;
background:#fff;
border-radius:8px;
height: 200px;
padding:12px;
text-align:center;
font-size:22px;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
transition:0.3s;
}

.facility-card i{
font-size:50px;
margin-top: 20px;
color:#124ea2;
display:block;
margin-bottom:5px;
}

.facility-card i span{
font-size:50px;
}

.facility-card:hover{
transform:translateY(-3px);
}
.status.ok {
    font-size: 32px;
    font-weight: 700px;
    color: green;
    font-weight: bold;
  }
/* RIGHT ADS */
.ads-section{
flex:1;
display:flex;
flex-direction:column;
gap:20px;
}

.ads-box{
background:#124ea2;
color:white;
padding:20px;
border-radius:10px;
text-align:center;
}

.ads-box button{
margin-top:10px;
padding:8px 15px;
border:none;
background:#ff5a5f;
color:white;
border-radius:5px;
cursor:pointer;
}

/* ...comment */
 .qa-container{
padding:40px 0;
background:#f6f7fb;
}

.qa-wrapper{
width:90%;
margin:auto;
display:flex;
gap:30px;
}

/* LEFT */

.qa-left{
flex:2;
}

/* RIGHT */

.qa-right{
flex:1;
}

.admission-banner img{
width:100%;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.2);
}

/* FORM */

.leave-reply{
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 4px 15px rgba(0,0,0,0.1);
}

textarea{
width:100%;
padding:12px;
border:1px solid #ddd;
border-radius:6px;
margin-bottom:15px;
}

.input-row{
display:flex;
gap:10px;
margin-bottom:15px;
}

.input-row input{
flex:1;
padding:10px;
border:1px solid #ddd;
border-radius:6px;
}

.btn-post{
background:#0b1f35;
color:white;
padding:10px 20px;
border:none;
border-radius:6px;
cursor:pointer;
}

/* COMMENTS */

.comments-section{
margin-left: 50px;
}

.comments-section h3{
margin-top:25px;
}
.comments-list{
max-height:220px;
width: 90%;
overflow-y:auto;
margin-left: 30px;
}

.comment-card{
background:white;
padding:12px;
margin-top:10px;
border-left:4px solid #0b1f35;
border-radius:6px;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.comment-card small{
color:#777;
display:block;
margin-top:5px;
}
/* ....... */


/* .logo1 img{
width:330px;
height: 100px;
} */
   .logo-box{
display:flex;
align-items:center;
gap:-5px;
 background:linear-gradient(135deg,#0c253a,#0b223b); 
padding:15px 20px;
width:max-content;
font-family:Arial, sans-serif;
}

/* icon */
.logo-left{
font-size:75px;
margin-top: -20px;
color:white;
margin-left: -50px;
transform: rotate(-15deg);
}


/* main text */
.logo-text h1{
margin:0;
font-size:33px;
font-weight:bold;
letter-spacing:2px;
}

/* green text */
.admission{
color:#0bb36b;
}

/* white text */
.enquiry{
color:white;
margin-left:8px;
}

/* tagline */
.tagline {
    color: #cfd8dc;
    font-size: 16px;
    margin-left: 20PX;
    letter-spacing: 4px;
    margin-top: -5px;
    /* border-top: 2px solid #cfd8dc; */
    padding-top: 6px;
    width: 100%;
}

/* Mobile Responsive */
@media(max-width:600px){

.logo-box1{
flex-direction:column;
align-items:center;
text-align:center;
width:100%;
}

.logo-left{
margin-left:0;
margin-top:0;
transform:rotate(-10deg);
font-size:55px;
}

.logo-text h1{
font-size:24px;
}

.tagline{
letter-spacing:2px;
font-size:12px;
}

}
@media(max-width:900px){

.footer-container{
grid-template-columns:1fr 1fr;
gap:30px;
}

}

@media(max-width:600px){

.footer-container{
grid-template-columns:1fr;
text-align:center;
}

.logo1 img{
margin:auto;
display:block;
}

.social-icons{
justify-content:center;
}

}