/* 
* Target International School Website Styles
* Custom CSS for the school website
*/

/* ===== VARIABLES ===== */
:root {
  --primary-color: #002d62; /* Dark blue from logo */
  --primary-dark: #001f44;
  --primary-light: #003d82;
  --accent-color: #ff0000; /* Red from logo */
  --accent-dark: #cc0000;
  --accent-light: #ff3333;
  --secondary-color: #f8f9fa;
  --text-color: #333333;
  --light-text: #6c757d;
  --white: #ffffff;
  --black: #000000;
  --border-color: #dee2e6;
  --success: #28a745;
  --font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===== GLOBAL STYLES ===== */
body {
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.btn-outline-accent {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-outline-accent:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
}

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

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

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

.bg-accent {
  background-color: var(--accent-color) !important;
}

.section-title {
  position: relative;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
  margin-top: 0.5rem;
}

.text-center .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 1s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 1s ease forwards;
}

.animate-slide-up {
  animation: slideInUp 1s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
}
.delay-500 {
  animation-delay: 0.5s;
}
.delay-600 {
  animation-delay: 0.6s;
}
.delay-700 {
  animation-delay: 0.7s;
}
.delay-800 {
  animation-delay: 0.8s;
}
.delay-900 {
  animation-delay: 0.9s;
}
.delay-1000 {
  animation-delay: 1s;
}

/* ===== LANGUAGE SELECTOR ===== */
.language-selector {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 0.25rem 0;
}

.lang-link {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 4px;
  margin: 0 2px;
  transition: all 0.3s ease;
  display: inline-block;
}

.lang-link:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

.lang-link.active {
  color: var(--white);
  background-color: var(--accent-color);
  font-weight: 600;
}

/* ===== NAVBAR ===== */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  background: var(--white);
  position: relative;
  z-index: 100;
}

.navbar-brand img {
  max-height: 60px;
  height: 40px;
  width: auto;
}

.navbar-toggler {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--primary-color);
  outline: none;
  box-shadow: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-nav {
  align-items: center;
  gap: 0.5rem;
}

.navbar-nav .nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 1rem 1rem;
  position: relative;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-color);
  background: rgba(255, 0, 0, 0.07);
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background-color: var(--accent-color);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background-color: #002d62;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  animation: zoomEffect 20s infinite;
}

.hero-bg-slide.active {
  opacity: 1;
}

@keyframes zoomEffect {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 45, 98, 0.85) 0%,
    rgba(255, 0, 0, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 15vh;
  color: #ffffff;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  margin-bottom: 3rem;
}

.hero-buttons .btn {
  padding: 1rem 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
  background: #ff0000;
  border-color: #ff0000;
}

.hero-buttons .btn-primary:hover {
  background: #cc0000;
  border-color: #cc0000;
  transform: translateY(-3px);
}

.hero-buttons .btn-outline-light:hover {
  background: #ffffff;
  color: #ff0000;
  transform: translateY(-3px);
}

.hero-features {
  margin-top: 4rem;
}

.feature-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-item i {
  font-size: 2.5rem;
  color: #ff0000;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-down {
  color: #ffffff;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-down:hover {
  opacity: 1;
  color: #ffffff;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.25rem;
  }
  .hero-content {
    padding-top: 12vh;
  }
  .feature-item {
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  .hero-content {
    padding-top: 10vh;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  .hero-content {
    padding-top: 8vh;
  }
}

/* ===== PROGRAMS SECTION ===== */
.program-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.program-icon {
  color: var(--accent-color);
}

/* ===== WHY CHOOSE US SECTION ===== */
.feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.feature-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
  position: relative;
}

.feature-list li i {
  position: absolute;
  left: 0;
  top: 0.25rem;
  color: var(--accent-color);
}

.stats-container {
  background-color: var(--white);
  margin-bottom: 1.5rem;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--light-text);
}

.testimonial-container {
  background-color: var(--white);
}

.testimonial-text {
  font-style: italic;
  position: relative;
  padding: 0 1.5rem;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--accent-light);
  position: absolute;
  line-height: 1;
}

.testimonial-text::before {
  left: 0;
  top: -0.5rem;
}

.testimonial-text::after {
  right: 0;
  bottom: -0.5rem;
}

/* ===== NEWS SECTION ===== */
.news-card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-date {
  font-size: 0.875rem;
  color: var(--light-text);
}

.news-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.news-card .btn-link {
  color: var(--accent-color);
  padding: 0;
  text-decoration: none;
}

.news-card .btn-link:hover {
  color: var(--accent-dark);
}

/* ===== CAMPUSES SECTION ===== */
.campus-card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.campus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.campus-image {
  height: 200px;
  overflow: hidden;
}

.campus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.campus-card:hover .campus-image img {
  transform: scale(1.1);
}

.campus-content {
  padding: 1.5rem;
}

.campus-title {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.campus-address {
  color: var(--light-text);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.campus-map {
  height: 200px;
  border-radius: 0.25rem;
  overflow: hidden;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background-color: var(--primary-color);
  background-image: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  padding: 5rem 0;
}

.cta-accent {
  background-color: var(--accent-color);
  background-image: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--accent-dark) 100%
  );
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info-card {
  background-color: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  color: var(--accent-color);
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.contact-social-link:hover {
  background-color: var(--accent-color);
  color: var(--white);
  transform: translateY(-5px);
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50px;
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-phone:hover {
  background-color: var(--accent-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-phone i {
  margin-right: 0.75rem;
  font-size: 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  color: var(--white);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--white);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

.footer-bottom-links li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-bottom-links li a:hover {
  color: var(--white);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-dark);
  color: var(--white);
}

/* ===== PAGE BANNER ===== */
.page-banner .banner-image img {
  height: 300px;
  object-fit: cover;
}

.banner-overlay {
  background: linear-gradient(rgba(0, 45, 98, 0.7), rgba(0, 45, 98, 0.7));
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
  #heroCarousel,
  .carousel-inner,
  .carousel-item,
  .carousel-item img {
    height: 70vh;
    min-height: 300px;
  }
  .carousel-caption h1 {
    font-size: 2rem;
  }
  .navbar-nav {
    background: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    padding: 0.5rem 0;
    z-index: 99;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .navbar-nav .nav-link {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0;
    text-align: left;
  }
  .navbar-collapse {
    background: var(--white);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    margin-top: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  #heroCarousel,
  .carousel-inner,
  .carousel-item,
  .carousel-item img {
    height: 55vh;
    min-height: 220px;
  }
  .carousel-caption h1 {
    font-size: 1.25rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .footer-bottom-links {
    justify-content: flex-start;
    margin-top: 1rem;
  }
}

@media (max-width: 575.98px) {
  #heroCarousel,
  .carousel-inner,
  .carousel-item,
  .carousel-item img {
    height: 55vh;
    min-height: 220px;
  }
  .carousel-caption h1 {
    font-size: 1.25rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
  .navbar-brand img {
    max-height: 40px;
    height: 32px;
  }
  .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 0.85rem 1.2rem;
  }
}

/* Dormitory Hero Section */
.dormitory-hero {
  background: linear-gradient(rgba(0, 45, 98, 0.8), rgba(0, 45, 98, 0.8)),
    url("../img/dorm-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.hero-image-container:hover img {
  transform: scale(1.05);
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: white;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Animation Classes */
.animate-slide-left {
  animation: slideLeft 1s ease-out;
}

.animate-slide-right {
  animation: slideRight 1s ease-out;
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Facility Cards */
.facility-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.facility-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.facility-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Meal Plan Cards */
.meal-plan-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.meal-plan-card:hover {
  transform: translateY(-5px);
}

.meal-plan-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.meal-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.meal-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.meal-features li:last-child {
  border-bottom: none;
}

/* Life Cards */
.life-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.life-card:hover {
  transform: translateY(-5px);
}

.life-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.life-card h3 {
  color: var(--primary-color);
  padding: 1.5rem;
  margin: 0;
}

.life-card p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
}

/* Security Cards */
.security-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.security-card:hover {
  transform: translateY(-5px);
}

.security-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.security-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* === NEW HERO SECTION FULLY ADAPTIVE & ATTRACTIVE === */
.hero-section-new {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg-new {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/istirohat-campus.jpg") center center/cover no-repeat;
  z-index: 1;
  filter: brightness(0.7) blur(0.5px);
  transition: filter 0.7s;
}
.hero-overlay-new {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(0, 29, 62, 0.85) 60%,
    rgba(255, 0, 0, 0.45) 100%
  );
  z-index: 2;
  pointer-events: none;
}
.hero-content-new {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
}
.hero-title-new {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7), 0 0 8px #ff0000;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}
.hero-subtitle-new {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2.2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
}
.hero-btn-new {
  background: linear-gradient(90deg, #ff0000 60%, #ff3333 100%);
  color: #fff;
  border: none;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.85rem 2.8rem;
  box-shadow: 0 8px 32px rgba(255, 0, 0, 0.15);
  transition: background 0.4s, color 0.4s, box-shadow 0.4s, transform 0.2s;
  text-decoration: none;
  outline: none;
  display: inline-block;
}
.hero-btn-new:hover,
.hero-btn-new:focus {
  background: linear-gradient(90deg, #fff 0%, #ff0000 100%);
  color: #ff0000;
  box-shadow: 0 12px 36px rgba(255, 0, 0, 0.25);
  transform: scale(1.07);
}
@media (max-width: 991.98px) {
  .hero-title-new {
    font-size: 2.2rem;
  }
  .hero-subtitle-new {
    font-size: 1.1rem;
  }
}
@media (max-width: 767.98px) {
  .hero-title-new {
    font-size: 1.4rem;
  }
  .hero-subtitle-new {
    font-size: 0.95rem;
  }
  .hero-content-new {
    padding: 1.2rem 0.3rem;
  }
  .hero-btn-new {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
  }
}

/* === ULTIMATE HERO SECTION === */
.hero-section-ultimate {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg-ultimate {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    270deg,
    #001f3f,
    #ff0000,
    #003d82,
    #ff3333,
    #001f3f
  );
  background-size: 400% 400%;
  animation: heroGradientMove 16s ease-in-out infinite;
}
@keyframes heroGradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.hero-overlay-ultimate {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(0, 29, 62, 0.85) 60%,
    rgba(255, 0, 0, 0.45) 100%
  );
  z-index: 2;
  pointer-events: none;
}
.hero-content-ultimate {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
}
.hero-title-ultimate {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7), 0 0 8px #ff0000;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}
.hero-subtitle-ultimate {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2.2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
}
.hero-btn-ultimate {
  background: linear-gradient(90deg, #ff0000 60%, #ff3333 100%);
  color: #fff;
  border: none;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.85rem 2.8rem;
  box-shadow: 0 8px 32px rgba(255, 0, 0, 0.15);
  transition: background 0.4s, color 0.4s, box-shadow 0.4s, transform 0.2s;
  text-decoration: none;
  outline: none;
  display: inline-block;
}
.hero-btn-ultimate:hover,
.hero-btn-ultimate:focus {
  background: linear-gradient(90deg, #fff 0%, #ff0000 100%);
  color: #ff0000;
  box-shadow: 0 12px 36px rgba(255, 0, 0, 0.25);
  transform: scale(1.07);
}
@media (max-width: 991.98px) {
  .hero-title-ultimate {
    font-size: 2.2rem;
  }
  .hero-subtitle-ultimate {
    font-size: 1.1rem;
  }
}
@media (max-width: 767.98px) {
  .hero-title-ultimate {
    font-size: 1.4rem;
  }
  .hero-subtitle-ultimate {
    font-size: 0.95rem;
  }
  .hero-content-ultimate {
    padding: 1.2rem 0.3rem;
  }
  .hero-btn-ultimate {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
  }
}

/* === GLASSMORPHISM HERO CAROUSEL === */
.hero-section-glass {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-glass {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  filter: brightness(0.6) blur(1px);
  transition: background-image 0.7s;
  animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero-overlay-glass {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(0, 29, 62, 0.8) 60%,
    rgba(255, 0, 0, 0.4) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-content-glass {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
  min-width: 320px;
  max-width: 90vw;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px) saturate(120%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -30%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.hero-title-glass {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 1.1rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7), 0 0 8px #ff0000;
  line-height: 1.1;
  animation: slideInLeft 1s ease-out;
}

.hero-subtitle-glass {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
  animation: slideInRight 1s ease-out;
}

.hero-btn-glass {
  background: rgba(255, 255, 255, 0.25);
  color: #ff0000;
  border: 2px solid #ff0000;
  border-radius: 2rem;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.7rem 2.2rem;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  outline: none;
  display: inline-block;
  backdrop-filter: blur(2px);
  animation: fadeIn 1.5s ease-out;
}

.hero-btn-glass:hover {
  background: #ff0000;
  color: #fff;
  border: 2px solid #fff;
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.2);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-indicators {
  bottom: 2rem;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background-color: #ff0000;
  border-color: #fff;
  transform: scale(1.2);
}

@media (max-width: 991.98px) {
  .hero-title-glass {
    font-size: 2.5rem;
  }
  .hero-subtitle-glass {
    font-size: 1.2rem;
  }
  .hero-content-glass {
    padding: 1.5rem 0.7rem;
  }
}

@media (max-width: 767.98px) {
  .hero-title-glass {
    font-size: 2rem;
  }
  .hero-subtitle-glass {
    font-size: 1rem;
  }
  .hero-content-glass {
    padding: 1.2rem 0.5rem;
  }
  .hero-btn-glass {
    font-size: 1rem;
    padding: 0.6rem 1.8rem;
  }
}

/* Accreditation Carousel Styles */
.accreditations-section .logo-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 150px; /* Adjust height as needed */
}

.accreditations-section .logo-carousel {
  display: flex;
  align-items: center;
  gap: 30px; /* Space between logos */
  animation: scroll-logos 20s linear infinite;
}

.accreditations-section .logo-carousel img {
  width: 120px; /* Adjust logo size */
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.accreditations-section .logo-carousel img:hover {
  transform: scale(1.1); /* Slight zoom on hover */
}

@keyframes scroll-logos {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.stat-item-new {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.stat-item-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.stat-item-new .stat-number {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item-new .stat-label {
  font-size: 0.9rem;
  color: var(--light-text);
  font-weight: 500;
}

.facilities-section .facility-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.facilities-section .facility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.facilities-section .facility-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.facilities-section .facility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facilities-section .facility-card:hover .facility-image img {
  transform: scale(1.1);
}

.facilities-section .facility-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 45, 98, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
}

.facilities-section .facility-card:hover .facility-overlay {
  opacity: 1;
}

.facilities-section .facility-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.facilities-section .facility-title {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.facilities-section .facility-content p {
  flex-grow: 1;
  margin-bottom: 0;
}

#student-life .life-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

#student-life .life-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

#student-life .life-card-icon {
  margin-bottom: 1.5rem;
}

#student-life .life-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

#student-life .life-card p {
  color: var(--light-text);
  margin-bottom: 0;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
