body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  word-break: break-word;
}

.bg-primary {
  background: linear-gradient(45deg, #00afb3, #00afb3);
}

.text-primary {
  color: var(--primary-color) !important;
}

/* AKTU-style header */
.top-header {
  background: linear-gradient(19deg, #05969a, #0d9fa2);
  font-size: 14px;
  padding: 5px 0;
  border-bottom: 1px solid #e5e5e5;
  word-break: break-word;
}

/* Footer */
footer h6 {
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-left: 4px solid #ffc107;
  color: #fff;
  border-radius: 4px;
  display: inline-block;
}

footer ul li a {
  position: relative;
  padding-left: 18px;
  display: inline-block;
}

footer ul li a::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffc107;
  font-size: 12px;
}

footer p,
footer ul li {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

footer .btn-outline-light:hover {
  background-color: #fff;
  color: #00afb3;
}

/* Main Header */
.main-header {
  background-color: white;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
}

.college-name {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.college-tagline {
  font-size: 14px;
  color: #666;
}

/* Navbar */
.navbar-aktu {
  background: linear-gradient(19deg, #05969a, #0d9fa2);
  padding: 0;
}

.navbar-aktu .navbar-nav .nav-link {
  color: white !important;
  padding: 12px 17px;
  font-weight: 500;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-aktu .navbar-nav .nav-link:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.navbar-aktu .dropdown-menu {
  background-color: var(--primary-color);
  border: none;
  border-radius: 0;
  margin-top: 0;
}

.navbar-aktu .dropdown-item {
  color: white;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-aktu .dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

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

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

/* Quick Links */
.quick-links {
  background-color: #f8f9fa;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
}

.quick-link-item {
  text-align: center;
  padding: 5px 0;
}

.quick-link-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.quick-link-item a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://ccdn.in:2083/.../banner1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0;
  margin-bottom: 30px;
}

/* Cards */
.card {
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  margin-bottom: 20px;
}

.card-header {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 12px 15px;
}

.card-body {
  padding: 20px;
}

/* Footer Design */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 40px 0 20px;
}
.service-box {
  background: linear-gradient(135deg, #efdda7, #efdda7);
  border-radius: 12px;
  padding: 20px 15px;
  min-width: 150px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.icon-box {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
}

.service-name {
  font-weight: 600;
  font-size: 14px;
}
.footer-links h5 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.copyright {
  border-top: 1px solid #495057;
  padding-top: 20px;
  margin-top: 30px;
  font-size: 14px;
}

/* Dropdown submenu */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
}

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

/* Carousel */
.carousel-inner img {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-indicators li {
  background-color: #007bff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #007bff;
}

.carousel-item img:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
  border: none;
  background-color: transparent;
}

/* Sections */
.section-title h5 {
  font-size: 16px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 10px;
}

h2,
h3 {
  font-size: -0.7rem;
  color: #000;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

.grad_bg {
  background: linear-gradient(to right, #cbf1f2, #91dee0);
}

h5.sub-title {
  font-size: 1.5rem;
  color: #007bff;
  font-weight: 600;
}

/* Utility */
.footer_text_color {
  text-align: justify;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 15px;
}

ul {
  margin-left: 20px;
  font-size: 1rem;
  color: #0a0a0a;
}

ul li {
  color: #fff;
}

/* Responsive Fixes */
@media (max-width: 991.98px) {
  .navbar-aktu .navbar-nav .nav-link {
    padding: 10px 15px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
  }

  .quick-link-item {
    text-align: left;
    padding: 5px 15px;
  }
}

@media (max-width: 768px) {

  h2,
  h3 {
    font-size: 1.8rem;
  }

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

  .section-title h5 {
    font-size: 14px;
  }
}