:root {
  --default-font: "Montserrat", system-ui, -apple-system, "Segoe UI", "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: "Inter", sans-serif;
}

/* Derived color variables with safe fallbacks for browsers that don't support color-mix()
   These provide semi-transparent/soft variants used across the stylesheet. */
:root {
  /* Fallbacks using rgba approximations for many mix percentages */
  --accent-5: rgba(246, 139, 31, 0.05);
  --accent-10: rgba(246, 139, 31, 0.10);
  --accent-15: rgba(246, 139, 31, 0.15);
  --accent-20: rgba(246, 139, 31, 0.20);
  --accent-25: rgba(246, 139, 31, 0.25);
  --accent-30: rgba(246, 139, 31, 0.30);
  --accent-40: rgba(246, 139, 31, 0.40);
  --accent-50: rgba(246, 139, 31, 0.50);
  --accent-60: rgba(246, 139, 31, 0.60);
  --accent-70: rgba(246, 139, 31, 0.70);
  --accent-75: rgba(246, 139, 31, 0.75);
  --accent-80: rgba(246, 139, 31, 0.80);
  --accent-85: rgba(246, 139, 31, 0.85);
  --accent-90: rgba(246, 139, 31, 0.90);

  --default-10: rgba(68, 68, 68, 0.10);
  --default-20: rgba(68, 68, 68, 0.20);
  --default-30: rgba(68, 68, 68, 0.30);
  --default-40: rgba(68, 68, 68, 0.40);
  --default-50: rgba(68, 68, 68, 0.50);
  --default-60: rgba(68, 68, 68, 0.60);
  --default-70: rgba(68, 68, 68, 0.70);
  --default-80: rgba(68, 68, 68, 0.80);
  --default-85: rgba(68, 68, 68, 0.85);
  --default-90: rgba(68, 68, 68, 0.90);

  /* background & nav soft variants */
  --bg-30: rgba(255,255,255,0.30);
  --bg-50: rgba(255,255,255,0.50);
  --nav-10: rgba(229,234,238,0.10);
  --nav-soft: rgba(255,255,255,0.15);
}

/* If color-mix() is supported, redefine the derived variables more precisely */
@supports (color: color-mix(in srgb, var(--accent-color) 20%, transparent 80%)) {
  :root {
    --accent-5: color-mix(in srgb, var(--accent-color) 5%, transparent 95%);
    --accent-10: color-mix(in srgb, var(--accent-color) 10%, transparent 90%);
    --accent-15: color-mix(in srgb, var(--accent-color) 15%, transparent 85%);
    --accent-20: color-mix(in srgb, var(--accent-color) 20%, transparent 80%);
    --accent-25: color-mix(in srgb, var(--accent-color) 25%, transparent 75%);
    --accent-30: color-mix(in srgb, var(--accent-color) 30%, transparent 70%);
    --accent-40: color-mix(in srgb, var(--accent-color) 40%, transparent 60%);
    --accent-50: color-mix(in srgb, var(--accent-color) 50%, transparent 50%);
    --accent-60: color-mix(in srgb, var(--accent-color) 60%, transparent 40%);
    --accent-70: color-mix(in srgb, var(--accent-color) 70%, transparent 30%);
    --accent-75: color-mix(in srgb, var(--accent-color) 75%, transparent 25%);
    --accent-80: color-mix(in srgb, var(--accent-color) 80%, transparent 20%);
    --accent-85: color-mix(in srgb, var(--accent-color) 85%, transparent 15%);
    --accent-90: color-mix(in srgb, var(--accent-color) 90%, transparent 10%);

    --default-10: color-mix(in srgb, var(--default-color) 10%, transparent 90%);
    --default-20: color-mix(in srgb, var(--default-color) 20%, transparent 80%);
    --default-30: color-mix(in srgb, var(--default-color) 30%, transparent 70%);
    --default-40: color-mix(in srgb, var(--default-color) 40%, transparent 60%);
    --default-50: color-mix(in srgb, var(--default-color) 50%, transparent 50%);
    --default-60: color-mix(in srgb, var(--default-color) 60%, transparent 40%);
    --default-70: color-mix(in srgb, var(--default-color) 70%, transparent 30%);
    --default-80: color-mix(in srgb, var(--default-color) 80%, transparent 20%);
    --default-85: color-mix(in srgb, var(--default-color) 85%, transparent 15%);
    --default-90: color-mix(in srgb, var(--default-color) 90%, transparent 10%);

    --bg-30: color-mix(in srgb, var(--background-color), transparent 30%);
    --bg-50: color-mix(in srgb, var(--background-color), transparent 50%);
    --nav-10: color-mix(in srgb, var(--nav-color), transparent 90%);
    --nav-soft: color-mix(in srgb, var(--nav-color) 90%, white 15%);
  }
}

/* Theme toggle styles */
.theme-toggle {
  background: transparent;
  border: 0;
  color: var(--nav-color);
  font-size: 18px;
  margin-left: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.theme-toggle:hover {
  background: var(--nav-10);
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #273d4e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #f68b1f; /* 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. */
  /* Animated accent colors used for subtle motion overlays (portfolio tiles, highlights) */
  --accent-anim-1: #f68b1f;
  --accent-anim-2: #f5c27a;
}

/* Dark theme: toggled by data-theme attribute */
[data-theme="dark"] {
  --background-color: #071019;
  --default-color: #dbe9f2;
  --heading-color: #ffffff;
  --accent-color: #ffb86b;
  --surface-color: #0f1a22;
  --contrast-color: #0b1220;
  --nav-color: #cfe6f5;
  --nav-hover-color: #ffb86b;
  --nav-mobile-background-color: #071019;
  --nav-dropdown-background-color: #0b1220;
  --nav-dropdown-color: #dbe9f2;
  /* Dark-mode animated accent variants */
  --accent-anim-1: #ffb86b;
  --accent-anim-2: #ffd9a8;
}

/* Dark-mode CTA override: make the header CTA ("Get Started") stand out in dark theme */
[data-theme="dark"] .header .cta-btn,
[data-theme="dark"] .header .cta-btn:focus {
  color: var(--nav-hover-color);
  border-color: var(--nav-hover-color);
  background: transparent;
}

[data-theme="dark"] .header .cta-btn:hover,
[data-theme="dark"] .header .cta-btn:focus:hover {
  background: var(--nav-hover-color);
  color: var(--contrast-color);
}

/* 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: #e5eaee;  /* The default color of the main navmenu links */
  --nav-hover-color: #f68b1f; /* 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: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #f68b1f; /* 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: #f1f4fa;
  --surface-color: #ffffff;
}

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

/* Animated subtle background gradient for a modern, elegant look */
:root {
  --bg-grad-1: #f7f9fc;
  --bg-grad-2: #eef6fb;
  --bg-grad-3: #fdf6ee;
  --bg-grad-angle: 120deg;
}

body.gradient-animated {
  background: linear-gradient(var(--bg-grad-angle), var(--bg-grad-1) 0%, var(--bg-grad-2) 50%, var(--bg-grad-3) 100%);
  background-size: 300% 300%;
  animation: backgroundShift 18s ease infinite;
}

@keyframes backgroundShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  body.gradient-animated { animation: none; }
}

/* Button hover animations: elegant, performant and accessible
   - uses transform & opacity for GPU acceleration
   - disabled on prefers-reduced-motion and on touch devices (hover: none)
   - focus-visible styles for keyboard users
*/
.btn-animated,
.btn-get-started,
.cta-btn,
.btn-hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);
  will-change: transform, box-shadow, opacity;
  transition: transform 260ms cubic-bezier(.2,.9,.2,1), box-shadow 260ms cubic-bezier(.2,.9,.2,1), background-color 260ms ease, color 260ms ease;
}

.btn-animated {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 0;
}

.btn-get-started,
.cta-btn {
  background: transparent;
  color: var(--contrast-color);
  border: 2px solid var(--contrast-color);
  padding: 8px 20px;
}

/* Hover / focus effects for pointer devices */
@media (hover: hover) and (pointer: fine) {
  .btn-animated:hover,
  .btn-get-started:hover,
  .cta-btn:hover,
  .btn-hover:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 32px rgba(17, 24, 36, 0.10);
    filter: brightness(0.98);
  }

  .btn-animated:active,
  .btn-get-started:active,
  .cta-btn:active,
  .btn-hover:active {
    transform: translateY(-2px) scale(0.998);
    box-shadow: 0 8px 18px rgba(17,24,36,0.08);
  }
}

/* Keyboard focus accessibility */
.btn-animated:focus-visible,
.btn-get-started:focus-visible,
.cta-btn:focus-visible,
.btn-hover:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color), white 70%);
  outline-offset: 3px;
}

/* Reduce motion: disable transforms and heavy transitions */
@media (prefers-reduced-motion: reduce) {
  .btn-animated,
  .btn-get-started,
  .cta-btn,
  .btn-hover {
    transition: none;
    transform: none !important;
    box-shadow: none !important;
  }
}

/* Touch devices: avoid hover transforms which can feel janky */
@media (hover: none) {
  .btn-animated,
  .btn-get-started,
  .cta-btn,
  .btn-hover {
    transition: background-color 160ms linear, color 160ms linear;
    transform: none;
  }
  .btn-animated:active,
  .btn-get-started:active,
  .cta-btn:active,
  .btn-hover:active {
    transform: translateY(-1px);
  }
}

/* Scroll reveal utilities */

/* Scroll reveal base: neutral (opacity hidden). Specific transforms come from variant classes below. */
.reveal {
  opacity: 0;
  transform: none;
  /* Duration controlled via CSS variable --reveal-duration (ms). Fallback to 520ms. */
  transition: opacity var(--reveal-duration, 520ms) cubic-bezier(.2,.9,.2,1), transform var(--reveal-duration, 520ms) cubic-bezier(.2,.9,.2,1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* Variant transforms (initial state) */
.reveal--fade-up { transform: translateY(18px); }
.reveal--fade-down { transform: translateY(-18px); }
.reveal--fade-left { transform: translateX(-18px); }
.reveal--fade-right { transform: translateX(18px); }
.reveal--slide-up { transform: translateY(36px); }
.reveal--slide-left { transform: translateX(-36px); }
.reveal--slide-right { transform: translateX(36px); }
.reveal--zoom-in { transform: scale(0.96); }
.reveal--zoom-out { transform: scale(1.04); }

/* When revealed, reset transform to its final state (handled by .reveal.revealed) */
.reveal.revealed.reveal--zoom-in,
.reveal.revealed.reveal--zoom-out {
  transform: none;
}

/* Utility: stagger children when container has data-reveal-stagger="true" */
[data-reveal-stagger="true"] > * {
  opacity: 0;
  transform: translateY(10px);
  transition-property: opacity, transform;
  /* Use the same reveal duration variable so staggered children match the parent timing */
  transition-duration: var(--reveal-duration, 520ms);
  transition-timing-function: cubic-bezier(.2,.9,.2,1);
}
[data-reveal-stagger="true"].revealed > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.revealed { transition: none; transform: none; opacity: 1; }
}

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

a:hover {
  color: var(--accent-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: #f68b1f;
  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);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, var(--accent-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;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0.95);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

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

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

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 28px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: none;
  border: 2px solid var(--contrast-color);
  background: transparent;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(246, 139, 31, 0.4);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(0, 0, 0, 1);
  background-color: rgba(0, 0, 0, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@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>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

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

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

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

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: color-mix(in srgb, var(--nav-color) 90%, white 15%);
  }

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

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

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

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

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

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

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

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

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

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

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

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

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

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

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

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

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

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

.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 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

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

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.footer .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(246, 139, 31, 0.4);
}

.footer h4 {
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

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

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

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

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

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

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

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  display: inline-block;
  line-height: 1.6;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

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

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

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

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

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

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  padding: 0;
  line-height: 1.15;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
  text-transform: none;
  color: var(--heading-color);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 100px;
  height: 4px;
  display: block;
  background: var(--accent-color);
  margin: 15px auto 20px auto;
  border-radius: 2px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  text-transform: none;
  font-family: var(--heading-font);
  line-height: 1.2;
  letter-spacing: -0.5px;
} 

@media (max-width: 768px) {
  .section-title {
    padding-bottom: 40px;
  }

  .section-title h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .section-title h2::after {
    width: 60px;
    height: 2px;
    margin: 10px auto 15px auto;
  }

  .section-title p {
    font-size: 28px;
  }

  .services .img {
    height: 220px;
  }

  .services .img img {
    min-height: 220px; 
  }
}

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

.hero-background-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero:before {
  content: "";
  background: rgba(0, 9, 16, 0.5);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.hero .row {
  width: 100%;
}

.hero-title {
  margin: 0 0 20px 0;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--heading-color);
  font-family: var(--heading-font);
  text-align: center;
}

.hero-title .text-accent {
  color: var(--accent-color);
  display: inline-block;
  position: relative;
}

.hero-title .text-accent::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(246, 139, 31, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin: 0 0 40px 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero-content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  object-position: center;
}

.hero-buttons {
  gap: 20px;
  justify-content: flex-start;
}

.hero .btn-get-started {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  padding: 14px 35px;
  border-radius: 50px;
  transition: 0.3s;
  text-transform: none;
  box-shadow: 0 4px 15px rgba(246, 139, 31, 0.3);
  border: 2px solid var(--accent-color);
}

.hero .btn-get-started:hover {
  background: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(246, 139, 31, 0.4);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.3s;
  font-weight: 500;
  color: var(--default-color);
  padding: 14px 25px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.hero .btn-watch-video:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background: rgba(246, 139, 31, 0.1);
  transform: translateY(-2px);
}

.hero .btn-watch-video:hover i {
  transform: scale(1.1);
}

.hero .btn-get-started {
  background: var(--accent-color);
  color: #fff;
  border: 2px solid var(--accent-color);
  padding: 14px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(246, 139, 31, 0.3);
}

.hero .btn-get-started:hover {
  background: #ff7a1f;
  border-color: #ff7a1f;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(246, 139, 31, 0.4);
  color: #fff;
}

.hero .btn-get-started i {
  transition: transform 0.3s ease;
}

.hero .btn-get-started:hover i {
  transform: translateX(5px);
}

.hero-buttons {
  margin-top: 40px;
}

/* Hero responsive styles moved to responsive.css */

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding: 100px 0;
}

.about h3 {
  font-weight: 800;
  font-size: 36px;
  margin-bottom: 25px;
  color: var(--heading-color);
  font-family: var(--heading-font);
  position: relative;
  padding-bottom: 15px;
}

.about h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

.about img {
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: 100% !important;
  height: auto !important;
}

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

.about p {
  font-size: 16px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  margin-bottom: 20px;
}

.about .fst-italic {
  font-size: 18px;
  font-style: italic;
  color: var(--heading-color);
  font-weight: 500;
  line-height: 1.7;
  padding: 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-left: 4px solid var(--accent-color);
  border-radius: 8px;
  margin-bottom: 25px;
}

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

.about .content ul li {
  padding: 0 0 15px 35px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: 2px;
  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);
  width: 94px;
  height: 94px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--contrast-color);
  font-size: 36px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 25px rgba(246, 139, 31, 0.4);
}

.about .pulsating-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 35px rgba(246, 139, 31, 0.6);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.stats .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

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

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  padding: 100px 0;
}

.services .img {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: block !important;
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  height: 350px;
}

.services .img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
  border-radius: 25px;
}

.services .service-item:hover .img::after {
  opacity: 1;
}

.services .img img {
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100% !important;
  height: 100% !important;
  min-height: 350px;
  object-fit: cover !important;
  object-position: center;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 0 !important;
}

.services .service-item {
  margin-bottom: 50px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services .service-item:hover {
  transform: translateY(-10px);
}

.services .details {
  background: var(--surface-color);
  padding: 70px 40px 45px 40px;
  margin: -90px 25px 0 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-align: center;
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 98%);
  overflow: hidden;
}

.services .details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 50%));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services .service-item:hover .details::before {
  transform: scaleX(1);
}

.services .details .icon {
  margin: 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  color: var(--contrast-color);
  border: 5px solid var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 36px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: -45px;
  left: calc(50% - 45px);
  box-shadow: 0 10px 30px rgba(246, 139, 31, 0.4);
  z-index: 2;
}

.services .details .icon::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 30%));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.services .service-item:hover .details .icon::before {
  opacity: 0.3;
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.1;
  }
}

.services .details h3 {
  font-weight: 800;
  margin: 20px 0 20px 0;
  font-size: 26px;
  transition: all 0.3s ease;
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.services .details h3 a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.services .service-item:hover .details h3 a {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.services .details p {
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  line-height: 1.9;
  font-size: 16px;
  margin-bottom: 0;
  font-weight: 400;
  transition: color 0.3s ease;
}

.services .service-item:hover .details p {
  color: color-mix(in srgb, var(--default-color), transparent 5%);
}

.services .service-item:hover .details {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: color-mix(in srgb, var(--accent-color), transparent 40%);
  transform: translateY(-5px);
}

.services .service-item:hover .details .icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 15px 40px rgba(246, 139, 31, 0.6);
}

.services .service-item:hover .details .icon i {
  transform: scale(1.15) rotate(-10deg);
}

.services .service-item:hover .img {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.services .service-item:hover .img img {
  transform: scale(1.1);
}

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

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.clients .client-logo img {
  padding: 20px 40px;
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients .client-logo img {
    padding: 20px;
  }
}

/* Dark mode styling for clients section */
[data-theme="dark"] .clients.light-background {
  --background-color: #0f1a22;
  --surface-color: #0f1a22;
}

[data-theme="dark"] .clients .section-title h2 {
  color: var(--accent-color);
}

[data-theme="dark"] .clients .section-title p {
  color: var(--heading-color);
}

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

.features .nav-link {
  background-color: var(--surface-color);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 15px 20px;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.features .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

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

.features .nav-link.active h4 {
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .features .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .features .nav-link {
    padding: 15px;
  }

  .features .nav-link i {
    font-size: 24px;
  }
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 26px;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-bottom: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Why Choose Us Section (Features Tab 1)
--------------------------------------------------------------*/
.why-choose-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--heading-color);
  font-family: var(--heading-font);
  margin-bottom: 20px;
  line-height: 1.2;
}

.why-choose-title .text-accent {
  color: var(--accent-color);
  position: relative;
}

.why-choose-intro {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 400;
}

.why-choose-features {
  margin-bottom: 35px;
}

.why-choose-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  margin-bottom: 25px;
  background: var(--surface-color);
  border-radius: 16px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 95%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.why-choose-item:hover {
  transform: translateX(8px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-choose-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--contrast-color);
  font-size: 32px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(246, 139, 31, 0.3);
}

.why-choose-item:hover .why-choose-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(246, 139, 31, 0.5);
}

.why-choose-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
  font-family: var(--heading-font);
  line-height: 1.3;
}

.why-choose-content p {
  font-size: 15px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin: 0;
}

.why-choose-highlight {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%), color-mix(in srgb, var(--accent-color), transparent 98%));
  border-left: 5px solid var(--accent-color);
  border-radius: 12px;
  padding: 25px 30px;
  margin-top: 30px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.why-choose-highlight i {
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 40px;
  color: var(--accent-color);
  opacity: 0.2;
}

.why-choose-highlight p {
  font-size: 18px;
  font-style: italic;
  color: var(--heading-color);
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
  padding-left: 35px;
  position: relative;
  z-index: 1;
}

.why-choose-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.why-choose-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.4s ease;
  display: block;
}

.why-choose-image-wrapper:hover .why-choose-image {
  transform: scale(1.05);
}

.why-choose-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--surface-color);
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.why-choose-badge i {
  color: var(--accent-color);
  font-size: 20px;
}

.why-choose-badge span {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 14px;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .why-choose-title {
    font-size: 32px;
  }
  
  .why-choose-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .why-choose-item {
    padding: 20px;
    gap: 15px;
  }
  
  .why-choose-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
  
  .why-choose-content h4 {
    font-size: 20px;
  }
  
  .why-choose-highlight {
    padding: 20px 25px;
  }
  
  .why-choose-highlight p {
    font-size: 16px;
    padding-left: 30px;
  }
  
  .why-choose-badge {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
  }
}

/*--------------------------------------------------------------
# Vision & Mission Section (Features Tab 2)
--------------------------------------------------------------*/
.vision-mission-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.vision-mission-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 35px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 95%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.vision-mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-color);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.vision-mission-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.vision-mission-card:hover::before {
  transform: scaleY(1);
}

.vision-mission-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--contrast-color);
  font-size: 32px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(246, 139, 31, 0.3);
}

.vision-mission-card:hover .vision-mission-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(246, 139, 31, 0.5);
}

.vision-mission-card h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 15px;
  font-family: var(--heading-font);
}

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

.vision-mission-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.vision-mission-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.4s ease;
  display: block;
}

.vision-mission-image-wrapper:hover .vision-mission-image {
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Values Section (Features Tab 3)
--------------------------------------------------------------*/
.values-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--heading-color);
  font-family: var(--heading-font);
  margin-bottom: 20px;
  line-height: 1.2;
}

.values-title .text-accent {
  color: var(--accent-color);
}

.values-intro {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 400;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.value-item {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 95%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.value-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: var(--contrast-color);
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.value-icon.creativity {
  background: linear-gradient(135deg, #f68b1f, #f5c27a);
}

.value-icon.excellence {
  background: linear-gradient(135deg, #4a90e2, #6bb3ff);
}

.value-icon.collaboration {
  background: linear-gradient(135deg, #50c878, #7dd87f);
}

.value-icon.integrity {
  background: linear-gradient(135deg, #9b59b6, #bb8fce);
}

.value-item:hover .value-icon {
  transform: scale(1.15) rotate(5deg);
}

.value-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
  font-family: var(--heading-font);
}

.value-item p {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin: 0;
}

.values-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.values-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.4s ease;
  display: block;
}

.values-image-wrapper:hover .values-image {
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Social Impact Section (Features Tab 4)
--------------------------------------------------------------*/
.social-impact-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--heading-color);
  font-family: var(--heading-font);
  margin-bottom: 20px;
  line-height: 1.2;
}

.social-impact-title .text-accent {
  color: var(--accent-color);
}

.social-impact-intro {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 35px;
  font-weight: 400;
}

.social-impact-items {
  margin-bottom: 30px;
}

.social-impact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  margin-bottom: 20px;
  background: var(--surface-color);
  border-radius: 16px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 95%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.social-impact-item:hover {
  transform: translateX(8px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.social-impact-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--contrast-color);
  font-size: 32px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(246, 139, 31, 0.3);
}

.social-impact-item:hover .social-impact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(246, 139, 31, 0.5);
}

.social-impact-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
  font-family: var(--heading-font);
  line-height: 1.3;
}

.social-impact-content p {
  font-size: 15px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin: 0;
}

.social-impact-message {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%), color-mix(in srgb, var(--accent-color), transparent 98%));
  border-left: 5px solid var(--accent-color);
  border-radius: 12px;
  padding: 25px 30px;
  margin-top: 20px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.social-impact-message i {
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 40px;
  color: var(--accent-color);
  opacity: 0.2;
}

.social-impact-message p {
  font-size: 18px;
  font-style: italic;
  color: var(--heading-color);
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
  padding-left: 35px;
  position: relative;
  z-index: 1;
}

.social-impact-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.social-impact-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.4s ease;
  display: block;
}

.social-impact-image-wrapper:hover .social-impact-image {
  transform: scale(1.05);
}

.social-impact-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 30px;
  border-radius: 0 0 20px 20px;
}

.social-impact-stats {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.stat-item {
  text-align: center;
  color: var(--contrast-color);
}

.stat-item h3 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 5px 0;
  color: var(--contrast-color);
  font-family: var(--heading-font);
}

.stat-item p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
  font-weight: 500;
}

@media (max-width: 768px) {
  .vision-mission-card {
    padding: 25px;
  }
  
  .vision-mission-card h2 {
    font-size: 24px;
  }
  
  .values-title,
  .social-impact-title {
    font-size: 32px;
  }
  
  .values-intro,
  .social-impact-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .value-item {
    padding: 20px;
  }
  
  .value-icon {
    width: 70px;
    height: 70px;
    font-size: 32px;
  }
  
  .social-impact-item {
    padding: 20px;
    gap: 15px;
  }
  
  .social-impact-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
  
  .social-impact-content h4 {
    font-size: 20px;
  }
  
  .social-impact-message {
    padding: 20px 25px;
  }
  
  .social-impact-message p {
    font-size: 16px;
    padding-left: 30px;
  }
  
  .social-impact-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-item h3 {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Services 2 Section
--------------------------------------------------------------*/
.services-2 {
  position: relative;
  overflow: hidden;
}

.services-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(246, 139, 31, 0.02) 0%, rgba(246, 139, 31, 0.05) 100%);
  pointer-events: none;
  z-index: 0;
}

.services-2 .container {
  position: relative;
  z-index: 1;
}

.services-2 .service-box {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  text-align: center;
  padding-bottom: 35px;
  position: relative;
  border: 2px solid transparent;
}

.services-2 .service-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 50%) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-2 .service-box:hover::before {
  transform: scaleX(1);
}

.services-2 .service-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(246, 139, 31, 0.03) 0%, rgba(246, 139, 31, 0.01) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.services-2 .service-box:hover::after {
  opacity: 1;
}

.services-2 .service-box:hover {
  transform: translateY(-12px);
  box-shadow: 0px 15px 50px rgba(0, 0, 0, 0.15);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.services-2 .service-img {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: linear-gradient(135deg, var(--accent-10) 0%, var(--accent-5) 100%);
}

.services-2 .service-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.services-2 .service-box:hover .service-img::before {
  opacity: 1;
}

.services-2 .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
}

.services-2 .service-box:hover .service-img img {
  transform: scale(1.15);
  filter: brightness(0.95);
}

.services-2 .service-icon {
  position: relative;
  margin: -45px auto 25px;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #ff7a1f) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(246, 139, 31, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 6px solid var(--surface-color);
  z-index: 2;
}

.services-2 .service-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0;
  }
}

.services-2 .service-box:hover .service-icon::before {
  opacity: 0.4;
}

.services-2 .service-icon i {
  font-size: 40px;
  color: #fff;
  line-height: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-2 .service-box:hover .service-icon {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 15px 40px rgba(246, 139, 31, 0.6);
}

.services-2 .service-box:hover .service-icon i {
  transform: rotate(-8deg) scale(1.1);
}

.services-2 .service-box h3 {
  font-weight: 800;
  margin: 0 25px 20px;
  font-size: 24px;
  color: var(--heading-color);
  transition: all 0.3s ease;
  line-height: 1.3;
  letter-spacing: -0.3px;
  font-family: var(--heading-font);
  position: relative;
}

.services-2 .service-box h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-2 .service-box:hover h3 {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.services-2 .service-box:hover h3::after {
  transform: translateX(-50%) scaleX(1);
}

.services-2 .service-box p {
  line-height: 1.8;
  font-size: 15px;
  margin: 0 25px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  transition: color 0.3s ease;
  font-weight: 400;
}

.services-2 .service-box:hover p {
  color: color-mix(in srgb, var(--default-color), transparent 5%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services-2 .service-img {
    height: 220px;
  }
  
  .services-2 .service-icon {
    width: 75px;
    height: 75px;
    margin: -37px auto 20px;
  }
  
  .services-2 .service-icon i {
    font-size: 32px;
  }
  
  .services-2 .service-box h3 {
    font-size: 20px;
    margin: 0 20px 15px;
  }
}

/* Dark mode styling for Services 2 Section */
[data-theme="dark"] .services-2 .service-box {
  background: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 85%);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .services-2 .service-box:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  box-shadow: 0px 15px 50px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .services-2 .service-box h3 {
  color: var(--heading-color);
}

[data-theme="dark"] .services-2 .service-box:hover h3 {
  color: var(--accent-color);
}

[data-theme="dark"] .services-2 .service-box p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

[data-theme="dark"] .services-2 .service-box:hover p {
  color: var(--default-color);
}

[data-theme="dark"] .services-2 .service-img::before {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

[data-theme="dark"] .services-2 .service-icon {
  border-color: var(--surface-color);
  background: linear-gradient(135deg, var(--accent-color) 0%, #ff9a4d 100%);
  box-shadow: 0 10px 30px rgba(255, 184, 107, 0.5);
}

[data-theme="dark"] .services-2 .service-box:hover .service-icon {
  box-shadow: 0 15px 40px rgba(255, 184, 107, 0.7);
}

/* Dark mode styling for Services 2 Section Titles */
[data-theme="dark"] .services-2 .section-title h2 {
  color: var(--heading-color);
}

[data-theme="dark"] .services-2 .section-title p {
  color: var(--heading-color);
}

/* Dark mode for light-background sections */
[data-theme="dark"] .services-2.light-background {
  --background-color: #0b1219;
  --surface-color: #0f1a22;
}

[data-theme="dark"] .services-2.light-background::before {
  background: linear-gradient(135deg, rgba(255, 184, 107, 0.03) 0%, rgba(255, 184, 107, 0.08) 100%);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

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

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

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio {
  padding: 100px 0;
}

.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 50px auto;
  list-style: none;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  background: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

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

.portfolio .portfolio-filters li:hover::before {
  left: 100%;
}

.portfolio .portfolio-filters li:hover {
  color: var(--accent-color);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(246, 139, 31, 0.2);
}

.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 5px 20px rgba(246, 139, 31, 0.4);
  transform: translateY(-2px);
}

.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 {
    gap: 8px;
  }
  
  .portfolio .portfolio-filters li {
    font-size: 13px;
    padding: 10px 20px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--surface-color);
}

.portfolio .portfolio-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Subtle animated color overlay for portfolio tiles */
.portfolio .portfolio-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(120deg, var(--accent-anim-1) 0%, var(--accent-anim-2) 50%, rgba(0,0,0,0) 100%);
  mix-blend-mode: overlay;
  opacity: 0.12;
  transform: translateZ(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  animation: portfolioAccentShift 8s linear infinite;
  border-radius: 20px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .portfolio .portfolio-content::before {
    animation: none;
    transition: opacity 0.2s linear;
  }
}

.portfolio .portfolio-content:hover::before,
.portfolio .portfolio-content:focus-within::before {
  opacity: 0.18;
  transform: scale(1.03) translateY(-4%);
}

@keyframes portfolioAccentShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.portfolio .portfolio-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7));
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 20px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 16px;
  padding: 10px 20px;
  font-weight: 600;
  color: var(--contrast-color);
  display: inline-block;
  background: var(--accent-color);
  border-radius: 50px;
  margin: 0;
  box-shadow: 0 5px 15px rgba(246, 139, 31, 0.4);
  transition: all 0.3s ease;
}

.portfolio .portfolio-content:hover .portfolio-info h4 {
  transform: scale(1.05);
}

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

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-color);
  color: var(--accent-color);
  border-radius: 50%;
  font-size: 22px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 25px rgba(246, 139, 31, 0.5);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  font-size: 24px;
}

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

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

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .portfolio .portfolio-content {
    border-radius: 15px;
  }
  
  .portfolio .portfolio-content img {
    border-radius: 15px;
  }
  
  .portfolio .portfolio-content .portfolio-info {
    padding: 20px;
    border-radius: 15px;
  }
  
  .portfolio .portfolio-content .portfolio-info .preview-link,
  .portfolio .portfolio-content .portfolio-info .details-link {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team {
  padding: 80px 0;
}

.team .container {
  max-width: 1200px;
}

.team .member {
  position: relative;
  background-color: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.team .member .pic {
  overflow: hidden;
  position: relative;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.team .member .pic img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.4s ease;
}

.team .member:hover .pic img {
  transform: scale(1.1);
}

.team .member .member-info {
  background-color: var(--surface-color);
  color: var(--default-color);
  padding: 25px 20px 30px 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 20px;
  color: var(--heading-color);
  position: relative;
  padding-bottom: 12px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-top: 8px;
  margin-bottom: 15px;
}

.team .member .social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.team .member .social a {
  transition: all 0.3s ease;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--background-color), transparent 80%);
}

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

.team .member .social i {
  font-size: 16px;
}

@media (max-width: 768px) {
  .team .member .pic img {
    height: 250px;
  }
  
  .team .member .member-info {
    padding: 20px 15px 25px 15px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding: 100px 0;
}

.contact .info-item {
  background-color: var(--surface-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 35px 25px;
  border-radius: 20px;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.contact .info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

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

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

.contact .info-item h3 {
  font-size: 20px;
  color: var(--heading-color);
  font-weight: 700;
  margin: 15px 0 10px 0;
  font-family: var(--heading-font);
}

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

.contact .info-item a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact .info-item a:hover {
  color: var(--heading-color);
  text-decoration: underline;
}

.contact .php-email-form {
  background-color: var(--surface-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

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

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 15px;
  padding: 14px 18px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 12px;
  color: var(--default-color);
  background-color: var(--background-color);
  transition: all 0.3s ease;
  width: 100%;
}

.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);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.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],
.contact .php-email-form textarea {
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 12px;
  transition: all 0.3s ease;
  background: var(--background-color);
}

.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);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
  padding: 14px 40px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(246, 139, 31, 0.3);
  cursor: pointer;
}

.contact .php-email-form button[type=submit]:hover {
  background: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(246, 139, 31, 0.4);
}

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

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

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

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

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

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

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

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

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

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

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

/* Background canvas for animated effects (particles) */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0; /* behind everything */
  pointer-events: none; /* let clicks pass through */
  display: block;
}

/* Ensure main content stacks above the canvas */

/*--------------------------------------------------------------
# Cookie Consent Banner
--------------------------------------------------------------*/
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-color);
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  padding: 20px;
  border-top: 3px solid var(--accent-color);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-consent-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--default-color);
  flex: 1;
  min-width: 250px;
}

.cookie-consent-content a {
  color: var(--accent-color);
  text-decoration: underline;
}

.cookie-consent-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-accept,
.btn-decline {
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-accept:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(246, 139, 31, 0.4);
}

.btn-decline {
  background: transparent;
  color: var(--default-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 50%);
}

.btn-decline:hover {
  border-color: var(--default-color);
  background: color-mix(in srgb, var(--default-color), transparent 10%);
}

@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-consent-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .btn-accept,
  .btn-decline {
    flex: 1;
    max-width: 150px;
  }
}

/*--------------------------------------------------------------
# Loading Optimizations - Images Visibility
--------------------------------------------------------------*/
/* Global image visibility - Force all images to be visible */
* img,
img,
img[src],
img[srcset],
.hero img,
.services img,
.portfolio img,
.about img,
.team img,
.services .img,
.services .img img,
.portfolio .portfolio-content img,
.about img,
.why-choose-image,
.vision-mission-image,
.values-image,
.social-impact-image,
.img-fluid,
img.img-fluid {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Ensure image containers don't hide images */
.services .img,
.portfolio .portfolio-content,
.about .img,
.why-choose-image-wrapper,
.vision-mission-image-wrapper,
.values-image-wrapper,
.social-impact-image-wrapper {
  position: relative !important;
  display: block !important;
}

/* Services images - allow overflow for rounded corners but keep images visible */
.services .img {
  display: block !important;
  min-height: 280px;
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.services .img img {
  min-height: 280px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
}

/*--------------------------------------------------------------
# Accessibility Improvements
--------------------------------------------------------------*/
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* Focus visible improvements */
*:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --default-color: #000000;
    --heading-color: #000000;
    --accent-color: #0066cc;
  }
}
main, header, footer {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  #bg-canvas { display: none; }
}

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

/*--------------------------------------------------------------
# CRITICAL: Force All Images to be Visible
--------------------------------------------------------------*/
/* This rule overrides any other CSS that might hide images */
html body img,
html body * img,
img[src],
img[src*=".jpg"],
img[src*=".png"],
img[src*=".jpeg"],
img[src*=".gif"],
img[src*=".webp"],
img[src*=".svg"] {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Force visibility for specific sections */
.hero img,
.services .img img,
.services img,
.about img,
.portfolio img,
.portfolio .portfolio-content img,
.why-choose-image,
.vision-mission-image,
.values-image,
.social-impact-image,
.testimonials img,
.clients img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
}

.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 {
  /* Placeholder for starter-section styles; intentionally left non-empty to avoid lint warnings */
  --starter-helper: 1;
}

/* Modern Service Cards
--------------------------------------------------------------*/
.service-card-modern {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(246, 139, 31, 0.2);
}

.service-image-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.service-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.service-gradient-1 {
  background: linear-gradient(135deg, #f68b1f 0%, #ff6b35 100%);
}

.service-gradient-2 {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}

.service-gradient-3 {
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.service-gradient-4 {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.service-gradient-5 {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.service-gradient-6 {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.service-placeholder-icon {
  font-size: 80px;
  color: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.service-icon-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.service-icon-wrapper i {
  font-size: 35px;
  color: var(--accent-color);
  transition: all 0.4s ease;
}

.service-card-modern:hover .service-icon-wrapper {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent-color);
}

.service-card-modern:hover .service-icon-wrapper i {
  color: #fff;
  transform: rotate(5deg);
}

.service-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
  transition: all 0.4s ease;
}

.service-card-modern:hover .service-image-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.service-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.service-card-modern:hover .service-title {
  color: var(--accent-color);
}

.service-description {
  color: var(--default-color);
  line-height: 1.8;
  margin-bottom: 20px;
  flex: 1;
}

.service-link {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  margin-top: auto;
}

.service-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* Premium Services Section Design
--------------------------------------------------------------*/
.section-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent-color);
  font-size: 13px;
  margin-bottom: 8px;
}

/* Services Container - Wide Layout */
.services .container { 
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 40px;
}

.services .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px;
  align-items: start;
}

/* Service Card - Modern Glass Effect */
.service-card-visual {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-card-visual:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(246, 139, 31, 0.25);
  border-color: rgba(246, 139, 31, 0.2);
}

/* Image Section - Larger & Prominent */
.service-thumb {
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.service-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(246, 139, 31, 0.15) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card-visual:hover .service-thumb::before {
  opacity: 1;
}

.service-thumb::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
}

/* Content Area - Clean & Spacious */
.service-body {
  padding: 48px 40px 44px;
  background: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  position: relative;
}

/* Icon Badge - Positioned at Image Bottom */
.service-icon-badge {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f68b1f 0%, #ff6b35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 44px;
  box-shadow: 0 12px 35px rgba(246, 139, 31, 0.4);
  transition: transform 0.3s ease;
  z-index: 5;
}

.service-card-visual:hover .service-icon-badge {
  transform: translateX(-50%) scale(1.1) rotate(5deg);
}

/* Service Title - Bold & Clear */
.service-body h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.service-card-visual:hover .service-body h3 {
  color: var(--accent-color);
}

/* Service Description - Readable */
.service-body p {
  margin: 0;
  color: #6b7280;
  line-height: 1.7;
  font-size: 16px;
  flex: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1400px) {
  .services .container {
    max-width: 1300px;
  }
  
  .services .row {
    gap: 40px;
  }
}

@media (max-width: 1200px) {
  .services .row {
    gap: 35px;
  }
  
  .service-thumb {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .services .container {
    padding: 40px 20px;
  }
  
  .services .row {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .service-thumb {
    height: 240px;
  }
  
  .service-body {
    padding: 36px 28px 32px;
  }
  
  .service-icon-badge {
    width: 68px;
    height: 68px;
    font-size: 34px;
    border-radius: 16px;
    top: -34px;
  }
  
  .service-body h3 {
    font-size: 1.35rem;
  }
  
  .service-body p {
    font-size: 14px;
  }
}
  
  .service-icon-badge {
    width: 70px;
    height: 70px;
    font-size: 32px;
    border-radius: 16px;
  }
  
  .service-body h3 {
    font-size: 1.3rem;
  }
}
  }
  .service-body h3 {
    font-size: 1.5em;
  }
  .service-icon-badge { 
    width: 90px; 
    height: 90px; 
    font-size: 45px; 
    top: -40px; 
    border-width: 8px; 
  }
  .service-body h3 { 
    font-size: 1.3em; 
  }
  .service-body p { 
    font-size: 14px; 
  }
}

@media (max-width: 768px) {
  .service-thumb { 
    height: 320px; /* Réduit */
    background-size: 75%; 
  }
  .service-body { 
    margin-top: -60px; 
    padding: 25px 22px; 
    width: calc(100% - 44px); 
  }
  .service-icon-badge { 
    width: 80px; 
    height: 80px; 
    font-size: 38px; 
    top: -38px; 
    border-width: 8px; 
  }
  .service-body h3 { 
    font-size: 1.1em; 
  }
  .service-body p { 
    font-size: 13px; 
  }
}

.service-img-audiovisuel {
  background-image: url("https://images.unsplash.com/photo-1582719478194-2218b9758410?auto=format&fit=crop&w=1200&q=80");
}

.service-img-marketing {
  background-image: url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=1200&q=80");
}

.service-img-design {
  background-image: url("https://images.unsplash.com/photo-1503389152951-9f343605f61e?auto=format&fit=crop&w=1200&q=80");
}

.service-img-web {
  background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1200&q=80");
}

.service-img-formations {
  background-image: url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=1200&q=80");
}

.service-img-seo {
  background-image: url("https://images.unsplash.com/photo-1432888498266-38ffec3eaf0a?auto=format&fit=crop&w=1200&q=80");
}

/* Hero Decoration Styles
--------------------------------------------------------------*/
.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(246, 139, 31, 0.1);
  animation: float 6s ease-in-out infinite;
}

.decoration-circle-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.decoration-circle-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 15%;
  animation-delay: 2s;
}

.decoration-circle-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  right: 30%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) scale(1.1);
    opacity: 0.5;
  }
}

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

/* Responsive adjustments for service cards */
@media (max-width: 768px) {
  .service-image-wrapper {
    height: 200px;
  }
  
  .service-placeholder-icon {
    font-size: 60px;
  }
  
  .service-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .service-icon-wrapper i {
    font-size: 25px;
  }
  
  .service-content {
    padding: 20px;
  }
  
  .service-title {
    font-size: 20px;
  }
}