/* Fonts */
:root {
  --default-font: "Poppins", "Kaushan script", sans-serif, "Roboto", "Montseratt";
  --heading-font: "Poppins",  sans-serif;
  --nav-font: "Poppins",  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: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #32353a; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #091665; /* 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: #091665;  /* The default color of the main navmenu links */
  --nav-hover-color: #fe0002; /* 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: #3a3939; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #fe0002; /* 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: #E7F6FF;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: none;
  --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);
}

/* Global responsive images */
img {
  max-width: 100%;
  height: auto;
}

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

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

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

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

.header .logo span {
  color: var(--accent-color);
  font-size: 24px;
  font-weight: 600;
  padding-left: 3px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 15px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 4px;
  transition: 0.5s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted: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 .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
    font-size: 13px;
  }

  .header .navmenu {
    order: 3;
  }
}

@media (max-width: 576px) {
  .header .logo h1 {
    font-size: 16px;
  }
  
  .header .btn-getstarted {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 400px) {
  .header .btn-getstarted {
    padding: 6px 12px;
    font-size: 11px;
    margin-right: 8px;
  }
  
  .header .logo h1 {
    font-size: 14px;
  }
  
  .header .logo img {
    max-height: 35px;
  }
}

.scrolled .header {
  box-shadow: 0 0 30px 10px rgba(216, 4, 4, 0.1);
}

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
  --heading-color: #ffffff;
  --nav-color: rgba(255, 255, 255, 0.5);
  --nav-hover-color: #ffffff;
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: #ffffff;
  --heading-color: #32353a;
  --nav-color: #3a3939;
  --nav-hover-color: #e84545;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 17px;
    font-family: 'Poppins';
    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;
    transition: 0.3s;
  }

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

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #9B0A0A;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 60px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.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: #091665;
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: #c70e10;
  border-color: #c70e10;
}

.footer h4 {
  font-size: 16px;
  color: #9B0A0A;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

#envelope {
  margin-right: 5px;
  font-family: 'Poppins';
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  color: #091e9c;
  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 20%);
  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;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/* Footer responsive styles */
@media (max-width: 768px) {
  .footer .footer-about .logo img {
    max-height: 50px;
  }
  
  .footer .footer-about .logo span {
    font-size: 24px;
  }
  
  .footer h4 {
    font-size: 14px;
  }
  
  .footer .footer-about p {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .footer .footer-top {
    padding-top: 30px;
  }
  
  .footer .footer-about {
    text-align: center;
  }
  
  .footer .footer-about .logo {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  
  .footer .footer-about .logo img {
    max-height: 60px;
    margin-bottom: 10px;
    margin-right: 0;
  }
  
  .footer .footer-about p {
    text-align: center;
  }
  
  .footer .social-links {
    justify-content: center;
  }
  
  .footer .footer-contact {
    text-align: center !important;
  }
}

/*--------------------------------------------------------------
# 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(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  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: 98px;
  overflow: clip;
}

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
}

.section-title h2:before {
  margin: 0 15px 10px 0;
}

.section-title h2:after {
  margin: 0 0 10px 15px;
}

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

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

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

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

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

.hero h2 {
  font-family: "Poppins";
  margin: 0;
  font-size: 75px;
  font-weight: 500;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-family: 'Poppins';
  margin: 5px 0 0 0;
  font-size: 16px;
}

/*--------------------------------------------------------------
# Hero Buttons
--------------------------------------------------------------*/
.hero .btn-volunteer {
  color: #091665;
  background: #FEFEFE;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 30px 10px 30px;
  border-radius: 7px;
  transition: 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .btn-donate {
  color: var(--contrast-color);
  background: #0025bb;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 18px;
  padding: 8px 30px 10px 30px;
  border-radius: 7px;
  transition: 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .btn-volunteer+.btn-donate {
  margin-left: 20px;
}

.hero .btn-volunteer:hover {
  background: #0025bb;
  color: #fe0002;
}

.hero .btn-donate:hover {
  background: #FEFEFE;
  color: #fe0002;
}

.hero .btn-volunteer i {
  font-size: 16px;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-volunteer {
  font-size: 20px;
  padding: 8px 20px 10px 20px;
}

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

  .hero p {
    font-size: 18px;
  }
  
  .hero .d-flex.mt-4 {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center !important;
  }
  
  .hero .btn-volunteer,
  .hero .btn-donate {
    font-size: 14px;
    padding: 10px 20px;
    min-width: 120px;
    text-align: center;
  }
  
  .hero .btn-volunteer+.btn-donate {
    margin-left: 0;
  }
}

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

  .hero p {
    font-size: 14px;
  }
  
  .hero .d-flex.mt-4 {
    flex-direction: row;
    justify-content: center !important;
    gap: 8px;
  }
  
  .hero .btn-volunteer,
  .hero .btn-donate {
    font-size: 13px;
    padding: 10px 16px;
    min-width: 110px;
    flex: 0 1 auto;
  }
  
  .hero .btn-volunteer+.btn-donate {
    margin-left: 0;
  }
}

@media (max-width: 360px) {
  .hero .d-flex.mt-4 {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .hero .btn-volunteer,
  .hero .btn-donate {
    width: 80%;
    max-width: 200px;
    font-size: 14px;
    padding: 12px 20px;
  }
}

/*--------------------------------------------------------------
# Founded Section
--------------------------------------------------------------*/
.group-1352,
.group-1352 * {
  box-sizing: border-box;
}

.group-1352 {
  position: relative;
}

.rectangle-67 {
  background: #fefefe;
  border-radius: 25px;
  width: 100%;
  max-width: 1240px;
  height: auto;
  min-height: 250px;
  padding: 20px;
  margin: 0 auto;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.25);
}

.House-of-refuge {
  color: #353535;
  text-align: left;
  font-family: "Poppins";
  font-size: 14px;
  font-weight: 500;
  padding: 20px;
}

._1-removebg-preview-1 {
  max-width: 320px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.founded-on-hope {
  color: #091e9c;
  text-align: left;
  font-family: "KaushanScript";
  font-size: 36px;
  line-height: 1.5;
  font-weight: 400;
  padding: 20px 0;
}

@media (max-width: 992px) {
  .rectangle-67 {
    padding: 15px;
  }
  
  .founded-on-hope {
    font-size: 28px;
  }
  
  ._1-removebg-preview-1 {
    max-width: 200px;
  }
}

@media (max-width: 576px) {
  .founded-on-hope {
    font-size: 22px;
    text-align: center;
  }
  
  .House-of-refuge {
    font-size: 13px;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .section-title h4 {
  font-family: 'Poppins';
  font-size: 30px;
  margin-bottom: 0px;
  color: #9B0A0A;
}

.about h2 {
  font-family: 'Poppins';
}

.about h3 {
  color: #9B0A0A;
  margin-left: -1px;
  font-family: 'Kaushan Script';
  font-weight: 900;
  font-size: 250px;
  margin-bottom: 20px;
}

.about p {
  font-family: "Poppins";
  font-size: 17px;
  margin-top: 0.100px;
}

#Caring {
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
}

.about .section-title span {
  color: #091665;
}

.continue {
  color: #ffc107;
}

#globe {
  margin-left: 80px;
  margin-bottom: 50px;
  max-width: 100%;
  height: auto;
}

#kids {
  border-radius: 3px;
  box-shadow: 10px 10px 1px #25AAE2;
  width: 100%;
  max-width: 600px;
  height: auto;
}

/* Responsive images for mobile */
@media (max-width: 768px) {
  #globe {
    margin-left: 0;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  #kids {
    box-shadow: 5px 5px 1px #25AAE2;
  }
  
  .about h3 {
    font-size: 150px;
  }
}

@media (max-width: 576px) {
  #globe {
    margin-bottom: 20px;
  }
  
  .about h3 {
    font-size: 100px;
  }
  
  .about .section-title h4 {
    font-size: 24px;
  }
  
  #Caring {
    font-size: 20px;
  }
}

.about .btn-join {
  color: #F8F8F8;
  background: #9B0A0A;
  font-family: var(--heading-font);
  font-weight: 500;
  float: left;
  font-size: 18px;
  padding: 0x 100px 1px 1px;
  border-radius: 7px;
  transition: 0.7s;
  display: flex;
  align-items: left;
  justify-content: center;
  text-transform: uppercase;
}

.about .btn-join {
  margin-left: 0px;
}

.about .btn-join:hover {
  background: white;
  color: #9B0A0A;
}

.about .btn-join {
  font-size: 20px;
  padding: 8px 20px 10px 20px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
}

.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 h3 {
  color: var(--accent-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);
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: blur(5px);
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 40px;
  font-weight: 800;
  color: white;
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  background-color: #091665;
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}

@media (max-width: 768px) {
  .call-to-action h3 {
    font-size: 28px;
  }
  
  .call-to-action .cta-btn {
    padding: 10px 25px;
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
/* Sticky positioning for contact info - desktop only */
@media (min-width: 992px) {
  .contact .contact-sticky {
    position: sticky;
    top: 100px;
    align-self: flex-start;
  }
}

.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  border-top: 3px solid;
  border-bottom: 3px solid var(--accent-color);
  padding: 30px;
  height: 100%;
}

.contact .section-title h2 {
  font-size: 50px;
}

#house {
  color: #DF0D0D;
  font-weight: 900;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
  
  .contact .section-title h2 {
    font-size: 32px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: #091665;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  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;
  line-height: 20px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

/* Desktop: larger padding */
@media (min-width: 992px) {
  .contact .php-email-form {
    padding: 35px 40px;
  }
}

@media (min-width: 1200px) {
  .contact .php-email-form {
    padding: 40px 50px;
  }
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form input[type=tel],
.contact .php-email-form input[type=number],
.contact .php-email-form select,
.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 select {
  cursor: pointer;
  height: auto;
}

.contact .php-email-form select option {
  padding: 10px;
}

.contact .php-email-form .input-group .input-group-text {
  font-size: 14px;
  padding: 10px 15px;
  border-radius: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  color: var(--accent-color);
  font-weight: 600;
}

.contact .php-email-form .input-group .form-control {
  border-left: 0;
}

.contact .php-email-form .form-text {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-top: 5px;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form input[type=tel]:focus,
.contact .php-email-form input[type=number]:focus,
.contact .php-email-form select:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 75%);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form input[type=tel]::placeholder,
.contact .php-email-form input[type=number]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form label .text-danger {
  font-weight: 600;
}

/* Desktop label and input enhancements */
@media (min-width: 992px) {
  .contact .php-email-form label {
    font-size: 15px;
    font-weight: 500;
  }
  
  .contact .php-email-form input[type=text],
  .contact .php-email-form input[type=email],
  .contact .php-email-form input[type=tel],
  .contact .php-email-form input[type=number],
  .contact .php-email-form select,
  .contact .php-email-form textarea {
    padding: 12px 18px;
    font-size: 15px;
  }
  
  .contact .php-email-form .input-group .input-group-text {
    padding: 12px 18px;
    font-size: 15px;
  }
  
  .contact .php-email-form .form-text {
    font-size: 13px;
  }
}

@media (min-width: 1200px) {
  .contact .php-email-form label {
    font-size: 16px;
  }
  
  .contact .php-email-form .row.gy-4 {
    --bs-gutter-y: 1.75rem;
  }
}

/* Bootstrap validation states */
.contact .php-email-form .is-valid {
  border-color: #198754 !important;
}

.contact .php-email-form .is-invalid {
  border-color: #dc3545 !important;
}

.contact .php-email-form .is-valid:focus {
  border-color: #198754 !important;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25) !important;
}

.contact .php-email-form .is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Loading spinner */
.contact .php-email-form button[type=submit] .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

/* Hide form messages by default */
.contact .php-email-form .loading,
.contact .php-email-form .error-message,
.contact .php-email-form .sent-message {
  display: none;
  text-align: center;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.contact .php-email-form .loading {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

.contact .php-email-form .error-message {
  background: #f8d7da;
  color: #842029;
}

.contact .php-email-form .sent-message {
  background: #d1e7dd;
  color: #0f5132;
}

.contact .php-email-form button[type=submit]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 12px 40px;
  transition: 0.4s;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  min-width: 200px;
}

/* Desktop: larger submit button */
@media (min-width: 992px) {
  .contact .php-email-form button[type=submit] {
    padding: 14px 50px;
    font-size: 17px;
    min-width: 250px;
  }
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# In-Kind Donation Checkboxes
--------------------------------------------------------------*/
.inkind-checkbox-group {
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 8px;
  padding: 15px 20px;
}

.inkind-checkbox-group .row {
  margin: 0;
}

.inkind-checkbox-group .form-check {
  padding: 10px 0 10px 28px;
  margin-bottom: 0;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.inkind-checkbox-group .form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 60%);
}

.inkind-checkbox-group .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.inkind-checkbox-group .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 75%);
  border-color: var(--accent-color);
}

.inkind-checkbox-group .form-check-label {
  cursor: pointer;
  font-size: 14px;
  color: var(--default-color);
  padding-left: 5px;
}

.inkind-checkbox-group .form-check:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
}

/* Desktop: 4 columns layout */
@media (min-width: 992px) {
  .inkind-checkbox-group {
    padding: 20px 25px;
  }
  
  .inkind-checkbox-group .form-check {
    padding: 12px 10px 12px 30px;
  }
}

/* Tablet: 3 columns */
@media (min-width: 768px) and (max-width: 991.98px) {
  .inkind-checkbox-group .form-check {
    padding: 10px 8px 10px 28px;
  }
}

/* Mobile: stacked */
@media (max-width: 575.98px) {
  .inkind-checkbox-group {
    padding: 12px 15px;
  }
  
  .inkind-checkbox-group .form-check {
    padding: 8px 0 8px 26px;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  }
  
  .inkind-checkbox-group .form-check:last-child {
    border-bottom: none;
  }
}

/*--------------------------------------------------------------
# In-Kind Donation Modal
--------------------------------------------------------------*/
#inkindModal .modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

#inkindModal .modal-header .btn-close-white {
  filter: brightness(0) invert(1);
}

#inkindModal .modal-body {
  padding-top: 15px;
}

#inkindModal .form-label {
  color: #333;
  margin-bottom: 5px;
}

#inkindModal .form-label .text-danger {
  font-weight: 600;
}

#inkindModal .form-control,
#inkindModal .form-select {
  border-radius: 6px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#inkindModal .form-control:focus,
#inkindModal .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 75%);
}

#inkindModal .form-control::placeholder {
  color: #999;
}

#inkindModal .form-control.is-invalid {
  border-color: #dc3545;
}

#inkindModal .form-control.is-invalid:focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

#inkindModal .modal-footer {
  border-top: none;
  padding-top: 10px;
}

#inkindModal .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  padding: 10px 25px;
  border-radius: 6px;
  font-weight: 500;
}

#inkindModal .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 15%);
  border-color: color-mix(in srgb, var(--accent-color), #000 15%);
}

#inkindModal .btn-outline-secondary {
  padding: 10px 25px;
  border-radius: 6px;
}

/* Toast notification styles */
.toast-container .toast {
  border: none;
  border-radius: 8px;
}

.toast-container .toast.bg-success {
  background-color: #198754 !important;
}

.toast-container .toast .toast-header.bg-success {
  background-color: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive modal adjustments */
@media (max-width: 576px) {
  #inkindModal .modal-dialog {
    margin: 10px;
  }
  
  #inkindModal .modal-header h5 {
    font-size: 16px;
  }
  
  #inkindModal .modal-body {
    padding: 15px;
  }
  
  #inkindModal .modal-footer {
    flex-direction: column;
    gap: 10px;
  }
  
  #inkindModal .modal-footer .btn {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# QR Code Donation Section
--------------------------------------------------------------*/
#qr-code-section {
  animation: fadeInUp 0.4s ease-out;
}

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

.qr-donation-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.qr-donation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #4ecdc4);
}

.qr-donation-card .row {
  position: relative;
  z-index: 1;
}

.qr-code-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  position: relative;
}

.qr-code-img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.qr-code-img.loading {
  opacity: 0;
}

.qr-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.qr-code-wrapper .spinner-border {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.qr-toggle-btns {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.qr-toggle-btn {
  background: #fff;
  border: 2px solid #dee2e6;
  color: #6c757d;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.qr-toggle-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: #fff;
}

.qr-toggle-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.qr-info h5 {
  color: #333;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.qr-info h5 i {
  font-size: 24px;
  color: var(--accent-color);
}

.qr-info p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.payment-details {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-top: 10px;
}

.payment-method-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.payment-method-badge.gcash {
  background: #007bff;
  color: #fff;
}

.payment-method-badge.bank {
  background: #28a745;
  color: #fff;
}

.payment-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.payment-info-list li {
  padding: 5px 0;
  color: #555;
  border-bottom: 1px dashed #eee;
}

.payment-info-list li:last-child {
  border-bottom: none;
}

.payment-info-list strong {
  color: #333;
  min-width: 130px;
  display: inline-block;
}

.qr-note {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  color: #333;
  border-radius: 8px;
  padding: 12px 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.qr-note i {
  font-size: 16px;
  color: var(--accent-color);
  margin-top: 2px;
}

.qr-note small {
  line-height: 1.5;
}

/* QR Code Desktop Enhancements */
@media (min-width: 992px) {
  .qr-donation-card {
    padding: 30px;
  }
  
  .qr-code-wrapper {
    padding: 18px;
  }
  
  .qr-code-img {
    width: 200px;
    height: 200px;
  }
  
  .qr-info {
    padding-left: 10px;
  }
  
  .qr-info h5 {
    font-size: 1.25rem;
  }
  
  .payment-details {
    padding: 18px;
  }
  
  .qr-toggle-btn {
    padding: 8px 20px;
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .qr-donation-card {
    padding: 35px;
  }
  
  .qr-code-wrapper {
    padding: 20px;
  }
  
  .qr-code-img {
    width: 220px;
    height: 220px;
  }
  
  .qr-info {
    padding-left: 15px;
  }
}

/* QR Code Section Responsive */
@media (max-width: 991.98px) {
  .qr-donation-card {
    padding: 20px;
  }
  
  .qr-code-wrapper {
    padding: 12px;
  }
  
  .qr-code-img {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 767.98px) {
  .qr-donation-card {
    padding: 20px 15px;
  }
  
  .qr-donation-card .row {
    text-align: center;
  }
  
  .qr-info {
    margin-top: 15px;
    text-align: center;
    padding-left: 0;
  }
  
  .qr-info h5 {
    justify-content: center;
  }
  
  .qr-code-wrapper {
    padding: 15px;
  }
  
  .qr-code-img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  .qr-donation-card {
    padding: 15px 12px;
  }
  
  .qr-code-wrapper {
    padding: 12px;
  }
  
  .qr-code-img {
    width: 150px;
    height: 150px;
  }
  
  .qr-toggle-btns {
    flex-wrap: wrap;
  }
  
  .qr-toggle-btn {
    flex: 1 1 45%;
    min-width: 100px;
  }
  
  .payment-details {
    padding: 12px;
  }
  
  .payment-info-list strong {
    display: block;
    margin-bottom: 2px;
  }
  
  .qr-note {
    padding: 10px 12px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .qr-note i {
    margin-top: 0;
  }
}

@media (max-width: 375px) {
  .qr-code-wrapper {
    min-height: 140px;
    min-width: 140px;
    padding: 10px;
  }
  
  .qr-code-img {
    max-width: 120px;
  }
  
  .qr-toggle-btn {
    flex: 1 1 100%;
    font-size: 12px;
    padding: 5px 12px;
  }
}

/* Receipt Upload Section */
.receipt-upload-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border: 2px dashed #dee2e6;
  border-radius: 12px;
  padding: 25px;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.receipt-upload-card:hover {
  border-color: var(--accent-color);
}

.receipt-upload-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.receipt-upload-header i {
  font-size: 28px;
  color: var(--accent-color);
}

.receipt-upload-header h5 {
  margin: 0;
  font-weight: 600;
  color: #333;
}

.upload-area {
  background: #fff;
  border: 2px dashed #dee2e6;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-area:hover,
.upload-area.drag-over {
  border-color: var(--accent-color);
  background: rgba(37, 170, 226, 0.05);
}

.upload-placeholder i {
  font-size: 48px;
  color: #adb5bd;
  margin-bottom: 15px;
  display: block;
}

.upload-placeholder p {
  color: #6c757d;
  margin-bottom: 10px;
}

.upload-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.preview-image {
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

.preview-pdf {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: #fff4f4;
  border-radius: 8px;
}

.preview-pdf i {
  font-size: 48px;
  color: #dc3545;
}

.preview-pdf span {
  font-size: 14px;
  color: #666;
  word-break: break-all;
}

.preview-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.file-name {
  font-weight: 500;
  color: #333;
  word-break: break-all;
  max-width: 250px;
  text-align: center;
}

.file-size {
  font-size: 13px;
  color: #6c757d;
}

.upload-error {
  background: #fff5f5;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 10px 15px;
  border-radius: 6px;
  margin-top: 15px;
  font-size: 14px;
}

/* Desktop enhancements for receipt upload */
@media (min-width: 992px) {
  .receipt-upload-card {
    padding: 30px;
  }
  
  .upload-area {
    padding: 40px 30px;
  }
  
  .upload-placeholder i {
    font-size: 56px;
  }
  
  .preview-image {
    max-width: 250px;
    max-height: 250px;
  }
  
  .upload-preview {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .preview-info {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 20px;
  }
}

@media (min-width: 1200px) {
  .receipt-upload-card {
    padding: 35px;
  }
  
  .upload-area {
    padding: 50px 40px;
  }
}

@media (max-width: 576px) {
  .receipt-upload-card {
    padding: 20px 15px;
  }
  
  .upload-area {
    padding: 20px 15px;
  }
  
  .upload-placeholder i {
    font-size: 36px;
  }
  
  .preview-image {
    max-width: 150px;
    max-height: 150px;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .section-title h1 {
  font-family: 'Poppins';
  font-size: 45px;
  font-weight: 700;
}

.team .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) {
  .team .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.team .team-member .pic {
  overflow: hidden;
  width: 150px;
  border-radius: 50%;
  flex-shrink: 0;
}

.team .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.team .team-member:hover {
  transform: translateY(-10px);
}

.team .team-member .member-info {
  padding-left: 30px;
}

@media (max-width: 468px) {
  .team .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.team .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.team .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.team .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) {
  .team .team-member span::after {
    left: calc(50% - 25px);
  }
}

.team .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.team .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .team .team-member .social {
    justify-content: center;
  }
}

.team .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;
}

.team .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.team .team-member .social a:hover {
  background: var(--accent-color);
}

.team .team-member .social a:hover i {
  color: var(--contrast-color);
}

.team .team-member .social a+a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Organizational Chart Styles - Enhanced
--------------------------------------------------------------*/

/* Screen reader only utility class */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.org-chart {
  text-align: center;
  padding: 20px 0 40px;
  position: relative;
}

.org-level {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 30px;
  animation: fadeInUp 0.6s ease-out backwards;
}

.org-level-1 {
  animation-delay: 0.1s;
}

.org-level-2 {
  animation-delay: 0.2s;
}

.org-level-3 {
  animation-delay: 0.3s;
}

.org-level::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 15px;
  background: #1a3c6e;
}

.org-level:last-child::after {
  display: none;
}

.org-node {
  position: relative;
}

.org-card {
  background: #fff;
  border: 2px solid #1a3c6e;
  border-radius: 12px;
  padding: 20px 25px;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.org-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.org-card:hover::before {
  left: 100%;
}

.org-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.org-card:focus {
  outline: 3px solid #25AAE2;
  outline-offset: 2px;
}

.org-card:focus-visible {
  outline: 3px solid #25AAE2;
  outline-offset: 2px;
}

.org-board {
  background: #1a3c6e;
  color: #fff;
  border-color: #1a3c6e;
}

.org-board i {
  font-size: 24px;
  margin-bottom: 8px;
}

.org-board h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.org-executive {
  border-color: #1a3c6e;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.org-manager {
  border-color: #25AAE2;
  background: #fff;
}

.org-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid #1a3c6e;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.org-card:hover .org-photo {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.org-manager .org-photo {
  border-color: #25AAE2;
}

.org-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.org-card:hover .org-photo img {
  transform: scale(1.05);
}

.org-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.org-card .org-title {
  display: block;
  font-size: 13px;
  color: #1a3c6e;
  font-weight: 600;
}

.org-card .org-credentials {
  font-size: 11px;
  color: #666;
  margin-top: 5px;
  margin-bottom: 0;
}

.org-branch {
  display: flex;
  justify-content: center;
  gap: 60px;
  position: relative;
}

.org-branch::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: #1a3c6e;
}

.org-branch .org-node::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  width: 2px;
  height: 15px;
  background: #1a3c6e;
}

/*--------------------------------------------------------------
# Department Cards - Enhanced
--------------------------------------------------------------*/
.departments-section {
  margin-top: 60px;
}

.department-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.department-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.department-header {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.department-header i {
  font-size: 24px;
}

.department-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.admin-header {
  background: linear-gradient(135deg, #1a3c6e 0%, #2a5298 100%);
}

.social-header {
  background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
}

.homelife-header {
  background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
}

.dietary-header {
  background: linear-gradient(135deg, #ef6c00 0%, #ff9800 100%);
}

.medical-header {
  background: linear-gradient(135deg, #00695c 0%, #26a69a 100%);
}

.department-body {
  padding: 15px 20px;
}

.staff-member {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.staff-member:hover {
  background-color: #f8f9fa;
  padding-left: 8px;
  border-radius: 8px;
}

.staff-member:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.staff-member:first-child {
  padding-top: 0;
}

.staff-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-member:hover .staff-photo {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.staff-member:hover .staff-photo img {
  transform: scale(1.05);
}

.staff-photo i {
  font-size: 24px;
  color: #bbb;
}

.staff-member.vacant .staff-photo {
  background: #f0f0f0;
  border: 2px dashed #ccc;
}

.staff-info h5 {
  margin: 0 0 3px 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.staff-info span {
  font-size: 12px;
  color: #666;
}

/* Org Chart Responsive */
@media (max-width: 768px) {
  .org-branch {
    flex-direction: column;
    gap: 30px;
  }
  
  .org-branch::before {
    display: none;
  }
  
  .org-branch .org-node::before {
    display: none;
  }
  
  .org-card {
    min-width: 180px;
    padding: 15px 20px;
  }
  
  .org-photo {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 576px) {
  .team .section-title h1 {
    font-size: 28px;
  }
  
  .org-card {
    min-width: 160px;
  }
  
  .department-header h3 {
    font-size: 14px;
  }
  
  .staff-photo {
    width: 45px;
    height: 45px;
  }
  
  .staff-info h5 {
    font-size: 13px;
  }
  
  .staff-info span {
    font-size: 11px;
  }
}

/* Team Page Interactive Features */
/* Ripple effect for org-card clicks */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Fade-in animation for department cards on scroll */
.department-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.department-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced image loading */
.org-photo img,
.staff-photo img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.org-photo img.loaded,
.staff-photo img.loaded {
  opacity: 1;
}

.image-error .org-photo,
.image-error .staff-photo {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

/* Print styles */
@media print {
  .navbar,
  .footer {
    display: none !important;
  }
  
  .org-chart,
  .department-card {
    page-break-inside: avoid;
  }
  
  .org-card,
  .staff-member {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
  
  .org-photo img,
  .staff-photo img {
    opacity: 1 !important;
  }
  
  body {
    background: white;
  }
  
  .department-card {
    margin-bottom: 30px;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Accessibility improvements */
.org-card:focus,
.staff-member:focus-within {
  outline: 3px solid #091665;
  outline-offset: 2px;
}

/* Smooth transitions for staff member hover effects */
.staff-member {
  transition: background-color 0.3s ease, padding-left 0.3s ease;
}

/*--------------------------------------------------------------
# About us Page Section
--------------------------------------------------------------*/
.about {
  padding: 80px 0;
}

.about .subtitle {
  display: inline-block;
  color: #9B0A0A;
  font-weight: 600;
  font-size: 25px;
  margin-bottom: 0.75rem;
  position: relative;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.about .about-content {
  padding-left: 20px;
}

.about .about-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

@media (max-width: 992px) {
  .about .about-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .about .about-content h2 {
    font-size: 1.5rem;
  }
  
  .about .subtitle {
    font-size: 18px;
  }
}

.about .about-content p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.about .stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
}

.about .stats-row .stats-item {
  flex: 1;
  min-width: 120px;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, var(--surface-color) 0%, #f8f9fa 100%);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.about .stats-row .stats-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.about .stats-row .stats-item .count,
.about .stats-row .stats-item .purecounter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  display: inline-block;
  line-height: 1;
}

.about .stats-row .stats-item .count-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
}

.about .stats-row .stats-item p {
  margin-bottom: 0;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about .mission-card {
  background-color: var(--surface-color);
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  height: 100%;
  position: relative;
  transition: all 0.3s ease-in-out;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

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

.about .mission-card:hover .icon-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.about .mission-card .icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent-color);
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease-in-out;
}

.about .mission-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about .mission-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.about .mission-card ul,
.about .mission-card ol {
  text-align: left;
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.about .mission-card ul li,
.about .mission-card ol li {
  font-size: 0.9rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 0.5rem;
}

.about .mission-card ul li:last-child,
.about .mission-card ol li:last-child {
  margin-bottom: 0;
}

.about .mission-card .core-values-list {
  list-style: none;
  padding-left: 0;
}

.about .mission-card .core-values-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .mission-card .core-values-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about .mission-card .core-values-list li i {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.about .mission-card .core-values-list li strong {
  color: var(--heading-color);
}

.about .achievements {
  padding-left: 20px;
}

.about .achievements h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

@media (max-width: 992px) {
  .about .achievements h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .about .achievements h2 {
    font-size: 1.5rem;
  }
}

.about .achievements p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.about .achievements .achievements-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.about .achievements .achievements-list li {
  padding: 0.5rem 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about .achievements .achievements-list li i {
  color: var(--accent-color);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.about .achievements .btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about .achievements .btn-explore:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  gap: 0.75rem;
}

.about .achievements .btn-explore i {
  font-size: 1rem;
}

.about .about-gallery img {
  border: 6px solid #25AAE2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.about .about-gallery img:hover {
  transform: scale(1.02);
}

@media (max-width: 992px) {
  .about .about-content,
  .about .achievements {
    padding-left: 0;
    margin-top: 2rem;
  }

  .about .about-gallery {
    margin-top: 2rem;
  }
  
  .about #Our Campus {
    box-shadow: 10px 10px 1px #25AAE2;
  }
}

@media (max-width: 768px) {
  .about .stats-row {
    justify-content: center;
    gap: 1rem;
  }

  .about .stats-row .stats-item {
    flex: 0 0 45%;
    text-align: center;
    padding: 1.25rem 0.75rem;
  }

  .about .stats-row .stats-item .count,
  .about .stats-row .stats-item .purecounter {
    font-size: 2rem;
  }

  .about .stats-row .stats-item .count-suffix {
    font-size: 1.5rem;
  }

  .about .mission-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .about {
    padding: 40px 0;
  }
  
  .about .stats-row .stats-item {
    flex: 0 0 100%;
  }

  .about .stats-row .stats-item .count,
  .about .stats-row .stats-item .purecounter {
    font-size: 1.75rem;
  }

  .about .stats-row .stats-item .count-suffix {
    font-size: 1.25rem;
  }
}

/*--------------------------------------------------------------
# Blog Page Styles
--------------------------------------------------------------*/
/* Page Title Section */
.blog-page .page-title {
  padding: 120px 0 60px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/image.png') center center;
  background-size: cover;
  background-attachment: fixed;
}

.blog-page .page-title h1 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.blog-page .page-title p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 20px;
}

.blog-page .page-title .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.blog-page .page-title .breadcrumb-item a {
  color: #9B0A0A;
  text-decoration: none;
}

.blog-page .page-title .breadcrumb-item a:hover {
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.8);
}

.blog-page .page-title .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.8);
}

.blog-page .page-title .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* Blog Section */
.blog.section {
  padding: 60px 0;
}

/* Search Box */
.blog-search .input-group {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  overflow: hidden;
}

.blog-search .input-group-text {
  background: #fff;
  border: none;
  padding-left: 20px;
  color: #6c757d;
}

.blog-search .form-control {
  border: none;
  padding: 15px 10px;
  font-size: 16px;
}

.blog-search .form-control:focus {
  box-shadow: none;
}

.blog-search .btn-primary {
  background: var(--accent-color);
  border: none;
  padding: 15px 30px;
  font-weight: 600;
  border-radius: 0 50px 50px 0 !important;
}

.blog-search .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/* Category Buttons */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.category-btn {
  background: #fff;
  border: 2px solid #e0e0e0;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.category-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

/* Blog Cards */
.blog-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

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

.blog-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
  color: #6c757d;
}

.blog-card-meta i {
  color: var(--accent-color);
  margin-right: 5px;
}

.blog-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: var(--accent-color);
}

.blog-card-excerpt {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #eee;
  margin-top: auto;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-card-author img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-card-author span {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

.blog-card-link {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.blog-card-link:hover {
  gap: 10px;
}

/* Featured Post */
.blog-featured {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.blog-featured .row {
  align-items: center;
}

.blog-featured-image {
  height: 400px;
  overflow: hidden;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-content {
  padding: 40px;
}

.blog-featured-badge {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.blog-featured-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-featured-title a {
  color: inherit;
  text-decoration: none;
}

.blog-featured-title a:hover {
  color: var(--accent-color);
}

.blog-featured-excerpt {
  color: #6c757d;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #6c757d;
  font-size: 14px;
}

.blog-featured-meta i {
  color: var(--accent-color);
  margin-right: 5px;
}

/* Pagination */
.pagination .page-link {
  border: none;
  color: #333;
  padding: 12px 18px;
  margin: 0 5px;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background: var(--accent-color);
  color: #fff;
}

.pagination .page-item.active .page-link {
  background: var(--accent-color);
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: #ccc;
  background: transparent;
}


/* Loading & Error States */
#blog-loading,
#blog-error,
#blog-no-results {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#blog-loading .spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 5px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.skeleton-image {
  height: 220px;
  background: #e0e0e0;
}

.skeleton-body {
  padding: 25px;
}

.skeleton-title {
  height: 24px;
  margin-bottom: 15px;
  width: 80%;
}

.skeleton-text {
  height: 14px;
  margin-bottom: 10px;
}

.skeleton-text:last-child {
  width: 60%;
}

/* Blog Responsive Styles */
@media (max-width: 991px) {
  .blog-page .page-title {
    padding: 100px 0 50px;
  }

  .blog-page .page-title h1 {
    font-size: 32px;
  }

  .blog-featured-image {
    height: 300px;
  }

  .blog-featured-content {
    padding: 30px;
  }

  .blog-featured-title {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .blog-page .page-title {
    padding: 80px 0 40px;
    background-attachment: scroll;
  }

  .blog-page .page-title h1 {
    font-size: 28px;
  }

  .blog-page .page-title p {
    font-size: 15px;
  }

  .blog-search .input-group {
    flex-direction: row;
    flex-wrap: nowrap;
    border-radius: 50px;
  }

  .blog-search .input-group-text {
    display: flex;
    padding-left: 15px;
    border-radius: 50px 0 0 50px !important;
  }

  .blog-search .form-control {
    border-radius: 0 !important;
    text-align: left;
    padding: 12px 10px;
    font-size: 14px;
  }

  .blog-search .btn-primary {
    border-radius: 0 50px 50px 0 !important;
    width: auto;
    padding: 12px 15px;
    min-width: 44px;
  }

  .category-btn {
    padding: 8px 18px;
    font-size: 13px;
  }

  .blog-featured-image {
    height: 250px;
  }

  .blog-featured-content {
    padding: 25px;
  }

  .blog-featured-title {
    font-size: 20px;
  }

  .blog-card-title {
    font-size: 18px;
  }

  .newsletter h3 {
    font-size: 26px;
  }

  .newsletter-form .input-group {
    flex-direction: column;
    border-radius: 15px;
  }

  .newsletter-form .form-control {
    border-radius: 15px 15px 0 0 !important;
    text-align: center;
  }

  .newsletter-form .btn-primary {
    border-radius: 0 0 15px 15px !important;
    width: 100%;
  }
}

@media (max-width: 575px) {
  .blog-categories {
    gap: 8px;
  }

  .category-btn {
    padding: 6px 15px;
    font-size: 12px;
  }

  .blog-card-meta {
    flex-wrap: wrap;
    gap: 10px;
  }

  .blog-card-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .pagination .page-link {
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* ======================================
   BLOG SINGLE PAGE STYLES
   ====================================== */

/* Page Title */
.blog-single-page .page-title {
  padding: 80px 0 40px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/image.png') center center;
  background-size: cover;
  background-attachment: fixed;
}

.blog-single-page .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.blog-single-page .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-single-page .breadcrumb-item a:hover {
  color: #fff;
}

.blog-single-page .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
}

.blog-single-page .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* Blog Single Section */
.blog-single {
  padding: 60px 0;
}

/* Article Styles */
.blog-article {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Article Header */
.article-header {
  padding: 40px 40px 30px;
}

.article-category {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.article-category.category-stories { background: #e74c3c; }
.article-category.category-updates { background: #3498db; }
.article-category.category-events { background: #9b59b6; }
.article-category.category-announcements { background: #f39c12; }

.article-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 25px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.article-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 15px;
}

.author-role {
  font-size: 13px;
  color: #6c757d;
}

.article-details {
  display: flex;
  gap: 20px;
}

.article-details span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #6c757d;
}

.article-details i {
  color: var(--accent-color);
}

/* Featured Image */
.article-featured-image {
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article Body */
.article-body {
  padding: 40px;
  font-size: 17px;
  line-height: 1.9;
  color: #444;
}

.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 35px 0 20px;
}

.article-body h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 30px 0 15px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
  margin: 20px 0;
  padding-left: 30px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body blockquote {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid var(--accent-color);
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 0 15px 15px 0;
  font-style: italic;
}

.article-body blockquote p {
  font-size: 18px;
  color: #555;
  margin-bottom: 10px;
}

.article-body blockquote cite {
  font-size: 14px;
  color: var(--accent-color);
  font-style: normal;
  font-weight: 600;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
}

/* Article Tags */
.article-tags {
  padding: 0 40px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tags-label {
  font-weight: 600;
  color: #1a1a1a;
  margin-right: 5px;
}

.tag {
  display: inline-block;
  background: #f0f0f0;
  color: #555;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--accent-color);
  color: #fff;
}

/* Share Buttons */
.article-share {
  padding: 25px 40px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.share-label {
  font-weight: 600;
  color: #1a1a1a;
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #000; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.email { background: #ea4335; }
.share-btn.copy { background: #6c757d; }

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Author Bio */
.author-bio {
  margin: 0 40px 30px;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.author-bio img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
  flex-shrink: 0;
}

.author-bio-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.author-bio-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
}

.author-social {
  display: flex;
  gap: 10px;
}

.author-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.author-social a:hover {
  background: #1a365d;
  transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation {
  display: flex;
  border-top: 1px solid #eee;
}

.post-navigation a {
  flex: 1;
  padding: 25px 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-navigation a:hover {
  background: #f8f9fa;
}

.post-navigation .nav-prev {
  border-right: 1px solid #eee;
}

.post-navigation .nav-next {
  text-align: right;
}

.nav-label {
  display: block;
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 5px;
}

.nav-label i {
  color: var(--accent-color);
}

.nav-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.widget-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--accent-color);
}

/* Search Widget */
.search-form .input-group {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-form .form-control {
  border: 1px solid #e0e0e0;
  padding: 12px 15px;
  font-size: 14px;
}

.search-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}

.search-form .btn {
  padding: 12px 20px;
  background: var(--accent-color);
  border: none;
}

.search-form .btn:hover {
  background: #1a365d;
}

/* Categories Widget */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: #555;
  text-decoration: none;
  transition: all 0.3s ease;
}

.category-list a:hover {
  color: var(--accent-color);
  padding-left: 10px;
}

.category-list .count {
  background: #f0f0f0;
  color: #666;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.category-list a:hover .count {
  background: var(--accent-color);
  color: #fff;
}

/* Recent Posts Widget */
.recent-post-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.recent-post-item:first-child {
  padding-top: 0;
}

.recent-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-post-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.recent-post-content h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.4;
}

.recent-post-content h5 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.recent-post-content h5 a:hover {
  color: var(--accent-color);
}

.recent-post-date {
  font-size: 12px;
  color: #6c757d;
}

.recent-post-date i {
  margin-right: 5px;
  color: var(--accent-color);
}

/* CTA Widget */
.cta-widget {
  background: linear-gradient(135deg, var(--accent-color) 0%, #1a365d 100%);
  text-align: center;
  padding: 35px 25px;
}

.cta-content i {
  font-size: 40px;
  color: #fff;
  margin-bottom: 15px;
}

.cta-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.cta-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  line-height: 1.6;
}

.cta-content .btn-light {
  background: #fff;
  color: var(--accent-color);
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-content .btn-light:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Related Posts */
.related-posts-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 60px 0 30px;
  text-align: center;
}

#related-posts-container {
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .article-header {
    padding: 30px 25px 20px;
  }

  .article-title {
    font-size: 28px;
  }

  .article-featured-image {
    height: 350px;
  }

  .article-body {
    padding: 25px;
    font-size: 16px;
  }

  .article-tags,
  .article-share {
    padding: 20px 25px;
  }

  .author-bio {
    margin: 0 25px 25px;
    padding: 25px;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .post-navigation a {
    padding: 20px;
  }

  .blog-sidebar {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .blog-single {
    padding: 40px 0;
  }

  .article-header {
    padding: 25px 20px 15px;
  }

  .article-title {
    font-size: 24px;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-featured-image {
    height: 250px;
  }

  .article-body {
    padding: 20px;
    font-size: 15px;
  }

  .article-body h2 {
    font-size: 22px;
  }

  .article-body h3 {
    font-size: 18px;
  }

  .article-body blockquote {
    padding: 20px;
  }

  .article-tags,
  .article-share {
    padding: 15px 20px;
  }

  .author-bio {
    margin: 0 20px 20px;
    padding: 20px;
  }

  .author-bio img {
    width: 60px;
    height: 60px;
  }

  .post-navigation {
    flex-direction: column;
  }

  .post-navigation .nav-prev {
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .post-navigation .nav-next {
    text-align: left;
  }

  .related-posts-title {
    font-size: 24px;
    margin: 40px 0 20px;
  }
}

@media (max-width: 575px) {
  .article-title {
    font-size: 22px;
  }

  .article-details {
    flex-direction: column;
    gap: 8px;
  }

  .share-buttons {
    flex-wrap: wrap;
  }
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 3px 10px;
  position: relative;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget {
  margin-bottom: -10px;
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Donation Amount Section Styles
--------------------------------------------------------------*/
.amount-section {
  padding: 20px 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.amount-section label {
  font-size: 1.1rem;
  color: var(--heading-color);
  margin-bottom: 15px;
  display: block;
}

.quick-amount-btns {
  margin-bottom: 20px;
}

.quick-amount {
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
  background: white;
  color: var(--accent-color);
  min-width: 100px;
}

.quick-amount:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(9, 22, 101, 0.2);
}

.quick-amount.active {
  background: var(--accent-color);
  color: white;
  box-shadow: 0 4px 12px rgba(9, 22, 101, 0.3);
}

.amount-section .input-group {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.amount-section .input-group-text {
  background: var(--accent-color);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 12px 20px;
}

.amount-section input[type="number"] {
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 20px;
  color: var(--heading-color);
}

.amount-section input[type="number"]:focus {
  box-shadow: none;
  border-color: transparent;
}

.amount-section .form-text {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .quick-amount {
    font-size: 0.9rem;
    padding: 10px 16px;
    min-width: 85px;
  }
  
  .amount-section input[type="number"],
  .amount-section .input-group-text {
    font-size: 1rem;
    padding: 10px 15px;
  }
}