   :root {
      --primary-color: #2c3e50;
      --secondary-color: #3498db;
      --accent-color: #e74c3c;
      --light-accent: #f39c12;
      --dark-color: #34495e;
      --light-color: #ecf0f1;
      --success-color: #27ae60;
    }
    
    /* Updated Mobile Footer Navigation Styles */
    .mobile-footer-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
      box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      padding: 8px 0;
      display: none;
    }

    @media (max-width: 992px) {
      .mobile-footer-nav {
        display: block;
      }
      body {
        padding-bottom: 70px;
      }
    }

    .mobile-nav-inner {
      display: flex;
      justify-content: space-around;
      align-items: center;
    }

    .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-decoration: none;
      color: white;
      font-size: 12px;
      position: relative;
      padding: 5px 0;
      transition: all 0.3s ease;
    }

    .nav-item.home-btn {
      flex: 0 0 auto;
    }

    .nav-icon {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 3px;
      transition: all 0.3s ease;
    }

    .nav-item.home-btn .nav-icon {
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
      border-radius: 50%;
      margin-top: -25px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      border: 3px solid white;
    }

    .nav-text {
      font-size: 11px;
      font-weight: 500;
      opacity: 0.8;
      transition: all 0.3s ease;
    }

    .nav-item.active .nav-text,
    .nav-item:hover .nav-text {
      opacity: 1;
      transform: translateY(2px);
    }

    .nav-item.active .nav-icon,
    .nav-item:hover .nav-icon {
      transform: translateY(-5px);
    }

    .nav-item.home-btn.active .nav-icon,
    .nav-item.home-btn:hover .nav-icon {
      transform: translateY(-10px) scale(1.1);
    }

    /* Active state indicator */
    .nav-item.active::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 5px;
      height: 5px;
      background-color: #f39c12;
      border-radius: 50%;
    }

    .nav-item.home-btn.active::after {
      bottom: -13px;
    }

    /* Dropdown styles for mobile footer */
    .mobile-footer-nav .dropdown-menu {
      position: absolute;
      bottom: 100%;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
      border: none;
      border-radius: 10px 10px 0 0;
      margin-bottom: 10px;
      min-width: 180px;
      box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
    }

    .mobile-footer-nav .dropdown-item {
      color: white !important;
      padding: 8px 15px;
      font-size: 12px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .mobile-footer-nav .dropdown-item:last-child {
      border-bottom: none;
    }

    .mobile-footer-nav .dropdown-item:hover {
      background: rgba(255,255,255,0.1);
    }

    .mobile-footer-nav .dropdown-item i {
      margin-right: 8px;
      width: 15px;
      text-align: center;
    }

    /* Back to top button positioning */
    .back-to-top {
      position: fixed;
      bottom: 30px;
      right: 20px;
      width: 45px;
      height: 45px;
      background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.2);
      z-index: 999;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      border: none;
    }

    .back-to-top.active {
      opacity: 1;
      visibility: visible;
    }

    .back-to-top:hover {
      background: linear-gradient(135deg, var(--accent-color) 0%, var(--light-accent) 100%);
      transform: translateY(-5px) scale(1.1);
    }

    body {
      font-family: 'Hind Siliguri', sans-serif;
      background: url("admin/images/bg_main.gif") repeat-y scroll center top rgba(0, 0, 0, 0);
      position: relative;
      padding-top: 45px;
      color: #333;
    }
    
    /* Header Styles */
    .notice {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
      color: white;
      padding: 0;
      width: 100%;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .notice-text {
      background-color: rgba(255, 255, 255, 0.2);
      padding: 5px 15px;
      border-radius: 20px;
      display: inline-block;
      margin-right: 15px;
      font-weight: 600;
      font-size: 14px;
    }
    
    .marquee-container {
      display: flex;
      align-items: center;
      overflow: hidden;
      flex-grow: 1;
    }
    
    .marquee-container:hover .notice-marquee {
      animation-play-state: paused;
    }
    
    .notice-marquee {
      white-space: nowrap;
      animation: scroll-left 20s linear infinite;
      flex-shrink: 0;
      font-size: 14px;
    }
    
    @keyframes scroll-left {
      0% { transform: translateX(100%); }
      100% { transform: translateX(-100%); }
    }
    
    .login-buttons {
      display: flex;
      gap: 10px;
    }
    
    .login-buttons .btn {
      font-size: 14px;
      font-weight: 500;
      border-radius: 20px;
      padding: 5px 15px;
    }
    
     /* Navbar Styles - Ultra Compact */
    .navbar {
      padding: 0.05rem 0.5rem; /* Navbar padding drastically reduced */
    }
    
    .navbar-brand img {
      height: 32px; /* Logo size further reduced */
      transition: all 0.3s ease;
    }
    
    .navbar .nav-link {
      font-size: 0.7rem !important; /* Font size smaller */
      padding: 0.3rem 0.5rem !important; /* Padding much smaller */
    }
    
    .navbar .dropdown-toggle::after {
      margin-left: 0.15rem; /* Dropdown arrow spacing reduced */
      font-size: 0.7rem; /* Dropdown arrow size reduced */
    }
    
    .dropdown-menu {
      min-width: 160px; /* Dropdown width smaller */
      padding: 0.2rem 0; /* Dropdown padding reduced */
    }
    
    .dropdown-item {
      font-size: 0.7rem !important; /* Dropdown item font size smaller */
      padding: 0.3rem 0.8rem !important; /* Dropdown item padding smaller */
    }
    
    .navbar .nav-link i {
      font-size: 0.7rem; /* Icon size smaller */
      margin-right: 0.2rem; /* Icon spacing reduced */
    }
    
    /* For mobile menu */
    @media (max-width: 992px) {
      .navbar-collapse {
        padding: 0.3rem;
      }
      
      .navbar-nav {
        margin-top: 0.3rem;
      }
      
      .nav-item {
        margin-bottom: 0.15rem;
      }
    }
    
    .navbar .nav-link i {
      font-size: 0.8rem; /* Icon size reduced */
      margin-right: 0.3rem; /* Icon spacing reduced */
    }
    
    /* For mobile menu */
    @media (max-width: 992px) {
      .navbar-collapse {
        padding: 0.5rem;
      }
      
      .navbar-nav {
        margin-top: 0.5rem;
      }
      
      .nav-item {
        margin-bottom: 0.25rem;
      }
    }

    
    .navbar {
      background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
      box-shadow: 0 2px 15px rgba(0,0,0,0.15);
      position: fixed;
      top:0px;
      width: 100%;
      z-index: 1020;
      transition: all 0.3s ease;
      padding: 0;
    }
    
    .navbar.scrolled {
      top: 0;
    }
    
    .navbar-brand {
      padding: 10px 15px;
      display: flex;
      align-items: center;
    }
    
    .navbar-brand img {
      height: 40px;
      transition: all 0.3s ease;
    }
    
    .navbar.scrolled .navbar-brand img {
      height: 35px;
    }
    
    .navbar .nav-link {
      color: white !important;
      font-weight: 500;
      padding: 15px 20px !important;
      transition: all 0.3s ease;
      position: relative;
      font-size: 15px;
    }
    
    .navbar .nav-link:hover {
      background-color: rgba(255, 255, 255, 0.15);
    }
    
    .navbar .nav-link.active {
      background-color: rgba(255, 255, 255, 0.25);
    }
    
    .navbar .nav-link::after {
      content: '';
      position: absolute;
      bottom: 10px;
      left: 20px;
      width: 0;
      height: 2px;
      background-color: white;
      transition: width 0.3s ease;
    }
    
    .navbar .nav-link:hover::after {
      width: calc(100% - 40px);
    }
    
    .dropdown-menu {
      background-color: var(--secondary-color);
      border: none;
      border-radius: 0 0 8px 8px;
      margin-top: 0;
      border-top: 3px solid rgba(255,255,255,0.2);
      padding: 5px 0;
    }
    
    .dropdown-item {
      color: white !important;
      padding: 8px 20px;
      font-size: 14px;
      transition: all 0.2s ease;
    }
    
    .dropdown-item:hover {
      background-color: rgba(255, 255, 255, 0.15);
      padding-left: 25px;
    }
    
    .dropdown-toggle::after {
      margin-left: 5px;
      vertical-align: middle;
    }
    
    /* Mobile menu styles */
    .navbar-toggler {
      border: none;
      padding: 10px 15px;
      font-size: 1.25rem;
    }
    
    .navbar-toggler:focus {
      box-shadow: none;
    }
    
    /* Main Content Styles */
    .main_section {
      background-color: white;
      box-shadow: 0 0 30px rgba(0,0,0,0.1);
      overflow: hidden;
      border-radius: 10px;
      margin-bottom: 30px;
    }
    
    @media (min-width: 1200px) {
      .main_section {
        margin: auto;
        max-width: 1200px;
      }
      
      .navbar, .top-notice-bar {
        max-width: 1200px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
      }
    }
    
    /* Contact Page Specific Styles */
    .contact-hero {
      background: linear-gradient(135deg, rgba(52, 152, 219, 0.8), rgba(231, 76, 60, 0.8)), url('admin/images/aa.jpg') no-repeat center center;
      background-size: cover;
      padding: 100px 0;
      text-align: center;
      color: white;
      border-radius: 10px;
      margin-bottom: 30px;
    }
    
    .contact-hero h1 {
      font-weight: 700;
      font-size: 3rem;
      text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    }
    
    .contact-hero p {
      font-size: 1.2rem;
      max-width: 700px;
      margin: 0 auto;
      text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    }
    
    .contact-card {
      border: none;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      margin-bottom: 30px;
      overflow: hidden;
      height: 100%;
    }
    
    .contact-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    }
    
    .contact-card .card-header {
      background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
      color: white;
      font-weight: 600;
      padding: 20px;
      border-bottom: none;
      display: flex;
      align-items: center;
    }
    
    .contact-card .card-header i {
      font-size: 2rem;
      margin-right: 15px;
    }
    
    .contact-card .card-body {
      padding: 25px;
    }
    
    .contact-info-item {
      display: flex;
      margin-bottom: 15px;
      align-items: flex-start;
    }
    
    .contact-info-item i {
      color: var(--secondary-color);
      font-size: 1.2rem;
      margin-right: 15px;
      margin-top: 3px;
    }
    
    .contact-info-item div h5 {
      font-weight: 600;
      color: var(--primary-color);
      margin-bottom: 5px;
    }
    
    .contact-info-item div p {
      margin-bottom: 0;
    }
    
    .contact-info-item div a {
      color: var(--dark-color);
      text-decoration: none;
      transition: all 0.3s ease;
    }
    
    .contact-info-item div a:hover {
      color: var(--accent-color);
      text-decoration: underline;
    }
    
    .social-links {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: 20px;
    }
    
    .social-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
      border-radius: 50%;
      color: white;
      font-size: 1.5rem;
      transition: all 0.3s ease;
      text-decoration: none;
    }
    
    .social-links a:hover {
      transform: translateY(-5px) scale(1.1);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .social-links a.facebook:hover {
      background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
    }
    
    .social-links a.youtube:hover {
      background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    }
    
    .social-links a.twitter:hover {
      background: linear-gradient(135deg, #1da1f2 0%, #0d8ecf 100%);
    }
    
    .contact-form {
      background: white;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      padding: 30px;
    }
    
    .contact-form h3 {
      color: var(--primary-color);
      margin-bottom: 25px;
      font-weight: 700;
      position: relative;
      padding-bottom: 10px;
    }
    
    .contact-form h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 60px;
      height: 3px;
      background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    }
    
    .contact-form .form-control {
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 12px 15px;
      margin-bottom: 20px;
      transition: all 0.3s ease;
    }
    
    .contact-form .form-control:focus {
      border-color: var(--secondary-color);
      box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
    }
    
    .contact-form textarea.form-control {
      min-height: 150px;
    }
    
    .contact-form .btn-submit {
      background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
      border: none;
      color: white;
      padding: 12px 30px;
      font-weight: 600;
      border-radius: 8px;
      transition: all 0.3s ease;
      width: 100%;
    }
    
    .contact-form .btn-submit:hover {
      background: linear-gradient(135deg, var(--accent-color) 0%, var(--light-accent) 100%);
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .map-container {
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      height: 100%;
    }
    
    .map-container iframe {
      width: 100%;
      height: 100%;
      min-height: 400px;
      border: none;
    }
    
    /* Responsive Styles */
    @media (max-width: 992px) {
      .contact-hero {
        padding: 70px 0;
      }
      
      .contact-hero h1 {
        font-size: 2.5rem;
      }
      
      .contact-hero p {
        font-size: 1rem;
      }
    }
    
    @media (max-width: 768px) {
      .contact-hero {
        padding: 50px 0;
      }
      
      .contact-hero h1 {
        font-size: 2rem;
      }
      
      .contact-card .card-header {
        padding: 15px;
      }
      
      .contact-card .card-header i {
        font-size: 1.5rem;
      }
      
      .contact-card .card-body {
        padding: 20px;
      }
      
      .contact-form {
        padding: 20px;
      }
    }
    
    @media (max-width: 576px) {
      .contact-hero {
        padding: 40px 15px;
      }
      
      .contact-hero h1 {
        font-size: 1.8rem;
      }
      
      .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
      }
    }
    
    /* লোডিং স্টাইলস */
    .preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(255, 255, 255, 0.9);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      transition: opacity 0.5s ease;
    }
    
    .preloader.fade-out {
      opacity: 0;
      pointer-events: none;
    }
    
    .preloader-text {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 20px;
      text-align: center;
      background: linear-gradient(90deg, #3498db, #e74c3c, #f39c12, #2ecc71, #9b59b6);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      background-size: 300% 100%;
      animation: gradient 3s ease infinite;
    }
    
    .loading-text {
      font-size: 1.2rem;
      color: #2c3e50;
      margin-top: 10px;
      font-weight: 500;
    }
    
    .loader {
      width: 80px;
      height: 80px;
      position: relative;
    }
    
    .loader-inner {
      position: absolute;
      border: 4px solid transparent;
      border-radius: 50%;
      animation: loader 1.5s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
    }
    
    .loader-inner:nth-child(1) {
      width: 100%;
      height: 100%;
      border-top-color: #3498db;
      border-bottom-color: #3498db;
    }
    
    .loader-inner:nth-child(2) {
      width: 70%;
      height: 70%;
      top: 15%;
      left: 15%;
      border-top-color: #e74c3c;
      border-bottom-color: #e74c3c;
      animation-delay: 0.2s;
    }
    
    .loader-inner:nth-child(3) {
      width: 40%;
      height: 40%;
      top: 30%;
      left: 30%;
      border-top-color: #f39c12;
      border-bottom-color: #f39c12;
      animation-delay: 0.4s;
    }
    
    @keyframes loader {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }
    
    @keyframes gradient {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }
    
    /* Footer Styles */
    footer {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
      color: white;
      padding: 50px 0 20px;
      position: relative;
    }
    
    footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 5px;
      background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 50%, var(--light-accent) 100%);
    }
    
    .footer-column h6 {
      font-weight: 600;
      margin-bottom: 20px;
      position: relative;
      padding-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-size: 18px;
    }
    
    .footer-column h6::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 50px;
      height: 2px;
      background-color: var(--accent-color);
    }
    
    .footer-column ul {
      list-style-type: none;
      padding-left: 0;
    }
    
    .footer-column ul li {
      margin-bottom: 12px;
      transition: all 0.3s ease;
      position: relative;
      padding-left: 25px;
    }
    
    .footer-column ul li:hover {
      transform: translateX(5px);
    }
    
    .footer-column ul li i {
      color: var(--accent-color);
      margin-right: 8px;
      position: absolute;
      left: 0;
      top: 4px;
    }
    
    .social-icons {
      display: flex;
      gap: 10px;
      margin-top: 20px;
    }
    
    .social-icons a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: white;
      transition: all 0.3s ease;
      font-size: 18px;
    }
    
    .social-icons a:hover {
      background-color: var(--accent-color);
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 20px;
      margin-top: 30px;
    }
    
    .footer-menu {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      justify-content: center;
    }
    
    .footer-menu a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: all 0.3s ease;
      position: relative;
      font-size: 14px;
    }
    
    .footer-menu a:hover {
      color: white;
    }
    
    .footer-menu a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 1px;
      background-color: var(--accent-color);
      transition: width 0.3s ease;
    }
    
    .footer-menu a:hover::after {
      width: 100%;
    }
    
    .footer-dev {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .footer-dev img {
      transition: all 0.3s ease;
    }
    
    .footer-dev img:hover {
      transform: scale(1.05);
    }
    
    .copyright {
      text-align: center;
      font-size: 14px;
      color: rgba(255, 255, 255, 0.7);
      margin-top: 10px;
    }
   

    /* Notice Board Styles */
    .notice-board-container {
      position: relative;
      overflow: hidden;
      height: 300px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    }
    
    .notice-board-header {
      background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
      color: white;
      padding: 12px 20px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .notice-board-content {
      padding: 15px;
      height: calc(100% - 56px);
      overflow: hidden;
      position: relative;
    }
    
    .notice-board-marquee {
      position: absolute;
      width: 100%;
      animation: scroll-up 20s linear infinite;
    }
    
    .notice-board-marquee:hover {
      animation-play-state: paused;
    }
    
    @keyframes scroll-up {
      0% { transform: translateY(100%); }
      100% { transform: translateY(-100%); }
    }
    
    .notice-board-item {
      padding: 10px 0;
      border-bottom: 1px dashed #ddd;
    }
    
    .notice-board-item:last-child {
      border-bottom: none;
    }
    
    .notice-board-item-date {
      font-size: 12px;
      color: var(--accent-color);
      font-weight: 600;
    }
    
    .notice-board-item-title {
      font-weight: 500;
      margin: 5px 0;
    }
    
    .notice-board-btn {
      position: absolute;
      bottom: 15px;
      right: 15px;
      z-index: 2;
    }
    
    /* Teachers Section */
    .teachers-section {
      margin-bottom: 30px;
    }
    
    .teacher-card {
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      margin-bottom: 20px;
      height: 100%;
    }
    
    .teacher-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }
    
    .teacher-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }
    
    .teacher-info {
      padding: 15px;
      background: white;
    }
    
    .teacher-name {
      font-weight: 600;
      margin-bottom: 5px;
      color: var(--primary-color);
    }
    
    .teacher-designation {
      font-size: 14px;
      color: var(--accent-color);
      margin-bottom: 10px;
    }
    
    .teacher-department {
      font-size: 13px;
      color: #666;
    }
    
    /* Responsive Styles */
    @media (max-width: 1199px) {
      #mainSlider .carousel-item {
        height: 400px;
      }
    }
    
    @media (max-width: 992px) {
      body {
        padding-top: 100px;
      }
      
      .navbar {
        top: 30px;
      }
      
      #mainSlider .carousel-item {
        height: 350px;
      }
      
      .principal-img {
        width: 100px;
        height: 100px;
      }
      
      .carousel-caption {
        width: 90%;
        padding: 15px;
        bottom: 30px;
      }
      
      .carousel-caption h5 {
        font-size: 18px;
      }
      
      .carousel-caption p {
        font-size: 14px;
      }
    }
    
    @media (max-width: 768px) {
      body {
        padding-top: 90px;
      }
      
      .top-notice-bar {
        padding: 5px 0;
      }
      
      .notice-text {
        display: none;
      }
      
      .navbar {
        top: 25px;
      }
      
      #mainSlider .carousel-item {
        height: 300px;
      }
      
      .carousel-caption {
        display: none;
      }
      
      .toggle-buttons .btn {
        min-width: 160px;
        padding: 10px 20px;
        font-size: 14px;
      }
      
      .footer-column {
        margin-bottom: 30px;
      }
      
      .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 100px;
        right: 20px;
      }
      
      .teacher-img {
        height: 150px;
      }
    }
    
    @media (max-width: 576px) {
      body {
        padding-top: 45px;
      }
      
      #mainSlider .carousel-item {
        height: 250px;
      }
      
      .toggle-buttons {
        gap: 10px;
      }
      
      .toggle-buttons .btn {
        min-width: 100%;
      }
      
      .news-section .carousel-item .row > div {
        padding-bottom: 15px;
      }
      
      .footer-menu {
        gap: 10px;
      }
      
      .teacher-img {
        height: 200px;
      }
    }
    /* Teachers Section Premium Design */
.teachers-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px 0;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.teachers-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3498db, #e74c3c, #f39c12);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
  font-weight: 700;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 28px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #e74c3c);
  border-radius: 2px;
}

.teacher-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  margin-bottom: 20px;
  height: 100%;
  background: white;
  position: relative;
  border: none;
}

.teacher-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.teacher-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3498db, #e74c3c);
}

.teacher-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.teacher-card:hover .teacher-img {
  transform: scale(1.05);
}

.teacher-info {
  padding: 20px;
  background: white;
  position: relative;
}

.teacher-name {
  font-weight: 700;
  margin-bottom: 8px;
  color: #2c3e50;
  position: relative;
  padding-bottom: 10px;
}

.teacher-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #e74c3c);
}

.teacher-designation {
  font-size: 14px;
  color: #e74c3c;
  margin-bottom: 8px;
  font-weight: 600;
}

.teacher-department {
  font-size: 13px;
  color: #7f8c8d;
  font-weight: 500;
}

/* Teachers Carousel Styles */
#teachersCarousel {
  padding: 0 40px;
  position: relative;
}

#teachersCarousel .carousel-control-prev,
#teachersCarousel .carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: #3498db;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#teachersCarousel .carousel-control-prev {
  left: -10px;
}

#teachersCarousel .carousel-control-next {
  right: -10px;
}

#teachersCarousel .carousel-control-prev:hover,
#teachersCarousel .carousel-control-next:hover {
  background-color: #e74c3c;
  transform: translateY(-50%) scale(1.1);
}

#teachersCarousel .carousel-control-prev-icon,
#teachersCarousel .carousel-control-next-icon {
  width: 25px;
  height: 25px;
  background-size: 100%;
}

/* Mobile Menu Styles */
.navbar-toggler .fa-times {
  color: white;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  #teachersCarousel {
    padding: 0 30px;
  }
  
  #teachersCarousel .carousel-control-prev,
  #teachersCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  
  .teacher-img {
    height: 180px;
  }
  
  /* Mobile dropdown menu */
  .navbar-collapse {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    padding: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .dropdown-menu {
    background: rgba(255,255,255,0.1);
    margin-left: 15px;
    border-left: 3px solid rgba(255,255,255,0.3);
  }
  
  .dropdown-item {
    padding-left: 30px !important;
  }
}

@media (max-width: 576px) {
  .teacher-card {
    margin-bottom: 15px;
  }
  
  .teacher-img {
    height: 150px;
  }
  
  .teacher-info {
    padding: 15px;
  }
  
  .section-title {
    font-size: 24px;
  }
}


  .nav-link.active,
  .dropdown-toggle.active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
  }
     /* লোডিং স্টাইলস */
    .preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(255, 255, 255, 0.9);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      transition: opacity 0.5s ease;
    }
    
    .preloader.fade-out {
      opacity: 0;
      pointer-events: none;
    }
    
    .preloader-text {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 20px;
      text-align: center;
      background: linear-gradient(90deg, #3498db, #e74c3c, #f39c12, #2ecc71, #9b59b6);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      background-size: 300% 100%;
      animation: gradient 3s ease infinite;
    }
    
    .loading-text {
      font-size: 1.2rem;
      color: #2c3e50;
      margin-top: 10px;
      font-weight: 500;
    }
    
    .loader {
      width: 80px;
      height: 80px;
      position: relative;
    }
    
    .loader-inner {
      position: absolute;
      border: 4px solid transparent;
      border-radius: 50%;
      animation: loader 1.5s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
    }
    
    .loader-inner:nth-child(1) {
      width: 100%;
      height: 100%;
      border-top-color: #3498db;
      border-bottom-color: #3498db;
    }
    
    .loader-inner:nth-child(2) {
      width: 70%;
      height: 70%;
      top: 15%;
      left: 15%;
      border-top-color: #e74c3c;
      border-bottom-color: #e74c3c;
      animation-delay: 0.2s;
    }
    
    .loader-inner:nth-child(3) {
      width: 40%;
      height: 40%;
      top: 30%;
      left: 30%;
      border-top-color: #f39c12;
      border-bottom-color: #f39c12;
      animation-delay: 0.4s;
    }
    
    @keyframes loader {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }
    
    @keyframes gradient {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }