/**
* Template Name: LeadPage
* Template URL: https://bootstrapmade.com/leadpage-bootstrap-landing-page-template/
* Updated: Aug 12 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Lato",  sans-serif;
  --nav-font: "Montserrat",  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: #1a1715; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #110a06; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #c85716; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255, 255, 255, 0.8);  /* The default color of the main navmenu links */
  --nav-hover-color: #c85716; /* 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: #1a1715; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #c85716; /* 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: #fffaf2;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #000000;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252626;
  --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);
}

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

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

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

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

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

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

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

/* Prevent fixed header from overlapping hero/main on all pages */
.header.fixed-top + .main {
  padding-top: 120px;
}

.header .top-row {
  padding-bottom: 10px;
}

.header .top-row .logo {
  text-decoration: none;
}

.header .top-row .logo img {
  max-height: 40px;
  margin-right: 10px;
}

.header .top-row .logo .sitename {
  font-size: 28px;
  font-weight: 400;
  color: var(--heading-color);
  font-family: var(--heading-font);
  margin: 0;
}

.header .social-links a {
  color: var(--heading-color);
  padding: 0 8px;
  display: inline-block;
  font-size: 18px;
  transition: 0.3s;
}

.header .social-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 1200px) {
  .header .social-links {
    padding-right: 40px;
  }
}

.header .nav-wrap {
  background-color: color-mix(in srgb, var(--default-color), transparent 92%);
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.header .mobile-nav-toggle {
  position: fixed;
  top: 20px;
  right: 5px;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #1a1715;
  --heading-color: #ffffff;
  --default-color: #ffffff;
  --nav-color: rgba(255, 255, 255, 0.9);
}

/* Header at top of page: solid background so logo and nav are always visible (same as ministries) */
body:not(.scrolled) .header {
  --background-color: rgba(255, 255, 255, 0.98);
  --heading-color: #1a1715;
  --default-color: #1a1715;
  --nav-color: #1a1715;
}

body:not(.scrolled) .header .nav-wrap {
  background-color: transparent;
}

/*--------------------------------------------------------------
# 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: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

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

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

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

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

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

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

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

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

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

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

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

/* 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: var(--background-color);
  font-size: 14px;
  padding: 80px 0 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.footer .footer-content .logo {
  line-height: 1;
}

.footer .footer-content .logo span {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: var(--heading-font);
}

.footer .footer-content p {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.footer .newsletter-form {
  margin-top: 30px;
}

.footer .newsletter-form h5 {
  color: var(--heading-color);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: var(--heading-font);
}

.footer .newsletter-form .input-group {
  position: relative;
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .newsletter-form input[type=email] {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background-color: var(--surface-color);
  color: var(--default-color);
  font-size: 14px;
}

.footer .newsletter-form input[type=email]:focus {
  outline: none;
  box-shadow: none;
}

.footer .newsletter-form input[type=email]::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.footer .newsletter-form .btn-subscribe {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  transition: 0.3s;
}

.footer .newsletter-form .btn-subscribe:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
}

.footer .newsletter-form .btn-subscribe i {
  font-size: 16px;
}

.footer .newsletter-form .loading,
.footer .newsletter-form .error-message,
.footer .newsletter-form .sent-message {
  font-size: 13px;
  margin-top: 8px;
}

.footer h4 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  font-family: var(--heading-font);
}

.footer h4:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

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

.footer .footer-links ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  transition: 0.3s;
}

.footer .footer-links ul li:hover {
  transform: translateX(5px);
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 14px;
  transition: 0.3s;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-links ul a i {
  margin-right: 8px;
  font-size: 12px;
  color: var(--accent-color);
}

.footer .footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.footer .footer-contact .contact-item .contact-icon {
  width: 40px;
  height: 40px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.footer .footer-contact .contact-item .contact-icon i {
  color: var(--accent-color);
  font-size: 16px;
}

.footer .footer-contact .contact-item .contact-info p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
  line-height: 1.5;
}

.footer .social-links {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.footer .social-links a {
  width: 42px;
  height: 42px;
  background-color: color-mix(in srgb, var(--default-color), transparent 92%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  text-decoration: none;
}

.footer .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.footer .social-links a i {
  font-size: 16px;
}

.footer .footer-bottom {
  margin-top: 50px;
  padding: 25px 0;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.footer .footer-bottom .copyright p {
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

@media (max-width: 991px) {
  .footer .footer-bottom .copyright p {
    text-align: center;
    margin-bottom: 15px;
  }
}

.footer .footer-bottom .footer-bottom-links {
  text-align: right;
  margin-bottom: 8px;
}

@media (max-width: 991px) {
  .footer .footer-bottom .footer-bottom-links {
    text-align: center;
    margin-bottom: 10px;
  }
}

.footer .footer-bottom .footer-bottom-links a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 13px;
  margin-left: 20px;
  text-decoration: none;
}

.footer .footer-bottom .footer-bottom-links a:first-child {
  margin-left: 0;
}

.footer .footer-bottom .footer-bottom-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 991px) {
  .footer .footer-bottom .footer-bottom-links a {
    margin: 0 10px;
  }
}

.footer .footer-bottom .credits {
  text-align: right;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

@media (max-width: 991px) {
  .footer .footer-bottom .credits {
    text-align: center;
  }
}

.footer .footer-bottom .credits a {
  color: var(--accent-color);
  text-decoration: none;
}

.footer .footer-bottom .credits a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 0;
  }

  .footer .footer-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .footer .footer-links,
  .footer .footer-contact {
    margin-bottom: 40px;
  }
}

input[type=text],
input[type=email],
textarea {
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 14px;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
  border-color: var(--accent-color);
}

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

/*--------------------------------------------------------------
# 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);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 200px 0 80px 0;
  text-align: center;
  position: relative;
}

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

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

.page-title p {
  font-weight: 300;
}

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

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

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

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2.5rem;
  }
}

.section-title .subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title .subtitle::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent-color);
}

.section-title p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 900px;
  margin: 0 auto;
  text-wrap: balance;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 120px 0 60px 0;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Prevent hero content from sitting under fixed header (anchor + mobile) */
#hero {
  scroll-margin-top: 120px;
}

.hero .hero-content {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  z-index: 3;
}

.hero .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero .video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  z-index: 2;
}

/* Slideshow Background */
.hero .slideshow-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero .slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero .slideshow-container .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 3s ease-in-out, transform 8s ease-in-out;
}

.hero .slideshow-container .slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero .slideshow-container .slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero .slideshow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 2;
}

/* Slideshow Controls - Removed (auto-advance only) */

/* Slideshow Indicators */
.hero .slideshow-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 4;
}

.hero .slideshow-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero .slideshow-indicators .indicator:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.hero .slideshow-indicators .indicator.active {
  background: var(--accent-color);
  border-color: rgba(255, 255, 255, 0.8);
  width: 30px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .hero .slideshow-indicators {
    bottom: 20px;
  }
  
  .hero .slideshow-container .slide {
    transition: opacity 2.5s ease-in-out, transform 7s ease-in-out;
  }
}

/* Page Header Styles (hero section below site header) */
.page-header {
  padding: 60px 0 80px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.page-header p {
  font-size: 1.25rem;
  color: var(--default-color);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
}

.hero .hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .hero-buttons .btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
  font-size: 1rem;
}

.hero .hero-buttons .btn.btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.hero .hero-buttons .btn.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  border-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

.hero .hero-buttons .btn.btn-outline {
  background-color: transparent;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  border-color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.hero .hero-buttons .btn.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

@media (max-width: 576px) {
  .hero .hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 150px 0 60px 0 !important; /* Extra top padding so content sits below fixed header on mobile */
    min-height: 80vh;
  }

  .hero .hero-content {
    min-height: 80vh;
  }

  #hero {
    scroll-margin-top: 150px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding-top: 60px;
  background-color: var(--background-color);
  padding-bottom: 20px;
}

.about .content h2 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.3;
  color: var(--heading-color);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

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

.about .content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 2rem;
}

.about .content p.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  margin-bottom: 2.5rem;
}

.about .stats-wrapper {
  display: flex;
  gap: 3rem;
  margin: 3rem 0;
  padding: 2.5rem 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 576px) {
  .about .stats-wrapper {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

.about .stats-wrapper .stat-item {
  display: flex;
  flex-direction: column;
}

.about .stats-wrapper .stat-item .number {
  font-size: 3rem;
  font-weight: 200;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about .stats-wrapper .stat-item .label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.about .cta-wrapper {
  margin-top: 2.5rem;
}

.about .cta-wrapper .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
}

.about .cta-wrapper .btn-link i {
  transition: transform 0.3s ease;
}

.about .cta-wrapper .btn-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.about .cta-wrapper .btn-link:hover i {
  transform: translateX(4px);
}

.about .image-wrapper {
  position: relative;
  padding-left: 2rem;
}

@media (max-width: 992px) {
  .about .image-wrapper {
    padding-left: 0;
    margin-top: 3rem;
  }
}

.about .image-wrapper img {
  border-radius: 8px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.about .image-wrapper .floating-element {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: 12px;
  max-width: 320px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 80%);
}

@media (max-width: 992px) {
  .about .image-wrapper .floating-element {
    position: static;
    margin-top: 2rem;
    max-width: none;
  }
}

.about .image-wrapper .floating-element .quote-content blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--default-color);
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: 300;
}

.about .image-wrapper .floating-element .quote-content cite {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-style: normal;
  font-weight: 500;
}

@media (max-width: 992px) {
  .about {
    padding: 80px 0;
  }
}

@media (max-width: 576px) {
  .about {
    padding: 60px 0;
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding-top: 30px;
  padding-bottom: 60px;
}

.clients .client-item {
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  background-color: var(--surface-color);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clients .client-item img {
  max-width: 100%;
  transition: all 0.3s ease-in-out;
  filter: grayscale(100);
  opacity: 0.8;
}

.clients .client-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.clients .client-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 1199px) {
  .clients .client-item {
    padding: 1.25rem;
  }
}

@media (max-width: 767px) {
  .clients .client-item {
    padding: 1rem;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .tabs-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.features .tabs-header {
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .features .tabs-header {
    margin-bottom: 60px;
  }
}

.features .tabs-header .nav-tabs {
  border: none;
  justify-content: center;
  gap: 0;
  background: var(--surface-color);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 2px 20px color-mix(in srgb, var(--default-color), transparent 94%);
}

@media (max-width: 768px) {
  .features .tabs-header .nav-tabs {
    flex-direction: column;
    gap: 4px;
  }
}

.features .tabs-header .nav-tabs .nav-item {
  flex: 1;
  cursor: pointer;
}

@media (max-width: 768px) {
  .features .tabs-header .nav-tabs .nav-item {
    flex: none;
    width: 100%;
  }
}

.features .tabs-header .nav-tabs .nav-link {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.features .tabs-header .nav-tabs .nav-link.active {
  background: var(--accent-color);
}

.features .tabs-header .nav-tabs .nav-link.active .tab-content-preview .tab-number {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 85%);
}

.features .tabs-header .nav-tabs .nav-link.active .tab-content-preview .tab-text h6,
.features .tabs-header .nav-tabs .nav-link.active .tab-content-preview .tab-text small {
  color: var(--contrast-color);
}

.features .tabs-header .nav-tabs .nav-link:hover:not(.active) {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.features .tabs-header .nav-tabs .nav-link:hover:not(.active) .tab-content-preview .tab-number {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
}

.features .tabs-header .nav-tabs .nav-link .tab-content-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

@media (max-width: 768px) {
  .features .tabs-header .nav-tabs .nav-link .tab-content-preview {
    padding: 16px 20px;
    gap: 12px;
  }
}

.features .tabs-header .nav-tabs .nav-link .tab-content-preview .tab-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .features .tabs-header .nav-tabs .nav-link .tab-content-preview .tab-number {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

.features .tabs-header .nav-tabs .nav-link .tab-content-preview .tab-text {
  text-align: left;
}

@media (max-width: 768px) {
  .features .tabs-header .nav-tabs .nav-link .tab-content-preview .tab-text {
    flex: 1;
  }
}

.features .tabs-header .nav-tabs .nav-link .tab-content-preview .tab-text h6 {
  margin: 0 0 2px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--heading-color);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .features .tabs-header .nav-tabs .nav-link .tab-content-preview .tab-text h6 {
    font-size: 13px;
  }
}

.features .tabs-header .nav-tabs .nav-link .tab-content-preview .tab-text small {
  font-size: 11px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: all 0.3s ease;
  display: block;
  line-height: 1;
}

.features .tab-content .tab-pane {
  animation: fadeInContent 0.5s ease-in-out;
}

.features .tab-content .content-area {
  padding-right: 40px;
}

@media (max-width: 992px) {
  .features .tab-content .content-area {
    padding-right: 0;
    margin-bottom: 50px;
  }
}

.features .tab-content .content-area .content-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 24px;
}

.features .tab-content .content-area .content-badge i {
  font-size: 14px;
}

.features .tab-content .content-area h3 {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .features .tab-content .content-area h3 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .features .tab-content .content-area h3 {
    font-size: 24px;
  }
}

.features .tab-content .content-area p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .features .tab-content .content-area p {
    font-size: 15px;
  }
}

.features .tab-content .content-area .highlight-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 576px) {
  .features .tab-content .content-area .highlight-stats {
    gap: 24px;
  }
}

.features .tab-content .content-area .highlight-stats .stat-item .stat-value {
  display: block;
  font-size: 28px;
  font-weight: 300;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .features .tab-content .content-area .highlight-stats .stat-item .stat-value {
    font-size: 24px;
  }
}

.features .tab-content .content-area .highlight-stats .stat-item .stat-label {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.features .tab-content .content-area .feature-points {
  margin-bottom: 40px;
}

.features .tab-content .content-area .feature-points .point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.features .tab-content .content-area .feature-points .point-item:last-child {
  margin-bottom: 0;
}

.features .tab-content .content-area .feature-points .point-item i {
  font-size: 12px;
  color: var(--accent-color);
  margin-top: 4px;
  flex-shrink: 0;
}

.features .tab-content .content-area .feature-points .point-item span {
  font-size: 14px;
  line-height: 1.6;
  color: var(--default-color);
}

.features .tab-content .content-area .explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.features .tab-content .content-area .explore-link:hover {
  gap: 12px;
  color: var(--accent-color);
}

.features .tab-content .content-area .explore-link:hover i {
  transform: translate(2px, -2px);
}

.features .tab-content .content-area .explore-link i {
  font-size: 16px;
  transition: all 0.3s ease;
}

.features .tab-content .visual-content {
  position: relative;
  padding-left: 40px;
}

@media (max-width: 992px) {
  .features .tab-content .visual-content {
    padding-left: 0;
  }
}

.features .tab-content .visual-content img {
  width: 100%;
  border-radius: 8px;
}

.features .tab-content .visual-content .floating-element {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

@media (max-width: 768px) {
  .features .tab-content .visual-content .floating-element {
    bottom: 15px;
    right: 15px;
  }
}

.features .tab-content .visual-content .floating-element .floating-card {
  background: var(--surface-color);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 85%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  animation: floatAnimation 3s ease-in-out infinite;
}

@media (max-width: 768px) {
  .features .tab-content .visual-content .floating-element .floating-card {
    padding: 12px 16px;
    gap: 10px;
  }
}

.features .tab-content .visual-content .floating-element .floating-card i {
  font-size: 20px;
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .features .tab-content .visual-content .floating-element .floating-card i {
    font-size: 18px;
  }
}

.features .tab-content .visual-content .floating-element .floating-card .card-info span {
  display: block;
  font-size: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.features .tab-content .visual-content .floating-element .floating-card .card-info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .features .tab-content .visual-content .floating-element .floating-card .card-info strong {
    font-size: 12px;
  }
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatAnimation {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

/*--------------------------------------------------------------
# Features Cards Section
--------------------------------------------------------------*/
.features-cards .feature-card {
  height: 100%;
  background-color: var(--surface-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 94%);
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.features-cards .feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 90%);
}

.features-cards .feature-card.highlighted {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 85%), var(--surface-color));
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
}

.features-cards .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border-radius: 18px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 40%));
  color: var(--contrast-color);
}

.features-cards .feature-icon i {
  font-size: 1.75rem;
}

.features-cards h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.features-cards p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.features-cards .feature-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.features-cards .feature-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
}

.features-cards .feature-benefits li i {
  color: var(--accent-color);
  font-size: 1rem;
}

/* Compact Identity / Foundation / Culture cards */
.feature-cards-compact {
  margin-bottom: 0;
}

.feature-card-compact {
  padding: 1.25rem 1.5rem;
  height: 100%;
}

.feature-card-compact-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature-card-compact .feature-icon-compact {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.feature-card-compact .feature-icon-compact i {
  font-size: 1.25rem;
}

.feature-card-compact-head h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.feature-card-compact-intro {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.feature-card-compact .feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.feature-card-compact .feature-tags span {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--heading-color);
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  line-height: 1.3;
}

.feature-card-compact.highlighted .feature-tags span {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 65%);
}

.feature-card-compact:hover {
  transform: translateY(-4px);
}

/* Expandable card: teaser + "more" on same page */
.feature-card-compact[data-expandable] {
  cursor: pointer;
}

.feature-card-compact-head {
  position: relative;
}

.feature-card-toggle {
  margin-left: auto;
  font-size: 1.1rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.feature-card-read-more {
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 500;
  display: inline-block;
  margin-top: 0.25rem;
}

.feature-card-more {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.feature-card-compact.expanded .feature-card-more {
  display: block;
  animation: featureExpand 0.3s ease;
}

.feature-card-compact.expanded .feature-card-read-more {
  display: none;
}

.feature-card-compact.expanded .feature-card-toggle {
  transform: rotate(180deg);
}

.feature-card-compact.expanded[data-expandable] {
  cursor: default;
}

.feature-more-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.feature-more-list li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--heading-color);
}

.feature-more-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
}

.feature-card-more p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.feature-card-close {
  margin-top: 0.25rem;
}

.feature-card-close:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

@keyframes featureExpand {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.features-cards .feature-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--default-color), transparent 92%);
}

.features-cards .feature-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.features-cards .feature-image img:hover {
  transform: scale(1.05);
}

.features-cards .feature-testimonial {
  margin-top: 4rem;
  background-color: var(--surface-color);
  border-radius: 16px;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 94%);
  overflow: hidden;
}

.features-cards .testimonial-image {
  height: 100%;
}

.features-cards .testimonial-image img {
  height: 100%;
  object-fit: cover;
}

.features-cards .testimonial-content {
  padding: 3rem;
}

.features-cards .testimonial-content .quote-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 1.75rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.features-cards .testimonial-content p {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

.features-cards .testimonial-content .testimonial-author h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.features-cards .testimonial-content .testimonial-author span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
}

@media (max-width: 991px) {
  .features-cards .feature-card {
    margin-bottom: 1.5rem;
    padding: 2rem;
  }

  .features-cards .testimonial-content {
    padding: 2rem;
    text-align: center;
  }

  .features-cards .testimonial-content .quote-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .features-cards .feature-testimonial {
    margin-top: 2rem;
  }

  .features-cards .testimonial-image {
    max-height: 300px;
    overflow: hidden;
  }

  .features-cards .testimonial-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }

  .features-cards .testimonial-content {
    padding: 1.5rem;
  }

  .features-cards .testimonial-content p {
    font-size: 1.1rem;
  }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 0;
}

.call-to-action .container {
  padding: 80px;
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  border-radius: 15px;
}

@media (max-width: 992px) {
  .call-to-action .container {
    padding: 60px;
  }
}

.call-to-action .content h3 {
  font-size: 48px;
  font-weight: 700;
}

.call-to-action .content h3 em {
  font-style: normal;
  position: relative;
  z-index: 1;
}

.call-to-action .content h3 em:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 30%);
  z-index: -1;
}

.call-to-action .content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-weight: 400;
  font-size: 18px;
}

.call-to-action .content .cta-btn {
  color: var(--contrast-color);
  font-weight: 500;
  font-size: 16px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin-top: 10px;
  background: var(--accent-color);
}

.call-to-action .content .cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
}

.call-to-action .img {
  position: relative;
}

.call-to-action .img:before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--contrast-color), transparent 20%);
  border-radius: 15px;
  transform: rotate(6deg);
  z-index: 2;
}

.call-to-action .img:after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  border-radius: 15px;
  transform: rotate(12deg);
  z-index: 1;
}

.call-to-action .img img {
  position: relative;
  z-index: 3;
  border-radius: 15px;
  z-index: 3;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid var(--background-color);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

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

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .services-showcase {
  margin-bottom: 6rem;
}

.services .services-showcase .featured-service {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.services .services-showcase .featured-service .service-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.services .services-showcase .featured-service .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.services .services-showcase .featured-service .service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--heading-color), transparent 20%) 0%, color-mix(in srgb, var(--accent-color), transparent 30%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.services .services-showcase .featured-service .service-overlay .overlay-content {
  text-align: center;
  color: var(--contrast-color);
  padding: 2rem;
  transform: translateY(30px);
  transition: transform 0.4s ease;
}

.services .services-showcase .featured-service .service-overlay .overlay-content h3 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--contrast-color);
}

.services .services-showcase .featured-service .service-overlay .overlay-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.services .services-showcase .featured-service .service-overlay .overlay-content .service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--contrast-color);
  text-decoration: none;
  font-weight: 400;
  border-bottom: 1px solid var(--contrast-color);
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.services .services-showcase .featured-service .service-overlay .overlay-content .service-link i {
  transition: transform 0.3s ease;
}

.services .services-showcase .featured-service .service-overlay .overlay-content .service-link:hover {
  color: var(--contrast-color);
  border-color: transparent;
}

.services .services-showcase .featured-service .service-overlay .overlay-content .service-link:hover i {
  transform: translateX(5px);
}

.services .services-showcase .featured-service:hover .service-overlay {
  opacity: 1;
}

.services .services-showcase .featured-service:hover .service-overlay .overlay-content {
  transform: translateY(0);
}

.services .services-showcase .featured-service:hover .service-image img {
  transform: scale(1.05);
}

.services .services-showcase .services-list {
  display: flex;
  flex-direction: column;
  height: 600px;
  background: var(--surface-color);
}

.services .services-showcase .services-list .service-item {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 3rem 4rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
}

.services .services-showcase .services-list .service-item:last-child {
  border-bottom: none;
}

.services .services-showcase .services-list .service-item:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  transform: translateX(10px);
}

.services .services-showcase .services-list .service-item .service-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
}

.services .services-showcase .services-list .service-item .service-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.services .services-showcase .services-list .service-item .service-content h4 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.services .services-showcase .services-list .service-item .service-content h4 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.services .services-showcase .services-list .service-item .service-content h4 a:hover {
  color: var(--accent-color);
}

.services .services-showcase .services-list .service-item .service-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.services .additional-services .service-card {
  background: var(--surface-color);
  transition: all 0.4s ease;
  height: 100%;
}

.services .additional-services .service-card .card-image {
  overflow: hidden;
  height: 250px;
}

.services .additional-services .service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.services .additional-services .service-card .card-body {
  padding: 2.5rem 2rem;
}

.services .additional-services .service-card .card-body h5 {
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.services .additional-services .service-card .card-body h5 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.services .additional-services .service-card .card-body h5 a:hover {
  color: var(--accent-color);
}

.services .additional-services .service-card .card-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 2rem;
}

.services .additional-services .service-card .card-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.services .additional-services .service-card .card-body .read-more i {
  transition: transform 0.3s ease;
}

.services .additional-services .service-card .card-body .read-more:hover {
  color: var(--heading-color);
}

.services .additional-services .service-card .card-body .read-more:hover i {
  transform: translateX(3px);
}

.services .additional-services .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

.services .additional-services .service-card:hover .card-image img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .services .services-showcase .featured-service {
    height: 400px;
    margin-bottom: 2rem;
  }

  .services .services-showcase .featured-service .service-overlay .overlay-content {
    padding: 1.5rem;
  }

  .services .services-showcase .featured-service .service-overlay .overlay-content h3 {
    font-size: 2rem;
  }

  .services .services-showcase .services-list .service-item {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 80px 0;
  }

  .services .intro-content {
    margin-bottom: 3rem;
  }

  .services .services-showcase {
    margin-bottom: 4rem;
  }

  .services .services-showcase .services-list .service-item {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .services .services-showcase .services-list .service-item .service-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .services .additional-services .service-card .card-body {
    padding: 2rem 1.5rem;
  }
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
  padding: 40px 40px;
  height: 100%;
  border-radius: 15px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
  font-weight: 500;
}

.pricing .description {
  font-size: 14px;
}

.pricing .cta-btn {
  border: 1px solid var(--default-color);
  color: var(--default-color);
  display: block;
  text-align: center;
  padding: 10px 35px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  margin-top: 20px;
  margin-bottom: 6px;
}

.pricing .cta-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

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

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .featured {
  position: relative;
}

.pricing .featured .popular {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 4px 15px 6px 15px;
  margin: 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

.pricing .featured .cta-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-item {
  margin-bottom: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq .faq-item:last-child {
  border-bottom: none;
}

.faq .faq-item.faq-active .faq-header .faq-number {
  color: var(--accent-color);
  font-weight: 500;
}

.faq .faq-item.faq-active .faq-header h4 {
  color: var(--accent-color);
}

.faq .faq-item.faq-active .faq-header .faq-toggle {
  color: var(--accent-color);
  transform: rotate(0deg);
}

.faq .faq-item.faq-active .faq-header .faq-toggle i.bi-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq .faq-item.faq-active .faq-header .faq-toggle i.bi-dash {
  opacity: 1;
  transform: rotate(0deg);
}

.faq .faq-item.faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
}

.faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-plus {
  opacity: 1;
  transform: rotate(0deg);
}

.faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-dash {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq .faq-item .faq-header {
  display: flex;
  align-items: center;
  padding: 40px 0;
  cursor: pointer;
  gap: 0;
  transition: all 0.3s ease;
}

.faq .faq-item .faq-header:hover .faq-number {
  transform: scale(1.1);
}

.faq .faq-item .faq-header:hover .faq-toggle {
  transform: scale(1.1);
}

.faq .faq-item .faq-header .faq-number {
  flex-shrink: 0;
  width: 80px;
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  transition: all 0.3s ease;
  letter-spacing: -0.02em;
}

.faq .faq-item .faq-header h4 {
  flex: 1;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--heading-color);
  transition: all 0.3s ease;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-right: 20px;
}

.faq .faq-item .faq-header .faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
}

.faq .faq-item .faq-header .faq-toggle i {
  position: absolute;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  visibility: hidden;
  opacity: 0;
}

.faq .faq-item .faq-content .content-inner {
  padding: 0 80px 40px 80px;
  overflow: hidden;
}

.faq .faq-item .faq-content .content-inner p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 300;
}

@media (max-width: 768px) {
  .faq .faq-item .faq-header {
    padding: 30px 0;
  }

  .faq .faq-item .faq-header .faq-number {
    width: 60px;
    font-size: 1rem;
  }

  .faq .faq-item .faq-header h4 {
    font-size: 1.1rem;
    margin-right: 15px;
  }

  .faq .faq-item .faq-header .faq-toggle {
    width: 20px;
    height: 20px;
    font-size: 16px;
  }

  .faq .faq-item .faq-content .content-inner {
    padding: 0 60px 30px 60px;
  }

  .faq .faq-item .faq-content .content-inner p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .faq .faq-item .faq-header {
    padding: 25px 0;
  }

  .faq .faq-item .faq-header .faq-number {
    width: 50px;
    font-size: 0.9rem;
  }

  .faq .faq-item .faq-header h4 {
    font-size: 1rem;
    margin-right: 10px;
  }

  .faq .faq-item .faq-content .content-inner {
    padding: 0 50px 25px 50px;
  }

  .faq .faq-item .faq-content .content-inner p {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters-wrapper {
  text-align: center;
  margin-bottom: 80px;
}

.portfolio .portfolio-filters {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}

.portfolio .portfolio-filters::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio .portfolio-filters li {
  position: relative;
  cursor: pointer;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: all 0.4s ease-out;
  letter-spacing: 0.5px;
}

.portfolio .portfolio-filters li::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.4s ease-out;
  transform: translateX(-50%);
}

.portfolio .portfolio-filters li:hover {
  color: var(--default-color);
}

.portfolio .portfolio-filters li.filter-active {
  color: var(--default-color);
}

.portfolio .portfolio-filters li.filter-active::after {
  width: 100%;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
}

.portfolio .portfolio-card {
  background: var(--surface-color);
  transition: all 0.4s ease-out;
  overflow: hidden;
}

.portfolio .portfolio-card:hover {
  transform: translateY(-8px);
}

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

.portfolio .portfolio-card:hover .overlay {
  opacity: 1;
  visibility: visible;
}

.portfolio .portfolio-card:hover .content h3 {
  color: var(--accent-color);
}

.portfolio .image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: 8px;
}

.portfolio .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.portfolio .image-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-out;
  backdrop-filter: blur(2px);
}

.portfolio .image-container .overlay-content {
  display: flex;
  gap: 20px;
  transform: translateY(20px);
  transition: transform 0.4s ease-out 0.1s;
}

.portfolio-card:hover .portfolio .image-container .overlay-content {
  transform: translateY(0);
}

.portfolio .image-container .overlay-content a {
  width: 50px;
  height: 50px;
  background: var(--surface-color);
  color: var(--heading-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 18px;
}

.portfolio .image-container .overlay-content a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

.portfolio .content {
  padding: 30px 0;
  text-align: center;
}

.portfolio .content h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.portfolio .content p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  letter-spacing: 0.3px;
}

@media (min-width: 992px) {
  .portfolio .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .portfolio .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team {
  padding-top: 60px;
  padding-bottom: 60px;
}

.team .member-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team .member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--default-color), transparent 92%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.team .member-card:hover .member-media .social-list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.team .member-card .member-media {
  position: relative;
  aspect-ratio: 1/1;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.team .member-card .member-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team .member-card .member-media .social-list {
  list-style: none;
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  background: color-mix(in srgb, var(--background-color), var(--accent-color) 6%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 8px 10px;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.team .member-card .member-media .social-list a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--default-color);
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.team .member-card .member-media .social-list a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: color-mix(in srgb, var(--accent-color), transparent 30%);
  transform: translateY(-2px);
}

.team .member-card .member-content {
  padding: 18px 18px 22px;
}

.team .member-card .member-content .member-name {
  font-size: 1.05rem;
  margin: 0 0 4px 0;
}

.team .member-card .member-content .member-role {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.team .member-card .member-content .member-bio {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--default-color), transparent 18%);
}

.team .team-highlight {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 92%) 0%, color-mix(in srgb, var(--accent-color), transparent 96%) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  border-radius: 14px;
  padding: 22px 22px;
}

.team .team-highlight .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-right: 14px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

.team .team-highlight .icon-wrap i {
  font-size: 1.25rem;
}

.team .team-highlight .title {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}

.team .team-highlight .desc {
  color: color-mix(in srgb, var(--default-color), transparent 18%);
}

.team .join-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(1200px 300px at 20% -10%, color-mix(in srgb, var(--accent-color), transparent 82%), transparent 60%), radial-gradient(900px 300px at 120% 110%, color-mix(in srgb, var(--accent-color), transparent 86%), transparent 60%), var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  display: flex;
}

.team .join-card .join-content {
  padding: 24px;
  position: relative;
  z-index: 2;
}

.team .join-card .join-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team .join-card .join-content .btn-join {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 25%);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.team .join-card .join-content .btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--accent-color), transparent 70%);
  background: color-mix(in srgb, var(--accent-color), white 10%);
  color: var(--contrast-color);
}

.team .swiper-wrapper {
  height: auto !important;
}

@media (max-width: 992px) {
  .team .team-highlight .icon-wrap {
    margin-right: 12px;
  }
}

@media (max-width: 768px) {
  .team .member-card .member-content {
    padding: 16px;
  }

  .team .member-card .member-content .member-bio {
    font-size: 0.9rem;
  }

  .team .join-card .join-content {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .contact-form-container {
  padding: 60px 0;
}

.contact .contact-form-container .form-intro {
  margin-bottom: 60px;
}

.contact .contact-form-container .form-intro h2 {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--heading-color);
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .contact .contact-form-container .form-intro h2 {
    font-size: 28px;
  }
}

.contact .contact-form-container .form-intro p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--default-color);
  margin-bottom: 0;
  opacity: 0.85;
}

.contact .contact-form-container .contact-form .row {
  margin-bottom: 40px;
}

.contact .contact-form-container .contact-form .row:last-of-type {
  margin-bottom: 0;
}

.contact .contact-form-container .contact-form .form-field {
  position: relative;
  margin-bottom: 40px;
}

.contact .contact-form-container .contact-form .form-field.message-field {
  margin-bottom: 50px;
}

.contact .contact-form-container .contact-form .form-field .field-label {
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--heading-color);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.8;
}

.contact .contact-form-container .contact-form .form-field .form-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  background: transparent;
  padding: 20px 0 15px 0;
  font-size: 16px;
  color: var(--default-color);
  transition: all 0.3s ease;
}

.contact .contact-form-container .contact-form .form-field .form-input:focus {
  outline: none;
  border-bottom-color: var(--accent-color);
  background: transparent;
}

.contact .contact-form-container .contact-form .form-field .form-input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  opacity: 1;
}

.contact .contact-form-container .contact-form .form-field .message-input {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  padding-top: 25px;
}

.contact .contact-form-container .contact-form .send-button {
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 18px 40px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact .contact-form-container .contact-form .send-button .button-arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.contact .contact-form-container .contact-form .send-button:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .contact-form-container .contact-form .send-button:hover .button-arrow {
  transform: translateX(5px);
}

.contact .contact-sidebar {
  background: color-mix(in srgb, var(--accent-color), transparent 97%);
  height: 100%;
  padding: 60px 40px;
}

.contact .contact-sidebar .contact-header {
  margin-bottom: 60px;
}

.contact .contact-sidebar .contact-header h3 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--heading-color);
  letter-spacing: -0.3px;
}

.contact .contact-sidebar .contact-header p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--default-color);
  margin-bottom: 0;
  opacity: 0.85;
}

.contact .contact-sidebar .contact-methods {
  margin-bottom: 60px;
}

.contact .contact-sidebar .contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.contact .contact-sidebar .contact-method:last-child {
  margin-bottom: 0;
}

.contact .contact-sidebar .contact-method .contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}

.contact .contact-sidebar .contact-method .contact-icon i {
  font-size: 20px;
}

.contact .contact-sidebar .contact-method .contact-details {
  flex: 1;
}

.contact .contact-sidebar .contact-method .contact-details .method-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.contact .contact-sidebar .contact-method .contact-details p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--default-color);
  margin-bottom: 0;
}

.contact .contact-sidebar .connect-section {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 40px;
}

.contact .contact-sidebar .connect-section .connect-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.contact .contact-sidebar .connect-section .social-links {
  display: flex;
  gap: 15px;
}

.contact .contact-sidebar .connect-section .social-links .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--default-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact .contact-sidebar .connect-section .social-links .social-link i {
  font-size: 16px;
}

.contact .contact-sidebar .connect-section .social-links .social-link:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .contact .contact-form-container {
    padding: 40px 0;
  }

  .contact .contact-sidebar {
    padding: 40px 30px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .contact .contact-form-container .form-intro {
    margin-bottom: 40px;
    text-align: center;
  }

  .contact .contact-form-container .contact-form .row {
    margin-bottom: 20px;
  }

  .contact .contact-form-container .contact-form .form-field {
    margin-bottom: 30px;
  }

  .contact .contact-sidebar {
    padding: 30px 25px;
  }

  .contact .contact-sidebar .contact-header,
  .contact .contact-sidebar .contact-methods {
    margin-bottom: 40px;
  }

  .contact .contact-sidebar .contact-method {
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-hero {
  margin-bottom: 4rem;
}

.service-details .service-hero .service-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-details .service-hero .service-meta .service-category {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.service-details .service-hero .service-meta .reading-time {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 0.9rem;
  font-weight: 300;
}

.service-details .service-hero h1 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

.service-details .service-hero .service-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-weight: 300;
  margin: 0;
}

.service-details .service-visual {
  margin-bottom: 4rem;
  overflow: hidden;
  border-radius: 4px;
}

.service-details .service-visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-details .service-visual img:hover {
  transform: scale(1.02);
}

.service-details .service-narrative {
  margin-bottom: 5rem;
}

.service-details .service-narrative h3 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.service-details .service-narrative p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--default-color);
  font-weight: 300;
}

.service-details .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-details .benefits-grid .benefit-card {
  text-align: center;
  padding: 0;
}

.service-details .benefits-grid .benefit-card .benefit-icon {
  width: 60px;
  height: 60px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.service-details .benefits-grid .benefit-card .benefit-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.service-details .benefits-grid .benefit-card:hover .benefit-icon {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.service-details .benefits-grid .benefit-card:hover .benefit-icon i {
  color: var(--contrast-color);
}

.service-details .benefits-grid .benefit-card h4 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.service-details .benefits-grid .benefit-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.service-details .timeline-section {
  margin-bottom: 4rem;
}

.service-details .timeline-section h3 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 3rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.service-details .timeline-section .timeline {
  position: relative;
}

.service-details .timeline-section .timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
}

.service-details .timeline-section .timeline .timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3rem;
}

.service-details .timeline-section .timeline .timeline-item:last-child {
  margin-bottom: 0;
}

.service-details .timeline-section .timeline .timeline-item .timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: var(--surface-color);
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.service-details .timeline-section .timeline .timeline-item .timeline-marker span {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent-color);
}

.service-details .timeline-section .timeline .timeline-item .timeline-content h4 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
}

.service-details .timeline-section .timeline .timeline-item .timeline-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: var(--default-color);
}

.service-details .timeline-section .timeline .timeline-item .timeline-content small {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.9rem;
  font-weight: 500;
}

.service-details .service-sidebar {
  padding-left: 2rem;
}

@media (max-width: 992px) {
  .service-details .service-sidebar {
    padding-left: 0;
    margin-top: 4rem;
  }
}

.service-details .overview-card,
.service-details .success-story,
.service-details .consultation-form {
  background: var(--surface-color);
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 93%);
  transition: all 0.3s ease;
}

.service-details .overview-card:hover,
.service-details .success-story:hover,
.service-details .consultation-form:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.service-details .overview-card .overview-header h4 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

.service-details .overview-card .overview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-details .overview-card .overview-stats .stat-item {
  text-align: center;
}

.service-details .overview-card .overview-stats .stat-item .stat-number {
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.service-details .overview-card .overview-stats .stat-item .stat-label {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-details .overview-card .overview-details {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 1.5rem;
}

.service-details .overview-card .overview-details .detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.service-details .overview-card .overview-details .detail-row:last-child {
  margin-bottom: 0;
}

.service-details .overview-card .overview-details .detail-row .detail-label {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 400;
}

.service-details .overview-card .overview-details .detail-row .detail-value {
  font-size: 0.95rem;
  color: var(--heading-color);
  font-weight: 500;
}

.service-details .success-story .story-quote p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-style: italic;
  margin-bottom: 2rem;
}

.service-details .success-story .story-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-details .success-story .story-author .author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.service-details .success-story .story-author .author-details h5 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--heading-color);
}

.service-details .success-story .story-author .author-details span {
  display: block;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0.25rem;
}

.service-details .success-story .story-author .author-details small {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.service-details .success-story .story-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .success-story .story-metrics .metric {
  text-align: center;
}

.service-details .success-story .story-metrics .metric .metric-value {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.25rem;
}

.service-details .success-story .story-metrics .metric .metric-label {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-details .consultation-form .form-header {
  margin-bottom: 2rem;
}

.service-details .consultation-form .form-header h4 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
}

.service-details .consultation-form .form-header p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.service-details .consultation-form .form-group {
  margin-bottom: 1.5rem;
}

.service-details .consultation-form .form-input {
  width: 100%;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 4px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: transparent;
}

.service-details .consultation-form .form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.service-details .consultation-form input[type=text],
.service-details .consultation-form input[type=email],
.service-details .consultation-form input[type=tel],
.service-details .consultation-form select,
.service-details .consultation-form textarea {
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 14px;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.service-details .consultation-form input[type=text]:focus,
.service-details .consultation-form input[type=email]:focus,
.service-details .consultation-form input[type=tel]:focus,
.service-details .consultation-form select:focus,
.service-details .consultation-form textarea:focus {
  border-color: var(--accent-color);
}

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

.service-details .consultation-form .btn-consultation {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-transform: none;
}

.service-details .consultation-form .btn-consultation:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 10%);
  transform: translateY(-1px);
}

.service-details .consultation-form .btn-consultation i {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .service-details .service-hero h1 {
    font-size: 2.5rem;
  }

  .service-details .service-hero .service-description {
    font-size: 1.1rem;
  }

  .service-details .service-visual img {
    height: 250px;
  }

  .service-details .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-details .timeline-section .timeline::before {
    left: 20px;
  }

  .service-details .timeline-section .timeline .timeline-item {
    padding-left: 60px;
  }

  .service-details .timeline-section .timeline .timeline-item .timeline-marker {
    width: 40px;
    height: 40px;
  }

  .service-details .timeline-section .timeline .timeline-item .timeline-marker span {
    font-size: 1rem;
  }

  .service-details .overview-card .overview-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details {
  --section-spacing: 5rem;
  --content-spacing: 4rem;
  --subtle-border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.portfolio-details .project-hero {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .project-hero .hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.portfolio-details .project-hero .hero-content .project-category {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.portfolio-details .project-hero .hero-content .project-title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

.portfolio-details .project-hero .hero-content .project-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-weight: 400;
  margin-bottom: 0;
}

.portfolio-details .project-hero .project-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-top: 3rem;
  border-top: var(--subtle-border);
}

.portfolio-details .project-hero .project-meta-grid .meta-column {
  text-align: center;
}

.portfolio-details .project-hero .project-meta-grid .meta-column .meta-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0.5rem;
}

.portfolio-details .project-hero .project-meta-grid .meta-column .meta-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--heading-color);
}

.portfolio-details .visual-showcase {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .visual-showcase .main-visual {
  border-radius: 8px;
  overflow: hidden;
}

.portfolio-details .visual-showcase .main-visual .swiper-wrapper {
  height: auto !important;
}

.portfolio-details .visual-showcase .main-visual .swiper-slide img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.portfolio-details .visual-showcase .main-visual .swiper-button-next,
.portfolio-details .visual-showcase .main-visual .swiper-button-prev {
  width: 50px;
  height: 50px;
  background-color: color-mix(in srgb, var(--contrast-color), transparent 10%);
  border-radius: 50%;
  color: var(--heading-color);
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.portfolio-details .visual-showcase .main-visual .swiper-button-next::after,
.portfolio-details .visual-showcase .main-visual .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 600;
}

.portfolio-details .visual-showcase .main-visual .swiper-button-next:hover,
.portfolio-details .visual-showcase .main-visual .swiper-button-prev:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

.portfolio-details .visual-showcase .main-visual .swiper-button-prev {
  left: 30px;
}

.portfolio-details .visual-showcase .main-visual .swiper-button-next {
  right: 30px;
}

.portfolio-details .content-section {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .content-section .project-overview {
  text-align: center;
}

.portfolio-details .content-section .project-overview h2 {
  font-size: 2.75rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

.portfolio-details .content-section .project-overview .overview-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 4rem;
}

.portfolio-details .content-section .project-overview .challenge-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  text-align: left;
}

.portfolio-details .content-section .project-overview .challenge-solution .challenge-block h3,
.portfolio-details .content-section .project-overview .challenge-solution .solution-block h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.portfolio-details .content-section .project-overview .challenge-solution .challenge-block p,
.portfolio-details .content-section .project-overview .challenge-solution .solution-block p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.7;
}

.portfolio-details .metrics-showcase {
  padding: 4rem 0;
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
  margin: var(--section-spacing) -15px;
  border-radius: 8px;
}

.portfolio-details .metrics-showcase .metrics-content h3 {
  font-size: 2.25rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.portfolio-details .metrics-showcase .metrics-content p {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.7;
}

.portfolio-details .metrics-showcase .metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.portfolio-details .metrics-showcase .metrics-grid .metric-item {
  text-align: center;
  padding: 1.5rem;
}

.portfolio-details .metrics-showcase .metrics-grid .metric-item .metric-number {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.portfolio-details .metrics-showcase .metrics-grid .metric-item .metric-label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  line-height: 1.4;
}

.portfolio-details .technology-stack {
  margin-bottom: var(--section-spacing);
  padding-top: 3rem;
  border-top: var(--subtle-border);
}

.portfolio-details .technology-stack h3 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 0;
}

.portfolio-details .technology-stack .tech-categories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.portfolio-details .technology-stack .tech-categories .tech-category .category-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.portfolio-details .technology-stack .tech-categories .tech-category .tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portfolio-details .technology-stack .tech-categories .tech-category .tech-list .tech-item {
  padding: 0.5rem 1rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.portfolio-details .technology-stack .tech-categories .tech-category .tech-list .tech-item:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  transform: translateY(-2px);
}

.portfolio-details .process-gallery {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .process-gallery h3 {
  font-size: 2.25rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--heading-color);
}

.portfolio-details .process-gallery .gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portfolio-details .process-gallery .gallery-masonry .gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.portfolio-details .process-gallery .gallery-masonry .gallery-item.large {
  grid-row: span 2;
}

.portfolio-details .process-gallery .gallery-masonry .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.portfolio-details .process-gallery .gallery-masonry .gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.portfolio-details .process-gallery .gallery-masonry .gallery-item:hover {
  transform: translateY(-5px);
}

.portfolio-details .process-gallery .gallery-masonry .gallery-item:hover img {
  transform: scale(1.05);
}

.portfolio-details .process-gallery .gallery-masonry .gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.portfolio-details .key-features-section {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .key-features-section .features-intro {
  padding-right: 2rem;
}

.portfolio-details .key-features-section .features-intro h3 {
  font-size: 2.25rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.portfolio-details .key-features-section .features-intro p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.7;
}

.portfolio-details .key-features-section .features-list .feature-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.portfolio-details .key-features-section .features-list .feature-row:last-child {
  margin-bottom: 0;
}

.portfolio-details .key-features-section .features-list .feature-row .feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.portfolio-details .key-features-section .features-list .feature-row .feature-icon i {
  font-size: 1.2rem;
  color: var(--accent-color);
}

.portfolio-details .key-features-section .features-list .feature-row .feature-content h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}

.portfolio-details .key-features-section .features-list .feature-row .feature-content p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.7;
  margin-bottom: 0;
}

.portfolio-details .project-footer {
  padding-top: 3rem;
  border-top: var(--subtle-border);
}

.portfolio-details .project-footer .footer-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-details .project-footer .footer-navigation .nav-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio-details .project-footer .footer-navigation .nav-link.prev-project,
.portfolio-details .project-footer .footer-navigation .nav-link.next-project {
  color: var(--heading-color);
}

.portfolio-details .project-footer .footer-navigation .nav-link.prev-project .nav-direction,
.portfolio-details .project-footer .footer-navigation .nav-link.next-project .nav-direction {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0.25rem;
}

.portfolio-details .project-footer .footer-navigation .nav-link.prev-project .nav-title,
.portfolio-details .project-footer .footer-navigation .nav-link.next-project .nav-title {
  font-size: 1.1rem;
  font-weight: 500;
}

.portfolio-details .project-footer .footer-navigation .nav-link.prev-project:hover,
.portfolio-details .project-footer .footer-navigation .nav-link.next-project:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.portfolio-details .project-footer .footer-navigation .nav-link.next-project {
  text-align: right;
}

.portfolio-details .project-footer .footer-navigation .nav-link.all-projects {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 25px;
  color: var(--heading-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.portfolio-details .project-footer .footer-navigation .nav-link.all-projects i {
  font-size: 1rem;
}

.portfolio-details .project-footer .footer-navigation .nav-link.all-projects:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  .portfolio-details .project-hero .hero-content .project-title {
    font-size: 3rem;
  }

  .portfolio-details .project-hero .project-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-details .content-section .project-overview .challenge-solution {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portfolio-details .content-section .project-overview h2 {
    font-size: 2.25rem;
  }

  .portfolio-details .metrics-showcase .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-details .key-features-section .features-intro {
    margin-bottom: 2rem;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .portfolio-details {
    --section-spacing: 3rem;
  }

  .portfolio-details .project-hero .hero-content .project-title {
    font-size: 2.5rem;
  }

  .portfolio-details .project-hero .project-meta-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-header {
    padding: 150px 0 60px !important; /* Clear fixed header on mobile */
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }
}

/* Ministry Cards */
.ministry-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.ministry-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.ministry-image img {
  border-radius: 8px;
  max-height: 200px;
  object-fit: cover;
}

/* Sermon Cards */
.sermon-type-card {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.sermon-icon {
  font-size: 4rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.sermon-image img {
  border-radius: 8px;
  max-height: 250px;
  object-fit: cover;
  width: 100%;
}

.category-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Event Cards */
.event-card {
  background: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  height: 100%;
}

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

.event-date {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  text-align: center;
}

.event-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.event-content {
  padding: 2rem;
  flex: 1;
}

.event-time,
.event-location {
  color: var(--default-color);
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.event-image img {
  border-radius: 8px;
  max-height: 200px;
  object-fit: cover;
  width: 100%;
}

/* Program Cards */
.program-card {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.program-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.program-header i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.program-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.program-features li {
  padding: 0.5rem 0;
  color: var(--default-color);
}

.program-image img {
  border-radius: 8px;
  max-height: 200px;
  object-fit: cover;
  width: 100%;
}

.feature-box {
  text-align: center;
  padding: 1.5rem;
}

.feature-box i {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .portfolio-details .visual-showcase .main-visual .swiper-slide img {
    height: 400px;
  }

  .portfolio-details .visual-showcase .main-visual .swiper-button-next,
  .portfolio-details .visual-showcase .main-visual .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .portfolio-details .visual-showcase .main-visual .swiper-button-next::after,
  .portfolio-details .visual-showcase .main-visual .swiper-button-prev::after {
    font-size: 0.9rem;
  }

  .portfolio-details .visual-showcase .main-visual .swiper-button-prev {
    left: 15px;
  }

  .portfolio-details .visual-showcase .main-visual .swiper-button-next {
    right: 15px;
  }

  .portfolio-details .content-section .project-overview h2 {
    font-size: 2rem;
  }

  .portfolio-details .project-footer .footer-navigation {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .portfolio-details .project-footer .footer-navigation .nav-link.prev-project,
  .portfolio-details .project-footer .footer-navigation .nav-link.next-project {
    text-align: center;
  }

  .portfolio-details .project-footer .footer-navigation .nav-link.all-projects {
    order: -1;
  }

  .portfolio-details .technology-stack .tech-categories .tech-category .tech-list .tech-item {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 576px) {
  .portfolio-details .gallery-masonry {
    grid-template-columns: 1fr !important;
  }

  .portfolio-details .gallery-masonry .gallery-item.large {
    grid-row: span 1;
  }

  .portfolio-details .metrics-showcase {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }
}

/* =======================================================
   Enhanced Styling for CrossLife Mission Network
   ======================================================= */

/* Enhanced Form Styling */
.contact-form-container .nav-tabs {
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.contact-form-container .nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--default-color);
  padding: 1rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background: transparent;
}

.contact-form-container .nav-tabs .nav-link:hover {
  border-bottom-color: var(--accent-color);
  color: var(--accent-color);
}

.contact-form-container .nav-tabs .nav-link.active {
  border-bottom-color: var(--accent-color);
  color: var(--accent-color);
  background: transparent;
}

.contact-form-container .form-field {
  position: relative;
  margin-bottom: 2rem;
}

.contact-form-container .form-field .field-label {
  position: absolute;
  top: -10px;
  left: 15px;
  background: var(--surface-color);
  padding: 0 8px;
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 500;
  z-index: 1;
}

.contact-form-container .form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--surface-color);
  color: var(--default-color);
}

.contact-form-container .form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(200, 87, 22, 0.1);
}

.contact-form-container .form-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.contact-form-container .message-input {
  min-height: 150px;
  resize: vertical;
}

.contact-form-container .send-button {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(200, 87, 22, 0.3);
}

.contact-form-container .send-button:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 87, 22, 0.4);
}

.contact-form-container .send-button .button-arrow {
  transition: transform 0.3s ease;
}

.contact-form-container .send-button:hover .button-arrow {
  transform: translateX(5px);
}

/* Enhanced Contact Sidebar */
.contact-sidebar {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-sidebar .contact-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.contact-sidebar .contact-header h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
}

.contact-sidebar .contact-methods {
  margin-bottom: 2rem;
}

.contact-sidebar .contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-sidebar .contact-method:last-child {
  border-bottom: none;
}

.contact-sidebar .contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(200, 87, 22, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-sidebar .contact-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.contact-sidebar .contact-details .method-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.contact-sidebar .contact-details p {
  margin: 0;
  color: var(--default-color);
  line-height: 1.6;
}

.contact-sidebar .connect-section {
  padding-top: 1.5rem;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.contact-sidebar .connect-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.contact-sidebar .social-links {
  display: flex;
  gap: 1rem;
}

.contact-sidebar .social-link {
  width: 45px;
  height: 45px;
  background: rgba(200, 87, 22, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-sidebar .social-link:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

/* Enhanced Page Header */
.page-header {
  position: relative;
  padding: 140px 0 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
  font-size: 1.25rem;
  color: var(--default-color);
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

/* Enhanced Ministry Cards */
.ministry-card {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.ministry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.ministry-card:hover::before {
  transform: scaleX(1);
}

.ministry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Ministry icons removed - styling kept for potential future use */
.ministry-icon {
  display: none;
}

.ministry-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.ministry-card p {
  color: var(--default-color);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.ministry-image {
  margin-top: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
}

.ministry-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Enhanced Sermon Cards */
.sermon-type-card {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.sermon-type-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(200, 87, 22, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sermon-type-card:hover::after {
  opacity: 1;
}

.sermon-type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.sermon-icon {
  font-size: 4.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.sermon-type-card:hover .sermon-icon {
  transform: scale(1.1);
}

.sermon-type-card h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.sermon-type-card p {
  color: var(--default-color);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.sermon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.sermon-image {
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
}

.sermon-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.category-card {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.category-card i {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.category-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.category-card p {
  color: var(--default-color);
  line-height: 1.7;
  margin: 0;
}

/* Enhanced Event Cards */
.event-card {
  background: var(--surface-color);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.event-date {
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), black 20%) 100%);
  color: var(--contrast-color);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.event-date::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.event-date .day {
  font-size: 1.75rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.event-date .month {
  font-size: 1rem;
  text-transform: uppercase;
  opacity: 0.95;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.event-content {
  padding: 2.5rem;
  flex: 1;
}

.event-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.event-time,
.event-location {
  color: var(--default-color);
  opacity: 0.8;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-content p {
  color: var(--default-color);
  line-height: 1.7;
  margin-top: 1rem;
}

.event-image {
  margin-top: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Enhanced Program Cards */
.program-card {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(200, 87, 22, 0.03) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.program-card:hover::before {
  opacity: 1;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.program-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.program-header i {
  font-size: 3rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.program-card:hover .program-header i {
  transform: scale(1.1) rotate(-5deg);
}

.program-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--heading-color);
}

.program-card p {
  color: var(--default-color);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.program-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.program-features li {
  padding: 0.75rem 0;
  color: var(--default-color);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.program-features li:hover {
  transform: translateX(5px);
}

.program-features li i {
  color: var(--accent-color);
  margin-right: 0.75rem;
}

.program-image {
  margin-top: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.program-card .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.program-card .btn-outline-light:hover {
  background: var(--contrast-color);
  color: var(--accent-color);
  border-color: var(--contrast-color);
  transform: translateY(-2px);
}

/* Feature Boxes */
.feature-box {
  text-align: center;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-box i {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature-box h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.feature-box p {
  color: var(--default-color);
  line-height: 1.7;
  margin: 0;
}

/* Enhanced Feedback Form Styling */
.feedback-form {
  background: var(--surface-color);
  padding: 3.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feedback-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), white 30%) 100%);
}

.feedback-form .form-field {
  position: relative;
  margin-bottom: 2rem;
}

.feedback-form .form-field .field-label {
  position: absolute;
  top: -10px;
  left: 15px;
  background: var(--surface-color);
  padding: 0 10px;
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 600;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feedback-form .form-input {
  width: 100%;
  padding: 1.125rem 1.5rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--surface-color);
  color: var(--default-color);
  font-family: inherit;
}

.feedback-form .form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(200, 87, 22, 0.1);
  background: var(--surface-color);
}

.feedback-form .form-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
  font-style: italic;
}

.feedback-form .form-field select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23c85716' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  padding-right: 3.5rem;
  cursor: pointer;
}

.feedback-form .form-field select.form-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(200, 87, 22, 0.1);
}

.feedback-form .form-field select.form-input option {
  padding: 0.5rem;
  background: var(--surface-color);
  color: var(--default-color);
}

.feedback-form .message-field {
  margin-bottom: 2.5rem;
}

.feedback-form .message-input {
  min-height: 180px;
  resize: vertical;
  line-height: 1.6;
}

.feedback-form .send-button {
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), black 10%) 100%);
  color: var(--contrast-color);
  border: none;
  padding: 1.125rem 3rem;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 6px 20px rgba(200, 87, 22, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  justify-content: center;
}

.feedback-form .send-button:hover {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), black 5%) 0%, color-mix(in srgb, var(--accent-color), black 15%) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(200, 87, 22, 0.45);
}

.feedback-form .send-button:active {
  transform: translateY(-1px);
}

.feedback-form .send-button .button-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.feedback-form .send-button:hover .button-arrow {
  transform: translateX(5px);
}

.feedback-form .loading,
.feedback-form .error-message,
.feedback-form .sent-message {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 500;
}

.feedback-form .loading {
  background: rgba(200, 87, 22, 0.1);
  color: var(--accent-color);
  border-left: 4px solid var(--accent-color);
}

.feedback-form .error-message {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border-left: 4px solid #dc3545;
}

.feedback-form .sent-message {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border-left: 4px solid #28a745;
}

@media (max-width: 768px) {
  .feedback-form {
    padding: 2rem 1.5rem;
  }

  .feedback-form .form-input {
    padding: 1rem 1.25rem;
  }

  .feedback-form .send-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* Responsive Enhancements */
@media (max-width: 992px) {
  .page-header {
    padding: 150px 0 80px !important;
  }

  .page-header h1 {
    font-size: 2.75rem;
  }

  .ministry-card,
  .sermon-type-card,
  .event-card,
  .program-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 150px 0 60px !important; /* Clear fixed header on mobile */
  }

  .page-header h1 {
    font-size: 2.25rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }

  .contact-sidebar {
    margin-top: 2rem;
  }

  .ministry-card,
  .sermon-type-card,
  .program-card {
    padding: 2rem;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    min-width: 100%;
    padding: 2rem;
  }

  .sermon-links {
    flex-direction: column;
  }

  .sermon-links .btn {
    width: 100%;
  }
}

/* Page-Specific Styling */

/* Ministries Page */
.ministries.section {
  background: linear-gradient(to bottom, var(--background-color) 0%, color-mix(in srgb, var(--background-color), white 5%) 100%);
}

.ministries.section .container {
  position: relative;
}

/* Leadership Page – same base theme as ministries */
.leadership.section {
  background: linear-gradient(to bottom, var(--background-color) 0%, color-mix(in srgb, var(--background-color), white 5%) 100%);
}

.leadership.section .container {
  position: relative;
}

/* Leader cards – good size, clear photo, contact as styled buttons (match ministry-card theme) */
.leader-card {
  background: var(--surface-color);
  padding: 0;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 1;
}

.leader-card:hover::before {
  transform: scaleX(1);
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Photo: good size, consistent aspect ratio, object-fit cover for clean crop */
.leader-card__image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--background-color);
  flex-shrink: 0;
}

.leader-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.leader-card:hover .leader-card__image img {
  transform: scale(1.05);
}

.leader-card__body {
  padding: 1.5rem 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.leader-card__name {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--heading-color);
  line-height: 1.3;
}

.leader-card__role {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.leader-card__departments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.leader-card__departments .tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
}

.leader-card__bio {
  font-size: 0.9rem;
  color: var(--default-color);
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Contact: styled as buttons (outline + filled on hover) */
.leader-card__contact {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.leader-card__contact .contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--default-color);
  margin-bottom: 0.6rem;
}

.leader-card__contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.leader-card__contact a.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.leader-card__contact a.contact-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  text-decoration: none;
}

/* Sermons Page */
.sermons.section {
  background: var(--background-color);
}

.sermons.section .sermon-categories {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid rgba(0, 0, 0, 0.05);
}

/* Discipleship Page */
.discipleship.section {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
  position: relative;
}

.discipleship.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(200, 87, 22, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(200, 87, 22, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.discipleship.section .container {
  position: relative;
  z-index: 1;
}

/* Events Page */
.events.section {
  background: linear-gradient(to bottom, var(--background-color) 0%, color-mix(in srgb, var(--background-color), white 3%) 100%);
}

/* Contacts Page */
.contact.section {
  background: var(--background-color);
}

.feedback.section {
  background: linear-gradient(to bottom, var(--background-color) 0%, color-mix(in srgb, var(--background-color), white 5%) 100%);
  padding: 80px 0;
}

.feedback.section .section-title {
  margin-bottom: 3rem;
}

.feedback-form {
  max-width: 800px;
  margin: 0 auto;
}

.feedback-form .form-field select.form-input {
  cursor: pointer;
}

.feedback-form .form-field select.form-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(200, 87, 22, 0.1);
}

/* Enhanced Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title .subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 1rem;
  padding: 0.5rem 1.5rem;
  background: rgba(200, 87, 22, 0.1);
  border-radius: 30px;
}

.section-title h2 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
  line-height: 1.2;
}

.section-title p {
  font-size: 1.15rem;
  color: var(--default-color);
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Enhanced Buttons */
.btn-primary {
  background: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(200, 87, 22, 0.3);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 87, 22, 0.4);
  color: var(--contrast-color);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 87, 22, 0.3);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--contrast-color);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: var(--contrast-color);
  color: var(--accent-color);
  border-color: var(--contrast-color);
  transform: translateY(-2px);
}

/* Loading, Error, and Success Messages */
.php-email-form .loading {
  display: none;
  background: rgba(200, 87, 22, 0.1);
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  margin-top: 1rem;
}

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

@keyframes spinner {
  to { transform: rotate(360deg); }
}

.php-email-form .error-message {
  display: none;
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  margin-top: 1rem;
  border-left: 4px solid #dc3545;
}

.php-email-form .sent-message {
  display: none;
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  margin-top: 1rem;
  border-left: 4px solid #28a745;
}

.php-email-form .loading:before,
.php-email-form .error-message,
.php-email-form .sent-message {
  font-weight: 600;
}

/* Enhanced Newsletter Form */
.newsletter-form {
  margin-top: 2rem;
}

.newsletter-form h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.newsletter-form .input-group {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-control {
  flex: 1;
  border: none;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
}

.newsletter-form .form-control:focus {
  outline: none;
  box-shadow: none;
}

.newsletter-form .btn-subscribe {
  background: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  padding: 0.875rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form .btn-subscribe:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
}

/* Success Modal Styles */
.success-modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.success-icon {
  font-size: 80px;
  color: #28a745;
  animation: scaleIn 0.5s ease-out;
}

.success-icon i {
  display: inline-block;
  animation: bounceIn 0.6s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-modal-content h3 {
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.success-modal-content p {
  color: var(--default-color);
  font-size: 1.1rem;
  line-height: 1.6;
}

.success-modal-content .btn-primary {
  background: var(--accent-color);
  border: none;
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.success-modal-content .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(200, 87, 22, 0.3);
}

/* Prayer Request Modal Specific */
#prayerSuccessModal .success-icon {
  color: #dc3545;
}

/* Feedback Modal Specific */
#feedbackSuccessModal .success-icon {
  color: #ffc107;
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Enhanced Focus States */
*:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/*--------------------------------------------------------------
# Leadership Section
--------------------------------------------------------------*/
.leadership {
  position: relative;
  overflow: hidden;
}

.leadership::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(200, 87, 22, 0.03) 0%, rgba(200, 87, 22, 0.01) 100%);
  pointer-events: none;
}

.leader-card {
  position: relative;
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(200, 87, 22, 0.1);
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(200, 87, 22, 0.15);
  border-color: rgba(200, 87, 22, 0.2);
}

.leader-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.leader-media {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Square aspect ratio for better portrait display */
  overflow: hidden;
  margin: 0;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  border-radius: 20px 20px 0 0;
}

.leader-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.leader-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* Focus on face/upper body */
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1.02) contrast(1.05);
  border-radius: 20px 20px 0 0;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(200, 87, 22, 0.1);
}

.leader-card:hover .leader-image {
  transform: scale(1.05);
  filter: brightness(1.05) contrast(1.08);
}

.leader-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(200, 87, 22, 0.05) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
  border-radius: 20px 20px 0 0;
}

.leader-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--contrast-color);
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(200, 87, 22, 0.4);
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(200, 87, 22, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(200, 87, 22, 0.6);
  }
}

.leader-content {
  padding: 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.leader-header {
  margin-bottom: 1.5rem;
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(200, 87, 22, 0.1);
}

.leader-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  font-family: var(--heading-font);
}

.leader-initials {
  font-size: 1.1rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.leader-role {
  margin: 0;
}

.role-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), black 10%) 100%);
  color: var(--contrast-color);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(200, 87, 22, 0.3);
  transition: all 0.3s ease;
}

.leader-card:hover .role-badge {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(200, 87, 22, 0.4);
}

.leader-bio-section {
  flex: 1;
  margin-bottom: 1.5rem;
}

.leader-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 1.25rem;
  text-align: justify;
}

.leader-bio:last-child {
  margin-bottom: 0;
}

.leader-bio em {
  color: var(--accent-color);
  font-style: italic;
  font-weight: 500;
}

.leader-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200, 87, 22, 0.1);
  margin-top: auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(200, 87, 22, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(200, 87, 22, 0.1);
  transform: translateX(5px);
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--accent-color);
  width: 24px;
  text-align: center;
}

.contact-item a {
  color: var(--default-color);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-color);
}

.contact-item span {
  color: var(--default-color);
  font-size: 0.95rem;
}

/* Compact Senior Pastor layout (less space, horizontal on desktop) */
.leader-card-compact {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.leader-card-compact .leader-card-inner {
  flex-direction: column;
}

.leader-card-compact .leader-media {
  padding-top: 75%;
  border-radius: 16px 16px 0 0;
}

.leader-card-compact .leader-content {
  padding: 1.5rem 1.75rem;
}

.leader-card-compact .leader-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom-width: 1px;
}

.leader-card-compact .leader-name {
  font-size: 1.5rem;
}

.leader-card-compact .leader-initials {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.leader-card-compact .leader-bio-section {
  margin-bottom: 1rem;
}

.leader-card-compact .leader-bio {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.leader-contact-inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  margin-top: 0;
}

.leader-contact-inline .contact-item {
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.leader-contact-inline a.contact-item {
  text-decoration: none;
}

.leader-contact-inline a.contact-item:hover {
  color: var(--accent-color);
}

.leader-contact-inline .contact-item:hover {
  transform: none;
}

@media (min-width: 768px) {
  .leader-card-compact .leader-card-inner {
    flex-direction: row;
  }

  .leader-card-compact .leader-media {
    flex: 0 0 260px;
    width: 260px;
    padding-top: 0;
    height: 320px;
    border-radius: 16px 0 0 16px;
  }

  .leader-card-compact .leader-image-wrapper {
    border-radius: 16px 0 0 16px;
  }

  .leader-card-compact .leader-image,
  .leader-card-compact .leader-image-overlay {
    border-radius: 16px 0 0 16px;
  }

  .leader-card-compact .leader-content {
    flex: 1;
    min-width: 0;
    padding: 1.5rem 2rem;
  }

  .leader-card-compact .leader-header {
    text-align: left;
  }

  .leader-card-compact .leader-name {
    font-size: 1.4rem;
  }
}

@media (min-width: 992px) {
  .leader-card-compact .leader-media {
    flex: 0 0 280px;
    width: 280px;
    height: 340px;
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  .leader-content {
    padding: 2rem;
  }
  
  .leader-name {
    font-size: 1.75rem;
  }
  
  .leader-badge {
    width: 50px;
    height: 50px;
    font-size: 20px;
    top: 15px;
    right: 15px;
  }
  
  .leader-media {
    padding-top: 90%; /* Slightly taller on tablets */
  }
}

@media (max-width: 768px) {
  .leader-media {
    padding-top: 85%; /* Better portrait ratio on mobile */
    border-radius: 15px 15px 0 0;
  }
  
  .leader-image-wrapper {
    border-radius: 15px 15px 0 0;
  }
  
  .leader-image-overlay {
    border-radius: 15px 15px 0 0;
  }
  
  .leader-content {
    padding: 1.5rem;
  }
  
  .leader-name {
    font-size: 1.5rem;
  }
  
  .leader-bio {
    font-size: 0.95rem;
    text-align: left;
  }
  
  .leader-contact {
    flex-direction: column;
  }
  
  .contact-item {
    padding: 0.625rem 0.875rem;
  }
}

@media (max-width: 576px) {
  .leader-card {
    border-radius: 15px;
  }
  
  .leader-media {
    padding-top: 100%; /* Square on small phones */
    border-radius: 15px 15px 0 0;
  }
  
  .leader-image-wrapper {
    border-radius: 15px 15px 0 0;
  }
  
  .leader-image-overlay {
    border-radius: 15px 15px 0 0;
  }
  
  .leader-content {
    padding: 1.25rem;
  }
  
  .leader-name {
    font-size: 1.35rem;
  }
  
  .role-badge {
    padding: 0.4rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .leader-badge {
    width: 45px;
    height: 45px;
    font-size: 18px;
    top: 10px;
    right: 10px;
  }
}

/*--------------------------------------------------------------
# Comprehensive Mobile Responsive Improvements
--------------------------------------------------------------*/

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Typography */
  h1, .h1 {
    font-size: 2rem !important;
  }
  
  h2, .h2 {
    font-size: 1.75rem !important;
  }
  
  h3, .h3 {
    font-size: 1.5rem !important;
  }
  
  .section-title h2 {
    font-size: 2rem !important;
  }
  
  /* Hero Section - padding-top clears fixed header so text doesn't overlap */
  .hero {
    padding: 160px 0 40px 0 !important;
    min-height: 70vh;
  }

  #hero {
    scroll-margin-top: 160px;
  }

  /* Page header & title - clear fixed header on all pages */
  .page-header {
    padding: 160px 0 50px !important;
  }

  .page-title {
    padding: 160px 0 60px !important;
  }
  
  .hero h1 {
    font-size: 1.75rem !important;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1rem !important;
    margin-bottom: 1.5rem;
  }
  
  .hero .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero .hero-buttons .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Sections - exclude hero/page-header which need extra top padding for fixed header */
  section:not(.hero):not(.page-header), .section:not(.hero):not(.page-header) {
    padding: 40px 0;
  }
  
  .section-title {
    padding-bottom: 40px;
  }
  
  .section-title .subtitle {
    font-size: 0.75rem;
  }
  
  /* Cards */
  .leader-card,
  .ministry-card,
  .sermon-card,
  .event-card {
    margin-bottom: 1.5rem;
  }
  
  /* Forms */
  .form-field {
    margin-bottom: 1rem;
  }
  
  .form-input,
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.75rem 1rem;
  }
  
  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer .footer-content,
  .footer .footer-links,
  .footer .footer-contact {
    margin-bottom: 30px;
    text-align: center;
  }
  
  .footer-bottom {
    text-align: center;
    padding: 20px 0;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .footer-bottom-links a {
    display: block;
    padding: 0.5rem 0;
  }
  
  /* Navigation – keep header distinct from hero on mobile */
  .header {
    padding: 15px 0 0 0;
    background-color: #1a1715 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  
  .header .top-row .logo .sitename {
    font-size: 20px;
  }
  
  /* Push main content below fixed header on mobile */
  .header.fixed-top + .main {
    padding-top: 100px;
  }
  
  .page-header {
    padding: 40px 0 60px;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-header p {
    font-size: 1rem;
  }
  
  /* Contact Forms */
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .tab-content {
    padding: 1rem 0;
  }
  
  /* Newsletter Form */
  .newsletter-form .input-group {
    flex-direction: column;
  }
  
  .newsletter-form .input-group .form-control {
    margin-bottom: 0.5rem;
  }
  
  .newsletter-form .input-group .btn-subscribe {
    width: 100%;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .section-title h2 {
    font-size: 2.5rem;
  }
  
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero {
    padding: 120px 0 50px 0; /* Clear fixed header on tablet */
  }
  
  .hero h1 {
    font-size: 2.75rem;
  }
  
  section, .section {
    padding: 50px 0;
  }
  
  /* Grid adjustments */
  .row.g-4 > [class*="col-"] {
    margin-bottom: 1.5rem;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Mobile-specific improvements - hero/header/page-header/page-title clear fixed header */
@media (max-width: 991.98px) {
  .page-header {
    padding-top: 150px !important;
  }

  .page-title {
    padding-top: 150px !important;
  }

  /* Navigation */
  .navmenu ul {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  
  /* Cards - Stack on mobile */
  .row.g-4 > [class*="col-md"],
  .row.g-4 > [class*="col-lg"] {
    margin-bottom: 2rem;
  }
  
  /* Tables */
  .table-responsive {
    border-radius: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  table {
    font-size: 0.875rem;
  }
  
  /* Modals */
  .modal-dialog {
    margin: 1rem;
  }
  
  .modal-content {
    border-radius: 10px;
  }
  
  /* Buttons */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Spacing */
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  
  .mt-5 {
    margin-top: 2rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  a, button, .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Remove hover effects on touch devices */
  .leader-card:hover,
  .ministry-card:hover,
  .sermon-card:hover,
  .event-card:hover {
    transform: none;
  }
  
  /* Improve tap feedback */
  a:active,
  button:active,
  .btn:active {
    opacity: 0.7;
  }
}

/* Landscape orientation adjustments */
@media (max-width: 991.98px) and (orientation: landscape) {
  .hero {
    min-height: 60vh;
    padding: 130px 0 30px 0 !important; /* Keep content below fixed header */
  }
  
  .section-title {
    padding-bottom: 30px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Accessibility - Focus improvements for mobile */
@media (max-width: 991.98px) {
  a:focus,
  button:focus,
  input:focus,
  textarea:focus,
  select:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
  }
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Improve form inputs on mobile */
@media (max-width: 767.98px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important; /* Prevents zoom on iOS */
    -webkit-appearance: none;
    border-radius: 8px;
  }
  
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
  }
}

/* Footer bottom links mobile styling */
@media (max-width: 991.98px) {
  .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .footer-bottom-links a {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }
  
  .footer-bottom-links a i {
    margin-right: 0.25rem;
  }
}

/* Print Styles */
@media print {
  .slideshow-background,
  .slideshow-controls,
  .slideshow-indicators,
  .header,
  .footer,
  .scroll-top {
    display: none !important;
  }


}

/* Slider */
.slider {
  overflow: hidden;
  width: 100%;
  padding: 60px 0;
}

.slider-track {
  display: flex;
  width: calc(380px * 10 + 32px * 10);
  animation: scroll 28s linear infinite;
}

.slider-item {
  min-width: 200px;
  margin-right: 20px;
}

/* FEATURE CARD */
.feature-card1 {
  background: linear-gradient(160deg, #c85716, #0b0b0b);
  height: 300px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  padding: 20px;
  color: #ffffff;
  border: 1.5px solid #c85716;
  box-shadow:
    0 0 15px rgba(255, 196, 2, 0.25),
    0 10px 40px rgba(0, 0, 0, 0.8);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card1:hover {
  transform: translateY(-10px);
  box-shadow:
    0 0 30px rgba(212, 175, 55, 0.6),
    0 20px 50px rgba(0, 0, 0, 0.9);
}

/*/* Icon
.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #d4af37, #f5d76e);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 28px;
  color: #000;
}

/* Title */
.feature-card1 h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #f5d76e;
}

/* Text */
.feature-card1 p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #dcdcdc;
}

/* Benefits list */
.feature-benefits {
  list-style: none;
  padding: 0;
  margin-top: 18px;
}

.feature-benefits li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #eaeaea;
}

.feature-benefits i {
  color: #d4af37;
  margin-right: 10px;
  font-size: 1rem;
}

/* Infinite animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pause on hover */
.slider-track:hover {
  animation-play-state: paused;
}

/* ================= FEATURES CARDS SECTION ================= */

/* Card wrapper */
.feature-card {
  background-color: #c85716;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Card hover */
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* Card image */
.feature-card .card-img-top {
  width: 140px;
  height: 140px;
  margin: 2rem auto 0;       /* center image */
  border-radius: 30%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 10px 30px #c85716,
    inset 0 0 0 #c85716;
  background: #c85716;
}

/* Card body */
/* Space between image and text */
.feature-card .card-body {
  padding-top: 1.25rem;
  text-align: center;          /* keeps layout balanced */
}

.feature-card .card-text {
  margin-top: 0.75rem;
}


/* Title */
/* Fix heading alignment */
.feature-card .card-title {
  display: block;              /* remove flex distortion */
  text-align: left;            /* straight text */
  letter-spacing: 0.3px;
}

.feature-card .card-title i {
  margin-right: 6px;
  vertical-align: middle;
}
/* Text */
.feature-card .card-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #c85716;
  margin-bottom: 3px;
}

/* Footer */
.feature-card .card-footer {
  background-color: transparent;
  border-top: none;
  padding: 1.25rem 1.75rem 1.75rem;
}

/* Button */
.feature-card .btn {
  border-radius: 999px;
  padding: 0.45rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #c85716;
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Button hover */
.feature-card .btn:hover {
  background-color: #c85716;
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Church Activities (What We Do) Section
--------------------------------------------------------------*/
.what-we-do.section {
  padding: 80px 0;
}

.what-we-do .activity-card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(200, 87, 22, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.what-we-do .activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(200, 87, 22, 0.12);
}

.what-we-do .activity-card .card-img-top {
  width: 100%;
  height: 180px;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  border: none;
  border-bottom: 3px solid rgba(200, 87, 22, 0.2);
}

.what-we-do .activity-card .card-body {
  padding: 1.5rem 1.75rem;
  text-align: left;
  flex: 1;
}

.what-we-do .activity-card .card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.what-we-do .activity-card .card-title i {
  color: var(--accent-color);
  margin-right: 0.35rem;
}

.what-we-do .activity-card .card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--default-color);
  margin-bottom: 0;
}

.what-we-do .activity-card .card-footer {
  padding: 1rem 1.75rem 1.5rem;
  text-align: center;
}

/* Church Activities buttons (links styled as buttons) */
.what-we-do .btn-activity {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff !important;
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.what-we-do .btn-activity:hover {
  background: color-mix(in srgb, var(--accent-color), black 12%);
  border-color: color-mix(in srgb, var(--accent-color), black 12%);
  color: #fff !important;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .what-we-do.section {
    padding: 60px 0;
  }

  .what-we-do .activity-card .card-img-top {
    height: 160px;
  }

  .what-we-do .activity-card .card-body {
    padding: 1.25rem 1.5rem;
  }

  .what-we-do .activity-card .card-footer {
    padding: 1rem 1.5rem;
  }

  .what-we-do .btn-activity {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
  }
}

/*--------------------------------------------------------------
# Giving Section (Support the Ministry) – simple, uncluttered
--------------------------------------------------------------*/
.giving.section {
  padding: 100px 0;
  background: var(--background-color);
}

.giving-content {
  max-width: 480px;
}

.giving-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

.giving-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.giving-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 2rem;
}

/* Single “Ways to Give” block */
.giving-simple {
  padding: 1.5rem 1.75rem;
  background: var(--surface-color);
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.giving-simple-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--heading-color);
  margin: 0 0 1rem 0;
}

.giving-simple-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.giving-simple-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.giving-simple-row div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.giving-simple-number {
  font-size: 1rem;
  color: var(--heading-color);
}

.giving-simple-name {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.giving-cta {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.giving-cta:hover {
  color: color-mix(in srgb, var(--accent-color), black 15%);
}

.giving-image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.giving-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .giving.section {
    padding: 80px 0;
  }

  .giving-content {
    max-width: 100%;
  }

  .giving-title {
    font-size: 1.85rem;
  }

  .giving-image-wrapper {
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .giving.section {
    padding: 60px 0;
  }

  .giving-title {
    font-size: 1.6rem;
  }

  .giving-lead {
    margin-bottom: 1.5rem;
  }

  .giving-simple {
    padding: 1.25rem 1.5rem;
  }

  .giving-simple-row {
    flex-wrap: wrap;
  }
}

/* ================= RESPONSIVE TWEAKS ================= */

@media (max-width: 767px) {
  .features-cards {
    padding: 60px 0;
  }

  .feature-card .card-img-top {
    height: 200px;
  }

  .feature-card .card-body {
    padding: 1.5rem;
  }
}
