/**
* Template Name: bldeacopjkd
* Template URL: https://bldeacopjkd.ac.in/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */

@import url("https://fonts.googleapis.com/css2?family=Chivo:wght@300;400;700;900&display=swap");

:root {
  --default-font: "Chivo", 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";
  --heading-font: "Chivo", sans-serif;
  --nav-font: "Chivo", sans-serif;
}

/* 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: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2c4964; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1977cc; /* 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: #32404d; /* The default color of the main navmenu links */
  --nav-hover-color: #1977cc; /* 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: #2c4964; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1977cc; /* 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: #f1f7fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* 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);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(
    var(--accent-color) 50%,
    color-mix(in srgb, var(--accent-color), transparent 75%) 52%
  );
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* 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 {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {
  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  /* max-height: 36px; */
  margin-right: 8px;
  margin-top: 13px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .h1,
  h1 {
    font-size: 2.2rem;
  }

  /* .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  } */

  .navmenu > ul {
    margin: 0 auto; /* center horizontally */
    padding: 0;
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;
    list-style: none;
    max-width: 100%; /* optional, keeps the menu within container */
  }

  .navmenu li {
    position: relative;
  }

  .navmenu > ul > li {
    white-space: nowrap;
    padding: 5px 14px;
  }

  .navmenu > ul > li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 16px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .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: 100%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}

@media (min-width: 1200px) {
    .navmenu .dropdown .dropdown ul {
        right: auto;
        left: 100%;
    }
}

/*.navmenu .dropdown .dropdown ul {*/
/*    top: 0;*/
/*    left: 100%;*/
/*    visibility: hidden;*/
/*}*/

/*.navmenu .dropdown .dropdown:hover > ul {*/
/*    opacity: 1;*/
/*    top: 0;*/
/*    left: 100%;*/
/*    visibility: visible;*/
/*}*/

/* Edge case: if submenu overflows right side of screen */
/*@media (min-width: 1200px) {*/
/*    .navmenu .dropdown .dropdown ul {*/
/*        right: auto;*/
/*        left: 100%;*/
/*    }*/
/*}*/

/* Mobile Navigation */
@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);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .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);
    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);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 15px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# 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);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li + li {
  padding-left: 10px;
}

.page-title nav ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 30px;
  position: relative;
}

.section-title h2 {
color: #32404d;
    font-size: 30px;
    display: block;
    font-weight: 600;
    line-height: 1.2;
  position: relative;
}

/*.section-title h2:before {*/
/*  content: "";*/
/*  position: absolute;*/
/*  display: block;*/
/*  width: 160px;*/
/*  height: 1px;*/
/*  background: color-mix(in srgb, var(--default-color), transparent 60%);*/
/*  left: 0;*/
/*  right: 0;*/
/*  bottom: 1px;*/
/*  margin: auto;*/
/*}*/

/*.section-title h2::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  display: block;*/
/*  width: 60px;*/
/*  height: 3px;*/
/*  background: var(--accent-color);*/
/*  left: 0;*/
/*  right: 0;*/
/*  bottom: 0;*/
/*  margin: auto;*/
/*}*/

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: calc(100vh - 112px);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .container {
  z-index: 3;
}

.hero .welcome h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero .welcome p {
  font-size: 24px;
  margin: 0;
}

.hero .content {
  margin-top: 40px;
}

.hero .content .why-box {
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 30px;
  border-radius: 4px;
}

.hero .content .why-box h3 {
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.hero .content .why-box p {
  margin-bottom: 30px;
}

.hero .content .why-box .more-btn {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 80%);
  display: inline-block;
  padding: 6px 30px 8px 30px;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.hero .content .why-box .more-btn i {
  font-size: 14px;
}

.hero .content .why-box .more-btn:hover {
  background: var(--surface-color);
  color: var(--accent-color);
}

.hero .content .icon-box {
  text-align: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
}

.hero .content .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
}

.hero .content .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 20px 0;
}

.hero .content .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h1 {
  font-size: 2rem;
  font-weight: 700;
}

.about img {
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.about .content ul i {
  flex-shrink: 0;
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
}

.about .content ul h5 {
  font-size: 18px;
  font-weight: 700;
}

.about .content ul p {
  font-size: 15px;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  border: 2px solid var(--background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: var(--surface-color);
  margin-top: -27px;
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 32px;
  display: block;
  margin: 10px 0;
  font-weight: 700;
  color: var(--heading-color);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item:hover .icon::before {
  background: color-mix(in srgb, var(--background-color), transparent 70%);
}

.services .service-item:hover h3,
.services .service-item:hover p {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Appointment Section
--------------------------------------------------------------*/
.appointment .php-email-form {
  width: 100%;
}

.appointment .php-email-form .form-group {
  padding-bottom: 8px;
}

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
  color: var(--default-color);
  background-color: transparent;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
  border-color: var(--accent-color);
}

.appointment .php-email-form input::placeholder,
.appointment .php-email-form textarea::placeholder,
.appointment .php-email-form select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.appointment .php-email-form input,
.appointment .php-email-form select {
  height: 44px;
}

.appointment .php-email-form textarea {
  padding: 10px 12px;
}

.appointment .php-email-form button[type="submit"] {
  background: var(--accent-color);
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.appointment .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments {
  overflow: hidden;
}

.departments .nav-tabs {
  border: 0;
}

.departments .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.departments .nav-link:hover {
  color: var(--accent-color);
}

.departments .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: var(--background-color);
}

.departments .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.departments .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.departments .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.departments .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .departments .nav-link {
    border: 0;
    padding: 15px;
  }

  .departments .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 5px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

@media (max-width: 468px) {
  .doctors .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.doctors .team-member .pic {
  overflow: hidden;
  width: 150px;
  border-radius: 50%;
  flex-shrink: 0;
}

.doctors .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.doctors .team-member:hover {
  transform: translateY(-10px);
}

.doctors .team-member .member-info {
  padding-left: 30px;
}

@media (max-width: 468px) {
  .doctors .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.doctors .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.doctors .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.doctors .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  bottom: 0;
  left: 0;
}

@media (max-width: 468px) {
  .doctors .team-member span::after {
    left: calc(50% - 25px);
  }
}

.doctors .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.doctors .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .doctors .team-member .social {
    justify-content: center;
  }
}

.doctors .team-member .social a {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.doctors .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.doctors .team-member .social a:hover {
  background: var(--accent-color);
}

.doctors .team-member .social a:hover i {
  color: var(--contrast-color);
}

.doctors .team-member .social a + a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.faq .faq-container .faq-active h3,
.faq .faq-container .faq-active h3:hover {
  color: var(--contrast-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .info h3 {
  font-weight: 700;
  font-size: 32px;
}

.testimonials .swiper {
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
  background-color: var(--surface-color);
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 200px;
  position: relative;
  margin: 30px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  margin-right: 10px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
  border: none;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 767px) {
  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    margin: 15px;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item + .info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(
    in srgb,
    var(--background-color),
    transparent 50%
  );
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 36px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Featured Courses Section
--------------------------------------------------------------*/
.featured-courses .course-card {
  background: var(--surface-color);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-courses .course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px
    color-mix(in srgb, var(--default-color), transparent 85%);
}

.featured-courses .course-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.featured-courses .course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-courses .course-image:hover img {
  transform: scale(1.05);
}

.featured-courses .course-image .badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-courses .course-image .badge.featured {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.featured-courses .course-image .badge.new {
  background: #28a745;
  color: white;
}

.featured-courses .course-image .badge.certificate {
  background: #ffc107;
  color: #212529;
}

.featured-courses .course-image .badge.popular {
  background: #ff6b35;
  color: white;
}

.featured-courses .course-image .price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--heading-color);
  color: var(--contrast-color);
  padding: 8px 15px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
}

.featured-courses .course-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-courses .course-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.featured-courses .course-meta span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 15px;
  font-weight: 500;
}

.featured-courses .course-meta span.level {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
}

.featured-courses .course-meta span.duration {
  background: color-mix(in srgb, var(--heading-color), transparent 85%);
  color: var(--heading-color);
}

.featured-courses h3 {
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 1.3;
}

.featured-courses h3 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-courses h3 a:hover {
  color: var(--accent-color);
}

.featured-courses p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.featured-courses .instructor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.featured-courses .instructor .instructor-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.featured-courses .instructor .instructor-info h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
}

.featured-courses .instructor .instructor-info span {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.featured-courses .course-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-top: 15px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.featured-courses .course-stats .rating {
  display: flex;
  align-items: center;
  gap: 3px;
}

.featured-courses .course-stats .rating i {
  color: #ffc107;
  font-size: 12px;
}

.featured-courses .course-stats .rating span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 12px;
  margin-left: 8px;
  font-weight: 500;
}

.featured-courses .course-stats .students {
  display: flex;
  align-items: center;
  gap: 5px;
}

.featured-courses .course-stats .students i {
  color: var(--accent-color);
  font-size: 14px;
}

.featured-courses .course-stats .students span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 12px;
  font-weight: 500;
}

.featured-courses .btn-course {
  display: inline-block;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
}

.featured-courses .btn-course:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.featured-courses .more-courses {
  margin-top: 50px;
}

.featured-courses .more-courses .btn-more {
  display: inline-block;
  background: transparent;
  color: var(--accent-color);
  padding: 15px 40px;
  border: 2px solid var(--accent-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.featured-courses .more-courses .btn-more:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .featured-courses .course-image {
    height: 200px;
  }

  .featured-courses .course-content {
    padding: 20px;
  }

  .featured-courses h3 {
    font-size: 18px;
  }

  .featured-courses .course-stats {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/*======================================
    Portfolio CSS
========================================*/
.portfolio-section {
  background-color: #fff;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .portfolio-section .section-title {
    margin-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .portfolio-section .section-title {
    margin-bottom: 40px;
  }
}

.portfolio-section .portfolio-btn-wrapper {
  margin-bottom: 0;
  /* text-align: center; */
}

.portfolio-button-head {
  width: 100%;
  height: 100%;
  position: relative;
}

.portfolio-section .grid {
  margin-top: 0px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .portfolio-section .grid {
    margin-top: 50px;
  }
}

@media (max-width: 767px) {
  .portfolio-section .grid {
    margin-top: 40px;
  }
}

.portfolio-section .portfolio-btn-wrapper button {
  padding: 7px 20px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  color: #051441;
  border-radius: 30px;
  margin-right: 10px;
  margin-bottom: 10px;
  -webkit-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  background: transparent;
  border: 1px solid #eee;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-section .portfolio-btn-wrapper button:hover {
  background-color: #32404d;
  border-color: transparent;
  color: #fff;
}

.portfolio-section .portfolio-btn-wrapper button.active {
  background: #2894f5 !important;
  color: #fff;
  border-color: transparent;
}

.portfolio-section .portfolio-btn-wrapper button:last-child {
  margin-right: 0;
}

.portfolio-item-wrapper {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #f2f2f2;
  padding: 20px;
}

.portfolio-item-wrapper .portfolio-img {
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.portfolio-item-wrapper .portfolio-img::before {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  background-color: #723fe4;
  height: 100%;
  width: 100%;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

.portfolio-item-wrapper:hover .portfolio-img::before {
  opacity: 0.9;
  visibility: visible;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
}

.portfolio-item-wrapper .portfolio-img img {
  width: 100%;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.portfolio-item-wrapper:hover .portfolio-img img {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.portfolio-section .pf-content {
  position: absolute;
  left: 0;
  bottom: 0;
  text-align: left;
  padding: 30px;
  z-index: 9;
  height: 100%;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 9;
}

.portfolio-section .pf-content .more-icon {
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #fff;
  border-radius: 50%;
  font-size: 15px;
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #723fe4;
}

.portfolio-section .pf-content .more-icon:hover {
  background-color: #fff;
  color: #723fe4;
  border-color: transparent;
}

.portfolio-section .pf-content .category {
  font-size: 13px;
  padding: 3px 12px;
  background-color: #fff;
  border-radius: 30px;
  color: #081828;
  font-weight: 400;
  -webkit-transform: translateY(-30px);
  transform: translateY(-30px);
  display: inline-block;
  margin-bottom: 12px;
}

.portfolio-section .pf-content h4 a {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  -webkit-transform: translateY(-50px);
  transform: translateY(-50px);
}

.portfolio-section .pf-content h4 a:hover {
  opacity: 0.8;
}

.portfolio-item-wrapper:hover .pf-content {
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.portfolio-item-wrapper:hover .pf-content .category {
  -webkit-transform: none;
  transform: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.portfolio-item-wrapper:hover .pf-content h4 a {
  -webkit-transform: none;
  transform: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* Portfolio Details */
.portfolio-details .content {
  -webkit-box-shadow: 0px 1px 20px 0px rgba(32, 32, 32, 0.11);
  box-shadow: 0px 1px 20px 0px rgba(32, 32, 32, 0.11);
  border-radius: 8px;
  overflow: hidden;
}

.portfolio-details .content .inner-content {
  padding: 40px;
}

@media (max-width: 767px) {
  .portfolio-details .content .inner-content {
    padding: 25px;
  }
}

.portfolio-details .content .meta-info {
  margin-top: 40px;
}

.portfolio-details .content .meta-info ul {
  border: 1px solid #eee;
  border-radius: 8px;
  display: inline-block;
  padding: 25px 0;
}

@media (max-width: 767px) {
  .portfolio-details .content .meta-info ul {
    width: 100%;
  }
}

.portfolio-details .content .meta-info ul li {
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  color: #081828;
  border-right: 1px solid #eee;
  padding: 0px 30px;
}

@media (max-width: 767px) {
  .portfolio-details .content .meta-info ul li {
    display: block;
    border: none;
    margin-bottom: 20px;
  }
  .portfolio-details .content .meta-info ul li:last-child {
    margin: 0;
  }
}

.portfolio-details .content .meta-info ul li:last-child {
  border: none;
}

.portfolio-details .content .meta-info ul li span {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  display: block;
  color: #888;
}

.portfolio-details .content .meta-info ul li .button .btn {
  position: relative;
  margin-top: -28px;
}

@media (max-width: 767px) {
  .portfolio-details .content .meta-info ul li .button .btn {
    margin: 0;
  }
}

.portfolio-details .content .category {
  color: #888;
  font-weight: 600;
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
}

@media (max-width: 767px) {
  .portfolio-details .content .category {
    font-size: 13px;
  }
}

.portfolio-details .content img {
  width: 100%;
}

.portfolio-details .content .title {
  font-size: 28px;
  font-weight: 700;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .portfolio-details .content .title {
    font-size: 25px;
  }
}

@media (max-width: 767px) {
  .portfolio-details .content .title {
    font-size: 20px;
    line-height: 28px;
  }
}

.portfolio-details .content .sub-title {
  font-size: 25px;
  font-weight: 700;
  margin: 25px 0;
}

@media (max-width: 767px) {
  .portfolio-details .content .sub-title {
    font-size: 20px;
    margin: 20px 0;
  }
}

.portfolio-details .content .min-title {
  font-size: 22px;
  font-weight: 700;
  margin: 25px 0;
}

@media (max-width: 767px) {
  .portfolio-details .content .min-title {
    font-size: 20px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px),
  (max-width: 767px) {
  .portfolio-details .content .min-title {
    margin: 20px 0;
  }
}

.portfolio-details .content p {
  display: block;
  margin: 20px 0;
  line-height: 24px;
}

.portfolio-details .content p:first-child {
  margin-top: 0;
}

.portfolio-details .content p:last-child {
  margin-bottom: 0;
}

.portfolio-details .content .image-block {
  margin: 40px 0;
}

.portfolio-details .content .image-block img {
  width: 100%;
}

@media (max-width: 767px) {
  .portfolio-details .content .image-block img {
    margin: 15px 0;
  }
}

.portfolio-details .content .grid-list p {
  padding-right: 50px;
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.hero-swiper .swiper {
  width: 100vw;
  height: 70vh;
  max-height: 70vh;
  overflow: hidden;
}

.hero-swiper .swiper-slide {
  width: 100vw;
  height: 70vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-swiper .hero-caption {
  background: rgba(0, 0, 0, 0.35);
  padding: 2rem 2.5rem;
  border-radius: 1rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.85);
}

/* Responsive adjustments for smaller devices */
@media (max-width: 768px) {
  .hero-swiper .hero-caption {
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }
  .hero-swiper .swiper,
  .swiper-slide {
    height: 45vh;
    max-height: 45vh;
  }
}

.head-txt {
  margin-top: 15px;
}

.head-txt a {
  color: #32404d;
}

.know-more {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  /* margin: 0 0 0 30px; */
  border-radius: 50px;
  transition: 0.3s;
}

.know-more:hover,
.know-more:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.title-h1 h1 {
 color: #32404d;
    font-size: 30px;
    display: block;
    font-weight: 600;
    line-height: 1.2;
}

.president .border-rights {
  border-right: 1px solid #ddd;
  padding-right: 25px;
}

.president .notifications {
  padding-left: 25px;
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-top: 9px;
}

.bullets p {
  display: flex;
  /* align-items: center; */
  gap: 0.5rem;
  color: #777777;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  font-family: "Chivo", sans-serif;
}

.bullets p i {
  color: #2894f5;
}

.logo-span-txt {
  font-size: 22px;
}

.legacy img {
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.president img {
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/*.bg-section {*/
/*  position: relative;*/
/*  height: 30vh;*/
/*  background-size: cover;*/
/*  background-size: 100%;*/
/*  background-position: center;*/
/*  background-repeat: no-repeat;*/
/*  transition: background-size 0.6s ease;*/
/*  padding: 50px;*/
/*}*/

.bg-section {
  position: relative;
  height: 30vh;                    /* desktop: fixed 30% of viewport height */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 50px;
}

.bg-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
  z-index: 0;
}

.bg-section:hover::before {
  transform: scale(1.1);
}

.bg-section > * {
  position: relative;
  z-index: 1;
}

/* Tablet */
@media (max-width: 768px) {
  .bg-section {
    height: auto;                  /* let aspect-ratio control height */
    aspect-ratio: 4 / 3;
    padding: 30px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .bg-section {
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 20px;
  }
}

.inner-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: white;
  padding: 20px 20px 0px 20px;
  text-align: left;
}

.inner-overlay h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.breadcrumb-arrows .list-inline-item a {
  color: #fff;
}

.breadcrumb-arrows .list-inline-item::after {
  content: "\F280";
  margin: 0px 0px 0px 10px;
  color: #ffffff;
  font-size: 14px;
  top: 2px;
  position: relative;
  font-family: "bootstrap-icons";
}
.breadcrumb-arrows .list-inline-item:last-child::after {
  content: "";
}

p {
  margin-bottom: 1.6rem;
}

p:last-child {
  margin-bottom: 0 !important;
}

.service-details .service-sidebar .quick-info-card {
  /* background-color: var(--surface-color); */
  border-radius: 15px;
  padding: 2rem 2rem 0.8rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

/*.service-details .service-sidebar .quick-info-card .info-grid .info-row {*/
/*  display: flex;*/
/*  justify-content: space-between;*/
/*  align-items: center;*/
/*  padding: 1rem 0;*/
/*  border-bottom: 1px solid*/
/*    color-mix(in srgb, var(--default-color), transparent 92%);*/
/*}*/

/* Remove border-bottom from the last .info-row */
.service-details
  .service-sidebar
  .quick-info-card
  .info-grid
  .info-row:last-child {
  border-bottom: none;
}

.service-details .service-sidebar .quick-info-card .info-grid .info-row .label {
  color: var(--default-color);
  /* font-weight: 500; */
  font-size: 0.95rem;
}
.service-details .service-sidebar {
  /* position: sticky;
  top: 120px; */
  position: sticky;
  top: 100px;
  height: fit-content;
}

.quick-info-card a {
  color: #484848;
  font-size: 17px;
}

.service-sidebar a.sub-active {
    color: var(--accent-color);
    border-left: 4px solid #0d6efd;
    padding: 5px 10px;
    border-radius: 5px;
}

.quick-info-card a:hover {
  color: #2894f5;
}

.quick-info-card h4 {
  color: #2894f5;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.3rem;
  font-weight: 500;
}
/* .inner-page-content h2 {
  color: #1977cc;
  font-family: var(--heading-font);
  font-size: 1.8rem;
} */

/*.browse-btn {*/
/*  color: var(--accent-color);*/
/*  font-weight: 500;*/
/*  font-size: 17px;*/
/*  position: relative;*/
/*  display: inline-block;*/
/*}*/

/*.browse-btn::before {*/
/*  position: absolute;*/
/*  content: "";*/
/*  background: var(--accent-color);*/
/*  width: 100%;*/
/*  height: 2px;*/
/*  bottom: -7px;*/
/*}*/

/*.browse-btn:hover {*/
/*  color: var(--accent-color);*/
/*  letter-spacing: 1px;*/
/*}*/

.browse-btn {
    display: inline-block;
    padding: 9px 30px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-decoration: none;
    border-radius: 42px;
    position: relative;
    overflow: hidden;
    color: #fff !important;
    background: #0d6efd;
    border: 2px solid #0d6efd;
    transition: all 0.3s ease;
}

.browse-btn .arrow {
    display: inline-block;
    margin-left: 0px;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.3s ease;
}

.browse-btn:hover .arrow {
    opacity: 1;
    transform: translateX(5px);
    margin-left: 4px;
}

.section-tittle h1 {
  color: #32404d;
  font-size: 32px;
  display: block;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  text-transform: uppercase;
  /* font-family: "Chivo-Mono", monospace; */
}

.section-tittle h2 {
  color: #32404d;
  font-size: 30px;
  display: block;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
  /* text-transform: uppercase; */
  /* font-family: "Chivo-Mono", monospace; */
}

.sub-section-tittle-h2 h2 {
  color: #32404d;
  font-size: 22px;
  display: block;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
}

.section-tittle h3 {
  color: var(--accent-color);
  font-size: 22px;
  display: block;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
  /* text-transform: uppercase; */
  /* font-family: "Chivo-Mono", monospace; */
}

.section-tittle-h3 h3 {
  color: var(--accent-color);
  font-size: 22px;
  display: block;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}

.section-tittle p {
  color: #777777;
  /* font-size: 16px; */
  font-weight: 400;
  line-height: 1.5;
  font-family: "Chivo", sans-serif;
  padding-bottom:10px;
}

.section-bg {
  background: #fcf2eb;
}

.about-img 
{
   position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px color-mix(in srgb, var(--default-color), transparent 88%); 
}

.about-area .about-img.about-img1 img {
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
      width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-area .about-img.about-img1 img:hover
{
        transform: scale(1.08);
}

.hr-theme-slash-2 {
  display: flex;
}

.hr-line {
  width: 100%;
  position: relative;
  margin: 15px;
  border-bottom: 1px solid #ddd;
}

.hr-icon {
  position: relative;
  top: 3px;
  color:#0d6efd;
}

#navmenu a.main-active {
  background-color: #e32f40;
  color: #ffffff !important;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #222;
  color: white;
  padding: 15px;
  text-align: center;
}
#cookie-banner button {
  margin-left: 15px;
  padding: 8px 15px;
  background-color: #4caf50;
  border: none;
  color: white;
  cursor: pointer;
}

/*** Header carousel ***/
@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  font-size: 22px;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.padding-left-right {
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
}

.navmenu .dropdown ul,
.navmenu .dropdown ul li {
  list-style: none;
}

/*--------------------------------------------------------------
# Media Query Section
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .h4,
  h4 {
    font-size: 1.4rem;
            color: #00a650;
  }
}
@media only screen and (max-width: 600px) {
  .head-txt {
    text-align: center;
    margin-top: 0px;
    font-size: 18px;
  }

  .padding-left-right {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .header .branding {
    min-height: 60px;
    padding: 0px 0;
  }

  .president .notifications {
    padding-left: 0px;
  }
}

* Event Tabs Styling */
.event-tabs {
  border-bottom: none;
  gap: 10px;
}

.event-tabs .nav-link {
  border: 1px solid #dee2e6;
  padding: 10px 30px;
  border-radius: 30px;
  color: #6c757d;
  font-weight: 500;
  transition: all 0.3s ease;
}

.event-tabs .nav-link:hover {
  background-color: #f8f9fa;
  border-color: #0d6efd;
}

.event-tabs .nav-link.active {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

/* Event Card Styling */
.course-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.course-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-content h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.4;
}

.course-content h3 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.course-content h3 a:hover {
  color: #0d6efd;
}

.section-tittle p {
  color: #6c757d;
  margin-bottom: 15px;
  line-height: 1.6;
  text-align: justify;
}

/* Event Date Badge */
.event-date {
  background: #0d6efd;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 10px;
}

/* Past Event Badge */
.past-event-badge {
  background: #6c757d;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 10px;
}

/* Event Status */
.event-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.status-badge {
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-upcoming {
  background: #d1e7dd;
  color: #0f5132;
}

.status-ongoing {
  background: #fff3cd;
  color: #856404;
}

.status-past {
  background: #f8d7da;
  color: #721c24;
}

.btn-course {
  display: inline-block;
  padding: 8px 20px;
  background: #0d6efd;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  margin-top: auto;
  text-align: center;
}

.btn-course:hover {
  background: #0b5ed7;
  color: #fff;
}

/* No Events Message */
.no-events {
  text-align: center;
  padding: 40px;
  color: #6c757d;
  font-size: 1.1rem;
}

/* Loading Spinner */
.loading-spinner {
  text-align: center;
  padding: 40px;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
  color: #0d6efd;
}

.short-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* For better cross-browser support */
  max-height: calc(1.7em * 4); /* Fallback for non-webkit browsers */
  line-height: 1.5em; /* Adjust based on your font size */
}

/* ─ Tab Bar ──── */
.events-tab-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 0 40px;
  flex-wrap: wrap;
}

.events-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 50px;
  border: 2px solid #dee2e6;
  background: #fff;
  color: #6c757d;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
}
.events-tab-btn:hover {
  border-color: #adb5bd;
  color: #343a40;
}
.events-tab-btn.active {
  background: var(--accent-color, #2d6a4f);
  border-color: var(--accent-color, #2d6a4f);
  color: #fff;
}
.events-tab-btn .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.15);
}
.events-tab-btn:not(.active) .tab-count {
  background: #e9ecef;
  color: #495057;
}

/* ─ Tab Panels ──── */
.events-panel {
  display: none;
}
.events-panel.active {
  display: block;
}

/*  Past-event card overlay ─── */
.course-image {
  position: relative;
}
.past-stamp {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.past-stamp span {
  background: rgba(0, 0, 0, 0.65);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/*  Empty State ── */
.events-empty {
  text-align: center;
  padding: 60px 24px;
  color: #6c757d;
  width: 100%;
}
.events-empty i {
  font-size: 2.8rem;
  opacity: 0.35;
  display: block;
  margin-bottom: 14px;
}

.events-btn {
  display: inline-block;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
}

.events-btn:hover {
  color: #57a5eb;
}

.carousel-inner img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* PDF List */
.pdf-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdf-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e8eef3;
  border-left: 4px solid #0d6efd;
  border-radius: 6px;
  padding: 14px 18px;
  gap: 12px;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.pdf-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.pdf-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.pdf-number {
  font-weight: 600;
  color: #6c757d;
  font-size: 14px;
  min-width: 20px;
  flex-shrink: 0; /* FIX: prevents number from being crushed */
}

.pdf-icon {
  color: #dc3545;
  font-size: 20px;
  flex-shrink: 0;
}

.pdf-title {
  font-size: 15px;
  font-weight: 500;
  color: #1a2b3c;
  /* Desktop: single line with ellipsis */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Action Buttons */
.pdf-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap; /* FIX: prevents button text from wrapping */
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.btn-view {
  background: #e8f0fe;
  color: #0d6efd;
  border: 1px solid #b8d0fb;
}

.btn-view:hover {
  background: #0d6efd;
  color: #fff;
}

.btn-download {
  background: #e8f5e9;
  color: #198754;
  border: 1px solid #a8d5b5;
}

.btn-download:hover {
  background: #198754;
  color: #fff;
}

/* Empty state */
.no-files {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
}

.no-files i {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
  color: #ced4da;
}

/* Responsive */
@media (max-width: 768px) {
  .pdf-title {
    font-size: 14px;
  }

  .btn-action {
    padding: 6px 10px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .pdf-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pdf-info {
    width: 100%;
  }

  .pdf-title {
    /* FIX: allow title to wrap on small screens */
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    font-size: 14px;
  }

  .pdf-actions {
    width: 100%;
  }

  .btn-action {
    flex: 1;
    justify-content: center;
  }
}

/*  Filter Buttons  */
.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 2px solid #dee2e6;
  border-radius: 30px;
  background: #fff;
  color: #495057;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.gallery-filter-btn:hover {
  border-color: #0d6efd;
  color: #0d6efd;
  background: #eaf1ff;
}
.gallery-filter-btn.active {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
}
.gallery-filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.gallery-filter-btn:not(.active) .filter-count {
  background: #e9ecef;
  color: #6c757d;
}

/*  Category Title  */
.gallery-category-title {
  font-size: 18px;
  font-weight: 600;
  color: #1c2e42;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e4ecf3;
}

/*  Gallery Item Card  */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  background: #f0f4f8;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.08);
}

/*  Overlay on hover  */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 110, 253, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 12px;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay i {
  font-size: 28px;
  color: #fff;
}
.gallery-caption {
  font-size: 12px;
  color: #fff;
  text-align: center;
  font-weight: 500;
  line-height: 1.4;
}

/* ─ Category block fade-in  */
.gallery-category-block {
  animation: fadeInBlock 0.3s ease;
}
@keyframes fadeInBlock {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================================================
   NOTIFICATIONS MODAL  notifications.css
   Include AFTER Bootstrap 5.2.3
   ============================================================ */

/* ─ CSS variables ──────────── */
:root {
  --notif-surface : #ffffff;
  --notif-card    : #f8f9fa;
  --notif-border  : #dee2e6;
  --notif-accent  : #0d6efd;
  --notif-accent2 : #6f42c1;
  --notif-danger  : #dc3545;
  --notif-muted   : #6c757d;
  --notif-text    : #212529;
  --notif-radius  : 12px;
}

/*  Floating bell button ────── */
.notif-btn {
  position: fixed;
  top: 19%;
  right: 18px;
  z-index: 1050;
  padding: 0;
  background: var(--notif-accent);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(13, 110, 253, 0.45);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.notif-btn:hover {
  background: #0b5ed7;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(13, 110, 253, 0.55);
}

/* Bell ring animation */
@keyframes bell-ring {
  0%,  100% { transform: rotate(0);      }
  15%        { transform: rotate(18deg);  }
  30%        { transform: rotate(-16deg); }
  45%        { transform: rotate(12deg);  }
  60%        { transform: rotate(-8deg);  }
  75%        { transform: rotate(4deg);   }
}
.notif-btn i {
  animation: bell-ring 2.2s ease-in-out 1.2s 1;
}

/* ─ Badge counter ─────────── */
.notif-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  background: var(--notif-danger);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  line-height: 1;
}

/*  Modal z-index ────────── */
#notifModal {
  z-index: 99999 !important;
}
.modal-backdrop {
  z-index: 99998 !important;
}

/*  Modal dialog ────────── */
#notifModal .modal-dialog {
  max-width: 900px;              /* increased width */
  width: calc(100% - 32px);     /* never touches screen edges */
  margin: 80px auto 40px;
  max-height: none !important;
}

#notifModal .modal-dialog.modal-dialog-scrollable {
  max-height: none !important;
}
#notifModal .modal-dialog.modal-dialog-scrollable .modal-content {
  max-height: none !important;
  overflow: visible !important;
}
#notifModal .modal-dialog.modal-dialog-scrollable .modal-body {
  overflow-y: visible !important;
  max-height: none !important;
}

/* ─ Modal content ────────── */
#notifModal .modal-content {
  border: 1px solid var(--notif-border);
  border-radius: var(--notif-radius);
  overflow: visible;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/*  Modal header ─────────── */
#notifModal .modal-header {
  background: var(--notif-card);
  border-bottom: 1px solid var(--notif-border);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#notifModal .modal-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--notif-text);
  margin: 0;
  flex: 1;
  order: 1;
}

#notifModal .modal-header .btn-close {
  padding: 0;
  margin: 0;
  width: 24px;
  height: 24px;
  background-size: 12px;
  opacity: 0.6;
  flex-shrink: 0;
  order: 2;                      /* always pinned to the right */
}
#notifModal .modal-header .btn-close:hover {
  opacity: 1;
}

/* ─ Modal body ────────── */
#notifModal .modal-body {
  overflow: visible;
  padding: 1.25rem 1.4rem;
  background: var(--notif-surface);
}

/*  Modal footer ────────── */
#notifModal .modal-footer {
  background: var(--notif-card);
  border-top: 1px solid var(--notif-border);
  padding: 0.75rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/*  Month badge ────────── */
.month-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 110, 253, 0.08);
  border: 1px solid rgba(13, 110, 253, 0.2);
  color: var(--notif-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 0.9rem;
}

/*  Notification list ────────── */
.notif-list {
  max-height: none !important;
  overflow-y: visible !important;
  padding-right: 0;
}

/*  Single notification row ─────── */
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--notif-card);
  border: 1px solid var(--notif-border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--notif-text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.notif-item:last-child {
  margin-bottom: 0;
}
.notif-item:hover {
  border-color: var(--notif-accent);
  box-shadow: 0 3px 12px rgba(13, 110, 253, 0.12);
  transform: translateX(3px);
  color: var(--notif-text);
  text-decoration: none;
}

/*  Icon pill ───────── */
.icon-pill {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.icon-pill.image { background: rgba(111, 66, 193, 0.12); color: var(--notif-accent2); }
.icon-pill.pdf   { background: rgba(220, 53, 69, 0.12);  color: var(--notif-danger);  }

/*  Row text ────────── */
.notif-meta {
  flex: 1;
  min-width: 0;
}

.notif-type-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
  line-height: 1;
}
.notif-type-tag.image { color: var(--notif-accent2); }
.notif-type-tag.pdf   { color: var(--notif-danger);  }

.notif-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--notif-text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-desc {
  font-size: 0.77rem;
  color: var(--notif-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-date {
  font-size: 0.71rem;
  color: var(--notif-muted);
  margin-top: 3px;
  white-space: nowrap;
}

/*  External-link arrow ────────── */
.dl-chip {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--notif-muted);
  margin-top: 2px;
  transition: color 0.2s;
}
.notif-item:hover .dl-chip {
  color: var(--notif-accent);
}

/*  Image thumbnail ───────── */
.notif-img-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--notif-border);
  background: var(--notif-card);
}
.notif-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.notif-item:hover .notif-thumb {
  transform: scale(1.08);
}

/*  Stacked notification item ────────── */
.notif-item-stacked {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--notif-border);
  margin-bottom: 12px;
  text-decoration: none;
  color: var(--notif-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.notif-item-stacked:last-child {
  margin-bottom: 0;
}
.notif-item-stacked:hover {
  border-color: var(--notif-accent);
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.12);
  color: var(--notif-text);
  text-decoration: none;
  transform: none !important;
}

/*  Full image ────────── */
.notif-full-img-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.notif-full-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.notif-item-stacked:hover .notif-full-img {
  transform: scale(1.02);
}

/*  Stacked meta ─────────── */
.notif-item-stacked .notif-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 2px;
}
.notif-item-stacked .dl-chip {
  align-self: flex-end;
  margin-top: 2px;
}

/* ─ Coming Soon ───────────── */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.2rem 1rem;
  gap: 10px;
}
.coming-soon .cs-icon {
  font-size: 2.8rem;
  color: var(--notif-accent);
  animation: float-icon 3s ease-in-out infinite;
}
@keyframes float-icon {
  0%,  100% { transform: translateY(0);    }
  50%        { transform: translateY(-8px); }
}
.coming-soon h6 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0;
  color: var(--notif-text);
}
.coming-soon p {
  font-size: 0.8rem;
  color: var(--notif-muted);
  margin: 0;
  max-width: 230px;
  line-height: 1.55;
}
.cs-pulse {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.cs-pulse span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--notif-accent);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.cs-pulse span:nth-child(2) {
  animation-delay: 0.2s;
  background: var(--notif-accent2);
}
.cs-pulse span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes pulse-dot {
  0%,  80%, 100% { transform: scale(0.65); opacity: 0.45; }
  40%             { transform: scale(1);    opacity: 1;    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large screens  full 900px width */
@media (min-width: 992px) {
  #notifModal .modal-dialog {
    max-width: 900px;
  }
}

/* Medium screens */
@media (max-width: 991px) {
  #notifModal .modal-dialog {
    max-width: 720px;
    width: calc(100% - 32px);
    margin: 70px auto 30px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  #notifModal .modal-dialog {
    max-width: 100%;
    width: calc(100% - 24px);
    margin: 60px 12px 20px;
  }

  #notifModal .modal-body {
    padding: 1rem 1.1rem;
  }

  .notif-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .icon-pill {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .notif-img-wrap {
    width: 50px;
    height: 50px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  #notifModal .modal-dialog {
    width: calc(100% - 16px);
    margin: 50px 8px 16px;
  }

  #notifModal .modal-header {
    padding: 0.85rem 1rem;
  }

  #notifModal .modal-body {
    padding: 0.85rem 0.9rem;
  }

  #notifModal .modal-footer {
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
    gap: 8px;
  }

  .notif-title,
  .notif-desc {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .notif-title {
    font-size: 0.85rem;
    line-height: 1.35;
  }

  .notif-desc {
    font-size: 0.74rem;
    line-height: 1.4;
  }

  .notif-item {
    padding: 10px;
    gap: 8px;
  }

  .icon-pill {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .notif-img-wrap {
    width: 44px;
    height: 44px;
  }

  .month-badge {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .notif-btn {
    width: 44px;
    height: 44px;
    font-size: 1.13rem;
    top:195px;
    right: 21px;
  }

  .dl-chip {
    font-size: 0.8rem;
  }
}

@media (max-width: 575.98px) {
    .cust-img-logo
    {
        width:80px;
    }
}
/* Sidebar main links */
.quick-info-card .info-grid .info-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.quick-info-card .info-grid .info-row:last-child {
    border-bottom: none;
}

/* Label (Departments, Faculty etc.) */
/*.quick-info-card .info-grid .info-row .label a {*/
/*    font-weight: 600;*/
/*    font-size: 15px;*/
/*    color: #32404d;*/
/*    text-decoration: none;*/
/*    display: block;*/
/*    transition: color 0.3s ease;*/
/*}*/

.quick-info-card .info-grid .info-row .label a:hover {
    color: #1977cc;
}

/* Departments Submenu */
.dept-submenu {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 8px;
    padding-left: 12px;
}

/* Submenu Links */
.dept-submenu a {
    color: #555;
    font-size: 14px;
    text-decoration: none;
    padding: 6px 10px;
    border-left: 2px solid #ddd;
    margin-bottom: 2px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 0 4px 4px 0;
}

.dept-submenu a:hover {
    color: #1977cc;
    border-left: 2px solid #1977cc;
    background-color: #f0f7ff;
    padding-left: 14px;
}

/* Active current page link */
.dept-submenu a.sub-active {
    color: #1977cc;
    border-left: 3px solid #1977cc;
    background-color: #e8f3ff;
    padding-left: 14px;
    font-weight: 500;
}

    .accordion-button:not(.collapsed) {
            background-color: #e7f1ff;
            color: #0c63e4;
        }
        
        .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        }
        
        /* Custom styling for better appearance */
        .facility-icon {
            font-size: 1.5rem;
            margin-right: 10px;
            color: #0d6efd;
        }
        
        .accordion-item {
            border: none;
            margin-bottom: 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            border-radius: 8px !important;
            overflow: hidden;
        }
        
        .accordion-button {
            padding: 1.2rem 1.5rem;
            font-weight: 600;
            background-color: #f8f9fa;
        }
        
        .accordion-button:focus {
            box-shadow: none;
            border-color: rgba(13,110,253,0.25);
        }
        
        .accordion-body {
            padding: 1.5rem;
            background-color: white;
        }
/* ===== TOP QUICK-ACCESS NAVBAR ===== */
.tqn { background: #1a3a5c; border-bottom: 2px solid #0f2540; padding: 0; }
.tqn .navbar-collapse { justify-content: center; }
.tqn .navbar-nav { align-items: stretch; }
.tqn .nav-link {
    color: rgba(255,255,255,.82) !important;
    font-size: 13px;
    padding: 10px 13px !important;
    border-right: 1px solid rgba(255,255,255,.1);
    transition: background .18s, color .18s;
    display: flex; align-items: center; gap: 5px;
    white-space: nowrap;
}
.tqn .nav-item:first-child .nav-link { border-left: 1px solid rgba(255,255,255,.1); }
.tqn .nav-link:hover,
.tqn .nav-link.active { color: #fff !important; background: rgba(255,255,255,.13); }

/* Active state for top-level nav link */
.tqn .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.13);
    border-bottom: 2px solid #c8a04a;
}

.tqn .nav-link i { font-size: 12px; }

/* Level-1 dropdown */
.tqn .dropdown-menu {
    background: #fff;
    border: none;
    border-top: 2px solid #c8a04a;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    padding: 4px 0;
    min-width: 210px;
    margin-top: 0 !important;
}
.tqn .dropdown-item {
    font-size: 13px; padding: 8px 16px;
    color: #1a2d40;
    display: flex; align-items: center; justify-content: space-between;
}
.tqn .dropdown-item:hover { background: #eaf3ff; color: #1a3a5c; }

/* Active state for dropdown items */
.tqn .dropdown-item.active {
    background: #eaf3ff;
    color: #1a3a5c !important;
    font-weight: 600;
}

/* Level-2 & Level-3 flyout submenus */
.tqn .dropdown-submenu { position: relative; }
.tqn .dropdown-submenu > .dropdown-menu {
    display: none;
    top: 0; left: 100%;
    margin-top: -4px !important;
    border-top: 2px solid #c8a04a;
}
.tqn .dropdown-submenu:hover > .dropdown-menu { display: block; }
.tqn .dropdown-submenu > .dropdown-item::after {
    content: ""; margin-left: auto;
    font-size: 15px; opacity: .55;
}

/* Toggler */
.tqn .navbar-toggler { border: 1px solid rgba(255,255,255,.35); padding: 5px 10px; margin: 4px 0; }
.tqn .navbar-toggler-icon { filter: brightness(0) invert(1); width: 18px; height: 18px; }

/* ---- Mobile ---- */
@media (max-width: 991.98px) {
    .tqn .navbar-nav { width: 100%; }
    .tqn .nav-item:first-child .nav-link { border-left: none; }
    .tqn .nav-link { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding: 10px 16px !important; }

    /* Remove gold bottom border on mobile for active nav link */
    .tqn .nav-link.active { border-bottom: 1px solid rgba(255,255,255,.08); }

    .tqn .dropdown-menu {
        background: #122c47; border-top: none;
        border-left: 3px solid #c8a04a;
        box-shadow: none; border-radius: 0;
    }
    .tqn .dropdown-item { color: rgba(255,255,255,.8); padding: 8px 24px; }
    .tqn .dropdown-item:hover { background: rgba(255,255,255,.08); color: #fff; }

    /* Mobile active dropdown item */
    .tqn .dropdown-item.active {
        background: rgba(200,160,74,.15);
        color: #fff !important;
        font-weight: 600;
    }

    .tqn .dropdown-submenu > .dropdown-menu {
        position: static; display: none;
        margin: 0 !important;
        background: #0d2035;
        border-left: 3px solid rgba(200,160,74,.5);
    }
    .tqn .dropdown-submenu > .dropdown-menu.show { display: block; }
    .tqn .dropdown-submenu > .dropdown-item::after { content: ""; }
    .tqn .dropdown-submenu .dropdown-submenu > .dropdown-menu {
        background: #091826;
        border-left: 3px solid rgba(200,160,74,.3);
    }
}
/* ===== END TOP QUICK-ACCESS NAVBAR ===== */
        
/* ─ Carousel Item ── */
.header-carousel .owl-carousel-item {
    height: 600px;
    overflow: hidden;
    position: relative;
}

/* ─ Picture tag must fill the item ── */
.header-carousel .owl-carousel-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* ── Base image styles — NO fade ─ */
.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ─ Active slide — Ken Burns only ── */
.header-carousel .owl-item.active img {
    animation: kenBurns 8s ease-in-out forwards;
}

/* ─ Ken Burns animation ── */
@keyframes kenBurns {
    0%   { 
        transform: scale(1);
        object-position: center bottom;
    }
    100% { 
        transform: scale(1.1);
        object-position: center top;
    }
}

/* ── Mobile ── */
@media (max-width: 767px) {
    .header-carousel .owl-carousel-item {
        height: 280px;
    }

    .header-carousel .owl-item.active img {
        animation-duration: 6s;
    }
}

.home-about .image-grid {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    height: 500px;
}

.home-about .image-grid .primary-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px 
 color-mix(in srgb, var(--default-color), transparent 88%);
}

.home-about .image-grid .primary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.home-about .image-grid .secondary-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.home-about .image-grid .secondary-images .small-image {
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    box-shadow: 0 15px 40px 
 color-mix(in srgb, var(--default-color), transparent 92%);
}

.home-about .image-grid .secondary-images .small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home-about .image-grid .primary-image:hover img {
    transform: scale(1.08);
}

.home-about .image-grid .secondary-images .small-image:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .home-about .image-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 1rem;
    }
    
    .header-carousel .owl-nav
    {
        display:none;
    }
    
    .section-tittle h1 {
        text-align:center;
        font-size: 30px;
    }
}

