

/*--------------------------------------------------------------
# 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: "Montserrat",  sans-serif;
  --nav-font: "Open Sans",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #222222; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #106eea; /* 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: #222222;  /* The default color of the main navmenu links */
  --nav-hover-color: #106eea; /* 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: #222222; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #106eea; /* 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: #f5f9ff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

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

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

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

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

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

/* PHP Email Form Messages
------------------------------*/
/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message,
.php-email-form .sent-message,
.php-email-form .loading {
  display: none;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  text-align: center;
}

.php-email-form .error-message {
  background: #df1529;
  color: #ffffff;
  text-align: left;
}

.php-email-form .sent-message {
  background: #059652;
  color: #ffffff;
}

.php-email-form .loading {
  background: var(--surface-color);
}

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

/* Show state using class toggle */
.php-email-form .error-message.show,
.php-email-form .sent-message.show,
.php-email-form .loading.show {
  display: block;
}


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

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

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

.header .branding {
  background-color: var(--background-color);
  min-height: 100px;
  padding: 20px 0;
}

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

.header .logo img {
  height: 90px;
  max-height: none;
  width: auto;
  margin-right: 12px;
  object-fit: contain;
}


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

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

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}




/*--------------------------------------------------------------
# Donate Button – Enhanced
--------------------------------------------------------------*/
.button-90 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding:8px 20px !important;
  border-radius: 70px !important;
  background-color: #e63946 !important;
  background-image: 
    radial-gradient(93% 87% at 87% 89%, rgba(0, 0, 0, 0.23) 0%, transparent 86.18%), 
    radial-gradient(66% 87% at 26% 20%, rgba(255, 255, 255, 0.41) 20%, rgba(255, 255, 255, 0) 69.79%, rgba(255, 255, 255, 0) 100%) !important;
  box-shadow: none !important;
  font-weight: bold !important;
  font-size: 12px !important;
  border: 0 !important;
  user-select: none !important;
  cursor: pointer !important;
}

.btn-donate {
  display: flex; /* ensures icon + text are horizontal */
  align-items: center;
  justify-content: center;
  gap: 4px;
}


@media (min-width: 1200px) {
  .btn-donate {
    margin-left: 12px;
    padding: 10px 24px; /* wider for desktop */
    font-size: 14px;
  }
}
@media (max-width: 1199px) {
  .navmenu li {
    padding-left: 18px;
    padding-right: 12px;
  }
}
@media (max-width: 1199px) {
  .navmenu .btn-donate {
    width: fit-content;
    max-width: 100px;
    padding: 4px 12px ;
    font-size: 13px ;
    border-radius: 40px ;
    white-space: nowrap;
    margin: 6px 0;
    display: inline-flex ;
    align-items: center;
    gap: 6px;
  }

  .navmenu .btn-donate i {
    font-size: 16px;
  }

  .navmenu li.nav-item-with-icon {
    padding-left: 20px;
    padding-right: 12px;
  }
}

.donation-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.donation-amounts .btn {
  margin: 5px;
  min-width: 100px;
}

.img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.img-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.payment-toggle .btn {
  min-width: 150px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.payment-toggle .btn.active {
  background-color: #444;
  color: #fff;
  border-color: #444;
}

.payment-option {
  display: none;
  padding: 20px;
  border-radius: 8px;
  background: #f8f9fa;
  margin-top: 10px;
}

.payment-option.active {
  display: block;
}

.payment-logo {
  height: 40px;
  margin-right: 10px;
}

.manual-payment-instructions p {
  margin-bottom: 8px;
}

#reviewDetails.review-details-box {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

#reviewTitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  text-align: center;
}

.btn-toggle-back {
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  padding: 8px 24px;
  font-weight: 500;
  border-radius: 6px;
  color: #333;
  transition: all 0.2s ease;
}

.btn-toggle-back:hover {
  background-color: #e2e2e2;
  border-color: #bbb;
}
body.dark-mode {
  background-color: #121212;
  color: #f1f1f1;
}

body.dark-mode .donation-box,
body.dark-mode .payment-option {
  background-color: #1e1e1e;
  border-color: #333;
  color: #fff;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background-color: #2a2a2a;
  color: #fff;
  border: 1px solid #444;
}

body.dark-mode .btn-outline-dark {
  border-color: #ccc;
  color: #ccc;
}

body.dark-mode .btn-outline-dark:hover {
  background-color: #444;
  color: #fff;
}

body.dark-mode .amount-btn.active {
  background-color: #444;
  color: #fff;
}

#donationAlert {
  margin-top: 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

#donationAlert:not(.d-none) {
  display: block;
}

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

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

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

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: 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;
    color: var(--nav-dropdown-color);
  }

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

  .navmenu .dropdown ul a: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;
  }

  /* ✅ Hide navmenu-header in desktop */
  .navmenu-header {
    display: none;
  }
}


/* --------------------------------------------------------------
# Mobile Nav Toggle (Hamburger Icon) 
-------------------------------------------------------------- */

@media (max-width: 1199px) {
  .navmenu-header {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 20px 12px; /* top remains 10px for breathing room */
    background: linear-gradient(to right, #007bff, #3399ff); /* subtle gradient */
    color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 9999;
    position: fixed;
    top: 75px;
    right: 20px;
border-radius: 0 8px 8px 0;
overflow-y: auto;
padding-bottom: 1rem;

  }

  .navmenu {
    position: fixed;
    top: 0;
    right: -100%; /* hidden by default */
    width: 50%;
    max-width: 320px;
    height: auto;
     max-height: 100vh; /* just in case content grows */
    background: var(--light-blue, #d9f0ff); /* drawer background */
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.25);
    transition: right 0.3s ease-in-out;
    z-index: 9998;
    padding-top: 0px;
  }

  .mobile-nav-active .navmenu {
    right: 0;
  }


  .navmenu ul {
    display: block;
    padding: 0;
    margin: 0;
    list-style: none;
    background: transparent; /* remove inner white bg */
  }

  .navmenu-header {
    font-size: 20px;
    font-weight: bold;
    padding: 0px 20px;
    background: var(--accent-color, #007bff);
    color: var(--contrast-color, #fff);
  }

  .navmenu li {
    border-bottom: 1px solid #eee;
  }
.navmenu-header {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
  .navmenu a,
  .navmenu a:focus {
    display: block;
    padding: 15px 20px;
    color: #004080; /* dense dark blue */
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    transition: 0.3s;
    background: transparent;
  }

  .navmenu a:hover {
    background-color: rgba(0, 123, 255, 0.1);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background: transparent;
  }

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

  .navmenu .active,
  .navmenu .active:focus,
  .active-link {
    color: var(--nav-hover-color);
  }
}
.navmenu li.nav-item-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px;
}

.navmenu li.nav-item-with-icon a {
  flex-grow: 1;
  padding: 15px 0;
}
/* Show icons only inside mobile drawer */
.drawer-icon-only {
  display: none;
  opacity: 0;
  margin-right: 10px;
  font-size: 20px;
  min-width: 20px;
  transition: opacity 0.3s ease;
}

@media (max-width: 1199px) {
  .drawer-icon-only {
    display: inline-block;
    opacity: 1;
  }
}

/* --------------------------------------------------------------
# Global Active Link Highlight
-------------------------------------------------------------- */
.active-link {
  color: var(--nav-hover-color); /* highlight color */
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
   background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
  font-size: 14px;
  padding-bottom: 10px;
  position: relative;
}

.footer .footer-newsletter {
  background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
  padding: 50px 0;
}

.footer .footer-newsletter h4 {
  font-size: 24px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
  border-radius: 4px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
}

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

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

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

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

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

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

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

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

.footer .footer-links ul i {
  margin-right: 3px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

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

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
}

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

.footer .footer-about a {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

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

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

.footer .credits {
  margin-top: 0px;
  font-size: 12px;
}


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader div {
  width: 13px;
  height: 13px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
  position: absolute;
  left: 50%;
}

#preloader div:nth-child(1) {
  left: calc(50% + 8px);
  animation: animate-preloader-1 0.6s infinite;
}

#preloader div:nth-child(2) {
  left: calc(50% + 8px);
  animation: animate-preloader-2 0.6s infinite;
}

#preloader div:nth-child(3) {
  left: calc(50% + 32px);
  animation: animate-preloader-2 0.6s infinite;
}

#preloader div:nth-child(4) {
  left: calc(50% + 56px);
  animation: animate-preloader-3 0.6s infinite;
}

@keyframes animate-preloader-1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes animate-preloader-3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes animate-preloader-2 {
  0% {
    transform: translate(0, 0);
  }

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

/*--------------------------------------------------------------
# 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 {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 600;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  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 70%);
}

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--default-font);
}

.section-title p {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
}

.section-title p .description-title {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 75vh;
  position: relative;
  padding: 60px 0;
  display: flex;
  align-items: center;
  background: url("../img/hero-bg.jpg") top left;
  background-size: cover;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.hero .container {
  position: relative;
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
}

.hero h1 span {
  color: var(--accent-color);
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 30px 0;
  font-size: 20px;
  font-weight: 400;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--default-color);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/* ✅ Hero loader and fade-in enhancements */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 75vh;
}

/* ✅ Container for loader and image */
.hero-bg-loader {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ✅ Spinner image */
.hero-bg-loader img.loader-spinner {
  width: 48px;
  height: 48px;
  opacity: 0.6;
}

.loader-spinner {
  opacity: 0.6;
}

/* ✅ Fading image once loaded */
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-position: top left;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

/* ✅ Hero content stays on top */
.hero .container {
  position: relative;
  z-index: 2;
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  z-index: 1;
}

.featured-services .service-item:before {
  content: "";
  position: absolute;
  background: var(--accent-color);
  inset: 100% 0 0 0;
  transition: all 0.3s;
  z-index: -1;
}

.featured-services .service-item .icon {
  margin-bottom: 10px;
}

.featured-services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: ease-in-out 0.3s;
}

.featured-services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.featured-services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.featured-services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  transition: ease-in-out 0.3s;
}

.featured-services .service-item:hover h4 a,
.featured-services .service-item:hover .icon i,
.featured-services .service-item:hover p {
  color: var(--contrast-color);
}

.featured-services .service-item:hover:before {
  background: var(--accent-color);
  inset: 0;
  border-radius: 0px;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-content h3 {
  font-weight: 700;
  font-size: 26px;
}

.about .about-content ul {
  list-style: none;
  padding: 0;
}

.about .about-content ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 35px;
}

.about .about-content ul li:first-child {
  margin-top: 35px;
}

.about .about-content ul i {
  background: var(--surface-color);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  font-size: 24px;
  margin-right: 15px;
  color: var(--accent-color);
  border-radius: 50px;
}

.about .about-content ul h4 {
  font-size: 18px;
  font-weight: 600;
}

.about .about-content ul p {
  font-size: 15px;
}

.about .about-content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: 6px solid var(--surface-color);
  width: 64px;
  height: 64px;
  font-size: 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  margin-top: -32px;
  padding: 40px 30px 35px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 36px;
  display: block;
  font-weight: 700;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 25px 0;
}

.clients .swiper {
  padding: 10px 0;
}

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

.clients .swiper-slide img {
  transition: 0.3s;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
} 

.swiper-slide {
  width: auto; /* Let Swiper decide */
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  max-width: 100px;
  height: auto;
  display: block;
}

.swiper-pagination {
  display: none !important;
}



/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: border ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  border-color: var(--accent-color);
}

.services .service-item:hover h3 {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

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

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

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

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

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

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

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  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 auto 15px auto;
}

.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: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

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

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

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

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

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

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

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

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

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

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

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

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 5px;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: ease-in-out 0.3s;
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .team-member .social a {
  transition: color 0.3s;
  color: var(--heading-color);
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team .team-member .social a i {
  line-height: 0;
}

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

.team .team-member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .team-member .member-info {
  padding: 25px 15px;
  text-align: center;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member:hover .social {
  opacity: 1;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  font-weight: 400;
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul i {
  color: var(--accent-color);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .featured h3 {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .advanced {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
}

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

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

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--contrast-color);
}

.faq .faq-container .faq-active h3:hover {
  color: var(--contrast-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

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

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

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

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

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

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

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

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

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

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

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

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

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

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

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

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

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

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

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

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

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

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

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

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
/* ✅ Enhance portfolio image wrappers with loader and fade-in */
.portfolio-details-slider .about-image-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #f0f0f0;
  overflow: hidden;
}

.portfolio-details-slider .about-image-wrapper .image-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 2;
}

.portfolio-details-slider .about-image-wrapper img.real-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}


/*--------------------------------------------------------------
 #About Page Details Styles 
--------------------------------------------------------------*/
.about-details-slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

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

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

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

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

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

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

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

.about-description {
  padding-top: 30px;
}

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

.about-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.about-details-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-details-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 400px; /* adjust based on desired height */
}

.about-details-slider .about-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about-details-slider .about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-details-wrapper {
  width: 100%;
  height: 100%;
}

.about-details-wrapper .swiper {
  width: 100%;
  height: 100%;
}

.about-details-wrapper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 400px;
}

.about-details-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-details-wrapper .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

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

.about-details-wrapper .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}
/* ✅ Loader spinner inside image wrapper */
.about-details-slider .about-image-wrapper {
  position: relative; /* required for positioning loader */
  aspect-ratio: 16 / 9;
  background-color: #f0f0f0;
  overflow: hidden;
}

/* ✅ Loader (base64 inline spinner container) */
.about-details-slider .about-image-wrapper .image-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 2;
}

/* ✅ Real image starts hidden, fades in when loaded */
.about-details-slider .about-image-wrapper img.real-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
/* === About Us Section EXACT Screenshot Replica === */

#about-company-details {
  padding: 60px 0;
  background: #fff;
}

#about-company-details h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

#about-company-details p.lead {
  font-size: 1.2rem;
  color: #6c757d;
}
/* === About Us Section Cleaned Styles === */

.about-img-wrapper {
  position: relative;
  width: 100%;
  max-width: none; /* allow full stretch */
  margin: 0 auto;
  aspect-ratio: 2 / 1; /* exaggerate horizontal stretch */
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: path("M0,0 C30% 80%, 70% 80%, 100% 0 L100% 100% L0 100% Z");
  transition: all 0.3s ease;
}


.about-img.reverse {
  clip-path: url(#heartClipReverse);
  transform: scaleX(-1); /* flip horizontally */
}



.
/* Responsive adjustments */
@media (max-width: 767.98px) {
  .about-img-wrapper {
    max-width: 300px;
  }

  .about-img {
    clip-path: path('M100,30 C100,0 50,0 50,30 C0,0 0,30 0,60 C0,90 50,100 50,100 C50,100 100,90 100,60 C100,30 100,0 100,30 Z');
  }
}



  #about-company-details h2 {
    font-size: 2rem;
  }
}

/* Core Values */
.core-values h4 {
  color: #0d6efd;
}

/* Our Pillars */
.our-pillars h5 {
  font-weight: 600;
}

.our-pillars p {
  margin-bottom: 0;
}

/* About Section Text Styles */
#about-company-details h3 {
  font-size: 1.8rem;
  color: #333;
}

#about-company-details p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

/* Blockquote styling */
#about-company-details blockquote {
  border-left: 5px solid #0d6efd;
  padding: 20px;
  background: #f8f9fa;
  font-style: italic;
}

#about-company-details blockquote p {
  margin-bottom: 0;
  font-weight: 500;
  font-size: 1.2rem;
}



/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/


/* ✅ About Page Details Overrides */
#about-page-details .about-page-details-slider .about-image-wrapper img {
  width: 100%;
  max-width: none;
  height: 500px; /* adjust as needed */
  object-fit: cover; /* fills container with crop */
  display: block;
}

#about-page-details .about-page-details-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* match image height for uniform scaling */
}

#about-page-details .about-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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



/*--------------------------------------------------------------
# Clickable overlay on images on about page
--------------------------------------------------------------*/
/* Clickable overlay details always visible below images on about page */

#about-page-details .about-image-wrapper {
  position: relative;
  overflow: hidden;
}

#about-page-details .about-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

#about-page-details .about-image-wrapper .click-overlay {
  position: static; /* Make it part of normal flow below image */
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px;
  text-align: center;
}

#about-page-details .click-overlay .image-title {
  font-weight: bold;
  display: block;
}

#about-page-details .click-overlay .click-text {
  font-size: 0.9em;
  opacity: 0.8;
}
#about-page-details .about-image-wrapper {
  position: relative;
  overflow: hidden;
  cursor: pointer; /* ✅ entire wrapper shows pointer */
}

#about-page-details .about-image-wrapper .click-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px;
  text-align: center;
  opacity: 1; /* since you wanted it always visible */
}

#about-page-details .about-image-wrapper .click-overlay .image-title,
#about-page-details .about-image-wrapper .click-overlay .click-text {
  cursor: pointer; /* ✅ ensures text inside overlay also shows pointer */
}




/*--------------------------------------------------------------
# services main page
--------------------------------------------------------------*/


/* ======= MODAL STYLES FOR SERVICE DETAILS ======= */
.modal-page {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
}

/* 🔹 Banner */
.modal-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 60vh;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-top: 20px;
}

/* 🔹 Logo (top-left corner) */
.modal-logo-top-left {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid white;
  z-index: 10;
}

/* 🔹 Overlay slogans + nav */
.modal-banner-inner {
  z-index: 2;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  color: white;
}

.modal-banner-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0 20px;
}

.modal-main-title {
  font-size: 2.4rem;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
}

.modal-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: #e0e0e0;
}

.modal-home {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #ccc;
  text-decoration: underline;
}

/* 🔹 Animations */
.fade-in-left {
  animation: fadeInLeft 1s ease-out forwards;
}

.fade-in-right {
  animation: fadeInRight 1s ease-out forwards;
}

@keyframes fadeInLeft {
  from {opacity: 0; transform: translateX(-30px);}
  to {opacity: 1; transform: translateX(0);}
}

@keyframes fadeInRight {
  from {opacity: 0; transform: translateX(30px);}
  to {opacity: 1; transform: translateX(0);}
}

/* 🔹 Modal Content Area */
.modal-content-area {
  padding-top: 40px;
}

/* 🔹 Video Thumbnail */
.video-thumbnail {
  cursor: pointer;
  max-width: 100%;
  border-radius: 8px;
}

.play-button {
  font-size: 1.5rem;
  border-radius: 50%;
  padding: 10px 14px;
}

/* 🔹 Signature */
.signature-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}


.modal-banner {
  background: url('assets/img/services-images/banner.jpg') center center/cover no-repeat;
}
.modal-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.modal-banner-inner {
  position: relative;
  z-index: 2;
}
.modal-page {
  position: fixed; inset:0;
  background: #fff; z-index:9999;
  overflow-y: auto;
}
.modal-banner {
  background: center/cover no-repeat;
  height: 60vh; position: relative;
}
.modal-logo-top-left {
  position: absolute;
  top: 60px;
  left: 10px;
  width: 53px; /* 80px - ~27px */
  height: 53px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  z-index: 10;
}

.modal-banner-inner { position: relative; z-index:2; height:100%; }
.modal-banner-header { display:flex; justify-content:space-between; }
.modal-main-title { font-size:2.4rem; font-weight:700; }
.modal-subtitle   { color:#e0e0e0; }
.modal-home       { text-decoration:underline; }
.modal-content-area { padding-top:1rem; }
.video-thumbnail { cursor:pointer; max-width:100%; border-radius:8px; }
.play-button     { border-radius:50%; padding:10px; font-size:1.5rem; }
.signature-logo  { width:24px; }

/* Move banner inner content to the top, instead of bottom */
.modal-banner-inner {
  /* instead of justify-content: flex-end; */
  justify-content: flex-start !important;
  padding-top: 2rem;    /* give space from top */
  padding-bottom: 1rem; /* reduce bottom padding */
}

/* If you want the slogans/nav at the very top, align-items start */
.modal-banner-header {
  align-items: flex-start !important;
  margin-bottom: 1rem; /* space below header */
}

/* Optional: make the main title & subtitle appear right under the header */
.modal-main-title,
.modal-subtitle {
  margin-top: 0.5rem;
}
.modal-banner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  /* ensure it stays at the top */
  position: absolute;
  top: 20px;
  left: 0; right: 0;
  z-index: 5;
}

.slogan-left,
.modal-home,
.slogan-right {
  flex: 1;
  margin-bottom: 0 !important;
}

.slogan-left { text-align: left; }
.modal-home    { text-align: center; }
.slogan-right { text-align: right; }

/* optional entry animation for HOME */
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* when the video is playing, the close button appears top‑right */
.video-player-wrapper {
  position: relative;
}
.close-video {
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.close-video:hover {
  background: rgba(0,0,0,0.8);
}


/*--------------------------------------------------------------
#  More Details Topic Heading with distinct font 
--------------------------------------------------------------*/
#aboutImageModalMoreDetails #moreDetailsTopic {
  font-family: "Montserrat", sans-serif; /* heading font */
  font-weight: 700;                      /* bold */
  font-size: 1.3rem;                     /* slightly larger */
  margin-bottom: 12px;                   /* spacing */
  text-transform: uppercase;             /* all caps for headings */
  letter-spacing: 0.5px;                 /* subtle spacing */
  color: #333;                           /* default dark, overridden by JS dynamic color */
}

/* ✅ More Details Paragraphs with distinct font */
#aboutImageModalMoreDetails #moreDetailsParagraphs p {
  font-family: "Open Sans", sans-serif; /* body font */
  font-weight: 400;                     /* normal weight */
  font-size: 1rem;                      /* base readable size */
  line-height: 1.6;                     /* comfortable reading */
  margin-bottom: 10px;                  /* spacing between paragraphs */
  color: #555;                          /* slightly lighter dark gray */
}

#galleryImages small {
  font-size: 0.85rem;
  color: #666;
}
#galleryImages small { ... }

/*--------------------------------------------------------------
# ✅ Modal Topbar - Responsive and Transparent
--------------------------------------------------------------*/

#projectModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  background-color: #fff;
  z-index: 9999;
}

/* ✅ Full-width sticky topbar */
.modal-topbar {
  width: 100%;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 1050;
}
.modal-topbar-inner {
  padding-top: 0.5rem !important;
  padding-bottom: 0.25rem !important;
}
.modal-topbar-inner h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.2rem 0 0.2rem 0;
}

.modal-topbar-inner p.fst-italic {
  font-size: 0.95rem;
  margin: 0.2rem 0;
}
.modal-topbar-inner .text-light {
  font-size: 0.85rem;
  margin: 0.2rem 0;
}


/* 🔹 At top of page — very transparent blue, but visible */
.modal-topbar.at-top {
  position: absolute;
  top: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 102, 204, 0.28),
    rgba(0, 102, 204, 0.16)
  );
}

/* 🔹 When scrolling — more solid gloss effect */
.modal-topbar.scrolled {
  position: sticky;
  top: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 102, 204, 0.45),
    rgba(0, 102, 204, 0.35)
  );
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.services-modal-logo {
  width: 48px;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  background-color: #fff;
margin-top: 0.25rem;
}


@media (max-width: 576px) {
  .services-modal-logo {
    width: 48px;
    height: 48px;
  }
}



/* ✅ Banner styling */
.modal-banner {
  margin-top: 0;
  padding: 1rem 0;
  background-color: #004080;
  color: #fff;
}



/* ✅ Text color */
.modal-topbar h2,
.modal-topbar p,
.modal-topbar span,
.modal-topbar a,
.modal-topbar i {
  color: #fff !important;
}

/* ✅ Font sizes */
.modal-topbar h2 {
  font-size: 1.25rem;
}

.modal-topbar p {
  font-size: 0.9rem;
}

/* ✅ Close Button */
.modal-topbar .modal-close-btn {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-topbar .modal-close-btn:hover {
  transform: scale(1.2);
  color: #ffdddd;
}

/*--------------------------------------------------------------
# 📱 Mobile-Specific Styling for Modal Topbar (≤576px)
--------------------------------------------------------------*/
@media (max-width: 767.98px) {
  .modal-topbar-row {
    padding-left: 6px;
    padding-right: 6px;
  }

  .modal-contact-group {
    display: flex;
    flex-wrap: wrap;               /* ✅ Allow wrapping */
    gap: 2rem;                     /* ✅ Space between items */
    align-items: center;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;                   /* Space between icon and text inside each item */
    white-space: nowrap;
  }

  .modal-contact-group i {
    font-size: 14px;
  }

  .modal-contact-group span {
    font-size: 12px;
  }

  .modal-contact-group a {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .modal-topbar-row a.fw-semibold {
    margin-right: 1.75rem;
  }

  .modal-topbar-row .socials a {
    margin-right: 0.5rem;
  }
}
@media (min-width: 768px) {
  .modal-contact-group .contact-item:not(:last-child):nth-child(-n+2) {
    margin-right: 1.5rem; /* Add space between email and phone */
  }
}




/* ✅ Default close button styling */
.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.5rem;
  background: transparent;
  border: none;
  color: white;
  z-index: 1051;
  cursor: pointer;
}

/* ✅ Mobile layout optimization */
@media (max-width: 576px) {
  .modal-topbar {
    padding: 0.75rem 0.75rem;
  }

  .modal-topbar-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    row-gap: 0.75rem;
  }

  /* ✅ Center-align the second row (nav links) */
  .modal-topbar-row > div:last-child {
    align-self: center;
    text-align: center;
  }

  .modal-topbar-inner {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  .modal-topbar .modal-close-btn {
    top: 10px;
    right: 10px;
    font-size: 1.75rem;
  }

  .modal-topbar .services-modal-logo {
    display: none !important; /* ❌ Hide logo on mobile */
  }

  .modal-topbar .modal-topbar-row .socials {
    display: none !important; /* ❌ Hide socials on mobile */
  }

  .modal-topbar h2 {
    font-size: 1rem;
    text-align: center;
    width: 100%;
    margin-top: 0.5rem;
  }

  .modal-topbar p,
  .modal-topbar .text-light {
    font-size: 0.85rem;
    text-align: center;
    width: 100%;
    margin-bottom: 0.25rem;
  }

  .modal-topbar span,
  .modal-topbar a {
    font-size: 0.85rem;
  }

  .modal-topbar i {
    font-size: 1rem;
  }
}

/* ✅ Hide logo and socials on very small screens (≤480px) */
@media (max-width: 480px) {
  .universal-hide,
  .socials {
    display: none !important;
  }
}

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

/*--------------------------------------------------------------
# TRIALS UNTIL ACCEPTABLE
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# HOME WAVE WORDS
--------------------------------------------------------------*/
@keyframes wave {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-12px);
  }
}

.wave-letter {
  display: inline-block;
  animation-name: wave;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform;
}
