/* Mobile Menu Toggle - Simple */

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1004;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

/* Tablet Menu Toggle */

.tablet-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1004;
}

.tablet-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.tablet-menu-toggle:active {
  transform: scale(0.95);
}

.page-under-header {
  background: #ffffff;
  padding: 60px 0;
}

.page-under-header .section-title,
.page-under-header h2 {
  color: #212529;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.25;
  text-align: center;
}

.page-under-header h3 {
  color: #212529;
  font-weight: 700;
  margin: 0 0 15px 0;
  line-height: 1.25;
  text-align: center;
}

/* Show hamburger on mobile and tablets */

@media (max-width: 1024px) {
  .header-container {
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 10px 15px;
  }
  .logo {
    order: 1;
    flex-shrink: 0;
  }
  nav {
    order: 2;
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
    order: 3;
    margin-left: 0;
    flex-shrink: 0;
  }
  .tablet-menu-toggle {
    display: none !important;
  }
  .auth-buttons {
    display: none !important;
  }
}

/* Mobile Overlay */

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
}

.mobile-overlay.show {
  display: block;
}

/* Mobile Navigation Menu - REMOVED - Using mobile-nav.css instead */

.mobile-menu-content {
  padding: 20px 0;
  flex: 1;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: left;
}

.mobile-menu-link:hover {
  background: rgba(255, 255, 255, 0.1);
  padding-left: 30px;
}

.mobile-menu-link i {
  width: 20px;
  margin-right: 12px;
  font-size: 1rem;
  text-align: center;
}

.mobile-dropdown {
  position: relative;
}

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-dropdown-toggle .fa-chevron-down {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.mobile-dropdown-menu {
  display: none;
  background: rgba(0, 0, 0, 0.2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-dropdown-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-dropdown-menu .mobile-menu-link {
  padding: 12px 35px;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.1);
  text-align: left;
}

.mobile-dropdown-menu .mobile-menu-link:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Responsive Breakpoints */

/* Large Tablets and Small Desktops */

@media (max-width: 1024px) {
  .container {
    max-width: 95%;
    padding: 0 15px;
  }
  /* Header adjustments for tablets */
  .header-container {
    max-width: 95%;
    padding: 12px 15px;
    flex-wrap: nowrap;
  }
  .logo img {
    height: 45px;
    max-width: 180px;
  }
  nav a {
    font-size: 0.85rem;
    padding: 8px 10px;
    white-space: nowrap;
  }
  /* Hide auth buttons on large tablets */
  .auth-buttons {
    display: none;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-text .subtitle {
    font-size: 1.1rem;
  }
  .tagline {
    font-size: 1.3rem;
  }
  .links-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }
  .link-card {
    padding: 15px;
  }
  .why-content {
    gap: 30px;
  }
}

/* Medium Tablets (iPad Landscape, etc.) */

@media (max-width: 900px) {
  .header-container {
    padding: 10px 15px;
    flex-wrap: wrap;
  }
  .logo img {
    height: 40px;
    max-width: 160px;
  }
  nav {
    flex: 1;
    justify-content: center;
    margin: 10px 0;
  }
  nav a {
    font-size: 0.8rem;
    padding: 6px 8px;
  }
  /* Hide auth buttons on medium tablets */
  .auth-buttons {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    order: 3;
    margin-left: auto;
  }
  .mobile-nav {
    display: block;
  }
}

/* iPad Portrait and Small Tablets */

@media (max-width: 800px) {
  .header-container {
    flex-wrap: wrap;
    padding: 8px 15px;
  }
  .logo img {
    height: 38px;
    max-width: 150px;
  }
  nav a {
    font-size: 0.75rem;
    padding: 5px 8px;
  }
  /* Hide auth buttons on iPad portrait */
  .auth-buttons {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    order: 3;
    margin-left: auto;
  }
  .mobile-nav {
    display: block;
  }
}

/* Tablets */

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    padding: 10px 15px;
    align-items: center;
  }
  /* Hide auth buttons on mobile */
  .auth-buttons {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    order: 3;
    margin-left: auto;
  }
  .mobile-nav {
    display: block;
  }
  nav {
    display: none;
  }
  .mobile-nav {
    display: block !important;
  }
  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px;
    margin: 0;
  }
  nav > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  nav > li:last-child {
    border-bottom: none;
  }
  nav a {
    display: block;
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 0;
    white-space: normal;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: left;
  }
  nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-left: 25px;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
    display: none;
    min-width: 100%;
    border-radius: 0;
  }
  .dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .dropdown-menu li:last-child {
    border-bottom: none;
  }
  .dropdown-menu a {
    padding: 12px 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
  }
  .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-left: 35px;
  }
  .dropdown.active .dropdown-menu {
    display: block;
  }
  .mobile-menu-header {
    padding: 25px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
  }
  .mobile-menu-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .mobile-menu-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  }
  .mobile-menu-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
  }
  .mobile-menu-info p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
  }
  .mobile-menu-footer {
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
  }
  .mobile-menu-contact {
    margin-bottom: 20px;
  }
  .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  .contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
  }
  .contact-item i {
    color: #ff6b6b;
    font-size: 1rem;
    width: 20px;
  }
  .contact-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
  }
  .mobile-menu-social {
    display: flex;
    gap: 12px;
    justify-content: center;
  }
  .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .social-icon:hover {
    background: #ff6b6b;
    color: #fff;
    transform: scale(1.1);
    border-color: #ff6b6b;
  }
  .mobile-auth-buttons {
    display: block;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }
  @media (max-width: 1024px) {
    nav.active .mobile-auth-buttons {
      display: block;
    }
  }
  .mobile-auth-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 12px 20px;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  .mobile-auth-buttons .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
  }
  .mobile-auth-buttons .btn-outline:hover {
    background: #fff;
    color: #af0000;
  }
  .mobile-auth-buttons .btn-primary {
    background: #fff;
    color: #af0000;
    border: 2px solid #fff;
  }
  .mobile-auth-buttons .btn-primary:hover {
    background: #f8f9fa;
    color: #af0000;
  }
  .hero {
    padding: 20px 0 0;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .hero-text {
    min-width: auto;
    order: 2;
  }
  .hero-image {
    order: 1;
    max-width: 300px;
    margin: 0 auto;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-text .subtitle {
    font-size: 0.95rem;
  }
  .tagline {
    font-size: 1.2rem;
    justify-content: center;
  }
  .quote-mark {
    font-size: 2rem;
  }
  .quick-links {
    margin-top: -30px;
    margin-bottom: 40px;
  }
  .links-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
  }
  .link-card {
    padding: 12px;
  }
  .link-card i {
    font-size: 3.5rem;
  }
  .link-card h3 {
    font-size: 0.8rem;
  }
  .why-umbk {
    padding: 40px 0;
  }
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
  .why-content {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .why-image {
    min-width: auto;
    order: 2;
  }
  .why-list {
    order: 1;
  }
  .why-item {
    flex-direction: row;
    text-align: left;
    margin-bottom: 15px;
  }
  .why-item i {
    font-size: 1.2rem;
    margin-bottom: 0;
    margin-right: 15px;
    min-width: 30px;
  }
  .why-item h4 {
    font-size: 0.95rem;
  }
  .why-item p {
    font-size: 0.85rem;
  }
  /* Footer Responsive */
  footer {
    padding: 50px 0 20px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Mobile Phones */

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  .header-container {
    padding: 8px 10px;
  }
  .logo img {
    height: 40px;
    max-width: 150px;
  }
  .hero-text h1 {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  .hero-text .subtitle {
    font-size: 0.85rem;
  }
  .tagline {
    font-size: 1rem;
    flex-direction: column;
    gap: 5px;
  }
  .quote-mark {
    font-size: 1.5rem;
  }
  .hero-image {
    max-width: 250px;
  }
  /* Small mobile override for programstudi image */
  img[src*="programstudi.webp"] {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain !important;
    margin-bottom: 8px !important;
    border-radius: 50% !important;
  }
  .quick-links {
    margin-top: -20px;
    margin-bottom: 30px;
  }
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .link-card {
    padding: 10px 8px;
  }
  .link-card i {
    font-size: 2.8rem;
    margin-bottom: 6px;
  }
  .link-card h3 {
    font-size: 0.75rem;
    line-height: 1.2;
  }
  .why-umbk {
    padding: 30px 0;
  }
  .section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  .why-item {
    margin-bottom: 12px;
  }
  .why-item i {
    font-size: 1rem;
    margin-right: 12px;
    min-width: 25px;
  }
  .why-item h4 {
    font-size: 0.9rem;
  }
  .why-item p {
    font-size: 0.8rem;
  }
  /* Footer Mobile */
  footer {
    padding: 40px 0 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }
  .footer-col h4 {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  .footer-col ul li a {
    font-size: 0.9rem;
  }
  .address p {
    font-size: 0.85rem;
  }
  .socials {
    justify-content: center;
  }
}

/* Small Mobile Phones */

@media (max-width: 360px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }
  .hero-text .subtitle {
    font-size: 0.8rem;
  }
  .tagline {
    font-size: 0.9rem;
  }
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .link-card {
    padding: 8px 6px;
  }
  .link-card i {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }
  .link-card h3 {
    font-size: 0.7rem;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .why-item i {
    font-size: 0.9rem;
    margin-right: 10px;
    min-width: 20px;
  }
  .why-item h4 {
    font-size: 0.85rem;
  }
  .why-item p {
    font-size: 0.75rem;
  }
  /* Footer Small Mobile */
  footer {
    padding: 30px 0 10px;
  }
  .footer-grid {
    gap: 20px;
  }
  .footer-col h4 {
    font-size: 0.95rem;
  }
  .footer-col ul li a {
    font-size: 0.85rem;
  }
  .address p {
    font-size: 0.8rem;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Inter", sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 95%;
  margin: 0 auto;
}

/* Page Header Styles */

.page-header,
.page-title {
  width: 100% !important;
}

.page-header .container,
.page-title .container {
  max-width: 95% !important;
  margin: 0 auto !important;
  width: 95% !important;
}

.text-center {
  text-align: center;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}

/* Header */

header {
  background-color: #af0000;
  color: #fff;
  padding: 35px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 55px;
  object-fit: contain;
  max-width: 220px;
}

nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  margin-left: 40px;
  gap: 20px;
  position: relative;
  align-items: center;
  padding: 0;
}

nav ul {
  display: flex;
  gap: 20px;
  position: relative;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav > li {
  position: relative;
  list-style: none;
}

nav a {
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

nav a:hover {
  color: #ffcccc;
  background: rgba(255, 255, 255, 0.1);
}

.auth-buttons {
  display: flex;
  /* Shown on desktop */
  gap: 12px;
  flex-shrink: 0;
  margin-left: 20px;
  margin-right: 0;
}

.auth-buttons .btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #af0000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background: #fff;
  color: #af0000;
  border: 2px solid #fff;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

nav a.active {
  background: #fff;
  color: #af0000;
  font-weight: 600;
}

nav a {
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.3px;
}

/* Dropdown Menu Styles */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  opacity: 1;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: left;
}

.dropdown-menu a:hover {
  background: #f8f9fa;
  color: #af0000;
  padding-left: 25px;
}

/* Hero Section */

.hero {
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  padding: 40px 0 0;
  overflow: hidden;
  position: relative;
}

.hero-slider {
  display: grid;
  /* Use grid to stack slides on top of each other */
}

.hero-slide {
  grid-area: 1 / 1;
  /* Place all slides in the same cell */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  width: 100%;
  pointer-events: none;
  /* Prevent interaction with hidden slides */
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  /* Ensure container takes full width */
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #af0000;
}

.hero-text .highlight-red {
  background: #af0000;
  color: #fff;
  padding: 0 10px;
  border-radius: 5px;
  display: inline-block;
}

.hero-text .subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #555;
}

.tagline {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-mark {
  font-size: 3rem;
  color: #af0000;
  line-height: 0;
}

.hero-image {
  flex: 1;
  min-width: 0;
  text-align: right;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
  /* Fade out bottom like design */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
  border-radius: 30px !important;
}

/* Quick Links */

.quick-links {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}

.quick-links > .container {
  width: 80% !important;
  max-width: 80% !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.quick-links .link-card {
  background: #fff;
  padding: 25px 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 180px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.quick-links .link-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
  transition: background 0.3s;
}

.quick-links .link-card:hover::after,
.quick-links .link-card.active::after {
  background: #af0000;
}

.quick-links .link-card:hover {
  background: #af0000;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(160, 0, 0, 0.3);
}

.quick-links .link-card:hover i,
.quick-links .link-card:hover h3 {
  color: #fff;
}

.quick-links .link-card i {
  font-size: 5rem;
  color: #af0000;
  margin-bottom: 10px;
}

.quick-links .link-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

/* Why UMBK */

.why-umbk {
  padding: 60px 0;
  background: #fff;
}

.section-title {
  font-size: 2rem;
  color: #af0000;
  font-style: italic;
  margin-bottom: 40px;
  position: relative;
}

.why-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.why-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-image img {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-list {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

/* Beasiswa Styles */

.beasiswa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.btn {
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #af0000;
}

.btn-primary {
  background: #fff;
  color: #af0000;
  border: 1px solid #fff;
}

.btn-primary:hover {
  background: #f0f0f0;
}

/* Hero Section */

.hero {
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  padding: 40px 0 0;
  overflow: hidden;
  position: relative;
}

.hero-slider {
  display: grid;
  /* Use grid to stack slides on top of each other */
}

.hero-slide {
  grid-area: 1 / 1;
  /* Place all slides in the same cell */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  width: 100%;
  pointer-events: none;
  /* Prevent interaction with hidden slides */
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  /* Ensure container takes full width */
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #af0000;
}

.hero-text .highlight-red {
  background: #af0000;
  color: #fff;
  padding: 0 10px;
  border-radius: 5px;
  display: inline-block;
}

.hero-text .subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #555;
}

.tagline {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-mark {
  font-size: 3rem;
  color: #af0000;
  line-height: 0;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: right;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
  /* Fade out bottom like design */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
  border-radius: 30px !important;
}

/* Quick Links */

.quick-links {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}

.quick-links > .container {
  width: 80% !important;
  max-width: 80% !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.quick-links .link-card {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 72px;
}

.quick-links .link-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
  transition: background 0.3s;
}

.quick-links .link-card:hover::after,
.quick-links .link-card.active::after {
  background: #af0000;
}

.quick-links .link-card:hover {
  background: #af0000;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(160, 0, 0, 0.3);
}

.quick-links .link-card:hover i,
.quick-links .link-card:hover h3 {
  color: #fff;
}

.quick-links .link-card i {
  font-size: 5rem;
  color: #af0000;
  margin-bottom: 10px;
}

.quick-links .link-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

/* Why UMBK */

.why-umbk {
  padding: 60px 0;
  background: #fff;
}

.section-title {
  font-size: 2rem;
  color: #af0000;
  font-style: italic;
  margin-bottom: 40px;
  position: relative;
}

.why-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.why-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-image img {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-list {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

/* Beasiswa Styles */

.beasiswa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.beasiswa-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.beasiswa-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(160, 0, 0, 0.15);
}

.beasiswa-image {
  height: 200px;
  overflow: hidden;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.beasiswa-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}

.beasiswa-card:hover .beasiswa-image img {
  transform: scale(1.05);
}

.beasiswa-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.beasiswa-content h3 {
  color: #af0000;
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.beasiswa-content p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
}

.beasiswa-link {
  display: inline-block;
  color: #af0000;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: padding 0.3s;
}

.beasiswa-link:hover {
  padding-left: 5px;
}

/* Detail Page Styles */

.beasiswa-detail-hero {
  background-color: #f9f9f9;
  padding: 60px 0;
  text-align: center;
}

.beasiswa-detail-content {
  padding: 60px 0;
}

.detail-image {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.why-item i {
  font-size: 1.5rem;
  color: #af0000;
  width: 30px;
  text-align: center;
}

.why-item h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.why-item p {
  font-size: 1rem;
  color: #666;
}

/* Program Studi Section */

.study-programs {
  padding: 60px 0;
  background: #f4f4f4;
}

/* Override inline styles for programstudi image */

img[src*="programstudi.webp"] {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  margin-bottom: 15px !important;
  border-radius: 50% !important;
}

/* Override inline styles for link-card containing programstudi */

.link-card:has(img[src*="programstudi.webp"]) {
  min-height: 180px !important;
  aspect-ratio: 1 / 1 !important;
  height: 180px !important;
}

/* Alternative override for all link-cards */

.link-card {
  min-height: 180px !important;
  aspect-ratio: 1 / 1 !important;
  height: 180px !important;
}

/* More specific override using div[style] */

div.link-card[style*="min-height: auto"] {
  min-height: 180px !important;
  aspect-ratio: 1 / 1 !important;
  height: 180px !important;
}

/* Override inline styles for programstudi image with higher specificity */

div.link-card img[src*="programstudi.webp"] {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  margin-bottom: 15px !important;
  border-radius: 50% !important;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.program-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border-top: 5px solid #af0000;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.program-icon {
  width: 60px;
  height: 60px;
  background: #fff5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.program-icon i {
  font-size: 1.5rem;
  color: #af0000;
}

.program-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.program-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.program-link {
  color: #af0000;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s;
}

.program-link:hover {
  gap: 10px;
}

/* CTA Bar */

.cta-bar {
  background: #af0000;
  color: #fff;
  padding: 15px 0;
  text-align: center;
  margin: 40px 0;
}

.cta-bar h2 {
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Flow Section */

.flow {
  padding: 40px 0;
}

.flow-image-container {
  text-align: center;
}

.flow-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Responsive untuk flow section */

@media (max-width: 768px) {
  .flow {
    padding: 20px 0;
  }
  .flow-image-container {
    padding: 0 15px;
  }
  .flow-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
}

/* Info Section */

.info-contact {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.info-grid {
  display: grid;
  /* Membagi kolom: Map lebih lebar, Jadwal sedang, QR pas */
  grid-template-columns: 1.5fr 1fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.info-box h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

/* Wrapper Map agar rapi & melengkung */

.map-placeholder {
  border-radius: 15px;
  overflow: hidden;
  /* Penting agar iframe tidak keluar jalur sudut */
  border: 1px solid #ddd;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  line-height: 0;
  /* Menghilangkan gap kecil di bawah iframe */
}

.map-placeholder iframe {
  width: 100%;
  filter: grayscale(10%);
  /* Opsional: memberikan kesan elegan */
}

/* Styling Jadwal Pendaftaran (Timeline Style) */

.info-box.schedule ul {
  list-style: none;
  padding-left: 25px;
  border-left: 2px dashed #af0000;
  /* Garis putus-putus seperti gambar */
  margin-bottom: 25px;
}

.info-box.schedule ul li {
  margin-bottom: 20px;
  font-size: 0.95rem;
  position: relative;
  padding-left: 10px;
}

.info-box.schedule ul li::before {
  content: "";
  position: absolute;
  left: -33px;
  /* Posisi tepat di atas garis dashed */
  top: 5px;
  width: 14px;
  height: 14px;
  background: #af0000;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(160, 0, 0, 0.3);
}

.info-box.schedule ul li strong {
  display: block;
  color: #af0000;
  font-size: 1rem;
}

/* Kotak Admin */

.admin-contact {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  border-left: 5px solid #af0000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.admin-contact i {
  font-size: 2.2rem;
  color: #af0000;
}

/* Box QR */

.info-box.qr {
  text-align: center;
}

.qr-img {
  max-width: 280px;
  padding: 10px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Update Media Query agar Mobile tetap rapi */

@media (max-width: 992px) {
  .info-grid {
    grid-template-columns: 1fr;
    /* Stack jadi satu kolom di tablet/HP */
    gap: 50px;
  }
}

/* Partners */

.partners {
  padding: 40px 0;
  background: #fff;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
}

.partners-grid img {
  height: 50px;
  opacity: 0.8;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.partners-grid img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Footer */

footer {
  background: #800000;
  /* Darker red */
  color: #fff;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
  display: inline-block;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #e0e0e0;
}

.footer-col ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.address {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  color: #e0e0e0;
}

.socials {
  display: flex;
  gap: 15px;
}

.socials a {
  background: rgba(255, 255, 255, 0.1);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.socials a:hover {
  background: #af0000;
}

/* Responsive */

@media (max-width: 1200px) {
  .container {
    max-width: 95%;
  }
  .page-header .container,
  .page-title .container {
    max-width: 95% !important;
    margin: 0 auto !important;
    width: 95% !important;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 95%;
  }
  .header-container {
    max-width: 95%;
    flex-wrap: wrap;
    padding: 10px 15px;
  }
  .page-header .container,
  .page-title .container {
    max-width: 95% !important;
    margin: 0 auto !important;
    width: 95% !important;
  }
  .logo {
    order: 1;
  }
  nav {
    order: 3;
    width: 100%;
    margin-top: 10px;
    justify-content: center;
  }
  nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav a {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
  /* Hero Section Responsive */
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .hero-text {
    text-align: center;
    min-width: 100%;
  }
  .hero-image {
    text-align: center;
    min-width: 100%;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .tagline {
    justify-content: center;
    font-size: 1.2rem;
  }
  /* Why UMBK Responsive */
  .why-content {
    flex-direction: column;
    gap: 30px;
  }
  .why-image {
    min-width: 100%;
  }
  .why-list {
    min-width: 100%;
  }
  /* Info Grid Responsive */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  /* Programs Grid */
  .programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  /* Footer Responsive */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 95%;
    padding: 0 15px;
  }
  header {
    padding: 10px 0;
  }
  .header-container {
    max-width: 95%;
    padding: 0 15px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .page-header .container,
  .page-title .container {
    max-width: 95% !important;
    margin: 0 auto !important;
    width: 95% !important;
  }
  .logo img {
    height: 40px;
    max-width: 150px;
  }
  nav {
    margin-top: 15px;
    order: 2;
  }
  nav ul {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav a {
    font-size: 0.75rem;
    padding: 5px 8px;
  }
  .auth-buttons {
    order: 3;
    margin-left: 0;
    margin-top: 10px;
  }
  /* Mobile override for programstudi image */
  img[src*="programstudi.webp"] {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    margin-bottom: 10px !important;
    border-radius: 50% !important;
  }
  /* Hero Section Mobile */
  .hero {
    padding: 20px 0 0;
  }
  .hero-text h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  .hero-text .subtitle {
    font-size: 0.9rem;
  }
  .tagline {
    font-size: 1rem;
    flex-direction: column;
    gap: 5px;
  }
  .quote-mark {
    font-size: 2rem;
  }
  /* Quick Links Mobile */
  .quick-links {
    margin-top: -20px;
    margin-bottom: 30px;
  }
  .links-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
  }
  .quick-links .link-card {
    padding: 0;
  }
  .link-card i {
    font-size: 3.5rem;
  }
  .link-card h3 {
    font-size: 0.8rem;
  }
  /* Section Titles Mobile */
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }
  /* Why UMBK Mobile */
  .why-umbk {
    padding: 40px 0;
  }
  .why-item {
    gap: 12px;
  }
  .why-item i {
    font-size: 1.2rem;
    width: 25px;
  }
  .why-item h4 {
    font-size: 0.95rem;
  }
  .why-item p {
    font-size: 0.85rem;
  }
  /* Programs Mobile */
  .study-programs {
    padding: 40px 0;
  }
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .program-card {
    padding: 20px;
  }
  .program-icon {
    width: 50px;
    height: 50px;
  }
  .program-icon i {
    font-size: 1.2rem;
  }
  .program-card h3 {
    font-size: 1.1rem;
  }
  .program-card p {
    font-size: 0.85rem;
  }
  /* Tuition Fees Mobile */
  .tuition-fees {
    padding: 40px 0;
  }
  .fees-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .fee-item {
    padding: 20px 15px;
  }
  .fee-item i {
    font-size: 2rem;
  }
  /* CTA Bar Mobile */
  .cta-bar h2 {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }
  /* Info Contact Mobile */
  .info-contact {
    padding: 40px 0;
  }
  .info-box h4 {
    font-size: 1rem;
  }
  .qr-img {
    max-width: 200px;
  }
  /* Partners Mobile */
  .partners {
    padding: 30px 0;
  }
  .partners-grid img {
    height: 40px;
  }
  /* Footer Mobile */
  footer {
    padding: 40px 0 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }
  .socials {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 10px;
  }
  nav ul {
    gap: 8px;
  }
  nav a {
    font-size: 0.7rem;
    padding: 4px 8px;
  }
  .auth-buttons .btn {
    padding: 5px 10px;
    font-size: 0.7rem;
  }
  /* Hero Section Small Mobile */
  .hero-text h1 {
    font-size: 1.5rem;
  }
  .hero-text .subtitle {
    font-size: 0.8rem;
  }
  .tagline {
    font-size: 0.9rem;
  }
  .quote-mark {
    font-size: 1.5rem;
  }
  /* Quick Links Small Mobile */
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .quick-links .link-card {
    padding: 0;
  }
  .link-card i {
    font-size: 2.8rem;
  }
  .link-card h3 {
    font-size: 0.75rem;
  }
  /* Section Titles Small Mobile */
  .section-title {
    font-size: 1.3rem;
  }
  /* Why UMBK Small Mobile */
  .why-umbk {
    padding: 30px 0;
  }
  .why-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .why-item i {
    width: auto;
    margin-bottom: 5px;
  }
  /* Programs Small Mobile */
  .study-programs {
    padding: 30px 0;
  }
  .program-card {
    padding: 15px;
    text-align: center;
  }
  .program-icon {
    margin: 0 auto 15px;
  }
  /* Tuition Fees Small Mobile */
  .tuition-fees {
    padding: 30px 0;
  }
  .fee-item {
    padding: 15px 10px;
    text-align: center;
  }
  .fee-item i {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  /* CTA Bar Small Mobile */
  .cta-bar {
    padding: 12px 0;
  }
  .cta-bar h2 {
    font-size: 1rem;
    letter-spacing: 0.5px;
  }
  /* Info Contact Small Mobile */
  .info-contact {
    padding: 30px 0;
  }
  .info-box {
    text-align: center;
  }
  .info-box h4 {
    font-size: 0.95rem;
  }
  .admin-contact {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .qr-img {
    max-width: 150px;
  }
  /* Partners Small Mobile */
  .partners {
    padding: 20px 0;
  }
  .partners-grid img {
    height: 30px;
  }
  /* Footer Small Mobile */
  footer {
    padding: 30px 0 10px;
  }
  .footer-grid {
    gap: 20px;
  }
  .footer-col h4 {
    font-size: 1rem;
  }
  .footer-col ul li a {
    font-size: 0.9rem;
  }
  .address p {
    font-size: 0.85rem;
  }
  .socials a {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #af0000;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}

.about-image img.rounded-shadow {
  width: 100%;
  border-radius: 20px;
  box-shadow: 20px 20px 0 #f0f0f0;
  /* Simple decorative shadow */
}

/* Tuition Fees Section */

.tuition-fees {
  padding: 80px 0;
  background: #fdfdfd;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.fees-content {
  max-width: 95%;
  margin: 0 auto;
}

.fees-content .lead-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

.fees-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.fee-item {
  background: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  border: 1px solid #eee;
}

.fee-item:hover {
  transform: translateY(-5px);
  border-color: #af0000;
}

.fee-item i {
  font-size: 2.5rem;
  color: #af0000;
  margin-bottom: 20px;
}

.fee-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

.fee-item p {
  font-size: 0.9rem;
  color: #666;
}

.fees-action .btn {
  padding: 12px 30px;
  font-size: 1rem;
}
