.top-header {
  background: #212529;
  color: white;
  font-size: 14px;
}

.top-header a {
  color: white;
  text-decoration: none;
}

.top-header i {
  margin-right: 6px;
}

.main-navbar {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.navbar .dropdown-menu {
  display: none;
  margin-top: 0;
}

.navbar .dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
/* HERO SECTION */
.hero {
  height: 80vh;
  background: url("img/library.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

/* dark overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.badge-custom {
  background: orange;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
}

/* search box */
.search-box {
  max-width: 600px;
  margin: auto;
}

/* CITY CARD */
.city-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.4s ease;
  transform-style: preserve-3d;
}

/* image */
.city-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
}

/* overlay text */
.city-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 20px;
  color: white;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

/* 3D tilt */
.city-card:hover {
  transform: rotateY(10deg) rotateX(5deg) scale(1.05);
}

/* glowing border */
.city-card::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  background: linear-gradient(45deg,#ff7b00,#ff00c8,#00eaff);
  filter: blur(12px);
  opacity: 0;
  z-index: -1;
  transition: 0.4s;
}

.city-card:hover::before {
  opacity: 1;
}

/* owl spacing */
.city-slider .owl-stage-outer {
  padding: 20px 0;
}
/* gradient city card */
.gradient-card {
  height: 220px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: white;
  position: relative;
  overflow: hidden;
  transition: 0.4s;

  /* DARK YELLOW → BLUE GRADIENT */
  background: linear-gradient(135deg, #d97706, #1e3a8a);
}

/* glow effect */
.gradient-card::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  background: linear-gradient(45deg, #f59e0b, #2563eb);
  filter: blur(12px);
  opacity: 0;
  transition: 0.4s;
  z-index: -1;
}

.gradient-card:hover::before {
  opacity: 1;
}

/* hover lift */
.gradient-card:hover {
  transform: translateY(-10px) scale(1.05);
}

/* location circle */
.city-icon {
  width: 90px;
  height: 90px;
  background: white;
  color: #1e3a8a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 15px;
}

/* city name */
.city-name {
  margin: 0;
  font-weight: 600;
}
a i {
  font-size: 18px;
}

@media (max-width: 768px) {
  .fa-brands {
    font-size: 20px;
    margin: 8px;
  }
}
/* Section background */
.explore-section {
  background: linear-gradient(90deg, #ff7a00, #ffc107);
  position: relative;
}

/* Card */
.explore-card {
  background: #e9ecef;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: 0.3s ease;
}

.explore-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Icon */
.explore-icon {
  font-size: 28px;
  color: #0d6efd;
}

/* Text */
.explore-card h5 {
  margin: 0;
  color: #0d47a1;
  font-weight: 600;
}

.explore-card span {
  font-size: 14px;
  color: #555;
}
/* Remove link styling */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Keep hover effect on full card */
.card-link:hover .explore-card {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.featured-section {
  padding: 60px 0;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.section-header h2 {
  font-size: 28px;
  margin: 0;
}

.section-header p {
  color: #666;
  margin-top: 5px;
}

.view-all {
  border: 1px solid #ddd;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  background: #fff;
}

.college-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: 0.3s;
}

.college-card:hover {
  transform: translateY(-5px);
}

.college-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.location {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.card-body a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #2563eb;
}

/* Owl Custom */
.owl-nav {
  margin-top: 20px;
  text-align: center;
}

.owl-nav button {
  background: #fff !important;
  border: 1px solid #ddd !important;
  padding: 8px 14px !important;
  margin: 0 5px;
  border-radius: 6px;
}


.footer {
  background: #f3f4f6;
  padding: 60px 0 20px;
  font-family: Arial, sans-serif;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-about p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #555;
}

.footer-links ul li a:hover {
  color: #2563eb;
}

.social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-right: 8px;
  color: #333;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.featured-courses-slider .item {
    display: flex;
}

.featured-courses-slider .card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.featured-courses-slider .card-body {
    flex-grow: 1;
    text-align: center;
}
.featured-courses-slider .card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.featured-courses-slider .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.featured-courses-slider .card img {
    transition: transform 0.4s ease;
}

.featured-courses-slider .card:hover img {
    transform: scale(1.05);
}
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.image-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.course-card:hover img {
    transform: scale(1.08);
}

.course-card:hover .gradient-overlay {
    opacity: 1;
}
.course-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.4s ease;
}

.course-card .card-body {
    padding: 20px;
    color: #333;
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
#featured-courses {
    background: linear-gradient(135deg, #eef2f3, #dfe9f3);
    padding: 60px 0;
}
#enquiry-section {
    background: linear-gradient(135deg, #f8f9fa, #eef2f7);
    padding: 60px 0;
}

.enquiry-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.enquiry-image img {
    border-radius: 12px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.enquiry-form h3 {
    font-weight: 600;
}

.enquiry-form .form-control {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: 0.3s ease;
}

.enquiry-form .form-control:focus {
    border-color: #007bff;
    box-shadow: none;
}

.enquiry-form button {
    height: 48px;
    border-radius: 8px;
    font-weight: 500;
}
.floating-group {
    position: relative;
    margin-bottom: 20px;
}

.floating-group input,
.floating-group select {
    width: 100%;
    padding: 14px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    background: transparent;
    transition: all 0.3s ease;
}

.floating-group label {
    position: absolute;
    left: 12px;
    top: 14px;
    font-size: 14px;
    color: #777;
    background: #fff;
    padding: 0 5px;
    pointer-events: none;
    transition: 0.3s ease;
}

/* Floating effect */
.floating-group input:focus + label,
.floating-group input:valid + label,
.floating-group select:focus + label,
.floating-group select:valid + label {
    top: -8px;
    font-size: 12px;
    color: #007bff;
}

/* Focus effect */
.floating-group input:focus,
.floating-group select:focus {
    border-color: #007bff;
}

/* Button */
.submit-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    background: #007bff;
    color: #fff;
    font-weight: 500;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: #0056b3;
}