/* General Reset and Base Styles */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  overscroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-feature-settings: 'liga' 1;
    -moz-font-feature-settings: 'liga' 1;
    -ms-font-feature-settings: 'liga' 1;
    -o-font-feature-settings: 'liga' 1;
    font-feature-settings: 'liga' 1;
    font-variant-ligatures: common-ligatures;
    -ms-word-break: break-all;
    word-break: break-word;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;  
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    text-decoration: none;
    box-shadow: none;
    font-weight: normal;
    font-style: normal;
    text-transform: none;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

/* Top Header Section */
.top-header {
  background-color: #2196f3; /* blue background */
  color: white;
  padding: 20px 0;
}

.top-header-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

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

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

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

.college-info p {
  margin: 5px 0;
  font-size: 20px;
  color: #000;
}

/* Main Navigation Menu */
.main-menu {
  background-color: yellow;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  font-weight: bold;
}

.main-menu li {
  position: relative;
  margin: 0 15px;
}

.main-menu a {
  color: black;
  text-decoration: none;
  padding: 8px 12px;
  display: block;
}

.main-menu a:hover {
  background-color: #f1f1f1;
  border-radius: 5px;
}

/* Dropdown Menu Styles */
.dropdown-menu,
.dropdown-submenu {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%;
  left: 0;
  z-index: 999;
}

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

.dropdown-menu li {
  width: 200px;
}

.dropdown-submenu {
  left: 100%;
  top: 0;
}

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

/* Contact Section */
.contact-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
}

.contact-section h1, .contact-section h2 {
  text-align: center;
}

.contact-section p, .contact-section a {
  text-align: center;
  display: block;
  margin: 5px 0;
  color: #333;
}

/* Footer Section */
.footer {
  background-color: #000;
  color: white;
  padding: 40px 20px;
}

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

.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 {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0;
  margin-top: 15px;
}

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

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