/*body { font-family: 'Segoe UI', sans-serif; }*/
body {
	font-family: 'Segoe UI', sans-serif;
}

.jumbotron {
	background: url('images/slide-04-1920x810.jpg') center center / cover no-repeat;
	height: 400px;
	display: flex;
	align-items: center;
	color: white;
}

.jumbotron .container {
	background-color: rgba(0, 0, 0, 0.6);
	padding: 20px;
	border-radius: 8px;
}

.about-section h2 {
	border-left: 5px solid #2d4373;
	padding-left: 15px;
	margin-bottom: 20px;
}

.footer-logo {
	max-height: 60px;
}

.bg-cover {
	background-size: cover;
}

/* === Navbar Hover Effects === */
.navbar-nav .nav-item {
  padding: 0 12px; /* Equal spacing on both sides */
}

.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s, background 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
  color: #fff;
  background-color: #007bff;
  border-radius: 4px;
  padding: 8px 14px;
}

.sticky-top {
    z-index: 1030; /* Ensure it stays above content */
    transition: all 0.3s ease-in-out;
}

.dropdown-menu {
  background-color: #f8f9fa;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  color: #333;
  padding: 10px 20px;
  transition: background 0.3s;
}

/* Hover dropdown */
/* Show submenu on hover */
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Submenu positioning */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
  border-radius: 0.25rem;
}

/* Show submenu on hover */
.dropdown-submenu:hover .dropdown-menu {
  display: block;
}

/* Apply background color on hover for submenu */
.dropdown-menu li:hover > a.dropdown-item {
  background-color: #007bff;
  color: white;
}

/* Apply background color on hover for left main dropdown */
.nav-item.dropdown:hover > a.nav-link {
  background-color: #0056b3;
  color: white;
}

/* Card Style for Highlights */
.highlight-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.5rem;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Title bar styling */
.title-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #0062cc, #0056b3);
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/*About us page styles*/
.about-hero {
	background: url('../images/about-us.jpg') center center/cover no-repeat;
	height: 400px;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/*Hotel Management Courses page styles*/
.about-diploma {
  background: url('../images/diploma-management.jpg') center center/cover no-repeat;
  height: 400px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.about-management {
  background: url('../images/best-management.png') center center/cover no-repeat;
  height: 400px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.mission-img, .vision-img, .campus-img {
	width: 100%;
	border-radius: 5px;
}
.section-title {
	font-weight: bold;
	margin-bottom: 20px;
}


/* General Styling */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 1rem;
}

/* Image Styling */
.mission-img, .vision-img, .campus-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.mission-img:hover, .vision-img:hover, .campus-img:hover {
  transform: scale(1.05);
}

/* Section Padding */
section {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Paragraph */
section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

/* Why Choose GITAM section */
.text-center h2.section-title {
  color: #00695c;
}

.text-center p {
  max-width: 900px;
  margin: 0 auto;
  color: #555;
}

.result-hero {
	background: url('../images/popular_sub2.png') center center/cover no-repeat;
	height: 400px;
	color: white;
	background-repeat: no-repeat;
  background-size: cover;
  object-fit: cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-hero {
	background: url('../images/parallax-03.jpg') center center/cover no-repeat;
	height: 400px;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.contact-section {
  padding: 60px 24px 0px 33px;
  background-color: #f2f2f2;
  margin-top: 30px;
}
.contact-box {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.info-icon {
  font-size: 24px;
  color: #00bfa5;
}
.info-box {
  margin-bottom: 30px;
}
.btn-send {
  background-color: #00bfa5;
  color: #fff;
}
.btn-send:hover {
  background-color: #00997a;
}
.info-icon {
  font-size: 24px;
  color: #00bfa5;
}
.info-box {
  margin-bottom: 30px;
}
.btn-send {
  background-color: #00bfa5;
  color: #fff;
}
.btn-send:hover {
  background-color: #00997a;
}

.contact-hero {
	background: url('../images/breadcrumb.jpg') center center/cover no-repeat;
	height: 400px;
	color: white;
	background-repeat: no-repeat;
  background-size: cover;
  object-fit: cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Optional: Smooth Fade In */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu {
	border-radius: 0;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* === Back to Top Arrow === */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 25px;
	z-index: 999;
	display: inline-block;
	opacity: 0.8;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
	opacity: 1;
	transform: translateY(-5px);
}

.back-to-top img {
	width: 40px;
	height: 40px;
	display: block;
}

.card-header {
  background: linear-gradient(90deg, #0062E6, #33AEFF);
  border-bottom: none;
}

.card {
  border-radius: 12px;
}

.form-control {
  border-radius: 6px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: #33AEFF;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
  background-color: #0062E6;
  border-color: #0062E6;
}

.btn-primary:hover {
  background-color: #0053c7;
  border-color: #004bb5;
}

/* General Styling */
.section-title {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.carousel-item .col-md-3 {
    transition: transform 0.3s ease-in-out;
}

.carousel-item .col-md-3:hover {
    transform: translateY(-5px);
}

/* Section styling */
.partners-section {
    background: linear-gradient(to right, #0056b3, #003c80);
    color: white;
    overflow: hidden;
}

/* Scroll container */
.partner-scroll-wrapper {
    overflow: hidden;
    position: relative;
    height: 90px;
    width: 100%;
}

/* Scroll track animation */
.partner-scroll-track {
    display: flex;
    width: calc(250px * 8); /* 8 logos, adjust if needed */
    animation: scrollLogos 30s linear infinite;
}

/* Logo item styling */
.logo-item {
    flex: 0 0 auto;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.logo-item img {
    height: 60px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
}

.logo-item img:hover {
    filter: none;
    opacity: 1;
}

.partner-scroll-wrapper:hover .partner-scroll-track {
    animation-play-state: paused;
}

/* Animation keyframe */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.custom-navbar {
  border-radius: 8px;
  padding: 0.8rem 1.5rem;
  background-color: #fff;
  transition: all 0.4s ease;
  z-index: 1030;
}

.navbar-contact {
  background: #28a745;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: white;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.icon-box {
  width: 35px;
  height: 35px;
  background-color: #218838;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  display: none;
  border-radius: 0.25rem;
}

.dropdown-submenu:hover .dropdown-menu {
  display: block;
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
}

.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link:hover {
  color: #ffffff;
  border-bottom: 2px solid #007bff;
}

/* Responsive dropdown fix */
@media (max-width: 991.98px) {
  .navbar-contact {
    margin-top: 1rem;
  }

  .dropdown-submenu .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    box-shadow: none;
  }
}


/* Footer Styling */
footer {
    background-color: #f8f9fa;
    color: #343a40;
    font-size: 0.95rem;
}

.footer-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.footer-logo {
    height: 50px;
    object-fit: contain;
}

footer a {
    color: #343a40;
    transition: color 0.3s ease-in-out;
}

footer a:hover {
    color: #007bff;
}

footer .form-inline .form-control {
    width: 100%;
    max-width: 250px;
}
