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

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
/* :root {
  --default-font: "Open Sans",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
} */

/* Fonts */
/* Fonts */
:root {
  --default-font: 'El Messiri', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --heading-font: 'El Messiri', sans-serif;
  --nav-font: 'El Messiri', sans-serif;
}


/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  /* Primary Brand Colors */
  --primary-50: #e6f3ff;
  --primary-100: #b3dbff;
  --primary-200: #80c4ff;
  --primary-300: #4dacff;
  --primary-400: #1a95ff;
  --primary-500: #1488CC; /* Main brand color */
  --primary-600: #0f6ba3;
  --primary-700: #0a4e7a;
  --primary-800: #053251;
  --primary-900: #001528;

  /* Secondary Brand Colors */
  --secondary-50: #ede9ff;
  --secondary-100: #d4c4ff;
  --secondary-200: #bb9fff;
  --secondary-300: #a27aff;
  --secondary-400: #8955ff;
  --secondary-500: #2B32B2; /* Secondary brand color */
  --secondary-600: #22288f;
  --secondary-700: #191e6c;
  --secondary-800: #101449;
  --secondary-900: #070a26;

  /* Neutral Colors */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;

  /* Success Colors */
  --success-50: #f0fdf4;
  --success-100: #dcfce7;
  --success-200: #bbf7d0;
  --success-300: #86efac;
  --success-400: #4ade80;
  --success-500: #22c55e;
  --success-600: #16a34a;
  --success-700: #15803d;
  --success-800: #166534;
  --success-900: #14532d;

  /* Warning Colors */
  --warning-50: #fffbeb;
  --warning-100: #fef3c7;
  --warning-200: #fde68a;
  --warning-300: #fcd34d;
  --warning-400: #fbbf24;
  --warning-500: #f59e0b;
  --warning-600: #d97706;
  --warning-700: #b45309;
  --warning-800: #92400e;
  --warning-900: #78350f;

  /* Error Colors */
  --error-50: #fef2f2;
  --error-100: #fee2e2;
  --error-200: #fecaca;
  --error-300: #fca5a5;
  --error-400: #f87171;
  --error-500: #ef4444;
  --error-600: #dc2626;
  --error-700: #b91c1c;
  --error-800: #991b1b;
  --error-900: #7f1d1d;

  /* Advanced Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 100%);
  --gradient-primary-soft: linear-gradient(135deg, var(--primary-100) 0%, var(--secondary-100) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-600) 0%, var(--secondary-600) 50%, var(--primary-800) 100%);
  --gradient-card: linear-gradient(145deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

  /* Light Mode Variables */
  --background-color: var(--neutral-50);
  --surface-color: #ffffff;
  --surface-elevated: var(--neutral-100);
  --default-color: var(--neutral-800);
  --heading-color: var(--neutral-900);
  --accent-color: var(--primary-500);
  --accent-color-2: var(--secondary-500);
  --contrast-color: #ffffff;
  --border-color: var(--neutral-200);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --text-muted: var(--neutral-600);
}

/* 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: var(--neutral-700);
  --nav-hover-color: var(--primary-500);
  --nav-mobile-background-color: var(--surface-color);
  --nav-dropdown-background-color: var(--surface-color);
  --nav-dropdown-color: var(--neutral-700);
  --nav-dropdown-hover-color: var(--primary-500);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  /* Dark Mode Color Overrides */
  --background-color: var(--neutral-900);
  --surface-color: var(--neutral-800);
  --surface-elevated: var(--neutral-700);
  --default-color: var(--neutral-200);
  --heading-color: var(--neutral-100);
  --accent-color: var(--primary-400);
  --accent-color-2: var(--secondary-400);
  --contrast-color: var(--neutral-900);
  --border-color: var(--neutral-700);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --text-muted: var(--neutral-400);

  /* Dark Mode Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-400) 0%, var(--secondary-400) 100%);
  --gradient-primary-soft: linear-gradient(135deg, var(--primary-800) 0%, var(--secondary-800) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 50%, var(--primary-700) 100%);
  --gradient-card: linear-gradient(145deg, var(--neutral-800) 0%, var(--neutral-700) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);

  /* Dark Mode Navigation */
  --nav-color: var(--neutral-300);
  --nav-hover-color: var(--primary-400);
  --nav-mobile-background-color: var(--neutral-800);
  --nav-dropdown-background-color: var(--neutral-800);
  --nav-dropdown-color: var(--neutral-300);
  --nav-dropdown-hover-color: var(--primary-400);
}

/* System Preference Detection */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* Apply dark mode when system preference is dark and no explicit light theme is set */
    --background-color: var(--neutral-900);
    --surface-color: var(--neutral-800);
    --surface-elevated: var(--neutral-700);
    --default-color: var(--neutral-200);
    --heading-color: var(--neutral-100);
    --accent-color: var(--primary-400);
    --accent-color-2: var(--secondary-400);
    --contrast-color: var(--neutral-900);
    --border-color: var(--neutral-700);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --text-muted: var(--neutral-400);
  }
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the same color scheme. */

.light-background {
  --background-color: var(--neutral-50);
  --surface-color: var(--neutral-100);
  --default-color: var(--neutral-800);
  --heading-color: var(--neutral-900);
  --border-color: var(--neutral-200);
}

.dark-background {
  --background-color: var(--neutral-900);
  --surface-color: var(--neutral-800);
  --default-color: var(--neutral-200);
  --heading-color: var(--neutral-100);
  --contrast-color: var(--neutral-100);
  --border-color: var(--neutral-700);
}

/* Dark Mode Override for light-background sections */
[data-theme="dark"] .light-background {
  --background-color: var(--neutral-800);
  --surface-color: var(--neutral-700);
  --default-color: var(--neutral-200);
  --heading-color: var(--neutral-100);
  --text-muted: var(--neutral-300);
  --border-color: var(--neutral-600);
}

/* Dark Mode Enhancements for About Section */
[data-theme="dark"] .about .icon-box {
  background: var(--neutral-750);
  border-color: var(--neutral-600);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .about .icon-box:hover {
  background: var(--neutral-700);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 8px 25px rgba(20, 136, 204, 0.3);
  border-color: var(--primary-400);
}

[data-theme="dark"] .about .content h3 {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

[data-theme="dark"] .about .content h3:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 75%);
}

[data-theme="dark"] .about .content .read-more {
  box-shadow: 0 8px 20px rgba(20, 136, 204, 0.4);
}

[data-theme="dark"] .about .content .read-more:hover {
  box-shadow: 0 12px 30px rgba(20, 136, 204, 0.6);
}

[data-theme="dark"] .about .icon-box i {
  box-shadow: 0 8px 20px rgba(20, 136, 204, 0.4);
}

[data-theme="dark"] .about .icon-box:hover i {
  box-shadow: 0 12px 30px rgba(20, 136, 204, 0.6);
}

.primary-background {
  background: var(--gradient-primary);
  --default-color: var(--contrast-color);
  --heading-color: var(--contrast-color);
  --border-color: rgba(255, 255, 255, 0.2);
}

.glass-background {
  background: var(--gradient-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.elevated-surface {
  background: var(--surface-elevated);
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
}

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

/* Advanced Color Utilities */
.text-primary { color: var(--primary-500) !important; }
.text-primary-light { color: var(--primary-300) !important; }
.text-primary-dark { color: var(--primary-700) !important; }
.text-secondary { color: var(--secondary-500) !important; }
.text-success { color: var(--success-500) !important; }
.text-warning { color: var(--warning-500) !important; }
.text-error { color: var(--error-500) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-primary { background-color: var(--primary-500) !important; }
.bg-primary-light { background-color: var(--primary-100) !important; }
.bg-primary-gradient { background: var(--gradient-primary) !important; }
.bg-glass { background: var(--gradient-glass) !important; }

/* Fixed Action Buttons Container */
.fixed-actions {
  position: fixed;
  left: 15px;
  bottom: 15px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Theme Toggle Button */
.theme-toggle {
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: visible;
  opacity: 1;
}

.theme-toggle i {
  font-size: 18px;
  color: var(--contrast-color);
  line-height: 0;
}

.theme-toggle:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Update scroll-top to work with container */
.scroll-top {
  position: relative;
  visibility: hidden;
  opacity: 0;
  left: auto;
  bottom: auto;
  z-index: auto;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Advanced Shadow System */
.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25); }

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smooth Transitions */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

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

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

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

/* PHP Email Form Messages
------------------------------*/
/* General error message hiding rule */
.error-message {
  display: none !important; /* مخفي افتراضياً */
}

.error-message.show {
  display: flex !important; /* يظهر عند إضافة class="show" */
}

.php-email-form .error-message {
  display: none !important; /* مخفي افتراضياً بقوة */
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .error-message.show {
  display: block !important; /* يظهر عند إضافة class="show" */
}

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

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

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

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

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

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

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

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

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

.header .logo span {
  color: var(--accent-color);
  font-size: 24px;
  font-weight: 600;
  padding-left: 3px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--gradient-primary);
  font-size: 14px;
  padding: 10px 28px;
  margin: 0;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 14px rgba(20, 136, 204, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.1);
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.header .btn-getstarted::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.header .btn-getstarted:hover::before {
  left: 100%;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: var(--gradient-hero);
  box-shadow: 
    0 8px 25px rgba(20, 136, 204, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

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

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

  .header .navmenu {
    order: 3;
  }
}

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

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
  --heading-color: #ffffff;
  --nav-color: rgba(255, 255, 255, 0.5);
  --nav-hover-color: #ffffff;
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: #ffffff;
  --heading-color: #32353a;
  --nav-color: #3a3939;
  --nav-hover-color: #0d3ec4;
}

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

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

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 18px;
    font-family: var(--nav-font);
    /* font-weight: 400; */
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(20, 136, 204, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(43, 50, 178, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

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

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

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

.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: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-left: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.footer .social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.4s ease;
  z-index: -1;
}

.footer .social-links a:hover::before {
  left: 0;
}

.footer .social-links a:hover {
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(20, 136, 204, 0.4);
  border-color: transparent;
}

.footer h4 {
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.95);
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer .footer-about .logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 16px;
  font-family: var(--default-font);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
}

.footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.8);
  display: inline-block;
  line-height: 1.5;
  padding: 4px 0;
  transition: all 0.3s ease;
  position: relative;
}

.footer .footer-links ul a::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary-400);
  transition: width 0.3s ease;
}

.footer .footer-links ul a:hover::before {
  width: 100%;
}

.footer .footer-links ul a:hover {
  color: var(--primary-400);
  transform: translateX(8px);
}

.footer .footer-contact p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.6;
}

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

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

.footer .footer-links ul i {
  padding-left: 8px;
  font-size: 14px;
  line-height: 0;
  color: var(--primary-400);
}

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

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

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

.footer .copyright {
  padding-top: 30px;
  padding-bottom: 30px;
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.8) 0%, 
    rgba(20, 136, 204, 0.1) 50%, 
    rgba(0, 0, 0, 0.8) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer .copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.6;
}

.footer .copyright p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  text-align: center;
}

.footer .credits {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.footer .credits a {
  color: var(--primary-400);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer .credits a:hover {
  color: var(--primary-300);
  text-decoration: underline;
}

/*--------------------------------------------------------------
# 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 styles are now handled in the Fixed Actions section above */

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

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

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

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

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

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

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  position: relative;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  display: inline-block;
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  display: inline-block;
  border-radius: 2px;
}

.section-title h2:before {
  margin: 0 20px 12px 0;
}

.section-title h2:after {
  margin: 0 0 12px 20px;
}

.section-title p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

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

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

.hero:before {
  content: "";
  background: linear-gradient(
    135deg, 
    rgba(20, 136, 204, 0.9) 0%,
    rgba(43, 50, 178, 0.8) 50%,
    rgba(6, 6, 6, 0.7) 100%
  );
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Add animated gradient overlay for hero */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  z-index: 2;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

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

.hero h2 {
  margin: 0;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.2;
}

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

.hero .sign-up-form {
  margin-top: 20px;
  margin-bottom: 15px;
  padding: 5px;
  border-radius: 60px;
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  min-height: 58px;
}

.hero .sign-up-form:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero .sign-up-form input[type=email] {
  background-color: transparent;
  border: 0;
  padding: 16px 20px;
  width: 100%;
  color: #fff;
  font-size: 16px;
  height: 48px;
  border-radius: 54px;
  line-height: 1;
  box-sizing: border-box;
}

.hero .sign-up-form input[type=email]::placeholder {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

.hero .sign-up-form input[type=email]:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
}

.hero .sign-up-form input[type=submit] {
  border: 0;
  box-shadow: 0 4px 12px rgba(20, 136, 204, 0.4);
  background: var(--gradient-primary);
  padding: 16px 28px;
  height: 48px;
  border-radius: 54px;
  color: var(--contrast-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
  line-height: 1;
}

.hero .sign-up-form input[type=submit]::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;
}

.hero .sign-up-form input[type=submit]:hover::before {
  left: 100%;
}

.hero .sign-up-form input[type=submit]:hover {
  background: var(--gradient-hero);
  box-shadow: 0 6px 20px rgba(20, 136, 204, 0.5);
  transform: translateY(-1px);
}

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

  .hero p {
    font-size: 18px;
  }
  
  .hero .sign-up-form {
    padding: 4px;
    flex-direction: column;
    gap: 8px;
  }
  
  .hero .sign-up-form input[type=email] {
    padding: 12px 16px;
    height: 44px;
    font-size: 15px;
  }
  
  .hero .sign-up-form input[type=submit] {
    padding: 12px 24px;
    height: 44px;
    width: 100%;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero .sign-up-form input[type=email]::placeholder {
    font-size: 14px;
  }
}

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

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

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--background-color);
  z-index: -1;
}

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

.about .content {
  padding: 0 20px;
}

.about .content h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 19px;
  padding: 12px 24px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
  border-radius: 50px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.about .content h3:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  transform: translateY(-2px);
}

.about .content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--heading-color);
  line-height: 1.2;
}

.about .content p {
  color: var(--default-color);
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 32px;
  text-align: justify;
}

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

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 14px 32px;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 16px;
  box-shadow: 0 8px 20px rgba(20, 136, 204, 0.25);
}

.about .content .read-more i {
  font-size: 18px;
  margin-right: 8px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 136, 204, 0.4);
  padding-right: 38px;
}

.about .content .read-more:hover i {
  margin-right: 12px;
}

/* Icon Boxes Container */
.about .icon-boxes {
  margin-top: 50px;
}

.about .icon-box {
  background: var(--surface-color);
  padding: 40px 30px;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about .icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.about .icon-box:hover::before {
  transform: scaleX(1);
}

.about .icon-box:hover {
  transform: translateY(-15px);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.12),
    0 8px 25px rgba(20, 136, 204, 0.15);
  border-color: var(--primary-200);
}

.about .icon-box i {
  width: 80px;
  height: 80px;
  color: whitesmoke;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
  line-height: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--gradient-primary);
  color: var(--contrast-color);
  box-shadow: 0 8px 20px rgba(20, 136, 204, 0.25);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  font-family: 'bootstrap-icons' !important;
  font-style: normal;
}

/* Ensure Bootstrap Icons work properly */
.about .icon-box i {
  font-family: 'bootstrap-icons' !important;
  font-style: normal !important;
  font-weight: normal !important;
}

.about .icon-box i::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.about .icon-box:hover i::after {
  left: 100%;
}

.about .icon-box:hover i {
  background: var(--gradient-hero);
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 30px rgba(20, 136, 204, 0.4);
}

.about .icon-box h3 {
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  transition: color 0.3s ease;
  line-height: 1.3;
}

.about .icon-box p {
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.6;
  transition: color 0.3s ease;
  flex-grow: 1;
  font-size: 15px;
}

.about .icon-box:hover h3 {
  color: var(--primary-600);
}

.about .icon-box:hover p {
  color: var(--default-color);
}

.about .icon-boxes .col-md-6:nth-child(2) .icon-box,
.about .icon-boxes .col-md-6:nth-child(4) .icon-box {
  margin-top: -40px;
}

/* Responsive Design for About Section */
@media (max-width: 1200px) {
  .about .content h2 {
    font-size: 36px;
  }
  
  .about .icon-box {
    padding: 35px 25px;
  }
}

@media (max-width: 992px) {
  .about {
    padding: 80px 0;
  }
  
  .about .content {
    margin-bottom: 40px;
    text-align: center;
  }
  
  .about .content h2 {
    font-size: 32px;
  }
  
  .about .icon-boxes {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 60px 0;
  }
  
  .about .content {
    padding: 0 10px;
  }
  
  .about .content h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .about .content h3 {
    font-size: 16px;
    padding: 10px 20px;
  }
  
  .about .content p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .about .icon-boxes .col-md-6:nth-child(2) .icon-box,
  .about .icon-boxes .col-md-6:nth-child(4) .icon-box {
    margin-top: 0;
  }
  
  .about .icon-box {
    padding: 30px 20px;
    margin-bottom: 20px;
  }
  
  .about .icon-box i {
    width: 80px;
    height: 80px;
    font-size: 32px;
    margin-bottom: 24px;
  }
  
  .about .icon-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }
  
  .about .icon-box p {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .about .content h2 {
    font-size: 24px;
  }
  
  .about .content .read-more {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .about .icon-box i {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }
  
  .about .icon-box h3 {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  position: relative;
  padding: 120px 0;
}

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

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

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

.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--default-color);
  font-weight: 700;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
  padding: 50px 30px;
  background: var(--surface-color);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.services .service-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.services .service-item::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: var(--gradient-glass);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.6s ease;
  z-index: 1;
}

.services .service-item:hover::after {
  transform: scale(2);
}

.services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.12),
    0 8px 20px rgba(20, 136, 204, 0.15);
  border-color: var(--primary-200);
}

.services .service-item .icon {
  width: 80px;
  height: 80px;
  position: relative;
  margin: 0 auto 30px;
  line-height: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(20, 136, 204, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 36px;
  transition: all 0.3s ease;
  z-index: 3;
  position: relative;
}

.services .service-item:hover .icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 30px rgba(20, 136, 204, 0.4);
  background: var(--gradient-hero);
}

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

.services .service-item .icon:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 50%;
  transition: left 0.6s;
}

.services .service-item:hover .icon:before {
  left: 100%;
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 24px;
  text-align: center;
  z-index: 2;
  position: relative;
}

.services .service-item .title a {
  color: var(--heading-color);
  transition: all 0.3s ease;
}

.services .service-item .title a:hover {
  color: var(--primary-500);
  text-decoration: none;
}

.services .service-item .description {
  line-height: 1.6;
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  z-index: 2;
  position: relative;
  transition: color 0.3s ease;
}

.services .service-item:hover .description {
  color: var(--default-color);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-item {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.features .features-item+.features-item {
  margin-top: 100px;
}

@media (max-width: 768px) {
  .features .features-item+.features-item {
    margin-top: 40px;
  }
}

.features .features-item h3 {
  font-weight: 700;
  font-size: 26px;
}

.features .features-item .btn-get-started {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 30px 10px 30px;
  border-radius: 4px;
}

.features .features-item .btn-get-started:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
}

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

.features .features-item ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

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

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

.features .features-item img {
  border: 6px solid var(--surface-color);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}

.features .features-item .features-img-bg {
  position: relative;
  min-height: 500px;
}

@media (max-width: 640px) {
  .features .features-item .features-img-bg {
    min-height: 300px;
  }
}

.features .features-item .features-img-bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features .features-item .image-stack {
  display: grid;
  position: relative;
  grid-template-columns: repeat(12, 1fr);
}

.features .features-item .image-stack .stack-back {
  grid-column: 4/-1;
  grid-row: 1;
  width: 100%;
  z-index: 1;
}

.features .features-item .image-stack .stack-front {
  grid-row: 1;
  grid-column: 1/span 8;
  margin-top: 20%;
  width: 100%;
  z-index: 2;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing {
  padding: 60px 0 120px 0;
}

.pricing .section-title {
  margin-bottom: 40px;
}

.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  padding: 60px 40px;
  height: 100%;
  position: relative;
  border-radius: 15px;
}

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

.pricing .icon {
  margin: 30px auto 20px auto;
  width: 70px;
  height: 70px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.pricing .icon i {
  color: var(--background-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
  line-height: 0;
}

.pricing .icon::before {
  position: absolute;
  content: "";
  height: 86px;
  width: 86px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.pricing .icon::after {
  position: absolute;
  content: "";
  height: 102px;
  width: 102px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-2px);
}

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

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

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

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

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

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

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

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

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

.pricing .buy-btn {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  padding: 8px 40px 10px 40px;
  border-radius: 50px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  transition: none;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--heading-font);
  transition: 0.3s;
}

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

.pricing .featured {
  z-index: 10;
  border: 3px solid var(--accent-color);
}

@media (min-width: 992px) {
  .pricing .featured {
    transform: scale(1.15);
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .member-img {
  margin: 0 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 4px solid var(--background-color);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
  .team .member .member-img {
    margin: 0 60px;
  }
}

.team .member .member-img img {
  position: relative;
  z-index: 1;
}

.team .member .member-img .social {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-bottom: 20px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.team .member .member-img .social a {
  transition: 0.3s;
  color: var(--contrast-color);
  font-size: 20px;
  margin: 0 8px;
}

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

.team .member .member-info {
  margin-top: 30px;
}

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

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

.team .member .member-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.team .member:hover .member-img .social {
  padding-bottom: 0;
  visibility: visible;
  opacity: 1;
}

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

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

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

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

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

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  background: linear-gradient(45deg, var(--accent-color), var(--accent-color-2));
  border: none;
  color: var(--contrast-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.call-to-action .cta-btn:hover {
  background: linear-gradient(45deg, var(--accent-color-2), var(--accent-color));
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .info h3 {
  font-weight: 700;
  font-size: 32px;
}

.testimonials .swiper {
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
  background-color: var(--surface-color);
}

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

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 200px;
  position: relative;
  margin: 30px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

@media (max-width: 767px) {

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

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

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts article {
  background: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.recent-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.recent-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 10px;
}

.recent-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

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

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

.recent-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.recent-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.recent-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background: var(--surface-elevated);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.contact .info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact .info-item:hover::before {
  transform: scaleX(1);
}

.contact .info-item:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.12),
    0 6px 16px rgba(20, 136, 204, 0.15);
  border-color: var(--primary-200);
}

.contact .info-item i {
  font-size: 48px;
  line-height: 0;
  color: var(--primary-500);
  margin-bottom: 20px;
  display: block;
  transition: all 0.3s ease;
}

.contact .info-item:hover i {
  color: var(--primary-600);
  transform: scale(1.1);
}

.contact .info-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.contact .info-item:hover h3 {
  color: var(--primary-600);
}

.contact .info-item p {
  padding: 0;
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 0;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.contact .info-item:hover p {
  color: var(--default-color);
}

.contact .php-email-form {
  background: var(--surface-elevated);
  padding: 40px;
  height: 100%;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.contact .php-email-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glass);
  opacity: 0.5;
  pointer-events: none;
}

.contact .php-email-form > * {
  position: relative;
  z-index: 2;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 16px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  color: var(--default-color);
  background: var(--surface-color);
  border: 2px solid var(--border-color);
  width: 100%;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  font-family: var(--default-font);
}

.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(--primary-500);
  box-shadow: 
    0 0 0 3px rgba(20, 136, 204, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.08);
  outline: none;
  transform: translateY(-2px);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: var(--text-muted);
  font-size: 15px;
}

.contact .php-email-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact .php-email-form button[type=submit] {
  background: var(--gradient-primary);
  color: var(--contrast-color);
  border: 0;
  padding: 16px 40px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(20, 136, 204, 0.3);
}

.contact .php-email-form button[type=submit]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.contact .php-email-form button[type=submit]:hover::before {
  left: 100%;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--gradient-hero);
  box-shadow: 0 8px 25px rgba(20, 136, 204, 0.4);
  transform: translateY(-3px);
}

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

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

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

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

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

@media (max-width: 575px) {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

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

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

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

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

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

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

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

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

.blog-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

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

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

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

.blog-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.blog-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.blog-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  padding: 60px 0;
  background: var(--background-color);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


/*--------------------------------------------------------------
# Browse-Radius Announcement Section
--------------------------------------------------------------*/
.browse-radius {
  position: relative;
  padding: 80px 0 100px 0;
  overflow: hidden;
  --card-bg: color-mix(in srgb, var(--surface-color), var(--background-color) 10%);
}

.browse-radius .announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}

.browse-radius .announcement-badge .badge-text {
  background: linear-gradient(90deg, var(--primary-500), var(--primary-700));
  color: var(--contrast-color);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(20,136,204,0.14);
}

.browse-radius .announcement-badge .badge-icon {
  font-size: 20px;
  filter: drop-shadow(0 6px 18px rgba(20,136,204,0.12));
}

.browse-radius .section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.browse-radius .section-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: var(--default-color);
  margin-bottom: 12px;
}

.browse-radius .section-description {
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 28px auto;
  line-height: 1.7;
}

.browse-radius .features-grid {
  --gap: 24px;
  display: flex; /* keep Bootstrap .row behavior predictable by using flex */
  flex-wrap: wrap;
  gap: 0; /* remove additional gap so Bootstrap column gutters control spacing */
  margin-top: 10px;
}

/* Ensure four equal columns on large screens (override any accidental wrapping) */
@media (min-width: 992px) {
  .browse-radius .features-grid > [class*="col-"] {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
}

.browse-radius .feature-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(6, 24, 65, 0.06);
  border: 1px solid color-mix(in srgb, var(--border-color), transparent 60%);
  transition: transform 360ms cubic-bezier(.2,.9,.3,1), box-shadow 360ms, filter 360ms;
  display: flex;
  flex-direction: column;
  min-height: 160px; /* keep cards visually substantial on large screens */
  box-sizing: border-box;

  /* Entrance animation (3D perspective) */
  transform: perspective(1000px) rotateX(10deg) rotateY(-10deg) translateZ(-60px);
  opacity: 0;
  filter: blur(6px) saturate(0.9);
  animation: browse-radius-entrance 720ms cubic-bezier(.2,.9,.3,1) both;
  /* default delay (can be overridden per-card) */
  animation-delay: var(--enter-delay, 0.4s);
  will-change: transform, opacity, filter;
}

/* Staggered delays for the four feature columns */
.browse-radius .features-grid > .col-lg-3:nth-child(1) .feature-card { --enter-delay: 0.12s; }
.browse-radius .features-grid > .col-lg-3:nth-child(2) .feature-card { --enter-delay: 0.28s; }
.browse-radius .features-grid > .col-lg-3:nth-child(3) .feature-card { --enter-delay: 0.44s; }
.browse-radius .features-grid > .col-lg-3:nth-child(4) .feature-card { --enter-delay: 0.60s; }

@keyframes browse-radius-entrance {
  0% {
    transform: perspective(1000px) rotateX(14deg) rotateY(-14deg) translateZ(-100px);
    opacity: 0;
    filter: blur(8px) saturate(0.8);
  }
  60% {
    transform: perspective(1000px) rotateX(4deg) rotateY(-4deg) translateZ(18px);
    opacity: 1;
    filter: blur(0) saturate(1);
  }
  100% {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateZ(0px);
    opacity: 1;
    filter: none;
  }
}

/* Hover state: lift and flatten into user view with subtle glow */
.browse-radius .feature-card:hover {
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateZ(22px);
  box-shadow: 0 36px 100px rgba(6,24,65,0.16);
  filter: none;
}

.browse-radius .feature-card .feature-icon {
  transition: transform 420ms cubic-bezier(.2,.9,.3,1), box-shadow 360ms;
}

.browse-radius .feature-card:hover .feature-icon {
  transform: translateZ(8px) scale(1.04);
  box-shadow: 0 14px 34px rgba(20,136,204,0.12);
}

/* Bright shimmer overlay for dark backgrounds */
.browse-radius .feature-card {
  position: relative; /* ensure overlay positions correctly */
  overflow: visible; /* allow glow to show outside slightly */
}

.browse-radius .feature-card::before {
  content: "";
  position: absolute;
  left: -40%;
  top: -30%;
  width: 80%;
  height: 160%;
  transform: translateX(-120%) rotate(12deg);
  background: linear-gradient(90deg,
    transparent 0%,
    color-mix(in srgb, var( --primary-700), var(--neutral-900) 60%) 45%,
    color-mix(in srgb, var( --primary-700), var(--neutral-900) 40%) 55%,
    transparent 10%
  );
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(22px) saturate(1.2);
  transition: transform 900ms cubic-bezier(.2,.9,.3,1), opacity 360ms ease;
  z-index: 2;
}

.browse-radius .feature-card:hover::before {
  opacity: 1;
  transform: translateX(120%) rotate(12deg);
}

/* Stronger colored rim and glow on hover for contrast */
.browse-radius .feature-card:hover {
  box-shadow: 0 48px 130px rgba(6,24,65,0.22), 0 0 40px color-mix(in srgb, var(--primary-400), var(--contrast-color) 60%);
  border-color: color-mix(in srgb, var(--primary-400), var(--border-color) 30%);
}

/* Icon highlight - bright inner glow */
.browse-radius .feature-card .feature-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--contrast-color), var(--primary-800) 65%) 0%, transparent 45%);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 360ms, transform 420ms cubic-bezier(.2,.9,.3,1);
  pointer-events: none;
}

.browse-radius .feature-card:hover .feature-icon::before {
  opacity: 1;
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .browse-radius .feature-card::before,
  .browse-radius .feature-card .feature-icon::before {
    transition: none !important;
    transform: none !important;
    opacity: 0 !important;
    filter: none !important;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .browse-radius .feature-card,
  .browse-radius .feature-card .feature-icon {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

.browse-radius .feature-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 60px rgba(6,24,65,0.12);
}

.browse-radius .feature-card .feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 12px auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(20,136,204,0.12), rgba(20,136,204,0.03));
  color: var(--primary-600);
  font-size: 26px;
  box-shadow: 0 8px 22px rgba(20,136,204,0.08);
}

.browse-radius .feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.browse-radius .feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.browse-radius .screenshots-container {
  display: grid;
  grid-template-columns: 1.2fr 0.5fr;
  gap: 28px;
  align-items: center;
}

.browse-radius .desktop-frame {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.03));
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border-color), transparent 70%);
  box-shadow: 0 30px 80px rgba(6,24,65,0.10);
}

.browse-radius .desktop-header {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.browse-radius .desktop-controls .control {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
}
.browse-radius .desktop-controls .control.red { background: #ff5f57; }
.browse-radius .desktop-controls .control.yellow { background: #ffbd2e; }
.browse-radius .desktop-controls .control.green { background: #27c93f; }

.browse-radius .desktop-screen img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.browse-radius .mobile-frame {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border-color), transparent 70%);
  box-shadow: 0 24px 60px rgba(6,24,65,0.10);
  position: relative;
}

.browse-radius .mobile-screen img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

.browse-radius .cta-content h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.browse-radius .cta-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.browse-radius .cta-buttons .btn {
  margin: 6px 8px;
}

/* Make the outline CTA visible on dark and light backgrounds */
.browse-radius .btn.btn-outline {
  background: transparent;
  color: var(--contrast-color);
  border: 1px solid color-mix(in srgb, var(--contrast-color), transparent 60%);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.28s cubic-bezier(.2,.9,.3,1);
  box-shadow: none;
}

.browse-radius .btn.btn-outline:hover,
.browse-radius .btn.btn-outline:focus {
  background: var(--contrast-color);
  color: var(--default-color);
  border-color: transparent;
  transform: translateY(-3px);
  color: #080222 !important;
  box-shadow: 0 12px 30px rgba(6,24,65,0.12);
}

/* Slight adjustment for light-background fallback */
.light-background .browse-radius .btn.btn-outline {
  color: var(--accent-color);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}


/* Background decorative shapes */
.browse-radius .bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.browse-radius .bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.32;
}
.browse-radius .bg-shapes .shape-1 { width: 420px; height: 420px; background: var(--primary-600); left: -80px; top: -60px; }
.browse-radius .bg-shapes .shape-2 { width: 320px; height: 320px; background: var(--accent-color); right: -120px; top: 40px; }
.browse-radius .bg-shapes .shape-3 { width: 460px; height: 260px; background: var(--gradient-primary); left: 20%; bottom: -80px; }

/* Responsive */
/* @media (max-width: 992px) {
  .browse-radius .features-grid { grid-template-columns: repeat(2, 1fr); }
  .browse-radius .screenshots-container { grid-template-columns: 1fr; }
  .browse-radius .desktop-frame { order: 2; }
  .browse-radius .mobile-frame { order: 1; margin-bottom: 18px; }
}

@media (max-width: 576px) {
  .browse-radius { padding: 40px 0; }
  .browse-radius .section-title { font-size: 26px; }
  .browse-radius .section-subtitle { font-size: 16px; }
  .browse-radius .features-grid { grid-template-columns: 1fr; }
  .browse-radius .feature-card { padding: 18px; }
  .browse-radius .mobile-frame { max-width: 220px; }
} */

/* Demo Request Modal - polished design */
.demo-request-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}
.demo-request-modal.is-open { display: flex; }

.demo-request-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,8,23,0.62), rgba(3,8,23,0.72));
  backdrop-filter: blur(8px) saturate(1.05);
  transition: opacity 240ms ease;
}

.demo-request-dialog {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 18px;
  direction: rtl;
  z-index: 3;
}

.demo-request-content {
  position: relative;
  background: linear-gradient(180deg, var(--surface-color), color-mix(in srgb, var(--surface-color), black 2%));
  color: var(--default-color);
  border-radius: 14px;
  padding: 22px 26px 26px 26px;
  box-shadow:
    0 8px 24px rgba(2,6,23,0.28),
    0 20px 60px rgba(2,6,23,0.42);
  border: 1px solid color-mix(in srgb, var(--border-color), transparent 40%);
  overflow: hidden;
  transform-origin: center;
  animation: modal-pop 260ms cubic-bezier(.2,.9,.25,1) both;
}

.demo-request-content::before {
  /* bright header accent */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 72px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary-500), transparent 10%), var(--primary-600));
  mix-blend-mode: screen;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  transform: translateY(-100%);
  opacity: 0.95;
  pointer-events: none;
}

.demo-request-content .title-wrap {
  position: relative;
  padding-top: 6px; /* to show title above accent */
  margin-bottom: 6px;
}

.demo-request-content h3 {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--heading-color);
  position: relative;
  z-index: 4;
}

.demo-request-content .muted {
  color: var(--text-muted);
  margin: 0 0 14px 0;
  font-size: 14px;
  z-index: 4;
}

.demo-request-close {
  position: absolute;
  top: 12px;
  left: 12px;
  /* use surface/background mix so it adapts to light/dark themes */
  background: color-mix(in srgb, var(--surface-color), var(--background-color) 6%);
  border: 1px solid color-mix(in srgb, var(--border-color), transparent 60%);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  /* icon/text uses heading-color so it contrasts in both modes */
  color: var(--heading-color);
  cursor: pointer;
  z-index: 6;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  backdrop-filter: blur(3px);
}
.demo-request-close:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--primary-500), rgba(2,6,23,0.18) 40%);
  /* stronger visible bg on hover while respecting theme */
  background: color-mix(in srgb, var(--primary-100), var(--surface-color) 88%);
  color: var(--contrast-color);
}

.demo-request-content .form-row { margin-bottom: 14px; display: flex; flex-direction: column; position: relative; z-index: 4; }
.demo-request-content label { font-size: 13px; margin-bottom: 6px; color: var(--text-muted); }
.demo-request-content input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--border-color), transparent 50%);
  background: color-mix(in srgb, var(--surface-elevated), transparent 6%);
  color: var(--default-color);
  font-size: 15px;
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
.demo-request-content input:focus { outline: none; border-color: var(--primary-500); box-shadow: 0 6px 24px rgba(20,136,204,0.12); transform: translateY(-1px); }

.demo-request-content .required { color: var(--error-400); margin-left: 6px; }

.demo-request-content .form-actions { display: flex; gap: 12px; justify-content: flex-start; margin-top: 12px; z-index: 4; }
.demo-request-content .form-actions .btn {
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
}

.demo-request-content .form-actions .btn.btn-primary {
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  color: var(--contrast-color);
  border: none;
  box-shadow: 0 10px 30px rgba(20,136,204,0.16);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.demo-request-content .form-actions .btn.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(20,136,204,0.2); }

.demo-request-content .form-actions .btn.btn-outline {
  background: transparent;
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}
.demo-request-content .form-actions .btn.btn-outline:hover { background: color-mix(in srgb, var(--default-color), transparent 96%); }

.demo-request-content .dr-message { margin-top: 14px; min-height: 40px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.demo-request-content .dr-message.success { color: var(--success-500); }
.demo-request-content .dr-message.error { color: var(--error-500); }
.demo-request-content .dr-message::before { content: ''; display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: transparent; }
.demo-request-content .dr-message.success::before { background: linear-gradient(90deg, var(--success-400), var(--success-500)); box-shadow: 0 6px 16px rgba(34,197,94,0.12); }
.demo-request-content .dr-message.error::before { background: linear-gradient(90deg, var(--error-400), var(--error-500)); box-shadow: 0 6px 16px rgba(239,68,68,0.12); }

@keyframes modal-pop {
  0% { transform: translateY(8px) scale(0.98); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 576px) {
  .demo-request-dialog { max-width: 92%; }
  .demo-request-content { padding: 16px; }
  .demo-request-content::before { height: 56px; }
  .demo-request-close { width: 40px; height: 40px; font-size: 20px; }
}

/* Clients marquee - continuous horizontal scroll */
.clients-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  --marquee-gap: 28px;
  padding: 10px 0;
}
.clients-marquee {
  display: flex;
  gap: var(--marquee-gap);
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  transform: translateX(0);
  /* animation-duration will be set dynamically by JS; fallback to 20s */
  animation: marquee-scroll 20s linear infinite;
}
.clients-marquee .client-logo { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; overflow: visible; }
.clients-marquee .client-logo img {
  /* reset the generic .clients img padding so logos render at their natural size inside the marquee */
  padding: 0;
  display: block;
  width: auto;
  height: auto;
  max-height: 72px; /* make logos larger for visibility */
  object-fit: contain;
  opacity: 0.95;
  filter: grayscale(20%);
  transition: transform 220ms ease, opacity 220ms ease, filter 220ms ease;
}
.clients-marquee .client-logo img:hover { transform: scale(1.02); opacity: 1; filter: none; }

/* slower on small screens, faster on large screens */
@media (min-width: 1200px) { .clients-marquee { animation-duration: 16s; } }
@media (max-width: 576px) { .clients-marquee { animation-duration: 28s; } .clients-marquee .client-logo img { max-height: 36px; } }

.clients-marquee-wrapper:hover .clients-marquee { animation-play-state: paused; }

@keyframes marquee-scroll {
  /* translate by exact pixel shift (set by JS into --marquee-shift) */
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--marquee-shift, 50%))); }
}

@media (prefers-reduced-motion: reduce) {
  .clients-marquee { animation: none !important; }
}
