/**
* Template Name: Folio
* Template URL: https://bootstrapmade.com/folio-bootstrap-portfolio-template/
* Updated: Aug 08 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* MADE Mirage is the official AUT headline font per brand guidelines, self-hosted via
     assets/css/fonts.css. Playfair Display stays as a fallback in case the local font
     file fails to load for any reason. */
  --heading-font: "MADE Mirage", "Playfair Display", serif;
  --nav-font: "Satoshi", sans-serif;
}

/* AUT Brand Palette - exact values from the 2024 Brand Guidelines colour code page.
   Keep this in sync with the same block in assets/css/club-request.css. */
:root {
  --aut-green: #003432;
  --aut-magenta: #80003A;
  --aut-blue: #2C43DE;
  --aut-brown: #A87026;
  --aut-black: #21201E;
  --aut-sage: #CCEFBA;
  --aut-lilac: #DBC7FE;
  --aut-aqua: #AADED9;
  --aut-ivory: #F0EFE3;
  --aut-yellow: #E3FF70;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #55534f; /* Default color used for the majority of the text content across the entire website - darkened from the template's default #898989 for WCAG AA contrast on white */
  --heading-color: var(--aut-black); /* Color for headings, subheadings and title throughout the website */
  --accent-color: var(--aut-magenta); /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255, 255, 255, 0.6);  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #55534f; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: var(--aut-magenta); /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: var(--aut-ivory);
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: var(--aut-green);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #0a4b48;
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# Bootstrap Component Overrides
# Bootstrap's compiled .btn-primary / focus-ring / checked-state rules
# hardcode its default blue (#0d6efd) rather than reading --bs-primary,
# so every Bootstrap-driven control needs an explicit override here to
# match the AUT brand colour instead.
--------------------------------------------------------------*/
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--aut-magenta);
  --bs-btn-border-color: var(--aut-magenta);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #660030;
  --bs-btn-hover-border-color: #660030;
  --bs-btn-focus-shadow-rgb: 128, 0, 58;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #570029;
  --bs-btn-active-border-color: #570029;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--aut-magenta);
  --bs-btn-disabled-border-color: var(--aut-magenta);
}

.btn-outline-primary {
  --bs-btn-color: var(--aut-magenta);
  --bs-btn-border-color: var(--aut-magenta);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--aut-magenta);
  --bs-btn-hover-border-color: var(--aut-magenta);
  --bs-btn-focus-shadow-rgb: 128, 0, 58;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--aut-magenta);
  --bs-btn-active-border-color: var(--aut-magenta);
  --bs-btn-disabled-color: var(--aut-magenta);
  --bs-btn-disabled-border-color: var(--aut-magenta);
}

.text-primary { color: var(--aut-magenta) !important; }
.bg-primary { background-color: var(--aut-magenta) !important; }
.border-primary { border-color: var(--aut-magenta) !important; }

.form-control:focus,
.form-select:focus {
  border-color: #c78aa8;
  box-shadow: 0 0 0 0.25rem rgba(128, 0, 58, 0.25);
}

.form-check-input:checked {
  background-color: var(--aut-magenta);
  border-color: var(--aut-magenta);
}

.form-check-input:focus {
  border-color: #c78aa8;
  box-shadow: 0 0 0 0.25rem rgba(128, 0, 58, 0.25);
}

.page-link {
  color: var(--aut-magenta);
}

.page-item.active .page-link {
  background-color: var(--aut-magenta);
  border-color: var(--aut-magenta);
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

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

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 58px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
   --background-color: rgba(128, 0, 58, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Solid header for inner pages
   (pages without a dark hero image need an always-visible
   header, not transparent-until-scroll) */
.header.header-solid {
  background-color: rgba(128, 0, 58, 0.97) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08); /* lighter than before - the old
    0 4px 20px/.15 shadow read as a heavy dark band under the header,
    especially on plain white inner pages like council-member.php */
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    /* Fills the space between logo and edge, then centers the links within it. */
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    margin-left: 16px;
  }

  .navmenu ul {
    margin: 0;
    margin-right: 60px; /* nudges the centered link group left of dead-center, toward the logo */
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 11px; /* tighter than the 16px default - the logged-in nav has 4 extra
                            links (Employability/Events & News/Leaderboard/Feedback), and
                            at 16px the full row no longer fit next to the account avatar
                            at common laptop widths (1280-1366px) */
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Auth section (Sign In / My Dashboard + Logout) - sits outside the
   centered .navmenu so it pins to the header's right edge instead of
   being swept into the centered link group. Desktop only (shown via
   Bootstrap's d-none/d-xl-flex on the element itself); the same links
   also appear inside the mobile dropdown panel for small screens. */
.nav-auth {
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.nav-auth-link {
  color: var(--nav-color);
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: 0.3s;
}

.nav-auth-link:hover,
.nav-auth-link.active {
  color: var(--nav-hover-color);
}

/* Account avatar + dropdown (logged-in state) - replaces the separate
   "My Dashboard" / "Logout" links with a single round avatar pinned to
   the header's right edge; Dashboard/Logout live inside its dropdown. */
.nav-account {
  display: flex;
  align-items: center;
}

.nav-account-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.nav-account-toggle::after {
  display: none; /* no caret - the avatar alone signals "clickable menu" */
}

.nav-account-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--nav-font);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: 0.3s;
}

.nav-account-toggle:hover .nav-account-avatar,
.nav-account-toggle[aria-expanded="true"] .nav-account-avatar {
  border-color: #fff;
}

.nav-account-menu {
  min-width: 200px;
  padding: 8px 0;
  border: none;
  border-radius: 8px;
  margin-top: 14px !important;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
}

.nav-account-name {
  padding: 6px 18px 4px;
  margin: 0;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--aut-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.nav-account-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--nav-dropdown-color);
}

.nav-account-menu .dropdown-item:hover,
.nav-account-menu .dropdown-item.active {
  color: var(--nav-dropdown-hover-color);
  background: color-mix(in srgb, var(--accent-color), transparent 94%);
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 80px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 56px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: rgba(0,0,0,0.45);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 400;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--aut-brown, #A87026);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
  color: white;

  margin-right: 15px;
  border-radius: 50%;

  background: rgba(128, 0, 58, 0.65);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255,255,255,0.35);

  box-shadow:
    0 4px 15px rgba(0,0,0,0.35);

  transition: all 0.3s ease;
}


.hero .social-links a:hover {
  background: white;
  color: #80003A;

  transform: translateY(-5px);

  box-shadow:
    0 8px 25px rgba(0,0,0,0.45);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }
}


/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}


/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}


/* ==========================
   EVENTS SECTION
========================== */

.event-card {
  background: #fff;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all 0.3s ease;

  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.event-image {
  position: relative;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: .4s;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.photo-count {
  position: absolute;
  right: 15px;
  bottom: 15px;
  background: rgba(0,0,0,.8);
  color: white;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
}

.event-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.event-category {
  color: #80003A;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-date {
  color: #999;
  font-weight: 500;
}

.event-content h3 {
  font-size: 32px;
  margin-bottom: 15px;
  min-height: 80px;
}

.event-content h3 a {
  color: #222;
}

.event-content h3 a:hover {
  color: #80003A;
}

.event-arrow {
  color: #80003A;
  font-size: 28px;
  margin-top: auto;
}

.event-arrow:hover {
  color: #660030;
}


/* ===== Club Cards ===== */

.testimonial-item{
    background:#fff;
    border-radius:22px;
    padding:28px 24px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    border:1px solid #eef1f5;
    transition:.35s;

    display:flex;
    flex-direction:column;
    align-items:center;

    height:500px;          
}

.testimonial-item:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.club-logo{
    width:85px !important;
    height:85px !important;
    object-fit:contain;
    margin-bottom:18px;
}

.club-title{
    font-family:"MADE Mirage","Playfair Display",serif;
    font-size:25px;
    font-weight:700;
    color:#1f1e1e;
    text-align:center;
    line-height:1.3;

    min-height:56px;       /* Keeps titles aligned */
    margin-bottom:10px;
}

.club-category{
    color:var(--aut-brown);
    text-transform:uppercase;
    font-size:12px;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:12px;
}

.club-divider{
    width:90px;
    margin:0 auto 18px;
}

.club-divider span{
    display:block;
    height:2px;
    background:var(--aut-brown);
    position:relative;
}

.club-divider span::after{
    content:"";
    width:8px;
    height:8px;
    background:var(--aut-brown);
    border-radius:50%;
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
}

.club-description{
    color:#5d6778;
    font-size:15px;
    line-height:1.75;
    text-align:center;

    height:180px;          /* SAME space for every description */
    overflow:hidden;

    margin-bottom:24px;
}

.btn-club{
    margin-top:auto;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;

    width:100%;
    height:52px;

    background:var(--aut-brown);
    color:#fff !important;
    border-radius:12px;

    text-decoration:none;
    font-size:18px;
    font-weight:700;

    transition:.3s;
}

.btn-club:hover{
    background:#8f5f1f;
    color:#fff;
    transform:translateY(-2px);
}

.btn-club i{
    transition:.3s;
}

.btn-club:hover i{
    transform:translateX(5px);
}
.testimonials .swiper-pagination{
    position: relative;
    margin-top: 30px;
}

/* ===============================
   Student Initiative Section
==================================*/

.initiative-section{

    padding:90px 0;
    background:#fff;

}

.initiative-section img{
width: 95%;
    border-radius:22px;
    transition:.4s;
}

.initiative-section img:hover{

    transform:scale(1.02);

}

.initiative-badge{

    display:inline-block;

    background:color-mix(in srgb, var(--aut-brown), white 85%);

    color:var(--aut-brown);

    font-size:13px;

    font-weight:700;

    letter-spacing:2px;

    padding:8px 18px;

    border-radius:30px;

    margin-bottom:18px;

}

.initiative-section h2{

    font-size:42px;

    font-weight:700;

    color:#1f1f1f;

    margin-bottom:20px;

}

.initiative-text{

    font-size:18px;

    line-height:1.9;

    color:#6b7280;

    margin-bottom:30px;

}

.initiative-features{

    margin-bottom:35px;

}

.initiative-features div{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:15px;

    font-size:17px;

    font-weight:500;

}

.initiative-features i{

    color:var(--aut-brown);

    font-size:22px;

}

.btn-initiative{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:16px 34px;

    background:#80003A;

    color:#fff;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.btn-initiative:hover{

    background:#990047;

    color:#fff;

    transform:translateY(-3px);

    box-shadow:0 12px 30px rgba(128,0,58,.25);

}

.btn-initiative i{

    transition:.3s;

}

.btn-initiative:hover i{

    transform:translateX(5px);

}

@media(max-width:992px){

.initiative-section{

    text-align:center;

}

.initiative-features div{

    justify-content:center;

}

.initiative-section h2{

    font-size:34px;

}

}

/*--------------------------------------------------------------
# Inner Page Layout Helper
--------------------------------------------------------------*/

/* Offset for pages that use the fixed header but don't have a
   full-height hero to clear it (Leaderboard, News, Council, etc.) */
.page-content-wrap {
  padding-top: 100px;
}
