    /* Color palette */
    :root {
      --top-bar-color: #09122C;  /* Dark navy for top bar */
      --navbar-color: #BE3144;   /* Bold red for main navbar */
      --header-gradient-start: #FFFBCA; /* Very light yellow gradient start */
      --header-gradient-end: #ffffff;   /* White end */
      --accent-color: #BE3144;  /* Also used for borders or emphasis */
      --text-color: #ffffff;    /* White text for dark backgrounds */
      --text-dark: #333333;     /* Dark text on light backgrounds */
    }

    body {
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
/* For WebKit-based browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

::-webkit-scrollbar-track {
  background: #f4f4f4;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #BE3144, #09122C);
  border-radius: 10px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.4);
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #a52d3c, #07122C);
}
/* ========== Grievance Modal Custom Styling ========== */
.modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease-in-out;
}

.modal-header {
  background: linear-gradient(135deg, #BE3144, #8A1F30);
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 15px;
  border-radius: 12px 12px 0 0;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.modal-body {
  padding: 20px;
  background: #f7f7f7;
  border-radius: 0 0 12px 12px;
}

/* Input Fields */
.modal-body input,
.modal-body select,
.modal-body textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: 0.3s;
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
  border-color: #BE3144;
  box-shadow: 0px 0px 5px rgba(190, 49, 68, 0.5);
  outline: none;
}

/* Labels */
.modal-body label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

/* Submit Button */
.btn-danger {
  background: #BE3144;
  border: none;
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease-in-out;
}

.btn-danger:hover {
  background: #8A1F30;
}

/* Close Button */
.btn-close {
  background: transparent;
  font-size: 1.5rem;
  opacity: 0.8;
}

.btn-close:hover {
  opacity: 1;
}

/* Modal Animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .modal-content {
    width: 95%;
    margin: auto;
  }
  .modal-title {
    font-size: 1.3rem;
  }
}

    /* ========== Top Bar ========== */
    .top-bar {
      background-color: var(--top-bar-color);
      color: var(--text-color);
      font-size: 0.9rem;
    }
    .top-bar .contact-info {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 1.5rem;
    }
    .top-bar a {
      color: var(--text-color);
      text-decoration: none;
      margin-left: 1rem;
      transition: color 0.3s ease;
    }
    .top-bar a:hover {
      text-decoration: underline;
    }

    /* ========== Header: Logos + Name + Tagline ========== */
    .header-section {
    position: relative;
    background: url('uploads/images/bg.jpg') repeat-x;
    background-size: auto 100%; /* Ensures the image repeats horizontally */
    background-position: top center; /* Positions the background at the top */
    padding: 1rem 0;
    border-bottom: 3px solid var(--accent-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 1;
}

/* Transparent Gradient Overlay */
.header-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  background: linear-gradient(
        135deg,
        rgba(255, 251, 202, 0.3) 0%,  /* Increased transparency */
        rgba(255, 255, 255, 0.3) 100%  /* Increased transparency */
    );
    z-index: -1;
}

    .header-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .header-logos {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 1rem;
    }
    /* Larger logo for better visibility */
    .header-logos img {
      max-height: 120px; 
      width: auto;
      object-fit: contain;
    }
    /* Heavy bold for English name */
    .college-name-english {
	font-family: "Big Shoulders", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;  
	font-weight: 700;
    font-size: 2.5rem; /* Slightly bigger for impact */
    color: var(--top-bar-color);
    margin: 0.5rem 0;
    letter-spacing: 1px; /* Increased spacing for a premium look */
text-shadow: -3px 2px 0px rgba(185,185,185,0.6);
  transition: transform 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

/* Add a stylish hover effect */
.college-name-english:hover {
    transform: scale(1.05); /* Slight zoom effect */
    text-shadow: 3px 3px 8px rgba(255, 255, 255, 0.8), 
                 5px 5px 12px rgba(0, 0, 0, 0.3); /* More glow on hover */
}

    /* Odia name */
    .college-name-odia {
      font-size: 1.8rem;
      font-weight: 600;
      color: var(--accent-color);
      margin: 0;
    }
    .header-subtext {
      font-size: 1rem;
      color: var(--text-dark);
      margin: 0.25rem 0 0;
    }

    /* ========== Animated Nav Bar ========== */
    .main-nav {
      background-color: var(--navbar-color);
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      animation: fadeInDown 0.8s ease-in-out;
    }
    @keyframes fadeInDown {
      0% {
        opacity: 0;
        transform: translateY(-20px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .main-nav .navbar-nav .nav-link {
      color: var(--text-color) !important;
      font-weight: 500;
      padding: 0.8rem 1rem;
      display: flex;
      align-items: center;
      gap: 0.35rem;
      transition: background-color 0.3s, transform 0.3s;
    }
    .main-nav .navbar-nav .nav-link:hover {
      background-color: var(--accent-color);
      color: #000 !important;
      transform: scale(1.05);
    }
    .main-nav .navbar-nav .nav-link i {
      font-size: 1rem; /* Icon size tweak if desired */
    }

    /* ========== Search Bar Toggle ========== */
    .search-form {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      position: relative;
      overflow: hidden; /* Hide input when closed */
    }
    .search-form input {
      width: 0;
      opacity: 0;
      transition: width 0.4s ease, opacity 0.4s ease;
      border: 2px solid var(--accent-color);
    }
    /* Expand on .open class */
    .search-form.open input {
      width: 180px;
      opacity: 1;
      padding: 0.25rem 0.5rem;
    }

    /* ========== Banner Carousel ========== */
    .banner-carousel {
      margin-top: 0rem; /* spacing below nav */
    }
    .carousel-item img {
      object-fit: cover;
      width: 100%;
      max-height: 500px; /* Adjust as desired */
    }
    .carousel-caption {
      background-color: rgba(0, 0, 0, 0.35); /* semi-transparent black background */
      padding: 1rem;
      border-radius: 6px;
    }
    .carousel-caption h5 {
      font-family: 'Merriweather', serif;
      font-weight: 700;
      font-size: 1.4rem;
      color: #fff;
      margin: 0;
      text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    }

    /* ========== Responsive Adjustments ========== */
    @media (max-width: 767px) {
      .header-logos {
        flex-direction: column;
      }
      .college-name-english {
        font-size: 1.6rem;
      }
      .college-name-odia {
        font-size: 1.2rem;
      }
      .carousel-caption {
        padding: 0.5rem;
      }
      .carousel-caption h5 {
        font-size: 1.1rem;
      }
    }
        /* Principal Section */
        .principal-section {
            display: flex;
            flex-wrap: wrap;
            background: linear-gradient(135deg, #FFFFFF, #FFFBCA);
            border: 2px solid #ffc107;
            border-radius: 10px;
            padding: 20px;
            margin: 20px 0;
            align-items: center;
            text-align: center;
        }

        .principal-img {
            flex: 1;
            max-width: 250px;
            margin-right: 20px;
        }

        .principal-img img {
            width: 100%;
            border-radius: 10px;
            border: 5px solid var(--primary-color);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .principal-info {
            text-align: center;
            margin-top: 10px;
        }

        .principal-info h2 {
  font-family: "Staatliches", sans-serif;
            font-size: 1.5rem;
            color: var(--primary-color);
            margin-bottom: 5px;
        }

        .principal-info h3 {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--secondary-color);
            margin-bottom: 10px;
        }

        .social-icons a {
            font-size: 1.5rem;
            color: var(--secondary-color);
            margin: 0 8px;
            transition: transform 0.3s ease, color 0.3s;
        }

        .social-icons a:hover {
            color: var(--highlight-color);
            transform: scale(1.2);
        }

        /* Principal Message */
        .principal-message {
            flex: 3;
        }

        .principal-message h2 {
      font-size: 1.8rem;
      color: #09122C;
	  text-align:left;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .principal-section {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .principal-img {
                max-width: 180px;
                margin-bottom: 15px;
            }
        }     /* Updates Section */
        .updates-section {
            background: #fff;
            border-radius: 10px;
            padding: 20px;
			box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
			margin-top:20px;
			border: 1px solid #ddd;

        }

        .updates-section h3 {
            background:#be3144;
            color: #fff;
            padding: 10px;
            text-align: center;
            border-radius: 5px;
        }

        /* News Item */
        .news-item {
            display: flex;
            align-items: center;
            padding: 10px;
            border-bottom: 1px solid #ddd;
        }

        .news-item .date-box {
            width: 50px;
            height: 50px;
            background-color:#be3144;
            color: white;
            font-weight: bold;
            text-align: center;
            border-radius: 5px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-right: 10px;
            position: relative;
        }

        .news-item .date-box i {
            font-size: 1.2rem;
            position: absolute;
            top: 2px;
            left: 2px;
            color: var(--highlight-color);
        }

        .news-item a {
            text-decoration: none;
            font-weight: bold;
            color: var(--secondary-color);
            transition: 0.3s;
        }

        .news-item a:hover {
            color: var(--highlight-color);
        }

        /* New Badge */
        .badge-new {
            background-color:#ffc107;
            color: #000;
            font-weight: bold;
            margin-left: 8px;
        }

        /* View All Button */
        .view-all {
            text-align: center;
            margin-top: 15px;
        }

        .view-all a {
            background-color: #be3144;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
        }

        .view-all a:hover {
            background-color:none;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .principal-section {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .principal-img {
                max-width: 150px;
                margin-bottom: 15px;
            }
        }      /* Section Styling */
        .service-section {
            padding: 50px 0;
            background-color:#f4f4f4;
            width: 100%;
        }

        /* Service Container - Full Width */
        .service-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            max-width: 100%;
            margin: auto;
            text-align: center;
            flex-wrap: wrap;
        }

        /* Individual Service Box */
        .service-box {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 18%;
            padding: 20px 20px;
            border-radius: 12px;
            color: white;
            font-weight: bold;
            font-size: 1.2rem;
            cursor: pointer;
            overflow: hidden;
            transition: transform 0.3s ease-in-out, background 0.5s ease-in-out;
        }

        /* Background Colors with Gradient */
        .service-box:nth-child(1) {background: linear-gradient(180deg, hsla(179, 67%, 66%, 1) 0%, hsla(238, 74%, 61%, 1) 100%); }
        .service-box:nth-child(2) { background: linear-gradient(180deg, hsla(277, 79%, 84%, 1) 0%, hsla(204, 95%, 77%, 1) 100%); }
        .service-box:nth-child(3) { background: linear-gradient(180deg, hsla(167, 68%, 73%, 1) 0%, hsla(178, 59%, 48%, 1) 100%); }
        .service-box:nth-child(4) {background: linear-gradient(0deg, hsla(192, 95%, 50%, 1) 0%, hsla(225, 89%, 47%, 1) 100%);
 }
        .service-box:nth-child(5) { background: linear-gradient(180deg, hsla(48, 78%, 82%, 1) 0%, hsla(340, 87%, 59%, 1) 100%); }

        /* Hover Effect: Gradient Moves from Bottom to Top */
        .service-box:hover {
            transform: scale(1.05);
            background: linear-gradient(90deg, hsla(22, 94%, 79%, 1) 0%, hsla(40, 63%, 85%, 1) 100%);
        }

        /* Icon Styling */
        .service-box i {
            font-size: 3.5rem;
            margin-bottom: 10px;
            transition: transform 0.3s ease-in-out;
        }

        .service-box:hover i {
            transform: scale(1.2);
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .service-box {
                width: 30%;
                padding: 30px;
            }
        }

        @media (max-width: 768px) {
            .service-container {
                flex-direction: column;
                gap: 15px;
            }
            .service-box {
                width: 90%;
                padding: 25px;
            }
        } /* Close Button */
        .close-btn {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            margin-left: 15px;
        }

        .close-btn:hover {
            color: #FFC107;
        } /* Gallery Section */
        .gallery-section {
            background-color: #be3144;
            padding: 50px 0;
            text-align: center;
        }

        .gallery-title {
            color: white;
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        /* Gallery Grid */
        .gallery-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }

        .gallery-item {
            position: relative;
            width: 22%;
            border-radius: 10px;
            border: 2px solid #fff;
            overflow: hidden;
            transition: transform 0.3s ease-in-out;
            cursor: pointer;
        }

        .gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 10px;
            transition: transform 0.3s ease-in-out;
        }

        /* Hover Effect */
        .gallery-item:hover img {
            transform: scale(1.05);
        }

        /* Modal Styling */
        .modal-content {
            background: rgba(0, 0, 0, 0.9);
            color: white;
            text-align: center;
            border-radius: 10px;
            padding: 20px;
        }

        .modal-body img {
            width: 100%;
            max-height: 500px;
            object-fit: contain;
            border-radius: 10px;
        }

        .modal-caption {
            margin-top: 10px;
            font-size: 1.2rem;
            font-weight: bold;
            color: #FFC107;
        }

        /* Close Button */
        .close-btn2 {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 2rem;
            color: white;
            cursor: pointer;
            transition: color 0.3s;
        }

        .close-btn2:hover {
            color: #FFC107;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .gallery-item {
                width: 30%;
  
        }

        @media (max-width: 768px) {
            .gallery-item {
                width: 45%;
            }
        }

        @media (max-width: 576px) {
            .gallery-item {
                width: 90%;
            }
        }   
		