/* Add this to the very top of your main.css or in a base CSS file */
html {
  overflow-x: hidden; /* Added to prevent horizontal scrolling/margin issues */
}
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/*--------------------------------------------------------------
# Hero Carousel Section
--------------------------------------------------------------*/
/* Ensure all elements involved in sizing use border-box model */
/* Make these selectors more specific to #hero */
.hero .swiper {
  width: 100%;
  height: 100vh;
  position: relative;
}

.hero .swiper-wrapper {
  height: 100%;
}

.hero .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: transparent !important;
  position: relative; /* important so image absolute works */
}

.hero .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

#hero .swiper-button-prev,
#hero .swiper-button-next {
  color: white !important;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.7));
}

#hero .swiper-pagination-bullet {
  background-color: gray !important;
  opacity: 0.75;
}

#hero .swiper-pagination-bullet-active {
  background-color: white !important;
  opacity: 1;
}

/*--------------------------------------------------------------
# Testimonials Section (Updated Styling)
--------------------------------------------------------------*/
.testimonials .container-fluid {
    padding-left: 0; /* Ensure no extra padding on fluid container */
    padding-right: 0;
}

.testimonials .swiper {
  padding: 0 20px;
  overflow: visible;
}

.testimonials .swiper-slide {
  width: 300px;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.testimonials .swiper-slide > * {
  width: 100%;
}

.testimonials .swiper-pagination {
  margin-top: 60px;
  position: relative;
  text-align: center;
}

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

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

/* Arrows */
.testimonials .swiper-button-prev,
.testimonials .swiper-button-next {
  color: var(--accent-color);
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

/* NEW: Force swiper-slide width based on breakpoints for consistent sizing */
/* These calculations match the consistent spaceBetween (20px) */
@media (min-width: 992px) { /* For 3 slides, spaceBetween 20px */
    .testimonials .swiper-slide {
        width: calc((100% - (2 * 20px)) / 3) !important;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) { /* For 2 slides, spaceBetween 20px */
    .testimonials .swiper-slide {
        width: calc((100% - (1 * 20px)) / 2) !important;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) { /* For 1 slide, spaceBetween 20px */
    .testimonials .swiper-slide {
        width: calc(100% - (0 * 20px)) !important; /* Effectively 100% width */
    }
}
@media (max-width: 575.98px) { /* For 1 slide, spaceBetween 20px */
    .testimonials .swiper-slide {
        width: calc(100% - (0 * 20px)) !important; /* Effectively 100% width */
    }
}


/* Testimonial Card */
.testimonials .testimonial-item {
  box-sizing: border-box;
  width: 100%;
  max-width: 360px; /* Optional: cap width for cleaner layout */
  padding: 20px;
  background-color: var(--surface-color);
  border-radius: 8px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
/* Ensure testimonial-item content is styled as per example */
.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto 15px auto; /* Added bottom margin */
  display: block;
  border: 8px solid #eee;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: var(--heading-color);
}

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

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0;
  padding: 0;
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Quote icons */
.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  position: relative;
  font-size: 26px;
  line-height: 0;
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  /* NEW: Ensure display and visibility */
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.testimonials .testimonial-item .quote-icon-left {
  left: -5px;
}
.testimonials .testimonial-item .quote-icon-right {
  right: -5px;
  top: 10px;
  transform: scale(-1, -1);
}

/* Swiper Pagination (bullets at the bottom) */
.testimonials .swiper-pagination {
  margin-top: 100px !important; /* Increased margin-top for more space above bullets and added !important */
  position: relative;
  bottom: 0;
}

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

/* Swiper Navigation Arrows (Basic Styling) */
.testimonials .swiper-button-prev,
.testimonials .swiper-button-next {
    color: var(--accent-color);
    background-color: transparent !important; /* Re-added !important */
    border-radius: 0 !important; /* Re-added !important */
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: none !important; /* Re-added !important */
    z-index: 10;
}

.testimonials .swiper-button-prev:hover,
.testimonials .swiper-button-next:hover {
    background-color: transparent !important; /* Re-added !important */
}

.testimonials .swiper {
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
}

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

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #050d18; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #149ddd; /* 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: #a8a9b4;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #040b14; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #040b14; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #a8a9b4; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff; /* 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: #f4fafd;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #040b14;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #151f2b;
  --contrast-color: #ffffff;
}

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

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  /* Global reset for margin and padding to ensure no double counting */
  margin-top: 0 !important;
  padding-top: 0 !important;
  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
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  position: fixed;
  top: 0; /* Important: Keep this at 0 for it to start from the very top of the viewport */
  bottom: 0;
  padding: 0 15px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 990; /* Default z-index for the header when closed (desktop or mobile) */
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

/* Hide the main sidebar header by default on small screens */
@media (max-width: 1199px) {
  .header {
    left: -300px; /* Hidden off-screen by default on mobile */
  }

  /* NEW / MODIFIED: Rule to show sidebar when body has mobile-nav-active */
  body.mobile-nav-active .header {
    left: 0;
    z-index: 1005; /* IMPORTANT: Increase this z-index to be higher than #mobile-top-bar (1000)
                       and #mobile-top-bar .header-toggle (1001). This makes it open ON TOP. */
  }
}

/* Ensure desktop header is visible */
@media (min-width: 1200px) {
  .header {
    left: 0; /* Always visible on desktop */
    z-index: 997; /* Revert to its normal desktop z-index if needed, or keep 990 */
  }

  .header~main,
  .header~#footer {
    margin-left: 300px;
  }
}

/* Hide the main sidebar header by default on small screens */
@media (max-width: 1199px) {
  .header {
    left: -300px; /* Hidden off-screen by default on mobile */
  }

  /* NEW: Rule to show sidebar when body has mobile-nav-active */
  body.mobile-nav-active .header {
    left: 0;
  }
}

/* Ensure desktop header is visible */
@media (min-width: 1200px) {
  .header {
    left: 0; /* Always visible on desktop */
  }

  .header~main,
  .header~#footer {
    margin-left: 300px;
  }
}


.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}

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

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

.header .social-links {
  margin: 0 0 20px 0;
}

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

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


/* REMOVED: This rule is replaced by body.mobile-nav-active .header { left: 0; }
.header.header-show {
  left: 0;
}
*/

/* Hide the header toggle inside the main sidebar, as it will be in the mobile-top-bar */
.header .header-toggle {
    display: none;
}

/* Hide the header toggle inside the main sidebar, as it will be in the mobile-top-bar */
.header .header-toggle {
    display: none;
}

/*--------------------------------------------------------------
# Mobile Top Bar (Revised)
--------------------------------------------------------------*/
#mobile-top-bar {
  /* Keep existing styles, especially its high z-index for when the sidebar is closed */
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--nav-mobile-background-color);
  z-index: 1000; /* Keep this high so it's visible when the sidebar is closed */
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

@media (max-width: 1199px) {
  #mobile-top-bar {
    display: flex !important;
    /* Ensure the toggle button itself is always positioned relative to this bar */
    position: fixed; /* Keep this fixed position */
    top: 0; /* Keep this top alignment */
    right: 0; /* Add right: 0; to make sure it's anchored to the right */
    width: auto; /* Allow content to dictate width, not 100% when nav is open */
    padding: 10px 15px; /* Adjust padding as needed */
  }

  /* Make sure header-toggle itself has a proper z-index and position within the top bar */
  #mobile-top-bar .header-toggle {
    z-index: 1001; /* Already high, keep it */
    position: relative; /* Ensure z-index works, and it's positioned correctly within #mobile-top-bar */
    margin-left: auto; /* Push it to the right */
  }

  /* When the mobile nav is active, hide everything in the #mobile-top-bar *except* the toggle button */
  body.mobile-nav-active #mobile-top-bar {
    background-color: transparent; /* Make the bar's background transparent */
    box-shadow: none; /* Remove its shadow */
    pointer-events: none; /* Default to none, but individual elements can override */
  }

  body.mobile-nav-active #mobile-top-bar .mobile-logo-container { /* Target the logo container specifically */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
  }

  body.mobile-nav-active #mobile-top-bar .header-toggle { /* Ensure the toggle remains visible and clickable */
    opacity: 1; /* Make sure it's fully visible */
    pointer-events: auto; /* Make sure it's clickable */
    visibility: visible;
    z-index: 1006; /* Ensure it's higher than the opened sidebar (1005) */
    position: fixed; /* Keep it fixed relative to viewport, but manage its top/right position here */
    top: 15px; /* Adjust as needed */
    right: 15px; /* Adjust as needed */
  }

  .header~main,
  .header~#footer {
    margin-left: 0 !important;
  }
  /* No main padding-top here */
}

/* Mobile Logo Container and Text Colors for dark background */
#mobile-top-bar .mobile-logo-container {
    display: flex;
    align-items: center;
    line-height: 1;
}

#mobile-top-bar .mobile-logo-container img {
    max-height: 32px;
    margin-right: 8px;
}

#mobile-top-bar .mobile-logo-container h3 {
    font-size: 20px;
    margin: 0;
    font-weight: 700;
    color: var(--nav-hover-color);
}

#mobile-top-bar .mobile-logo-container h5 {
    font-size: 12px;
    margin: 0;
    font-weight: 300;
    color: var(--nav-color);
}

/* Header Toggle (Hamburger Icon) in the Mobile Top Bar */
#mobile-top-bar .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001; /* Keep this high so it's clickable when sidebar is closed */
  transition: background-color 0.3s;
}

#mobile-top-bar .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Global Main Content Positioning (NEW)
--------------------------------------------------------------*/
.main {
  position: relative; /* z-index only works with a defined position */
  z-index: 5; /* Give main a base z-index so content appears above other elements if there's a conflict */
  /* padding-top for mobile is handled in the @media block for sections */
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

.navmenu {
  padding: 0;
  z-index: 980; /* Changed from 9997 to match header z-index */
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 15px 10px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
  width: 100%;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 20px;
  margin-right: 10px;
}

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

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

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

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

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

.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: --nav-dropdown-color;
}

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

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 5px 10px;
  margin: 5px 10px;
  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);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

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

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# 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: 44px;
  height: 44px;
  border-radius: 50px;
  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;
  bottom: 15px;
}

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

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

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

.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;
  overflow: clip; /* Keep this to ensure internal elements are clipped if they overflow the section boundaries */
}

/*--------------------------------------------------------------
# Section Top Padding for Mobile (NEW)
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  /* Apply top padding to all sections EXCEPT the hero section */
  section:not(#hero) {
    /*
    The first 60px is the height of your #mobile-top-bar
    The second 60px is the original padding from 'section, .section' rule
    Adjust 60px to the actual height of your #mobile-top-bar if different
    */
    padding-top: calc(60px + 60px);
  }

  /* If you have a .page-title or similar element at the very top of subsequent pages */
  .page-title {
      padding-top: calc(25px + 60px); /* Original padding + mobile-top-bar height */
  }
}

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

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

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

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


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

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

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

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

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# 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) !important;
}

@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%);
}

/*--------------------------------------------------------------
# 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 {
  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;
  font-family: var(--heading-font);
}

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

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  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);
}

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

/* assets/css/main.css */

/* Styles for blog post body content (from previous fix) */
.blog-post-body p {
    margin-bottom: 1em;
    line-height: 1.8;
}
.blog-post-body ul,
.blog-post-body ol {
    margin-bottom: 1em;
    margin-left: 1.5em;
}
.blog-post-body h1,
.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4,
.blog-post-body h5,
.blog-post-body h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* Custom style for blog cards, matching contact section containers */
.blog-card-style {
    background-color: var(--surface-color); /* Assuming this CSS variable is defined */
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px; /* Apply padding similar to contact section containers */
    border-radius: 0.5rem; /* For subtle rounded corners, similar to Bootstrap's rounded-lg */
    /* ADD THIS LINE FOR A VISIBLE BORDER */
    border: 1px solid rgba(0, 0, 0, 0.1); /* A subtle border color, adjust as needed */
}

/* Ensure card-body and card-footer within these custom styled cards don't have conflicting padding/margins */
.blog-card-style .card-body,
.blog-card-style .card-footer {
    padding-left: 0;
    padding-right: 0;
}

/* Adjust padding for smaller screens if needed, similar to your contact section */
@media (max-width: 575px) {
  .blog-card-style {
    padding: 20px;
  }
}

{% load cms_tags %}

<div class="privacy-bullet-points mb-4 text-left">
    {% if instance.heading %}
    <h3 class="font-bold">{{ instance.heading }}</h3>
    {% endif %}
    {% if instance.description %}
    {{ instance.description|linebreaksbr }}
    {% endif %}

    {# Use list-unstyled to remove default browser bullets #}
    <ul class="list-unstyled ps-4 mt-2">
        {% for point in instance.get_points_list %}
            {# Apply the custom CSS class and simplify the content structure #}
            <li class="hanging-indent-li">
                {# The icon and text are now together, allowing text-indent to work #}
                <i class="bi bi-dot me-2"></i>{{ point }}
            </li>
        {% empty %}
            <li>No bullet points added.</li>
        {% endfor %}
    </ul>
</div>