/**
* Template Name: ACCUREON POWER
* Template URL: https://bootstrapmade.com/ACCUREON POWER-multipurpose-bootstrap-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Lato",  sans-serif;
  --nav-font: "Raleway",  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: #2c3e50; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #1a2635; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #3498db; /* 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. */
  
  /* Header specific colors for consistency */
  --header-bg: #00122d;
  --header-topbar-bg: #000c1d;
  --header-text: #ffffff;
  --header-hover: #9333ea;
}

/* 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: #2c3e50;  /* The default color of the main navmenu links */
  --nav-hover-color: #3498db; /* 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: #2c3e50; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #3498db; /* 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: #ececec;
  --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);
}

/* Global Links */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: rgba(52, 152, 219, 0.75); /* Fallback for older browsers */
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  margin-bottom: 1rem;
}

/* Utility Classes */
.text-accent {
  color: var(--accent-color) !important;
}

.bg-accent {
  background-color: var(--accent-color) !important;
  color: var(--contrast-color) !important;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 10px 25px;
  border-radius: 4px;
  border: 2px solid var(--accent-color);
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-color);
  padding: 10px 25px;
  border-radius: 4px;
  border: 2px solid var(--accent-color);
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.shadow-hover {
  transition: all 0.3s ease;
}

.shadow-hover:hover {
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
  transform: translateY(-2px);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 9999;
  background-color: var(--header-bg) !important;
  position: relative;
}

/* Global header styling to ensure consistency across all pages */
.header .topbar {
  background-color: var(--header-topbar-bg) !important;
  padding: 4px 0 !important;
  margin-bottom: 0.5rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.header .branding {
  padding: 0.5rem 0 !important;
}

.header .contact-info i,
.header .contact-info a {
  color: var(--header-text) !important;
}

.header .social-links a {
  color: var(--header-text) !important;
}



.header .navmenu a {
  color: var(--header-text) !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
}

.header .navmenu a:hover,
.header .navmenu .active {
  color: var(--header-hover) !important;
}

.header .navmenu .dropdown ul {
  background: var(--header-bg) !important;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25) !important;
}

.header .navmenu .dropdown ul a {
  color: var(--header-text) !important;
}

.header .navmenu .dropdown ul a:hover {
  color: var(--header-hover) !important;
  background-color: rgba(147, 51, 234, 0.1) !important;
}

/* Remove duplicate - already defined above */

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

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--default-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;
  color: var(--default-color);
}

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

.header .topbar .social-links a {
  color: rgba(44, 62, 80, 0.6); /* Fallback for older browsers */
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

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

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

/* Mobile header branding improvements */
@media (max-width: 1199px) {
  .header .branding {
    min-height: 50px;
    padding: 8px 0;
  }
  
  .header .branding .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  
  .header .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  
  .header .logo img {
    max-height: 32px;
    margin-right: 6px;
  }
  
  .header .logo h1 {
    font-size: 20px;
    margin: 0;
  }

  .header .sitename {
    font-size: clamp(1rem, 2.5vw, 1.75rem);
    margin-left: clamp(0.5rem, 2vw, 1.5rem);
  }
}

@media (max-width: 768px) {
  .header .branding {
    min-height: 45px;
    padding: 6px 0;
  }
  
  .header .logo img {
    max-height: 28px;
    margin-right: 4px;
  }
  
  .header .logo h1 {
    font-size: 18px;
  }
  
  .header .sitename {
    font-size: 1rem !important;
    margin-left: 0.3rem !important;
  }
}

@media (max-width: 480px) {
  .header .branding {
    min-height: 40px;
    padding: 4px 0;
  }
  
  .header .logo img {
    max-height: 24px;
    margin-right: 3px;
  }
  
  .header .logo h1 {
    font-size: 16px;
  }
  
  .header .sitename {
    font-size: 0.9rem !important;
    margin-left: 0.2rem !important;
  }
}

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

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

.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--heading-color);
}

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

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

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

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

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 12px;
    font-size: 13px;
    font-family: var(--nav-font);
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

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

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

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

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

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

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

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

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

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

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

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

/* CRITICAL: Force mobile navbar toggle button to be visible on mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Override any Bootstrap classes that might hide the button */
  .d-xl-none.mobile-nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;

    /* --- Reliable positioning --- */
    position: absolute;
    top: 50%;
    right: max(16px, env(safe-area-inset-right)); /* accounts for iPhone notch/padding */
    transform: translateY(-50%);

    /* --- Accessibility --- */
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;

    /* --- Visuals --- */
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 1000;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus {
    color: #ddd;
    transform: translateY(-50%) scale(1.1);
  }

  /* Prevent site name from pushing icon */
  .branding .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow: visible;
    padding-right: max(16px, env(safe-area-inset-right)); /* ensures spacing inside container */
  }

  .sitename {
    max-width: 80%;
    text-align: left;
    overflow: visible;
    white-space: normal;
    word-break: break-word;
  }
  
  .mobile-nav-toggle:hover {
    background: transparent !important;
    color: #ffffff !important;
    transform: none !important;
  }

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

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

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 12px 20px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navmenu a:last-child {
    border-bottom: none;
  }

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

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

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

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

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 0;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
    border-radius: 0;
  }

  .navmenu .dropdown ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navmenu .dropdown ul li:last-child {
    border-bottom: none;
  }

  .navmenu .dropdown ul a {
    padding: 10px 40px;
    font-size: 14px;
    color: var(--nav-dropdown-color);
    background-color: transparent;
  }

  .navmenu .dropdown ul a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--nav-dropdown-hover-color);
  }

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

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

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

  .mobile-nav-active .mobile-nav-toggle {
    color: #ffffff !important;
    position: fixed !important;
    font-size: 32px !important;
    top: 20px !important;
    right: 20px !important;
    margin-right: 0 !important;
    z-index: 10001 !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
  }

  .mobile-nav-active .mobile-nav-toggle:hover {
    background: transparent !important;
    transform: none !important;
  }

  /* Mobile menu backdrop */
  .mobile-nav-active .navmenu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 18, 45, 0.95) !important;
    z-index: 10000 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Mobile menu content */
  .mobile-nav-active .navmenu>ul {
    display: block !important;
    position: relative !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    margin: 80px 20px 20px 20px !important;
    padding: 20px 0 !important;
    max-height: calc(100vh - 120px) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    overflow-y: auto !important;
    z-index: 1 !important;
  }
  
  /* Mobile menu links */
  .mobile-nav-active .navmenu a {
    color: #2c3e50 !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid #e9ecef !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: all 0.3s ease !important;
  }
  
  .mobile-nav-active .navmenu a:hover {
    color: #3498db !important;
    background-color: rgba(52, 152, 219, 0.1) !important;
  }
  
  .mobile-nav-active .navmenu a.active {
    color: #3498db !important;
    background-color: rgba(52, 152, 219, 0.1) !important;
  }
  
  /* Mobile dropdown functionality */
  .mobile-nav-active .navmenu .dropdown ul {
    display: none !important;
    position: static !important;
    background: #f8f9fa !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  
  .mobile-nav-active .navmenu .dropdown.active ul {
    display: block !important;
  }
  
  .mobile-nav-active .navmenu .dropdown ul a {
    color: #2c3e50 !important;
    padding: 12px 40px !important;
    font-size: 14px !important;
    border-bottom: 1px solid #e9ecef !important;
    background: #f8f9fa !important;
  }
  
  .mobile-nav-active .navmenu .dropdown ul a:hover {
    color: #3498db !important;
    background-color: rgba(52, 152, 219, 0.1) !important;
  }
  
  .mobile-nav-active .navmenu .dropdown ul a.active {
    color: #3498db !important;
    background-color: rgba(52, 152, 219, 0.1) !important;
  }
  
  /* Dropdown toggle icon */
  .mobile-nav-active .navmenu .dropdown a i {
    transition: transform 0.3s ease !important;
  }
  
  .mobile-nav-active .navmenu .dropdown.active a i {
    transform: rotate(180deg) !important;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes slideInFromRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
}

/* Additional mobile-specific improvements */
@media (max-width: 768px) {
  /* Mobile navbar toggle button styles moved to main section */

  /* Mobile navbar styles moved to clean implementation section */

  .navmenu a,
  .navmenu a:focus {
    padding: 15px 20px;
    font-size: 15px;
  }

  .navmenu .dropdown ul a {
    padding: 12px 35px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  /* Mobile navbar styles moved to clean implementation section */

  .navmenu a,
  .navmenu a:focus {
    padding: 12px 15px;
    font-size: 14px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 30px;
    font-size: 12px;
  }
}

/* Additional mobile improvements for better touch interaction */
@media (max-width: 1199px) {
  /* Mobile navbar toggle button touch styles moved to main section */

  .navmenu a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .navmenu .dropdown ul a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 40px;
  }
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 1199px) {
  /* Mobile navbar overflow styles moved to clean implementation section */
}

/* Mobile navbar animation performance moved to clean implementation section */

/* Mobile navbar compatibility fixes moved to clean implementation section */

/* Mobile navbar small screen fixes moved to clean implementation section */

/* Additional mobile navbar fixes for better cross-browser compatibility */
@media (max-width: 1199px) {
  /* Fix for older mobile browsers */
  /* Mobile navbar toggle button appearance styles moved to main section */
  
  /* Ensure proper touch targets */
  .navmenu a,
  .navmenu .dropdown a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Fix for iOS Safari bounce scroll */
  .mobile-nav-active {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
  }
  
  /* Mobile navbar visibility moved to clean implementation section */
}

/* Mobile navbar landscape orientation fixes moved to clean implementation section */

/* Mobile navbar cross-device compatibility fixes moved to clean implementation section */

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

.footer .footer-top {
  background-color: color-mix(in srgb, var(--background-color), white 5%);
  padding-top: 50px;
}

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

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

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

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

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

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

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

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

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

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

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

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

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

.footer .copyright {
  padding: 30px 0;
}

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

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

.footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--contrast-color);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: var(--accent-color);
  text-decoration: none;
}

/*--------------------------------------------------------------
# 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: 4px;
  height: 40px;
  background-color: var(--accent-color);
  margin: 0 4px;
}

#preloader div:nth-child(1) {
  animation: animate-preloader 1s ease-in-out -0.45s infinite;
}

#preloader div:nth-child(2) {
  animation: animate-preloader 1s ease-in-out -0.3s infinite;
}

#preloader div:nth-child(3) {
  animation: animate-preloader 1s ease-in-out -0.15s infinite;
}

#preloader div:nth-child(4) {
  animation: animate-preloader 1s infinite;
}

@keyframes animate-preloader {

  0%,
  100% {
    transform: scaleY(0.3);
  }

  50% {
    transform: scaleY(1);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  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;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: 70vh;
  padding: 0;
  margin: 0;
  position: relative;
}

@media (max-height: 500px),
(max-width: 580px) {
  .hero .carousel {
    min-height: 100vh;
  }
}

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

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

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

.hero .container {
  position: relative;
  text-align: center;
  background: color-mix(in srgb, var(--background-color), transparent 40%);
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 50px;
  border-top: 4px solid var(--accent-color);
  z-index: 3;
}

@media (max-width: 1200px) {
  .hero .container {
    margin-left: 50px;
    margin-right: 50px;
  }
}

.hero h2 {
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 700;
}

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

.hero .btn-get-started {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  transition: 0.3s ease;
  margin: 10px;
  border-radius: 4px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
}

.hero .btn-get-started:hover {
  background: transparent;
  color: var(--accent-color);
}

.hero .carousel-control-prev {
  justify-content: start;
}

@media (min-width: 640px) {
  .hero .carousel-control-prev {
    padding-left: 15px;
  }
}

.hero .carousel-control-next {
  justify-content: end;
}

@media (min-width: 640px) {
  .hero .carousel-control-next {
    padding-right: 15px;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 26px;
  line-height: 0;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 50px;
  color: var(--contrast-color);
  transition: 0.3s;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

.hero .carousel-control-prev:hover .carousel-control-next-icon,
.hero .carousel-control-prev:hover .carousel-control-prev-icon,
.hero .carousel-control-next:hover .carousel-control-next-icon,
.hero .carousel-control-next:hover .carousel-control-prev-icon {
  background: var(--accent-color);
  color: var(--default-color);
}

.hero .carousel-indicators li {
  cursor: pointer;
  background: var(--default-color);
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: 0.6;
  transition: 0.3s;
}

.hero .carousel-indicators li.active {
  opacity: 1;
  background: var(--accent-color);
}

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

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

.call-to-action h3 {
  color: var(--default-color);
  font-size: 28px;
  font-weight: 700;
}

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

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

.call-to-action .cta-btn:hover {
  background-color: transparent;
  color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.1);
  padding: 40px 30px;
  transition: all 0.3s ease;
  border-radius: 4px;
  height: 100%;
  border: 1px solid rgba(52, 152, 219, 0.1);
  position: relative;
}

.services .service-item .icon {
  color: var(--accent-color);
  background-color: rgba(52, 152, 219, 0.1);
  width: 64px;
  height: 64px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: all 0.3s ease;
}

.services .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
  border-color: var(--accent-color);
}

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

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

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

@media (min-width: 1365px) {
  .services .service-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
  }

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

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

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

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

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

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

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

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

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: linear-gradient(to top, 
    color-mix(in srgb, var(--accent-color), transparent 10%),
    transparent
  );
  padding: 20px;
  border-radius: 8px;
  backdrop-filter: blur(5px);
}

.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: 20px;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  position: relative;
  background: var(--surface-color);
  padding: 80px 0;
  overflow: hidden;
}

.clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    rgba(52, 152, 219, 0.2),
    transparent
  );
}

.clients-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.clients-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.clients-header p {
  color: var(--default-color);
  max-width: 600px;
  margin: 0 auto;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 20px;
}

.client-card {
  position: relative;
  background: var(--surface-color);
  border-radius: 4px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(52, 152, 219, 0.1);
}

.client-logo {
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.client-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s ease;
}

.client-info {
  text-align: center;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.client-info h4 {
  color: var(--heading-color);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.client-info p {
  color: var(--default-color);
  font-size: 0.9rem;
  line-height: 1.5;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.1);
}

.client-card:hover .client-logo img {
  filter: grayscale(0%) opacity(1);
}

.client-card:hover .client-info {
  height: auto;
  opacity: 1;
  margin-top: 20px;
}

.testimonial-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(52, 152, 219, 0.1);
  color: var(--accent-color);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.client-card:hover .testimonial-badge {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .clients-grid {
    gap: 20px;
    padding: 10px;
  }
  
  .client-card {
    padding: 20px;
  }
  
  .client-logo {
    height: 60px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h3 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.about .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

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

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

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

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

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

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

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--contrast-color), transparent 25%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: ease-in-out 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

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

.team .team-member .social i {
  font-size: 18px;
  line-height: 0;
}

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

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

.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:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Expertise Section
--------------------------------------------------------------*/
.expertise {
  position: relative;
  background: linear-gradient(135deg, 
    var(--surface-color) 0%,
    rgba(52, 152, 219, 0.05) 100%
  );
  padding: 80px 0;
  overflow: hidden;
}

.expertise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(52, 152, 219, 0.1),
    transparent 70%
  );
  pointer-events: none;
}

.expertise-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.expertise-header h2 {
  font-size: 2.5rem;
  color: var(--heading-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.expertise-header p {
  color: var(--default-color);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.expertise-card {
  position: relative;
  background: var(--surface-color);
  border-radius: 4px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(52, 152, 219, 0.1);
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.1) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

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

.expertise-icon {
  width: 60px;
  height: 60px;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 28px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

.expertise-content {
  position: relative;
  z-index: 1;
}

.expertise-title {
  font-size: 1.4rem;
  color: var(--heading-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.expertise-highlights {
  margin-top: 20px;
}

.highlight-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--default-color);
  font-size: 0.95rem;
}

.highlight-item i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 14px;
}

.expertise-description {
  color: var(--default-color);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.expertise-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(52, 152, 219, 0.1);
  color: var(--accent-color);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

@media (max-width: 992px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .expertise-card {
    padding: 30px 25px;
  }
  
  .expertise-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-item {
  width: 100%;
  margin-bottom: 15px;
}

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

.features .nav-link {
  color: var(--heading-color);
  border: 0;
  padding: 30px;
  transition: 0.3s;
  border-radius: 10px;
  display: flex;
  cursor: pointer;
}

.features .nav-link i {
  background-color: var(--surface-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  width: 48px;
  height: 48px;
  font-size: 22px;
  flex-shrink: 0;
  border-radius: 50px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.features .nav-link h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px 0;
  transition: 0.3s;
}

.features .nav-link p {
  font-size: 15px;
  margin: 0;
}

.features .nav-link:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
}

.features .nav-link.active {
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
  color: var(--default-color);
}

.features .tab-pane img {
  border-radius: 15px;
}

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

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  position: relative;
  height: 100%;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

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

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

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

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

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

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

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

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px 0 0 0;
  padding: 0;
}

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

.pricing .pricing-item h3 {
  padding: 15px;
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
}

.pricing .pricing-item h4 {
  color: var(--accent-color);
  font-size: 42px;
  font-family: var(--default-font);
  font-weight: 500;
}

.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: 20px 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 .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  text-decoration: line-through;
}

.pricing .pricing-item .btn-wrap {
  padding: 15px;
  text-align: center;
}

.pricing .pricing-item .btn-buy {
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  display: inline-block;
  padding: 10px 40px 12px 40px;
  border-radius: 50px;
  font-size: 14px;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

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

.pricing .recommended .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
}

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

.pricing .recommended-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 13px;
  padding: 3px 25px 6px 25px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border-radius: 50px;
}

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

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

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

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

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

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

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

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

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

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

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

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

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

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
}

.blog-posts .post-img {
  max-height: 440px;
  margin: -30px -30px 0 -30px;
  overflow: hidden;
}

.blog-posts .title {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

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

.blog-posts .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-posts .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-posts .meta-top ul li+li {
  padding-left: 20px;
}

.blog-posts .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-posts .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-posts .content {
  margin-top: 20px;
}

.blog-posts .content .read-more {
  text-align: right;
}

.blog-posts .content .read-more a {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 30px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog-posts .content .read-more a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author {
  padding: 10px 0 40px 0;
}

.blog-author .author-container {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author h4 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog-author .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
}

.blog-author p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info {
  background-color: var(--surface-color);
  padding: 40px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact .info h3 {
  font-weight: 600;
  font-size: 24px;
}

.contact .info p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 30px;
  font-size: 15px;
}

.contact .info-item+.info-item {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.contact .info-item i {
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease-in-out;
  margin-right: 20px;
}

.contact .info-item h4 {
  padding: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

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

.contact .php-email-form {
  width: 100%;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 0px;
  box-shadow: none;
  font-size: 14px;
  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 input[type=text],
.contact .php-email-form input[type=email] {
  height: 48px;
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
  height: 290px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ===============================================
   COMPREHENSIVE MOBILE RESPONSIVENESS FIXES
   =============================================== */

/* Mobile-specific horizontal scroll prevention - Desktop remains unchanged */

/* Mobile Responsiveness - Additional fixes for edge cases */
/* Mobile navbar 360px fixes moved to clean implementation section */

/* Mobile navbar landscape orientation fixes moved to clean implementation section */

/* Comprehensive Mobile Responsiveness Fixes */
@media (max-width: 768px) {
  /* CRITICAL: Prevent horizontal scroll ONLY on mobile */
  html, body {
    overflow-x: hidden !important;
  }
  
  /* Fix common elements that cause horizontal scroll on mobile */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  video {
    max-width: 100% !important;
    height: auto !important;
  }
  
  iframe {
    max-width: 100% !important;
  }
  
  table {
    width: 100% !important;
    table-layout: fixed !important;
  }
  
  pre, code {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
  }
  /* Hero Section Mobile Fixes */
  #hero {
    height: 100vh !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
  }
  
  .content-wrapper {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
  
  .hero-panel {
    padding: 1.5rem 2rem !important;
    max-width: calc(100% - 20px) !important;
    margin: 0 10px !important;
  }
  
  .hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: 100vh !important;
    object-fit: cover !important;
  }
  
  .hero-title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  .hero-description {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  /* Header Mobile Fixes */
  .header {
    overflow-x: hidden !important;
  }
  
  .header .sitename {
    font-size: 1.2rem !important;
    margin-left: 0.5rem !important;
  }
  
  .logo-img {
    height: 35px !important;
    max-width: 100% !important;
  }
  
  .header .contact-info {
    font-size: 0.8rem !important;
  }
  
  .header .contact-info i {
    margin-right: 0.3rem !important;
  }
  
  .navmenu {
    overflow-x: hidden !important;
  }
  
  /* Page Title Mobile Fixes */
  .page-title {
    padding: 2rem 0 !important;
    min-height: 200px !important;
  }
  
  .page-title h1 {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
  }
  
  /* Section Mobile Fixes */
  .section {
    padding: 3rem 0 !important;
    overflow-x: hidden !important;
  }
  
  .section-title h2 {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
    word-wrap: break-word !important;
  }
  
  .section-title p {
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
    word-wrap: break-word !important;
  }
  
  /* Cards and Grid Mobile Fixes */
  .expertise-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 0.5rem !important;
  }
  
  .expertise-card {
    padding: 1.5rem !important;
  }
  
  .expertise-title {
    font-size: 1.2rem !important;
  }
  
  .expertise-description {
    font-size: 0.9rem !important;
  }
  
  /* Team Section Mobile Fixes */
  .team-member {
    margin-bottom: 2rem !important;
  }
  
  .member-info h4 {
    font-size: 1.1rem !important;
  }
  
  .member-info span {
    font-size: 0.9rem !important;
  }
  
  /* Contact Form Mobile Fixes */
  .php-email-form .form-group {
    margin-bottom: 1rem !important;
  }
  
  .php-email-form input,
  .php-email-form textarea {
    padding: 12px 15px !important;
    font-size: 16px !important; /* Prevents zoom on iOS */
  }
  
  .php-email-form button {
    padding: 12px 30px !important;
    font-size: 16px !important;
    width: 100% !important;
  }
  
  /* Footer Mobile Fixes */
  .footer {
    overflow-x: hidden !important;
  }
  
  .footer-top {
    padding: 2rem 0 1rem 0 !important;
  }
  
  .footer-about {
    margin-bottom: 2rem !important;
    text-align: center !important;
  }
  
  .footer-links {
    margin-bottom: 1.5rem !important;
  }
  
  .footer h4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.8rem !important;
    word-wrap: break-word !important;
  }
  
  .footer-links ul li {
    margin-bottom: 0.5rem !important;
  }
  
  .footer-links ul li a {
    font-size: 0.9rem !important;
    word-wrap: break-word !important;
  }
  
  /* Blog Mobile Fixes */
  .blog-posts .post-img {
    margin-bottom: 1rem !important;
  }
  
  .blog-posts .title {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
  }
  
  .blog-posts .content p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
  
  /* Portfolio Mobile Fixes */
  .portfolio-item {
    margin-bottom: 2rem !important;
  }
  
  .portfolio-item img {
    height: 200px !important;
  }
  
  .portfolio-info h4 {
    font-size: 1.1rem !important;
  }
  
  .portfolio-info p {
    font-size: 0.9rem !important;
  }
  
  /* Clients Section Mobile Fixes */
  .clients-wrap {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  .client-logo {
    width: 120px !important;
    height: 60px !important;
  }
  
  .client-logo img {
    max-width: 100px !important;
    max-height: 40px !important;
  }
  
  /* About Page Mobile Fixes */
  .about .content h3 {
    font-size: 1.5rem !important;
  }
  
  .about .content p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
  
  .about .content ul li {
    font-size: 0.9rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  /* Founder Section Mobile Fixes */
  .founder .row {
    text-align: center !important;
  }
  
  .founder .col-md-4 {
    margin-bottom: 2rem !important;
  }
  
  .founder h2 {
    font-size: 1.8rem !important;
  }
  
  .founder p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
  
  /* Our Story Section Mobile Fixes */
  .our-story h2 {
    font-size: 1.8rem !important;
  }
  
  .our-story .col-md-3 {
    margin-bottom: 2rem !important;
  }
  
  .our-story h4 {
    font-size: 1.2rem !important;
  }
  
  .our-story p {
    font-size: 0.9rem !important;
  }
  
  /* Service Details Mobile Fixes */
  .service-details .services-list {
    margin-bottom: 2rem !important;
  }
  
  .service-details .services-list a {
    display: block !important;
    padding: 12px 15px !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .service-details .service-content h3 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  .service-details .service-content p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
  }
  
  .service-details .service-content ul li {
    font-size: 0.9rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  .service-details .service-content .btn {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    width: 100% !important;
    margin-top: 1rem !important;
  }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
  /* Prevent horizontal scroll on small mobile */
  html, body {
    overflow-x: hidden !important;
  }
  .hero-panel {
    padding: 1rem 1.5rem !important;
    margin: 0 5px !important;
  }
  
  .hero-title {
    font-size: 1.5rem !important;
  }
  
  .hero-subtitle {
    font-size: 0.9rem !important;
  }
  
  .hero-description {
    font-size: 0.85rem !important;
  }
  
  .header .sitename {
    font-size: 1rem !important;
  }
  
  .logo-img {
    height: 30px !important;
  }
  
  .page-title h1 {
    font-size: 1.8rem !important;
  }
  
  .section-title h2 {
    font-size: 1.8rem !important;
  }
  
  .expertise-card {
    padding: 1rem !important;
  }
  
  .expertise-title {
    font-size: 1.1rem !important;
  }
  
  .clients-wrap {
    grid-template-columns: 1fr !important;
  }
  
  .client-logo {
    width: 100px !important;
    height: 50px !important;
  }
  
  .about .content h3 {
    font-size: 1.3rem !important;
  }
  
  .founder h2 {
    font-size: 1.6rem !important;
  }
  
  .our-story h2 {
    font-size: 1.6rem !important;
  }
  
  .service-details .service-content h3 {
    font-size: 1.3rem !important;
  }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
  /* Prevent horizontal scroll on very small mobile */
  html, body {
    overflow-x: hidden !important;
  }
  .hero-panel {
    padding: 0.8rem 1rem !important;
  }
  
  .hero-title {
    font-size: 1.3rem !important;
  }
  
  .hero-subtitle {
    font-size: 0.8rem !important;
  }
  
  .hero-description {
    font-size: 0.8rem !important;
  }
  
  .header .sitename {
    font-size: 0.9rem !important;
  }
  
  .logo-img {
    height: 25px !important;
  }
  
  .page-title h1 {
    font-size: 1.6rem !important;
  }
  
  .section-title h2 {
    font-size: 1.6rem !important;
  }
  
  .expertise-card {
    padding: 0.8rem !important;
  }
  
  .expertise-title {
    font-size: 1rem !important;
  }
  
  .about .content h3 {
    font-size: 1.2rem !important;
  }
  
  .founder h2 {
    font-size: 1.4rem !important;
  }
  
  .our-story h2 {
    font-size: 1.4rem !important;
  }
  
  .service-details .service-content h3 {
    font-size: 1.2rem !important;
  }
}

/* Mobile-specific overrides for fixed widths that cause horizontal scroll */
@media (max-width: 768px) {
  .client-logo {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
  }
  
  .client-logo img {
    max-width: 100% !important;
    width: auto !important;
  }
  
  .hero-panel {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .header .navmenu .dropdown ul {
    min-width: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .header .navmenu .dropdown ul li {
    min-width: auto !important;
    width: 100% !important;
  }
}

/* Mobile navbar responsive adjustments */
@media (max-width: 768px) {
  .mobile-nav-active .navmenu>ul {
    margin: 70px 15px 15px 15px !important;
    max-height: calc(100vh - 100px) !important;
  }
  
  .mobile-nav-active .mobile-nav-toggle {
    top: 15px !important;
    right: 15px !important;
    font-size: 24px !important;
  }
}

@media (max-width: 480px) {
  .mobile-nav-active .navmenu>ul {
    margin: 65px 10px 10px 10px !important;
    max-height: calc(100vh - 90px) !important;
  }
  
  .mobile-nav-active .mobile-nav-toggle {
    top: 10px !important;
    right: 10px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
  }
}

@media (max-width: 360px) {
  .mobile-nav-active .navmenu>ul {
    margin: 60px 5px 5px 5px !important;
    max-height: calc(100vh - 80px) !important;
  }
}

/* =======================================================
   COMMON HEADER AND FOOTER STYLES
   ======================================================= */

/* Header Styles */
.header {
  background-color: #00122d !important;
  padding: 0.5rem 0 !important;
}

.header .topbar {
  background-color: #000c1d !important;
  padding: 4px 0 !important;
  margin-bottom: 0.5rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.header .branding {
  padding: 0.5rem 0 !important;
}

.header .contact-info i,
.header .contact-info a {
  color: #ffffff !important;
}

.header .social-links a {
  color: #ffffff !important;
}

.header .sitename {
  color: #ffffff !important;
  margin-left: clamp(0.5rem, 2vw, 1.5rem);
  font-weight: 600 !important;
  font-size: clamp(0.5rem, 2vw, 1.5rem);
}

.header .sitename {
  color: #ffffff !important;
  margin-left: 1rem !important;
  font-weight: 600 !important;
  font-size: clamp(0.5rem, 2vw, 1.5rem);
  word-break: break-word;
  white-space: normal; /* allows wrapping */
  max-width: 50%; /* restricts to half of the screen width */
  overflow-wrap: anywhere; /* ensures long text wraps even without spaces */
}



.logo-img {
  height: 45px;
  width: auto;
  vertical-align: middle;
  filter: brightness(1.1);
}

/* Footer Styles */
.footer {
  background-color: #00122d !important;
  padding: 2rem 0 0 !important;
  color: #ffffff !important;
}

.footer-top {
  background-color: #00122d !important;
  padding-bottom: 1.5rem !important;
}

.footer .copyright {
  padding: 1rem 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

.footer .footer-contact {
  margin-top: 1rem !important;
  line-height: 1.8 !important;
}

.footer-contact p {
  margin-bottom: 0.5rem !important;
  color: #ffffff !important;
}

.footer-links {
  margin-bottom: 1.5rem !important;
}

.footer h4 {
  color: #ffffff !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  font-size: 1.2rem !important;
}

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

.footer-links ul li {
  margin-bottom: 0.75rem !important;
}

.footer a {
  color: #ffffff !important;
  transition: color 0.3s ease !important;
  text-decoration: none !important;
}

.footer a:hover {
  color: #9333ea !important;
  padding-left: 5px !important;
}

.footer .sitename {
  color: #ffffff !important;
  margin-left: 1rem !important;
  font-weight: 600 !important;
  font-size: 1.5rem !important;
}

.footer .social-links a {
  margin-right: 1rem !important;
}

.footer .social-links a:hover {
  transform: translateY(-2px) !important;
}

/* =======================================================
   EXPERTISE SECTION STYLES
   ======================================================= */

.expertise-header {
  text-align: center;
  margin-bottom: 3rem;
}

.expertise-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.expertise-header p {
  color: #666;
  font-size: 1.1rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.expertise-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.expertise-icon {
  font-size: 2.5rem;
  color: #9333ea;
  margin-bottom: 1.5rem;
}

.expertise-content {
  color: #2c3e50;
}

.expertise-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.expertise-description {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.expertise-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.highlight-item i {
  color: #9333ea;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  
  .expertise-card {
    padding: 1.5rem;
  }
}

/* =======================================================
   CLIENTS SECTION STYLES
   ======================================================= */

.clients-section {
  padding: 60px 0;
  background-color: #f8fafc;
}

.clients-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: center;
  padding: 2rem 0;
}

.client-logo {
  width: 180px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.client-logo img {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
  .clients-wrap {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .client-logo {
    width: 150px;
    height: 80px;
  }

  .client-logo img {
    max-width: 120px;
    max-height: 50px;
  }
}