/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Roboto', sans-serif, Arial, sans-serif;
  background: #f0f3fa;
}

/* Width Utilities */
.width-100 {
  width: 100%;
  float: left;
}

.width-33 {
  width: 33.33%;
  float: left;
}

.width-40 {
  width: 40%;
  float: left;
}

.width-60 {
  width: 60%;
  float: left;
}

/* Container */
.container {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 20px;
  /* clearfix */
  overflow: hidden;
}

/* Enhanced Responsive Styles */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* Responsive Container Sizes */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Improved Table Responsiveness */
.table-responsive {
  overflow-x: auto;
  overscroll-behavior: auto;
  margin-bottom: 1rem;
}

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

@media (max-width: 768px) {
  table {
    min-width: 650px;
  }
}

/* Enhanced Mobile Touch Targets */
@media (max-width: 768px) {
  .main-menu li a,
  .footer-column ul li a,
  button,
  .btn,
  input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .main-menu li,
  .footer-column ul li {
    margin: 8px 0;
  }

  /* Improved Navigation */
  .main-menu {
    width: 100%;
  }

  .main-menu li {
    width: 100%;
    text-align: center;
  }

  /* Better Mobile Spacing */
  .section {
    padding: 40px 0;
  }

  .section-title {
    margin-bottom: 30px;
  }
}

/* Improved Form Responsiveness */
@media (max-width: 576px) {
  .contact-section form {
    padding: 15px;
  }
  
  input,
  textarea,
  select {
    font-size: 16px;
    padding: 12px;
    margin-bottom: 15px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }

  /* Stacked Form Layout */
  .form-row {
    flex-direction: column;
  }

  .form-row > * {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Enhanced Image Handling */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.responsive-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Visibility Classes */
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
  
  .show-on-mobile {
    display: block !important;
  }
}

@media (min-width: 769px) {
  .hide-on-desktop {
    display: none !important;
  }
}

/* Grid System Improvements */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (max-width: 768px) {
  .row {
    margin-right: -10px;
    margin-left: -10px;
  }

  .col {
    padding-right: 10px;
    padding-left: 10px;
  }
}

/* Enhanced Footer Responsiveness */
@media (max-width: 768px) {
  .footer {
    padding: 40px 20px;
  }

  .footer-columns {
    gap: 20px;
  }

  .social-media {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer2-content {
    padding: 0 15px;
  }
}

/* Top Header */
/* .top-header {
  position: sticky;
  top: 0;
  background-color: #1E90FF;
  color: white;
  z-index: 10000;
  width: 100%;
} */

.top-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Header fixed at top */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1E90FF;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  color: #fff;
  padding: 12px 0;
}

.fixed-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-left img {
  max-height: 70px;
  height: auto;
  width: auto;
  display: block;
}

.college-info {
  text-align: center;
  flex: 1;
}

.college-info h1,
.college-info .h5 {
  margin: 0;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
}

.college-info p {
  margin: 2px 0;
  font-size: 1rem;
  color: #f8f8f8;
}

/* Responsive adjustments for header */
@media (max-width: 992px) {
  .fixed-header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .logo-left {
    margin-bottom: 8px;
  }
  .college-info h1,
  .college-info .h5 {
    font-size: 1.2rem;
  }
  .college-info p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .fixed-header {
    padding: 8px 0;
  }
  .logo-left img {
    max-height: 50px;
  }
  .college-info h1,
  .college-info .h5 {
    font-size: 1rem;
  }
  .college-info p {
    font-size: 0.85rem;
  }
}

.logo-left img {
  height: 80px;
}

.college-info {
  text-align: center;
  flex: 1;
}

.college-info h1 {
  margin: 0;
  font-size: 40px;
  font-weight: bold;
}

.college-info p {
  margin: 4px 0;
  font-size: 25px;
  color: #000000;
}



/*Header Menu*/

.header-menu {
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  background: #fff;
  padding: 5px 0;
  overflow: hidden; /* clearfix */
}

.logo {
  float: left;
  max-height: 60px;
}

.logo img {
  max-height: 50px;
}

.main-menu {
  display: flex;
  justify-content: center;
  background-color: #FFFF00; /* Yellow */
  list-style: none;
  margin: 0;
  padding: 15px 0;
  position: fixed;
  top: 130px; /* adjust this to the height of .top-header */
  width: 100%;
  z-index: 998;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-menu li {
  margin: 0 20px;
}

.main-menu li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.main-menu li a:hover {
  color: #fff;
}


/* Dropdown Menu Styles */
.main-menu .dropdown {
  position: relative;
}

.main-menu .dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%;
  left: 0;
  min-width: 220px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.main-menu .dropdown-menu li {
  position: relative;
}

.main-menu .dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.main-menu .dropdown-menu li a:hover {
  background-color: #f0f0f0;
}

.main-menu .dropdown:hover > .dropdown-menu {
  display: block;
}

/* Show dropdown on hover */
.main-menu .dropdown:hover > .dropdown-menu {
  display: block;
}

/* Submenu (e.g., Courses > BCA/BBA) */
.dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-menu .dropdown-menu li:hover > .dropdown-submenu {
  display: block;
}

/* Floating Social Media Bar */
/* This section creates a floating social media bar on the right side of the screen */
    /* .floating-social-bar {
      position: fixed;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      z-index: 9999;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }

    .floating-social-bar a {
      background-color: #444;
      color: white;
      padding: 10px;
      border-radius: 5px 0 0 5px;
      font-size: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .floating-social-bar a:hover {
      transform: translateX(-5px);
    }

    .floating-social-bar .facebook:hover { background: #3b5998; }
    .floating-social-bar .twitter:hover { background: #1da1f2; }
    .floating-social-bar .instagram:hover { background: #e4405f; }
    .floating-social-bar .linkedin:hover { background: #0077b5; }
    .floating-social-bar .youtube:hover { background: #ff0000; } */

/* Responsive Social Media Bar */
@media (max-width: 768px) {
  .floating-social-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    top: auto;
    transform: none;
  }
  .floating-social-bar a {
    width: 50px;
    height: 50px;   
    font-size: 24px;
  }
}

/*Facilities*/


.main-menu .dropdown {
  position: relative;
}

.main-menu .dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%;
  left: 0;
  width: 220px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.main-menu .dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.main-menu .dropdown-menu li a:hover {
  background-color: #f0f0f0;
}

.main-menu .dropdown:hover .dropdown-menu {
  display: block;
}



/*Student zone*/



.main-menu .dropdown {
  position: relative;
}

.main-menu .dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%;
  left: 0;
  width: 220px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.main-menu .dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.main-menu .dropdown-menu li a:hover {
  background-color: #f0f0f0;
}

.main-menu .dropdown:hover .dropdown-menu {
  display: block;
}



/*Gallery*/

.main-menu .dropdown {
  position: relative;
}

.main-menu .dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%;
  left: 0;
  min-width: 180px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.main-menu .dropdown:hover > .dropdown-menu {
  display: block;
}

.main-menu .dropdown-menu li a {
  padding: 10px 15px;
  display: block;
  text-decoration: none;
  color: #333;
}

.main-menu .dropdown-menu li a:hover {
  background-color: #f0f0f0;
}



/* Slider */
/* .slider-width {
  width: 100%;
  height: auto;
  display: block;
} */

.carousel-item {
  width: 100%;
  max-height: 90vh; /* स्क्रीन के 90% तक */
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;         
  object-position: center;
  display: block;
  background-color: black;     
}
.carousel-item .carousel-caption {  
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
}
/*carousel responsive*/
@media (max-width: 768px) {
  .carousel-item img {
    height: auto; /* मोबाइल पर ऊंचाई ऑटो */
  }
  .carousel-item {
    max-height: none; /* मोबाइल पर अधिकतम ऊंचाई हटाएं */
  }
  .carousel-item .carousel-caption {
    font-size: 14px; /* मोबाइल पर कैप्शन का फ़ॉन्ट आकार कम करें */
    padding: 5px; /* मोबाइल पर पैडिंग कम करें */
  }
} 
/* Headline Section */
.headline-section {
  width: 100%;
  background: #00aed9;
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-top: 20px;
  box-sizing: border-box;
}
/* Head Quote */
.headquote {
  width: 100%;
  background: #00aed9;
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  box-sizing: border-box;
}



.margin-top {
  margin-top: 50px;
}


.notice-strip {
  background-color: #fff200; /* Yellow strip */
  padding: 10px 0;
  font-weight: bold;
  font-size: 16px;
  color: #000;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  overflow: hidden;
  white-space: nowrap;
}

.notice-content {
  display: inline-block;
  animation: scroll-left 20s linear infinite;
}

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






/* Latest News */
.latest-news {
  margin: 0 10px 30px;
  background: #fff;
  padding: 20px;
  height: 300px;
  overflow-y: auto;
  box-sizing: border-box;
}

.latest-news-ul {
  list-style: none;
  line-height: 40px;
  padding-left: 20px;
}







/* Heading Section */
.heading-sect {
  width: 100%;
  background: #00aed9;
  color: white;
  border: 1px solid #cfcfcf;
  padding: 15px;
  margin-bottom: 15px;
  box-sizing: border-box;
}

.head-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

/* Event List */
.event-list {
  margin: 0 10px 30px;
  background: #fff;
  padding: 20px;
  height: 300px;
  overflow-y: auto;
  box-sizing: border-box;
}

.Upcoming-event-list {
  list-style: none;
  padding-left: 0;
}

.Upcoming-event-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.event-date {
  background: #03a9f4;
  width: 45px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  padding: 5px 0;
  margin-right: 10px;
  line-height: 1.2;
  border-radius: 4px;
  font-weight: bold;
  -webkit-user-select: none;
  user-select: none;
}

.event-name {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

/* Notice Board */
.notice-board {
  margin: 0 10px 30px;
  background: #fff;
  padding: 20px;
  height: 300px;
  overflow-y: auto;
  box-sizing: border-box;
}

.notice-board-list {
  padding-left: 20px;
  list-style: none;
  line-height: 30px;
}

.notice-board-list li {
  width: 100%;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.notice-board-list li img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

/* Useful Info Section */
.our-Principal {
  margin: 0 10px 30px;
  background: #fff;
  padding: 20px;
  height: 400px;
  overflow-y: auto;
  box-sizing: border-box;
}

.Useful-info-ul {
  list-style: none;
  padding-left: 20px;
}

.Useful-info-ul li {
  margin-bottom: 15px;
  border-bottom: 1px solid #d7d7d7;
  padding-bottom: 15px;
}

.Useful-info-ul a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: color 0.3s ease;
}

.Useful-info-ul a:hover {
  color: #2196f3;
}

/* Director Section */
.about-us {
  margin: 0 10px 30px;
  background: #fff;
  padding: 20px;
  height: 400px;
  overflow-y: auto;
  box-sizing: border-box;
}

.gov-sec-style {
  margin-bottom: 30px;
  border-bottom: 1px solid #d7d7d7;
  padding-bottom: 30px;
  overflow: hidden; /* clearfix */
}

.governor-img {
  width: 100%;
  height: 100;
  border-radius: 20px;
}

.director-message p {
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.director-message strong {
  font-weight: 700;
}

.director-image {
  padding-right: 20px;
}

.director-signature {
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
  .width-33, .width-40, .width-60 {
    width: 100% !important;
    float: none !important;
  }

  .main-menu {
    float: none;
    text-align: center;
    margin-top: 10px;
  }

  .main-menu li {
    float: none;
    display: inline-block;
    padding: 10px 12px;
  }

  .headquote {
    width: 100%;
    margin-top: 5px;
    display: block;
  }

  .logo {
    float: none;
    text-align: center;
    margin-bottom: 10px;
  }

  .header-menu {
    padding-bottom: 10px;
  }
}


.gallery-head-style {
  font-size: 28px;
  color: #4b4848;
  margin-bottom: 20px;
  background: white;
  padding: 10px 0;
  text-align: center;
}

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

.gallery-img {
  width: calc(25% - 15px);
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

@media screen and (max-width: 768px) {
  .gallery-img {
    width: calc(50% - 15px);
  }
}

@media screen and (max-width: 480px) {
  .gallery-img {
    width: 100%;
  }


}
.recuiter-head-style{
	font-size: 28px;
	color: #4b4848;
	margin-bottom: 5px;
}
.recuiter-marquee{
	height: 100px;
}
.recuiter-marquee img{
	height: 80px;
	Width: 140px;
}
.recruiter-marquee ul {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  padding: 0;
  margin: 0;
}
/* Outer footer with transparent or light background */
.footer {
  width: 100%;
  background-color: #f1f1f1; /* light background */
  color: black;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Columns container */
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-around;
}

/* Each black box */
.footer-column {
  background-color: #0a0a0a;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 250px;
  min-width: 200px;
  color: white;
}

.footer-column h2 {
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 1px solid white;
  padding-bottom: 5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 8px 0;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

/* Social media */
.social-media {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin-top: 15px;
}

.social-media li a {
  color: white;
  font-size: 18px;
  text-decoration: none;
}

/* Bottom bar */
.footer2-bachor {
  background-color: #111;
  padding: 10px;
  text-align: center;
}

.footer2-content {
  color: white;
  margin: 0;
  font-size: 14px;
}
.footer2-content a {
  color: #2196f3;
  text-decoration: none;
}   
.footer2-content a:hover {
  text-decoration: underline;
}   
.footer2-content p {
  margin: 0;
}



/* Responsive Styles */
@media only screen and (max-width: 768px) {
  .top-header-flex {
    flex-direction: column;
    align-items: center;
  }

  .logo-left img {
    height: 80px;
  }

  .main-menu {
    flex-direction: column;
    padding: 10px;
  }

  .main-menu li {
    margin: 5px 0;
  }

  .footer-columns {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    text-align: center;
  }
}       
/* Additional Styles for Contact Section */
.contact-section form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}   
.contact-section form input,
    .contact-section form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;        
    }
.contact-section form input[type="submit"] {
  background-color: #2196f3;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;  
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  }
.contact-section form input[type="submit"]:hover {
  background-color: #1976d2;
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
  .social-media li {
    display: inline-block;
    margin-bottom: 10px;
  }
  .footer-columns {
    flex-direction: column;
    align-items: center;
  }
  .footer-column {
    margin-bottom: 20px;
  }
  .quicklink-heading {
    font-size: 16px;
  }
  .footer-column h2 {
    font-size: 16px;
  }
  .footer-column ul li {
    font-size: 14px;
  }
  .footer-column ul li img,
  .footer-column ul li i {
    width: 20px;
    height: 20px;
  }
  .footer2-content {
    font-size: 12px;
  }
  .footer2-bachor {
    padding: 20px 0;
  }
  .footer2-content p {
    margin: 0;
    padding: 0;
  }}
.dropdown-menu {
  display: none;
  position: absolute;
  /* other styling */
}

.dropdown-menu.show {
  display: block;
}
.dropdown-menu li {
  position: relative;
}
.dropdown-menu li:hover > .dropdown-submenu {
  display: block;
}
.dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  /* other styling */
}
.dropdown-submenu li {
  width: 200px; /* Adjust as needed */
}

.dropdown-submenu li:hover >.dropdown-submenu {
  display: block;
}

.recruiter-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.recruiter-scroll {
  display: flex;
  animation: scroll 30s linear infinite;
}

.recruiter-scroll img {
  margin: 0 15px;
}

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

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

/* End of CSS/style.css */
  /* Responsive Design */
  /* Container Widths */
  @media (min-width: 576px) { .container { max-width: 540px; } }
   @media (min-width: 768px) { .container { max-width: 720px; } }
   @media (min-width: 992px) { .container { max-width: 960px; } }
   @media (min-width: 1200px) { .container { max-width: 1140px; } }
   @media (min-width: 1400px) { .container { max-width: 1320px; } }

   /* Image Responsiveness */
   img {
     max-width: 100%;
     height: auto;
     display: block;
   }

   /* Table Responsiveness */
   .table-responsive {
     overflow-x: auto;
     overscroll-behavior: auto;
   }

   /* Mobile Navigation */
   @media (max-width: 768px) {
     .nav-toggle {
       display: block;
       position: fixed;
       top: 15px;
       right: 15px;
       z-index: 1000;
     }
     
     .main-menu {
       display: none;
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100vh;
       background: rgba(255, 255, 255, 0.95);
       padding: 60px 20px;
     }
     
     .main-menu.active {
       display: flex;
       flex-direction: column;
       align-items: center;
     }
   }

   /* Lazy Loading */
   .lazy-image {
     opacity: 0;
     transition: opacity 0.3s ease-in;
   }

   .lazy-image.loaded {
     opacity: 1;
   }

   /* Performance Optimizations */
   @media (prefers-reduced-motion: reduce) {
     * {
       animation-duration: 0.01ms !important;
       animation-iteration-count: 1 !important;
       transition-duration: 0.01ms !important;
       scroll-behavior: auto !important;
     }
   }

  /* Accessibility */
   :focus {
     outline: 3px solid #2196f3;
     outline-offset: 2px;
   }

   @media (hover: none) {
     .clickable {
       min-height: 44px;
       min-width: 44px;
     }
   }

.menu-toggle {
  display: none;
  background: #2196f3;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .main-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px; /* adjust as per your header height */
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .main-menu.active {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header-menu, .main-menu, .nav-links {
    display: none !important;
  }
}
/* Marquee Bar */
/* This section creates a marquee bar at the top of the page */
.marquee-bar {
  width: 100%;
  height: 4px;
  background-color: red;      /* लाल पट्टी */
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 10px 0;            /* ऊपर नीचे padding */
  z-index: 1000;
}

.marquee-text {
  display: inline-block;
  animation: marquee 40s linear infinite;  /* धीमा स्क्रॉल */
  color: red;              /* पीला टेक्स्ट */
  font-size: 20px;
  font-weight: bold;
}

/* Only one @keyframes marquee should exist, keep the one you need */

.social-sidebar {
  position: fixed;
  top: 53%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.social-sidebar a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  margin: 5px 0;
  color: white;
  font-size: 20px;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Brand Colors */
.facebook {
  background-color: #1877f2;
}
.twitter {
  background-color: #1da1f2;
}
.instagram {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf, #4f5bd5);
}
.linkedin {
  background-color: #0077b5;
}
.youtube {
  background-color: #ff0000;
}

/* Hover effect */
.social-sidebar a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Student Testimonials Slider - Colorful Version */
.student-testimonials {
  background-color: #f1f1f1;
  padding: 50px 0;
  overflow: hidden;
  position: relative;
}

.testimonials-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  animation: scrollTestimonials 25s linear infinite;
}

.testimonial-card {
  flex: 0 0 300px;
  margin: 0 15px;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.4s ease, background 0.4s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #e0e0e0;
}

.testimonial-card.color-1 {
  background: #fff8e1;
}
.testimonial-card.color-2 {
  background: #e1f5fe;
}
.testimonial-card.color-3 {
  background: #f3e5f5;
}
.testimonial-card.color-4 {
  background: #e8f5e9;
}

.testimonial-card:hover {
  transform: scale(1.05);
  background: linear-gradient(to bottom right, #ffffff, #f1f8e9);
}

.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #007bff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: block;                /* Center horizontally */
  margin-left: auto;             /* Center horizontally */
  margin-right: auto;            /* Center horizontally */
}

.testimonial-text {
  font-size: 15px;
  font-style: italic;
  color: #333;
  margin-bottom: 12px;
}

.testimonial-name {
  font-weight: bold;
  color: #d32f2f;
  font-size: 15px;
}

/* Animation */
@keyframes scrollTestimonials {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 250px;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    flex: 0 0 200px;
  }
}










.section-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #f0f8ff, #e6f2ff);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.section-header:hover {
  border-color: #007bff;
  background: linear-gradient(135deg, #e6f2ff, #f0f8ff);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.section-subtitle {
  font-size: 16px;
  color: #444;
  transition: color 0.3s ease;
}

.section-header:hover .section-title {
  color: #0056b3;
}

.section-header:hover .section-subtitle {
  color: #333;
}

