/* ==========================================================================
   Maharaja Agrasen College, Jagadhri — Main Stylesheet
   Author  : Web Team
   Version : 1.0
   Stack   : Bootstrap 5.3 + Custom CSS
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
   01. Design Tokens
   02. Base & Typography
   03. Helpers & Utilities
   04. Buttons
   05. Preloader / Back to top
   06. Topbar
   07. Navbar & Dropdowns
   08. Hero / Carousel
   09. Page Banner (inner pages)
   10. Section Headings
   11. Cards (feature, course, staff, blog, event)
   12. Counters / Stats
   13. About / Mission / Why choose
   14. Testimonials
   15. Gallery & Lightbox
   16. Timeline (history)
   17. Accordion / FAQ
   18. Forms & Contact
   19. Newsletter & CTA
   20. Footer
   21. Animations
   22. Responsive
   ========================================================================== */

/* ==========================================================================
   01. Design Tokens
   ========================================================================== */
:root {
  /* Brand palette — academic maroon + gold */
  --mac-maroon: #7a0f14;
  --mac-maroon-dark: #56090d;
  --mac-maroon-light: #9c2027;
  --mac-gold: #e0a419;
  --mac-gold-dark: #c08c11;
  --mac-navy: #14213d;

  --mac-body: #4a4f57;
  --mac-heading: #16181d;
  --mac-muted: #7c828c;
  --mac-border: #e6e8ec;
  --mac-light: #f6f7f9;
  --mac-cream: #fdf8ef;
  --mac-white: #ffffff;

  /* Typography */
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Shape & depth */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-xs: 0 2px 8px rgba(20, 33, 61, .06);
  --shadow-sm: 0 6px 20px rgba(20, 33, 61, .07);
  --shadow-md: 0 14px 38px rgba(20, 33, 61, .10);
  --shadow-lg: 0 26px 60px rgba(20, 33, 61, .16);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --transition: all .35s var(--ease);

  --container-pad: 1.25rem;
}

/* ==========================================================================
   02. Base & Typography
   ========================================================================== */
* { -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--mac-body);
  background: var(--mac-white);
  overflow-x: hidden;
}

.set img{
  height: 50px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--mac-heading);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .75rem;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--mac-maroon);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--mac-gold-dark); }

img { max-width: 100%; height: auto; }

::selection { background: var(--mac-maroon); color: #fff; }

:focus-visible {
  outline: 3px solid var(--mac-gold);
  outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--mac-light); }
::-webkit-scrollbar-thumb { background: var(--mac-maroon); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--mac-maroon-dark); }

/* ==========================================================================
   03. Helpers & Utilities
   ========================================================================== */
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }

.bg-light-soft { background: var(--mac-light); }
.bg-cream { background: var(--mac-cream); }
.bg-maroon { background: var(--mac-maroon); }
.bg-navy { background: var(--mac-navy); }

.text-maroon { color: var(--mac-maroon) !important; }
.text-gold { color: var(--mac-gold) !important; }
.text-muted-soft { color: var(--mac-muted) !important; }

.fw-head { font-family: var(--font-head); }
.lead-soft { font-size: 1.05rem; color: var(--mac-muted); }

.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-soft { box-shadow: var(--shadow-sm) !important; }

.divider-gold {
  width: 70px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--mac-gold), var(--mac-maroon));
}

.overlay-dark::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(86, 9, 13, .88), rgba(20, 33, 61, .72));
}

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .7rem;
}
.list-check li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute; left: 0; top: 0;
  color: var(--mac-gold);
  font-size: 1.05rem;
}

/* ==========================================================================
   04. Buttons
   ========================================================================== */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .2px;
  padding: .8rem 1.9rem;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-mac {
  background: var(--mac-maroon);
  border-color: var(--mac-maroon);
  color: #fff;
  box-shadow: 0 10px 24px rgba(122, 15, 20, .28);
}
.btn-mac:hover, .btn-mac:focus {
  background: var(--mac-maroon-dark);
  border-color: var(--mac-maroon-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(122, 15, 20, .35);
}

.btn-gold {
  background: var(--mac-gold);
  border-color: var(--mac-gold);
  color: #3a2a00;
  box-shadow: 0 10px 24px rgba(224, 164, 25, .32);
}
.btn-gold:hover, .btn-gold:focus {
  background: var(--mac-gold-dark);
  border-color: var(--mac-gold-dark);
  color: #241a00;
  transform: translateY(-3px);
}

.btn-outline-mac {
  border-color: var(--mac-maroon);
  color: var(--mac-maroon);
  background: transparent;
}
.btn-outline-mac:hover {
  background: var(--mac-maroon);
  color: #fff;
  transform: translateY(-3px);
}

.btn-outline-light-mac {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
  background: transparent;
}
.btn-outline-light-mac:hover {
  background: #fff;
  color: var(--mac-maroon);
  transform: translateY(-3px);
}

.btn-sm { padding: .55rem 1.3rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }

.btn-link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .9rem;
  color: var(--mac-maroon);
}
.btn-link-arrow i { transition: transform .3s var(--ease); }
.btn-link-arrow:hover i { transform: translateX(5px); }

/* ==========================================================================
   05. Preloader / Back to top
   ========================================================================== */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--mac-white);
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }

.loader-ring {
  width: 58px; height: 58px;
  border: 4px solid var(--mac-border);
  border-top-color: var(--mac-maroon);
  border-radius: 50%;
  animation: macSpin .9s linear infinite;
}
@keyframes macSpin { to { transform: rotate(360deg); } }

#backToTop {
  position: fixed; right: 22px; bottom: 22px; z-index: 990;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mac-maroon);
  color: #fff; border: 0; border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: var(--transition);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--mac-gold); color: #3a2a00; }

/* ==========================================================================
   06. Topbar
   ========================================================================== */
.topbar {
  background: var(--mac-maroon-dark);
  color: rgba(255, 255, 255, .85);
  font-size: .84rem;
  padding: .5rem 0;
}
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: var(--mac-gold); }
.topbar .topbar-list {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  list-style: none; margin: 0; padding: 0;
}
.topbar .topbar-list i { color: var(--mac-gold); margin-right: .4rem; }
.topbar-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  margin-left: .3rem;
}
.topbar-social a:hover { background: var(--mac-gold); color: #3a2a00; }

/* ==========================================================================
   07. Navbar & Dropdowns
   ========================================================================== */
.mac-header { position: relative; z-index: 1030; }

.navbar-mac {
  background: #fff;
  padding: .6rem 0;
  box-shadow: 0 2px 20px rgba(20, 33, 61, .07);
  transition: var(--transition);
}
.navbar-mac.is-sticky {
  position: fixed; top: 0; left: 0; right: 0;
  animation: macSlideDown .45s var(--ease);
  box-shadow: var(--shadow-md);
}
@keyframes macSlideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.navbar-brand-mac {
  display: flex; align-items: center; gap: .75rem;
  padding: 0;
}
.brand-mark {
  width: 52px; height: 52px; flex: 0 0 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--mac-maroon), var(--mac-maroon-dark));
  color: var(--mac-gold);
  font-family: var(--font-head);
  font-weight: 700; font-size: 1.1rem;
  border: 2px solid var(--mac-gold);
  letter-spacing: .5px;
}
.brand-text .brand-title {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 700;
  color: var(--mac-maroon);
  line-height: 1.15; margin: 0;
}
.brand-text .brand-sub {
  display: block;
  font-size: .68rem; letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mac-muted);
}

.navbar-mac .navbar-nav .nav-link {
  font-weight: 600;
  font-size: .93rem;
  color: var(--mac-heading);
  padding: .7rem .95rem !important;
  position: relative;
}
.navbar-mac .navbar-nav .nav-link::after {
  content: "";
  position: absolute; left: .95rem; bottom: .35rem;
  width: 0; height: 2px;
  background: var(--mac-gold);
  transition: width .3s var(--ease);
}
.navbar-mac .navbar-nav .nav-link:hover,
.navbar-mac .navbar-nav .nav-link.active {
  color: var(--mac-maroon);
}
.navbar-mac .navbar-nav .nav-link:hover::after,
.navbar-mac .navbar-nav .nav-link.active::after {
  width: calc(100% - 1.9rem);
}
.navbar-mac .dropdown-toggle::after {
  border: 0;
  content: "\F282";
  font-family: "bootstrap-icons";
  font-size: .7rem;
  vertical-align: 1px;
  margin-left: .3rem;
}

.dropdown-menu-mac {
  border: 0;
  border-top: 3px solid var(--mac-gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  min-width: 236px;
  margin-top: .5rem !important;
}
.dropdown-menu-mac .dropdown-item {
  font-size: .9rem;
  font-weight: 500;
  border-radius: 6px;
  padding: .55rem .85rem;
  color: var(--mac-body);
}
.dropdown-menu-mac .dropdown-item i {
  color: var(--mac-gold);
  font-size: .75rem;
  margin-right: .5rem;
}
.dropdown-menu-mac .dropdown-item:hover,
.dropdown-menu-mac .dropdown-item.active {
  background: var(--mac-cream);
  color: var(--mac-maroon);
}

/* Hover-open dropdowns on desktop.
   The opening itself is driven by main.js through Bootstrap's Dropdown API, so
   the menu gets Popper positioning and a correct aria-expanded state. This block
   only supplies the animation and the hover bridge. */
@keyframes macFadeDown {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (min-width: 992px) {
  .navbar-mac .dropdown-menu.show {
    animation: macFadeDown .28s var(--ease);
  }

  /* Invisible strip covering the gap between the nav link and the menu.
     Without it the pointer leaves the dropdown while travelling down and the
     menu closes before it can be reached. */
  .navbar-mac .dropdown-menu-mac::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -.5rem;      /* exactly the menu's margin-top — must not overlap the
                         nav link above, or it would swallow clicks on it */
    height: .5rem;
  }
}

.navbar-toggler {
  border: 0; padding: .35rem .5rem;
  color: var(--mac-maroon); font-size: 1.5rem;
}
.navbar-toggler:focus { box-shadow: none; }

/* ==========================================================================
   08. Hero / Carousel
   ========================================================================== */
.hero-carousel .carousel-item {
  height: 88vh;
  min-height: 540px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-carousel .carousel-item::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(56, 6, 9, .90) 0%, rgba(86, 9, 13, .72) 45%, rgba(20, 33, 61, .55) 100%);
}
.hero-caption {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; align-items: center;
  color: #fff;
}
.hero-caption h1 { color: #fff; margin-bottom: 1.2rem; }
.hero-caption p {
  color: rgba(255, 255, 255, .88);
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 2rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(224, 164, 25, .17);
  border: 1px solid rgba(224, 164, 25, .45);
  color: var(--mac-gold);
  font-size: .8rem; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase;
  padding: .45rem 1.1rem; border-radius: 50px;
  margin-bottom: 1.4rem;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 56px; height: 56px;
  top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  opacity: 1;
  margin: 0 1.2rem;
  transition: var(--transition);
}
.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover { background: var(--mac-gold); border-color: var(--mac-gold); }
.hero-carousel .carousel-indicators { bottom: 2rem; }
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 34px; height: 4px; border-radius: 4px;
  background: rgba(255, 255, 255, .45); border: 0;
}
.hero-carousel .carousel-indicators .active { background: var(--mac-gold); }

/* Quick info strip below hero */
.quick-info {
  margin-top: -60px;
  position: relative; z-index: 5;
}
.quick-info-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2rem 1.6rem;
  height: 100%;
  border-bottom: 4px solid transparent;
  transition: var(--transition);
}
.quick-info-card:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--mac-gold);
}
.quick-info-card .qi-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--mac-cream);
  color: var(--mac-maroon);
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  transition: var(--transition);
}
.quick-info-card:hover .qi-icon { background: var(--mac-maroon); color: var(--mac-gold); }
.quick-info-card h5 { margin-bottom: .5rem; }
.quick-info-card p { font-size: .92rem; color: var(--mac-muted); margin: 0; }

/* ==========================================================================
   09. Page Banner (inner pages)
   ========================================================================== */
.page-banner {
  position: relative;
  padding: 130px 0 110px;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  text-align: center;
  color: #fff;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: .6rem; }
.page-banner .breadcrumb {
  justify-content: center;
  margin: 0;
  background: transparent;
}
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a { color: rgba(255, 255, 255, .82); font-size: .92rem; }
.page-banner .breadcrumb-item a:hover { color: var(--mac-gold); }
.page-banner .breadcrumb-item.active { color: var(--mac-gold); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .5); }

/* ==========================================================================
   10. Section Headings
   ========================================================================== */
.section-head { margin-bottom: 3.2rem; }
.section-head .eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600;
  letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--mac-maroon);
  background: var(--mac-cream);
  padding: .35rem 1rem; border-radius: 50px;
  margin-bottom: .9rem;
}
.section-head h2 { margin-bottom: .8rem; }
.section-head p { color: var(--mac-muted); max-width: 680px; margin: 0 auto; }
.section-head.text-start p { margin-left: 0; }
.section-head .divider-gold { margin: 1rem auto 0; }
.section-head.text-start .divider-gold { margin-left: 0; }

.section-head-light .eyebrow { background: rgba(224, 164, 25, .18); color: var(--mac-gold); }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: rgba(255, 255, 255, .78); }

/* ==========================================================================
   11. Cards
   ========================================================================== */
/* -- Feature card -- */
.feature-card {
  background: #fff;
  border: 1px solid var(--mac-border);
  border-radius: var(--radius);
  padding: 2.2rem 1.7rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.feature-card::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mac-maroon), var(--mac-gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: transparent; }
.feature-card:hover::after { transform: scaleX(1); }
.feature-card .f-icon {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mac-cream);
  color: var(--mac-maroon);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}
.feature-card:hover .f-icon { background: var(--mac-maroon); color: var(--mac-gold); transform: rotate(-8deg); }
.feature-card p { font-size: .93rem; color: var(--mac-muted); margin: 0; }

/* -- Course card -- */
.course-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  height: 100%;
  display: flex; flex-direction: column;
  transition: var(--transition);
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.course-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.course-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.course-card:hover .course-thumb img { transform: scale(1.09); }
.course-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--mac-gold);
  color: #3a2a00;
  font-size: .72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 50px;
}
.course-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.course-meta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  font-size: .82rem; color: var(--mac-muted);
  margin-bottom: .7rem;
}
.course-meta i { color: var(--mac-gold); margin-right: .3rem; }
.course-body h5 { font-size: 1.2rem; margin-bottom: .55rem; }
.course-body h5 a { color: var(--mac-heading); }
.course-body h5 a:hover { color: var(--mac-maroon); }
.course-body p { font-size: .9rem; color: var(--mac-muted); flex: 1; }
.course-foot {
  border-top: 1px solid var(--mac-border);
  padding-top: 1rem; margin-top: .5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.course-fee { font-weight: 700; color: var(--mac-maroon); font-family: var(--font-head); }

/* Course filter buttons */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.6rem; }
.filter-btn {
  border: 1px solid var(--mac-border);
  background: #fff;
  color: var(--mac-body);
  font-size: .87rem; font-weight: 600;
  padding: .55rem 1.35rem; border-radius: 50px;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--mac-maroon); color: var(--mac-maroon); }
.filter-btn.active { background: var(--mac-maroon); border-color: var(--mac-maroon); color: #fff; }

/* -- Staff card -- */
.staff-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.staff-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.staff-photo { position: relative; overflow: hidden; aspect-ratio: 1 / 1; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.staff-card:hover .staff-photo img { transform: scale(1.08); }
.staff-social {
  position: absolute; left: 0; right: 0; bottom: -60px;
  display: flex; justify-content: center; gap: .5rem;
  padding: .9rem;
  background: linear-gradient(to top, rgba(86, 9, 13, .92), transparent);
  transition: bottom .4s var(--ease);
}
.staff-card:hover .staff-social { bottom: 0; }
.staff-social a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .16);
  color: #fff; font-size: .85rem;
}
.staff-social a:hover { background: var(--mac-gold); color: #3a2a00; }
.staff-body { padding: 1.35rem 1rem 1.6rem; }
.staff-body h5 { margin-bottom: .2rem; font-size: 1.12rem; }
.staff-role {
  font-size: .82rem; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--mac-gold-dark);
  margin-bottom: .5rem; display: block;
}
.staff-body p { font-size: .86rem; color: var(--mac-muted); margin: 0; }

/* -- Blog card -- */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  height: 100%;
  display: flex; flex-direction: column;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.08); }
.blog-date {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--mac-maroon);
  color: #fff; text-align: center;
  border-radius: var(--radius-sm);
  padding: .5rem .8rem; line-height: 1.1;
}
.blog-date .d { display: block; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; }
.blog-date .m { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; }
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: .8rem; color: var(--mac-muted); margin-bottom: .6rem; }
.blog-meta i { color: var(--mac-gold); margin-right: .3rem; }
.blog-meta span + span { margin-left: 1rem; }
.blog-body h5 { font-size: 1.16rem; margin-bottom: .55rem; }
.blog-body h5 a { color: var(--mac-heading); }
.blog-body h5 a:hover { color: var(--mac-maroon); }
.blog-body p { font-size: .9rem; color: var(--mac-muted); flex: 1; }

/* -- Event card -- */
.event-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.event-card .event-img { aspect-ratio: 4 / 3; overflow: hidden; height: 100%; }
.event-card .event-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event-card:hover .event-img img { transform: scale(1.07); }
.event-content { padding: 1.6rem; }
.event-day {
  display: inline-block;
  background: var(--mac-cream);
  border-left: 3px solid var(--mac-gold);
  color: var(--mac-maroon);
  font-weight: 700; font-size: .82rem;
  padding: .35rem .85rem; border-radius: 4px;
  margin-bottom: .8rem;
}
.event-info { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .84rem; color: var(--mac-muted); margin-bottom: .8rem; }
.event-info i { color: var(--mac-gold); margin-right: .35rem; }

/* Notice board */
.notice-board {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
}
.notice-head {
  background: var(--mac-maroon);
  color: #fff;
  padding: 1.1rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
}
.notice-head h5 { color: #fff; margin: 0; font-size: 1.1rem; }
.notice-list { list-style: none; margin: 0; padding: .6rem 1.4rem 1.4rem; max-height: 360px; overflow-y: auto; }
.notice-list li { padding: .85rem 0; border-bottom: 1px dashed var(--mac-border); }
.notice-list li:last-child { border-bottom: 0; }
.notice-list .n-date { font-size: .75rem; color: var(--mac-gold-dark); font-weight: 600; letter-spacing: .6px; }
.notice-list a { display: block; font-size: .92rem; font-weight: 500; color: var(--mac-heading); }
.notice-list a:hover { color: var(--mac-maroon); }
.badge-new {
  background: #d62828; color: #fff;
  font-size: .62rem; font-weight: 700;
  padding: .15rem .45rem; border-radius: 4px;
  vertical-align: middle; margin-left: .4rem;
  text-transform: uppercase; letter-spacing: .5px;
}

/* ==========================================================================
   12. Counters / Stats
   ========================================================================== */
.stats-section {
  position: relative;
  background-size: cover; background-position: center;
  padding: 90px 0;
  color: #fff;
}
.stats-section .container { position: relative; z-index: 2; }
.stat-box { text-align: center; padding: 1rem; }
.stat-box i { font-size: 2.4rem; color: var(--mac-gold); margin-bottom: .7rem; display: block; }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700; color: #fff; line-height: 1;
}
.stat-label {
  font-size: .86rem; letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  margin-top: .5rem;
}

/* ==========================================================================
   13. About / Mission / Why choose
   ========================================================================== */
.about-media { position: relative; }
.about-media .img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.about-media .img-float {
  position: absolute; right: -10px; bottom: -40px;
  width: 48%;
  border: 8px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.exp-badge {
  position: absolute; top: 24px; left: -24px;
  background: var(--mac-maroon);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.exp-badge .num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; line-height: 1; color: var(--mac-gold); }
.exp-badge .txt { font-size: .74rem; letter-spacing: 1.2px; text-transform: uppercase; }

.mv-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem;
  height: 100%;
  box-shadow: var(--shadow-xs);
  border-top: 4px solid var(--mac-maroon);
  transition: var(--transition);
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mv-card .mv-icon {
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: var(--mac-maroon); color: var(--mac-gold);
  font-size: 1.7rem; margin-bottom: 1.2rem;
}

.why-item { display: flex; gap: 1.1rem; margin-bottom: 1.9rem; }
.why-item .w-icon {
  flex: 0 0 52px; width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mac-cream); color: var(--mac-maroon);
  font-size: 1.3rem;
  transition: var(--transition);
}
.why-item:hover .w-icon { background: var(--mac-maroon); color: var(--mac-gold); }
.why-item h5 { margin-bottom: .35rem; font-size: 1.08rem; }
.why-item p { font-size: .9rem; color: var(--mac-muted); margin: 0; }

/* Progress skills */
.mac-progress { margin-bottom: 1.4rem; }
.mac-progress .p-label {
  display: flex; justify-content: space-between;
  font-size: .9rem; font-weight: 600;
  color: var(--mac-heading); margin-bottom: .4rem;
}
.mac-progress .progress { height: 8px; border-radius: 50px; background: var(--mac-border); }
.mac-progress .progress-bar {
  background: linear-gradient(90deg, var(--mac-maroon), var(--mac-gold));
  border-radius: 50px;
  width: 0;
  transition: width 1.6s var(--ease);
}

/* Principal message */
.principal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.principal-card .p-img { height: 100%; min-height: 320px; }
.principal-card .p-img img { width: 100%; height: 100%; object-fit: cover; }
.principal-quote {
  font-family: var(--font-head);
  font-size: 1.15rem; font-style: italic;
  color: var(--mac-heading);
  border-left: 4px solid var(--mac-gold);
  padding-left: 1.1rem;
  margin-bottom: 1.2rem;
}

/* ==========================================================================
   14. Testimonials
   ========================================================================== */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-xs);
  height: 100%;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-card .quote-mark {
  position: absolute; top: 1.2rem; right: 1.6rem;
  font-size: 3.4rem; line-height: 1;
  color: var(--mac-cream);
  font-family: var(--font-head);
}
.testimonial-card .t-stars { color: var(--mac-gold); margin-bottom: .9rem; font-size: .9rem; }
.testimonial-card .t-text {
  font-size: .95rem; color: var(--mac-body);
  position: relative; z-index: 2;
  margin-bottom: 1.4rem;
}
.t-author { display: flex; align-items: center; gap: .9rem; }
.t-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--mac-cream); }
.t-author h6 { margin: 0; font-size: 1rem; }
.t-author span { font-size: .8rem; color: var(--mac-muted); }

#testimonialCarousel .carousel-indicators { position: static; margin: 2.2rem 0 0; }
#testimonialCarousel .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--mac-border); border: 0; opacity: 1;
}
#testimonialCarousel .carousel-indicators .active { background: var(--mac-maroon); width: 28px; border-radius: 50px; }

/* ==========================================================================
   15. Gallery & Lightbox
   ========================================================================== */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(86, 9, 13, .85), transparent 65%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover::after { opacity: 1; }
.gallery-cap {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1rem;
  z-index: 2; color: #fff;
  opacity: 0; transform: translateY(12px);
  transition: var(--transition);
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: translateY(0); }
.gallery-cap h6 { color: #fff; margin: 0 0 .1rem; }
.gallery-cap span { font-size: .8rem; color: var(--mac-gold); }

#macLightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(12, 12, 16, .93);
  padding: 2rem;
}
#macLightbox.open { display: flex; }
#macLightbox img {
  max-width: 92vw; max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: macZoomIn .35s var(--ease);
}
@keyframes macZoomIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.2rem;
  transition: var(--transition);
}
.lb-btn:hover { background: var(--mac-gold); color: #3a2a00; border-color: var(--mac-gold); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   16. Timeline (history)
   ========================================================================== */
.timeline { position: relative; padding: 1rem 0; }
.timeline::before {
  content: "";
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; margin-left: -1px;
  background: linear-gradient(to bottom, var(--mac-gold), var(--mac-maroon));
}
.tl-item { position: relative; width: 50%; padding: 0 2.6rem 2.6rem 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 2.6rem 2.6rem; }
.tl-dot {
  position: absolute; top: 6px; right: -9px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--mac-maroon);
  z-index: 2;
}
.tl-item:nth-child(even) .tl-dot { right: auto; left: -9px; }
.tl-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.tl-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.tl-year {
  display: inline-block;
  background: var(--mac-maroon); color: var(--mac-gold);
  font-family: var(--font-head); font-weight: 700;
  padding: .2rem .8rem; border-radius: 50px;
  font-size: .9rem; margin-bottom: .6rem;
}
.tl-card p { font-size: .9rem; color: var(--mac-muted); margin: 0; }

/* ==========================================================================
   17. Accordion / FAQ
   ========================================================================== */
.accordion-mac .accordion-item {
  border: 1px solid var(--mac-border);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #fff;
}
.accordion-mac .accordion-button {
  font-family: var(--font-body);
  font-weight: 600; font-size: 1rem;
  color: var(--mac-heading);
  background: #fff;
  padding: 1.15rem 1.35rem;
  box-shadow: none;
}
.accordion-mac .accordion-button:not(.collapsed) {
  background: var(--mac-cream);
  color: var(--mac-maroon);
}
.accordion-mac .accordion-button::after {
  background: none;
  content: "\F4FE";
  font-family: "bootstrap-icons";
  font-size: 1rem; width: auto; height: auto;
  color: var(--mac-maroon);
  transform: none;
}
.accordion-mac .accordion-button:not(.collapsed)::after { content: "\F2EA"; transform: none; }
.accordion-mac .accordion-body { font-size: .93rem; color: var(--mac-muted); padding: 1.1rem 1.35rem 1.4rem; }

/* ==========================================================================
   18. Forms & Contact
   ========================================================================== */
.form-label { font-size: .88rem; font-weight: 600; color: var(--mac-heading); margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1px solid var(--mac-border);
  border-radius: var(--radius-sm);
  padding: .78rem 1rem;
  font-size: .94rem;
  color: var(--mac-heading);
  background: #fff;
  transition: var(--transition);
}
.form-control::placeholder { color: #adb2ba; }
.form-control:focus, .form-select:focus {
  border-color: var(--mac-maroon);
  box-shadow: 0 0 0 .2rem rgba(122, 15, 20, .1);
}
.form-control.is-invalid, .form-select.is-invalid { border-color: #d62828; }
.invalid-feedback { font-size: .8rem; }

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  height: 100%;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-card .c-icon {
  width: 62px; height: 62px; margin: 0 auto 1.1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mac-cream); color: var(--mac-maroon);
  font-size: 1.5rem;
  transition: var(--transition);
}
.contact-card:hover .c-icon { background: var(--mac-maroon); color: var(--mac-gold); }
.contact-card p { font-size: .92rem; color: var(--mac-muted); margin: 0; }
.contact-card a { color: var(--mac-body); }
.contact-card a:hover { color: var(--mac-maroon); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 440px; border: 0; filter: grayscale(.25); }

.form-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
}

.form-alert { display: none; }
.form-alert.show { display: block; }

/* Sidebar widgets (blog) */
.widget {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.8rem;
}
.widget-title {
  font-size: 1.15rem;
  padding-bottom: .8rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--mac-border);
  position: relative;
}
.widget-title::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 48px; height: 3px; background: var(--mac-gold);
}
.widget .cat-list { list-style: none; padding: 0; margin: 0; }
.widget .cat-list li { border-bottom: 1px dashed var(--mac-border); }
.widget .cat-list li:last-child { border: 0; }
.widget .cat-list a {
  display: flex; justify-content: space-between;
  padding: .6rem 0; font-size: .92rem;
  color: var(--mac-body); font-weight: 500;
}
.widget .cat-list a:hover { color: var(--mac-maroon); padding-left: .35rem; }
.recent-post { display: flex; gap: .9rem; padding: .8rem 0; border-bottom: 1px dashed var(--mac-border); }
.recent-post:last-child { border: 0; }
.recent-post img { width: 76px; height: 68px; object-fit: cover; border-radius: var(--radius-sm); flex: 0 0 76px; }
.recent-post h6 { font-size: .92rem; margin-bottom: .2rem; line-height: 1.4; }
.recent-post h6 a { color: var(--mac-heading); }
.recent-post h6 a:hover { color: var(--mac-maroon); }
.recent-post span { font-size: .76rem; color: var(--mac-muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-cloud a {
  font-size: .8rem; font-weight: 500;
  padding: .35rem .85rem; border-radius: 50px;
  background: var(--mac-light); color: var(--mac-body);
}
.tag-cloud a:hover { background: var(--mac-maroon); color: #fff; }

/* Article body */
.article-body h3, .article-body h4 { margin-top: 2rem; }
.article-body p { color: var(--mac-body); }
.article-body blockquote {
  background: var(--mac-cream);
  border-left: 4px solid var(--mac-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.4rem 1.6rem;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--mac-heading);
  margin: 1.8rem 0;
}

/* Pagination */
.pagination-mac { display: flex; gap: .5rem; justify-content: center; list-style: none; padding: 0; margin: 3rem 0 0; }
.pagination-mac a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--mac-border);
  color: var(--mac-body); font-weight: 600; font-size: .9rem;
}
.pagination-mac a:hover, .pagination-mac a.active {
  background: var(--mac-maroon); border-color: var(--mac-maroon); color: #fff;
}

/* ==========================================================================
   19. Newsletter & CTA
   ========================================================================== */
.cta-band {
  position: relative;
  background-size: cover; background-position: center;
  padding: 90px 0;
  color: #fff;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .82); margin-bottom: 0; }

.newsletter-form { position: relative; max-width: 520px; }
.newsletter-form .form-control {
  border-radius: 50px;
  padding: 1rem 9.5rem 1rem 1.4rem;
  border: 0;
}
.newsletter-form .btn {
  position: absolute; right: 5px; top: 5px; bottom: 5px;
  padding: 0 1.6rem;
}

/* ==========================================================================
   20. Footer
   ========================================================================== */
.mac-footer {
  background: #1a0508;
  background-image: linear-gradient(160deg, #2a080c 0%, #14090b 100%);
  color: rgba(255, 255, 255, .68);
  padding-top: 80px;
  font-size: .92rem;
}
.mac-footer h5 {
  color: #fff; font-size: 1.12rem;
  margin-bottom: 1.4rem; position: relative; padding-bottom: .7rem;
}
.mac-footer h5::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 42px; height: 3px; background: var(--mac-gold);
}
.mac-footer a { color: rgba(255, 255, 255, .68); }
.mac-footer a:hover { color: var(--mac-gold); }
.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.2rem; }
.footer-brand .brand-title { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .5); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .62rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-links a i { font-size: .7rem; color: var(--mac-gold); transition: transform .3s var(--ease); }
.footer-links a:hover i { transform: translateX(3px); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: 1rem; }
.footer-contact i { color: var(--mac-gold); font-size: 1.05rem; margin-top: .2rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.footer-social a:hover { background: var(--mac-gold); color: #3a2a00; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 60px; padding: 1.4rem 0;
  font-size: .86rem;
}
.footer-bottom p { margin: 0; }

/* ==========================================================================
   21. Animations
   ========================================================================== */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ==========================================================================
   22. Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
  .navbar-mac .navbar-nav .nav-link { padding: .7rem .7rem !important; font-size: .9rem; }
  .brand-text .brand-title { font-size: 1.02rem; }
}

@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .section-sm { padding: 54px 0; }

  .navbar-mac .navbar-collapse {
    background: #fff;
    margin-top: .8rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: .6rem;
    max-height: 74vh;
    overflow-y: auto;
  }
  .navbar-mac .navbar-nav .nav-link::after { display: none; }
  .navbar-mac .navbar-nav .nav-link {
    padding: .75rem .9rem !important;
    border-bottom: 1px solid var(--mac-border);
  }
  .navbar-mac .navbar-nav .nav-item:last-child .nav-link { border-bottom: 0; }
  .dropdown-menu-mac { box-shadow: none; border-top: 0; background: var(--mac-light); margin: .35rem 0 .5rem !important; }

  .hero-carousel .carousel-item { height: 74vh; min-height: 460px; }
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next { display: none; }

  .quick-info { margin-top: 3rem; }

  .about-media { margin-bottom: 4rem; }
  .about-media .img-float { width: 42%; right: 0; bottom: -32px; }
  .exp-badge { left: 0; }

  .timeline::before { left: 8px; }
  .tl-item, .tl-item:nth-child(even) {
    width: 100%; margin-left: 0;
    padding: 0 0 2.2rem 2.6rem;
  }
  .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 0; right: auto; }

  .principal-card .p-img { min-height: 280px; }
  .form-panel { padding: 1.8rem; }
}

@media (max-width: 767.98px) {
  body { font-size: .95rem; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 2.4rem; }

  .topbar { text-align: center; }
  .topbar .topbar-list { justify-content: center; gap: 1rem; row-gap: .2rem; }

  .hero-carousel .carousel-item { height: auto; min-height: 0; padding: 110px 0 90px; }
  .hero-caption { display: block; }
  .hero-caption p { font-size: .98rem; }

  .cta-band { padding: 60px 0; text-align: center; }
  .newsletter-form { margin: 1.6rem auto 0; }

  .stats-section { padding: 60px 0; }
  .stat-box { padding: .6rem; }

  .page-banner { padding: 100px 0 80px; }
  .map-wrap iframe { height: 320px; }
  .form-panel { padding: 1.4rem; }
  .mac-footer { padding-top: 60px; }
  .mac-footer .footer-col { margin-bottom: 2.2rem; }
}

@media (max-width: 575.98px) {
  .brand-mark { width: 44px; height: 44px; flex: 0 0 44px; font-size: .95rem; }
  .brand-text .brand-title { font-size: .92rem; }
  .brand-text .brand-sub { font-size: .6rem; letter-spacing: 1.1px; }
  .btn { padding: .7rem 1.5rem; font-size: .88rem; }
  .newsletter-form .form-control { padding: 1rem 1.4rem; }
  .newsletter-form .btn { position: static; width: 100%; margin-top: .7rem; padding: .8rem; }
  .about-media .img-float { display: none; }
  .filter-bar { gap: .45rem; }
  .filter-btn { padding: .45rem 1rem; font-size: .8rem; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* Print */
@media print {
  .topbar, .mac-header, .mac-footer, #backToTop, #preloader { display: none !important; }
  body { color: #000; }
}
