/*----------------------------------------------
  PENDOMEDIA - Modern Design Override
  Inspired by Solvior design principles
  
  Sections:
  1. CSS Variables / Root
  2. Typography
  3. Header / Navigation
  4. Hero Section
  5. Section Styles
  6. Cards & Services
  7. About / Highlights
  8. Portfolio
  9. Testimonials
  10. Contact / Form
  11. Footer
  12. Page Headers (Inner Pages)
  13. Buttons
  14. Animations & Effects
  15. Utilities
  16. Responsive
----------------------------------------------*/

/* ============================================
   1. CSS Variables / Root
   ============================================ */
:root {
    /* Primary palette */
    --pm-primary: #0e6fad;
    --pm-primary-dark: #094d7a;
    --pm-primary-light: #e8f4fd;
    --pm-secondary: #18ba60;
    --pm-secondary-dark: #129a4e;
    --pm-accent: #f59e0b;
    
    /* Neutrals */
    --pm-dark: #0f172a;
    --pm-dark-2: #1e293b;
    --pm-gray-900: #1a1a2e;
    --pm-gray-800: #2d2d44;
    --pm-gray-700: #404055;
    --pm-gray-600: #64748b;
    --pm-gray-500: #94a3b8;
    --pm-gray-400: #cbd5e1;
    --pm-gray-300: #e2e8f0;
    --pm-gray-200: #f1f5f9;
    --pm-gray-100: #f8fafc;
    --pm-gray-50: #f0f4f8;
    --pm-white: #ffffff;
    
    /* Surfaces (toggled in dark mode) */
    --pm-surface: #ffffff;
    --pm-surface-2: #f8fafc;
    --pm-surface-3: #f1f5f9;
    --pm-surface-card: #ffffff;
    --pm-text: #404055;
    --pm-text-heading: #0f172a;
    --pm-text-muted: #64748b;
    --pm-border: #e2e8f0;
    
    /* Typography */
    --pm-font-heading: 'Inter', 'Poppins', sans-serif;
    --pm-font-body: 'Inter', 'Poppins', sans-serif;
    
    /* Spacing */
    --pm-section-padding: 100px 0;
    --pm-section-padding-sm: 70px 0;
    
    /* Borders */
    --pm-radius: 12px;
    --pm-radius-lg: 20px;
    --pm-radius-xl: 24px;
    --pm-radius-full: 50px;
    
    /* Shadows */
    --pm-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --pm-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --pm-shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --pm-shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --pm-shadow-color: 0 8px 30px rgba(14,111,173,0.2);
    
    /* Transitions */
    --pm-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --pm-transition-fast: all 0.2s ease;
}

/* ============================================
   2. Typography
   ============================================ */
body {
    font-family: var(--pm-font-body) !important;
    color: var(--pm-gray-700) !important;
    line-height: 1.7 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--pm-font-heading) !important;
    color: var(--pm-dark) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem !important; }
h2 { font-size: 2.5rem !important; }
h3 { font-size: 1.75rem !important; }
h4 { font-size: 1.25rem !important; }
h5 { font-size: 1.1rem !important; }

p {
    color: var(--pm-gray-600);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Section intro text */
.intro h2 {
    position: relative;
    margin-bottom: 20px !important;
}

.intro p {
    font-size: 1.1rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Subtitle badge */
.pm-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: var(--pm-primary-light);
    color: var(--pm-primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--pm-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.pm-subtitle::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--pm-primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============================================
   3. Header / Navigation
   ============================================ */
#header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--pm-transition);
}

#header nav.navbar {
    padding: 18px 0 !important;
    background: transparent !important;
    backdrop-filter: none;
    transition: var(--pm-transition);
    border-bottom: none !important;
}

#header.scrolled nav.navbar,
#header nav.navbar.scrolled {
    padding: 10px 0 !important;
    background: rgba(15,23,42,0.97) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 30px rgba(0,0,0,0.2) !important;
}

#header.scrolled .navbar-brand img,
#header nav.navbar.scrolled .navbar-brand img {
    filter: none;
}

/* Nav brand */
.navbar-brand img {
    height: 40px !important;
    max-height: 40px !important;
    transition: var(--pm-transition);
}

/* Nav items */
.navbar-nav.items .nav-link {
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.9) !important;
    padding: 8px 20px !important;
    border-radius: var(--pm-radius-full);
    transition: var(--pm-transition-fast) !important;
    position: relative;
    letter-spacing: 0.01em;
}

#header.scrolled .navbar-nav.items .nav-link,
#header nav.navbar.scrolled .navbar-nav.items .nav-link {
    color: rgba(255,255,255,0.85) !important;
}

.navbar-nav.items .nav-link:hover,
.navbar-nav.items .nav-item.active .nav-link {
    color: var(--pm-white) !important;
    background: rgba(255,255,255,0.15);
}

#header.scrolled .navbar-nav.items .nav-link:hover,
#header nav.navbar.scrolled .navbar-nav.items .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.15);
}

/* Nav social icons */
.navbar-nav.icons .nav-link {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.9rem !important;
    transition: var(--pm-transition-fast) !important;
}

#header.scrolled .navbar-nav.icons .nav-link,
#header nav.navbar.scrolled .navbar-nav.icons .nav-link {
    color: rgba(255,255,255,0.6) !important;
}

.navbar-nav.icons .nav-link:hover {
    color: var(--pm-white) !important;
    transform: translateY(-2px);
}

#header.scrolled .navbar-nav.icons .nav-link:hover,
#header nav.navbar.scrolled .navbar-nav.icons .nav-link:hover {
    color: #fff !important;
}

/* Nav CTA Button */
.navbar-nav.action .btn {
    background: var(--pm-white) !important;
    color: var(--pm-primary) !important;
    border-radius: var(--pm-radius-full) !important;
    padding: 10px 28px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: var(--pm-transition) !important;
    border: none !important;
}

.navbar-nav.action .btn:hover {
    background: var(--pm-primary) !important;
    color: var(--pm-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--pm-shadow-color) !important;
}

#header.scrolled .navbar-nav.action .btn,
#header nav.navbar.scrolled .navbar-nav.action .btn {
    background: var(--pm-primary) !important;
    color: var(--pm-white) !important;
}

#header.scrolled .navbar-nav.action .btn:hover,
#header nav.navbar.scrolled .navbar-nav.action .btn:hover {
    background: var(--pm-primary-dark) !important;
    transform: translateY(-2px);
}

/* ============================================
   4. Hero Section
   ============================================ */
#slider.hero {
    position: relative;
    overflow: hidden;
}

#slider.hero .swiper-slide {
    min-height: 100vh;
}

#slider.hero .full-image {
    filter: brightness(0.3) !important;
    transform: scale(1.05);
    transition: transform 8s ease;
}

#slider.hero .swiper-slide-active .full-image {
    transform: scale(1);
}

#slider.hero .slide-content .title {
    font-size: 4rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    line-height: 1.1 !important;
    margin-bottom: 20px;
    text-shadow: none !important;
}

#slider.hero .slide-content .description {
    font-size: 1.2rem !important;
    color: rgba(255,255,255,0.8) !important;
    max-width: 600px;
    line-height: 1.7 !important;
    font-weight: 300;
}

#slider.hero .slide-content .btn {
    border-radius: var(--pm-radius-full) !important;
    padding: 14px 36px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    transition: var(--pm-transition) !important;
}

#slider.hero .slide-content .primary-button {
    background: var(--pm-primary) !important;
    color: var(--pm-white) !important;
    box-shadow: 0 4px 25px rgba(14,111,173,0.4);
}

#slider.hero .slide-content .primary-button:hover {
    background: var(--pm-white) !important;
    color: var(--pm-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(255,255,255,0.3);
}

/* Hero decorative element */
#slider.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--pm-white);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 10;
}

/* Swiper pagination */
.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255,255,255,0.5) !important;
    opacity: 1 !important;
    transition: var(--pm-transition) !important;
}

.swiper-pagination-bullet-active {
    background: var(--pm-primary) !important;
    width: 35px !important;
    border-radius: 6px !important;
}

/* ============================================
   5. Section Styles
   ============================================ */
section {
    padding: var(--pm-section-padding) !important;
    position: relative;
}

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

/* Section backgrounds */
section.section-1 {
    background: var(--pm-white) !important;
}

section.section-2 {
    background: var(--pm-gray-100) !important;
}

section.section-3 {
    background: var(--pm-dark) !important;
}

section.section-3 h2,
section.section-3 h3,
section.section-3 h4 {
    color: var(--pm-white) !important;
}

section.section-3 p {
    color: var(--pm-gray-500) !important;
}

section.section-5 {
    background: var(--pm-gray-100) !important;
}

section.section-6x {
    background: var(--pm-white) !important;
}

/* Section intro */
section .intro {
    margin-bottom: 50px !important;
}

section .intro h2 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}

section .intro h2.super {
    font-size: 2.8rem !important;
}

section .intro h2.featured {
    color: var(--pm-dark) !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
}

section .intro h2.featured.alt {
    color: var(--pm-dark) !important;
}

section.section-3 .intro h2.featured {
    color: var(--pm-white) !important;
}

/* ============================================
   6. Cards & Services
   ============================================ */
section .card {
    background: var(--pm-white) !important;
    border: 1px solid var(--pm-gray-300) !important;
    border-radius: var(--pm-radius-lg) !important;
    padding: 35px 30px !important;
    transition: var(--pm-transition) !important;
    position: relative;
    overflow: hidden;
    box-shadow: var(--pm-shadow-sm) !important;
}

section .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pm-primary), var(--pm-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

section .card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--pm-shadow-lg) !important;
    border-color: transparent !important;
}

section .card:hover::before {
    transform: scaleX(1);
}

section .card .icon {
    font-size: 2.5rem !important;
    color: var(--pm-primary) !important;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--pm-primary-light);
    border-radius: 16px;
    transition: var(--pm-transition);
}

section .card:hover .icon {
    background: var(--pm-primary);
    color: var(--pm-white) !important;
    transform: scale(1.05);
}

section .card h4, section .card h5 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: var(--pm-dark) !important;
}

section .card p {
    font-size: 0.95rem !important;
    color: var(--pm-gray-600) !important;
    line-height: 1.7 !important;
    margin-bottom: 0;
}

section .card .btn-icon {
    color: var(--pm-primary) !important;
    font-size: 1.5rem;
    transition: var(--pm-transition);
}

section .card:hover .btn-icon {
    transform: translateX(5px);
}

/* Featured card accent */
section .card.featured {
    border-color: var(--pm-primary) !important;
    border-width: 1px !important;
}

section .card.featured::before {
    transform: scaleX(1);
}

/* Card in dark section */
section.section-3 .card,
section.odd .card {
    background: var(--pm-dark-2) !important;
    border-color: rgba(255,255,255,0.08) !important;
}

section.section-3 .card h4,
section.section-3 .card h5,
section.odd .card h4 {
    color: var(--pm-white) !important;
}

section.section-3 .card p,
section.odd .card p {
    color: var(--pm-gray-500) !important;
}

section.section-3 .card:hover,
section.odd .card:hover {
    border-color: var(--pm-primary) !important;
    background: rgba(14,111,173,0.08) !important;
}

/* No hover cards (specialization) */
section .card.no-hover {
    text-align: center;
    border: none !important;
    background: var(--pm-gray-100) !important;
    box-shadow: none !important;
}

section .card.no-hover:hover {
    background: var(--pm-white) !important;
    box-shadow: var(--pm-shadow-md) !important;
}

/* Core Services Icon Containers */
.pm-core-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--pm-transition);
}

section .card.no-hover:hover .pm-core-icon {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* ============================================
   7. About / Highlights
   ============================================ */
section.highlights {
    overflow: hidden;
}

section.highlights .gallery img {
    border-radius: var(--pm-radius-xl) !important;
    box-shadow: var(--pm-shadow-md);
    transition: var(--pm-transition);
}

section.highlights .gallery img:hover {
    transform: scale(1.02);
    box-shadow: var(--pm-shadow-lg);
}

.pm-about-illustration {
    transition: var(--pm-transition);
}

.pm-about-illustration:hover {
    transform: scale(1.02);
    box-shadow: var(--pm-shadow-lg) !important;
}

section.highlights .gallery a {
    position: relative;
    display: block;
    border-radius: var(--pm-radius-xl) !important;
    overflow: hidden;
}

section.highlights .gallery a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14,111,173,0.1), transparent);
    border-radius: var(--pm-radius-xl);
    pointer-events: none;
}

section.highlights .items .item {
    padding: 20px 0 !important;
    transition: var(--pm-transition);
    display: grid !important;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center !important;
}

section.highlights .items .item .icon {
    font-size: 2rem !important;
    color: var(--pm-primary) !important;
    width: 55px;
    height: 55px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: var(--pm-primary-light);
    border-radius: 14px;
    flex-shrink: 0;
}

section.highlights .items .item h4 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    color: var(--pm-dark) !important;
}

section.highlights .items .item p {
    font-size: 0.95rem !important;
    color: var(--pm-gray-600) !important;
}

/* About page single content */
section.single main h2 {
    font-size: 1.8rem !important;
    color: var(--pm-dark) !important;
    margin-bottom: 16px !important;
    position: relative;
    padding-bottom: 12px;
}

section.single main h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--pm-primary), var(--pm-secondary));
    border-radius: 3px;
}

section.single main h2.featured {
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    background-image: none !important;
}

section.single main h4 {
    font-size: 1.15rem !important;
    color: var(--pm-primary) !important;
    margin-bottom: 8px !important;
    margin-top: 20px !important;
}

section.single main p {
    margin-bottom: 14px;
}

/* Sidebar */
.widget-services {
    background: var(--pm-gray-100);
    border-radius: var(--pm-radius-lg);
    padding: 10px;
    margin-bottom: 30px;
    text-align: left !important;
    display: block !important;
}

.widget-services .list-group {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
}

.widget-services .list-group-item {
    background: transparent !important;
    border: none !important;
    padding: 12px 16px !important;
    border-radius: var(--pm-radius) !important;
    transition: var(--pm-transition);
    margin-bottom: 4px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
}

.widget-services .list-group-item a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100%;
    text-decoration: none !important;
    color: inherit !important;
}

.widget-services .list-group-item:hover {
    background: var(--pm-white) !important;
    box-shadow: var(--pm-shadow);
}

.widget-services .list-group-item .icon {
    font-size: 1.5rem !important;
    color: var(--pm-primary) !important;
    margin-right: 12px !important;
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.widget-services .list-group-item h5 {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: var(--pm-dark) !important;
    flex-grow: 1;
    text-align: left !important;
}

/* Sidebar testimonial cards */
aside.sidebar .widget-carousel .card {
    border: none !important;
    background: var(--pm-gray-100) !important;
    border-radius: var(--pm-radius-lg) !important;
    padding: 30px 25px !important;
}

aside.sidebar .widget-carousel .card h4 {
    font-size: 1rem !important;
    margin-bottom: 4px !important;
}

aside.sidebar .widget-carousel .card p {
    font-size: 0.9rem !important;
    font-style: italic;
}

/* ============================================
   8. Portfolio
   ============================================ */
section.portfolio .btn-group {
    border-radius: var(--pm-radius-full) !important;
    background: var(--pm-white);
    padding: 6px;
    box-shadow: var(--pm-shadow);
    display: inline-flex !important;
    gap: 4px;
    flex-wrap: wrap;
    border: none !important;
}

section.portfolio .btn-group .btn {
    border: none !important;
    border-radius: var(--pm-radius-full) !important;
    padding: 10px 22px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--pm-gray-600) !important;
    background: transparent !important;
    transition: var(--pm-transition-fast) !important;
    letter-spacing: 0.02em;
    margin: 0 !important;
}

section.portfolio .btn-group .btn:hover,
section.portfolio .btn-group .btn.active {
    background: var(--pm-primary) !important;
    color: var(--pm-white) !important;
}

section.portfolio .filter-items .card {
    border: none !important;
    border-radius: var(--pm-radius-lg) !important;
    overflow: hidden;
    background: var(--pm-white) !important;
    box-shadow: var(--pm-shadow) !important;
    padding: 0 !important;
}

section.portfolio .filter-items .card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--pm-shadow-lg) !important;
}

section.portfolio .filter-items .card::before {
    display: none;
}

section.portfolio .filter-items .gallery img {
    border-radius: 0 !important;
    transition: transform 0.6s ease;
}

section.portfolio .filter-items .card:hover .gallery img {
    transform: scale(1.08);
}

section.portfolio .filter-items .card-body {
    padding: 20px !important;
}

section.portfolio .filter-items .card-body h4 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

section.portfolio .filter-items .card-footer {
    background: transparent !important;
    border-top: 1px solid var(--pm-gray-300) !important;
    padding: 15px 20px !important;
}

section.portfolio .filter-items .card-footer p {
    font-size: 0.9rem !important;
    color: var(--pm-gray-600) !important;
    margin: 0;
}

/* ============================================
   9. Testimonials (sidebar widget)
   ============================================ */
.widget-carousel {
    margin-top: 30px;
}

/* ============================================
   10. Contact / Form
   ============================================ */
section.form {
    position: relative;
}

section.form .intro h2 {
    font-size: 2.2rem !important;
    color: var(--pm-dark) !important;
}

section.form .intro p {
    color: var(--pm-gray-600) !important;
}

section.form .form-control {
    background: var(--pm-gray-100) !important;
    border: 2px solid var(--pm-gray-300) !important;
    border-radius: var(--pm-radius) !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    color: var(--pm-dark) !important;
    transition: var(--pm-transition) !important;
    height: auto !important;
}

section.form .form-control:focus {
    border-color: var(--pm-primary) !important;
    background: var(--pm-white) !important;
    box-shadow: 0 0 0 4px rgba(14,111,173,0.1) !important;
    outline: none !important;
}

section.form .form-control::placeholder {
    color: var(--pm-gray-500) !important;
}

section.form textarea.form-control {
    min-height: 140px !important;
    resize: vertical;
}

section.form select.form-control {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

section.form .input-group {
    position: relative;
}

section.form .btn.primary-button {
    width: 100%;
    padding: 16px 30px !important;
    border-radius: var(--pm-radius) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    background: var(--pm-primary) !important;
    color: var(--pm-white) !important;
    border: none !important;
    transition: var(--pm-transition) !important;
    box-shadow: 0 4px 15px rgba(14,111,173,0.3);
}

section.form .btn.primary-button:hover {
    background: var(--pm-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14,111,173,0.4) !important;
}

/* Map section */
#map {
    border-radius: var(--pm-radius-lg) !important;
    box-shadow: var(--pm-shadow-md);
    overflow: hidden;
}

/* ============================================
   11. Footer
   ============================================ */
footer {
    background: var(--pm-dark) !important;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pm-primary), var(--pm-secondary), var(--pm-accent));
}

footer section#footer {
    background: var(--pm-dark) !important;
    padding: 80px 0 40px !important;
}

footer .brand a img {
    height: 45px !important;
    max-height: 45px !important;
}

footer .footer-widget p {
    color: var(--pm-gray-500) !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    margin-top: 15px;
}

footer .footer-widget h4.title {
    color: var(--pm-white) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 12px;
}

body.pm-dark-mode footer .footer-widget h4.title {
    color: rgba(255, 255, 255, 0.95) !important;
}

footer .footer-widget h4.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--pm-primary);
    border-radius: 3px;
}

footer .footer-widget .text-center h4.title::after,
footer .footer-widget .text-lg-left h4.title::after {
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 992px) {
    footer .footer-widget .text-lg-left h4.title::after {
        left: 0;
        transform: none;
    }
}

footer .footer-widget .navbar-nav .nav-link {
    color: var(--pm-gray-500) !important;
    font-size: 0.95rem !important;
    padding: 6px 0 !important;
    transition: var(--pm-transition-fast) !important;
}

footer .footer-widget .navbar-nav .nav-link:hover {
    color: var(--pm-primary) !important;
    padding-left: 8px !important;
}

footer .footer-widget .navbar-nav .nav-link i {
    color: var(--pm-primary) !important;
    margin-right: 8px;
}

/* Footer social icons */
footer .social .nav-link {
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.05) !important;
    border-radius: 10px !important;
    margin-right: 8px !important;
    transition: var(--pm-transition) !important;
    padding: 0 !important;
}

footer .social .nav-link:hover {
    background: var(--pm-primary) !important;
    color: var(--pm-white) !important;
    transform: translateY(-3px);
}

footer .social .nav-link i {
    color: var(--pm-gray-500) !important;
    font-size: 0.9rem !important;
}

footer .social .nav-link:hover i {
    color: var(--pm-white) !important;
}

/* Footer contact button */
footer .btn.dark-button {
    background: var(--pm-primary) !important;
    color: var(--pm-white) !important;
    border-radius: var(--pm-radius-full) !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    border: none !important;
    transition: var(--pm-transition) !important;
}

footer .btn.dark-button::before,
footer .btn.dark-button::after {
    display: none !important;
}

footer .btn.dark-button:hover {
    background: var(--pm-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--pm-shadow-color) !important;
}

/* Footer nav item (address) */
footer .footer-widget .nav-item {
    color: var(--pm-gray-500) !important;
    font-size: 0.95rem !important;
}

footer .footer-widget .nav-item i {
    color: var(--pm-primary) !important;
}

/* Copyright */
section#copyright {
    background: rgba(0,0,0,0.3) !important;
    padding: 20px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.06);
}

section#copyright p {
    color: var(--pm-gray-500) !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}

/* ============================================
   12. Page Headers (Inner Pages)
   ============================================ */
.pm-page-header {
    background: linear-gradient(135deg, var(--pm-dark) 0%, var(--pm-primary-dark) 100%);
    padding: 140px 0 80px !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pm-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14,111,173,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.pm-page-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(24,186,96,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.pm-page-header h1 {
    color: var(--pm-white) !important;
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.pm-page-header p {
    color: rgba(255,255,255,0.7) !important;
    font-size: 1.1rem !important;
    position: relative;
    z-index: 2;
}

/* ============================================
   13. Buttons
   ============================================ */
.primary-button,
.primary-button:visited,
.primary-button:active {
    background: var(--pm-primary) !important;
    color: var(--pm-white) !important;
    border-radius: var(--pm-radius-full) !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.03em;
    transition: var(--pm-transition) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(14,111,173,0.25);
    background-image: none !important;
}

.primary-button:hover,
.primary-button:focus {
    background: var(--pm-primary-dark) !important;
    color: var(--pm-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14,111,173,0.35) !important;
    background-image: none !important;
}

.secondary-button,
.secondary-button:visited,
.secondary-button:active {
    background: transparent !important;
    color: var(--pm-primary) !important;
    border: 2px solid var(--pm-primary) !important;
    border-radius: var(--pm-radius-full) !important;
    padding: 10px 30px !important;
    font-weight: 600 !important;
    transition: var(--pm-transition) !important;
    background-image: none !important;
}

.secondary-button:hover,
.secondary-button:focus {
    background: var(--pm-primary) !important;
    color: var(--pm-white) !important;
    border-color: var(--pm-primary) !important;
    transform: translateY(-2px);
    background-image: none !important;
}

/* ============================================
   14. Animations & Effects
   ============================================ */
.effect-static-text {
    background-image: linear-gradient(135deg, var(--pm-primary) 0%, var(--pm-secondary) 50%, var(--pm-primary) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Fade in on scroll */
.pm-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pm-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Float animation for decorative elements */
@keyframes pm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.pm-float {
    animation: pm-float 4s ease-in-out infinite;
}

/* Gradient border animation */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Stats counter animation */
.pm-stat {
    text-align: center;
    padding: 30px 20px;
}

.pm-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--pm-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.pm-stat-label {
    font-size: 0.9rem;
    color: var(--pm-gray-600);
    font-weight: 500;
}

/* ============================================
   15. Utilities
   ============================================ */
.pm-gradient-text {
    background: linear-gradient(135deg, var(--pm-primary), var(--pm-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pm-bg-gradient {
    background: linear-gradient(135deg, var(--pm-primary), var(--pm-secondary));
}

.pm-glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
}

.pm-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--pm-primary), var(--pm-secondary));
    border-radius: 4px;
    margin: 0 auto 30px;
}

.text-max-800 {
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Privacy and text-heavy pages */
section.highlights .intro h2.featured.alt {
    color: var(--pm-dark) !important;
    -webkit-text-fill-color: initial !important;
    background: none !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
}

/* ============================================
   16. Responsive
   ============================================ */
@media (max-width: 991.98px) {
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
    
    #slider.hero .slide-content .title {
        font-size: 2.8rem !important;
    }
    
    section {
        padding: var(--pm-section-padding-sm) !important;
    }
    
    section .intro h2 {
        font-size: 2rem !important;
    }
    
    .pm-page-header {
        padding: 120px 0 60px !important;
    }
    
    .pm-page-header h1 {
        font-size: 2.2rem !important;
    }
    
    .navbar-nav.icons,
    .navbar-nav.action {
        display: none !important;
    }
    
    #slider.hero::after {
        height: 40px;
    }
}

@media (max-width: 767.98px) {
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
    
    #slider.hero .slide-content .title {
        font-size: 2.2rem !important;
    }
    
    #slider.hero .slide-content .description {
        font-size: 1rem !important;
    }
    
    section .intro h2 {
        font-size: 1.75rem !important;
    }
    
    section .card {
        padding: 25px 20px !important;
    }
    
    section.portfolio .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .pm-page-header h1 {
        font-size: 1.8rem !important;
    }
}

/* ============================================
   Extra: Smooth scroll
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
::selection {
    background: var(--pm-primary);
    color: var(--pm-white);
}

/* Override odd section styling to be consistent */
section.odd:not(#slider):not(footer) {
    background: var(--pm-dark) !important;
}

/* Fix for modal responsive menu */
#menu .modal-content {
    background: var(--pm-dark) !important;
}

#menu .modal-header {
    color: var(--pm-white) !important;
    border-bottom-color: rgba(255,255,255,0.1) !important;
}

#menu .nav-link {
    color: var(--pm-gray-400) !important;
    font-size: 1rem !important;
    padding: 12px 20px !important;
    transition: var(--pm-transition-fast) !important;
}

#menu .nav-link:hover {
    color: var(--pm-primary) !important;
}


/* ============================================
   LOGO SWAP (light/dark versions)
   ============================================ */
.navbar-brand .logo-light,
.navbar-brand .logo-dark {
    height: 40px !important;
    max-height: 40px !important;
    transition: var(--pm-transition);
}

/* Since scrolled header is now dark, always show light logo */
#header.scrolled .navbar-brand .logo-light {
    display: block !important;
}

#header.scrolled .navbar-brand .logo-dark {
    display: none !important;
}

/* ============================================
   DARK MODE TOGGLE BUTTON
   ============================================ */
.pm-theme-toggle {
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: var(--pm-radius-full);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: rgba(255,255,255,0.85);
    transition: var(--pm-transition);
    position: relative;
}

.pm-theme-toggle:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(15deg);
}

#header.scrolled .pm-theme-toggle {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
}

#header.scrolled .pm-theme-toggle:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Sun/Moon icon toggle */
.pm-icon-sun { display: none; }
.pm-icon-moon { display: block; }

.pm-dark-mode .pm-icon-sun { display: block; }
.pm-dark-mode .pm-icon-moon { display: none; }


/* ============================================
   SUBTLE DECORATIVE BACKGROUNDS
   ============================================ */

/* Dot grid pattern for light sections */
section.section-1::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--pm-gray-300) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

/* Soft gradient glow for section-2 */
section.section-2::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14,111,173,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

section.section-2::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(24,186,96,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Subtle wave / diagonal stripe for section-5 */
section.section-5::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(135deg, transparent 46%, rgba(14,111,173,0.03) 46%, rgba(14,111,173,0.03) 54%, transparent 54%);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

/* Page header decorative circles */
.pm-page-header .pm-circles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Hero section overlay gradient texture */
#slider.hero .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(14,111,173,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(24,186,96,0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}


/* ============================================
   PRIVACY POLICY ENHANCED READABILITY
   ============================================ */
.pm-policy-card {
    background: var(--pm-surface-card) !important;
    border-radius: var(--pm-radius-lg) !important;
    padding: 45px 40px !important;
    box-shadow: var(--pm-shadow-md) !important;
    border-top: 4px solid var(--pm-primary);
    line-height: 1.85;
    color: var(--pm-text);
}

.pm-policy-card .pm-policy-section {
    border-left: 3px solid var(--pm-primary-light);
    padding-left: 20px;
    margin-bottom: 2rem;
    transition: border-color 0.3s ease;
}

.pm-policy-card .pm-policy-section:hover {
    border-left-color: var(--pm-primary);
}

.pm-policy-card .pm-policy-section h4 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--pm-primary) !important;
    margin-bottom: 0.6rem !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-policy-card .pm-policy-section h4 .pm-section-num {
    width: 30px;
    height: 30px;
    background: var(--pm-primary-light);
    color: var(--pm-primary);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.pm-policy-card p {
    font-size: 0.97rem !important;
    color: var(--pm-text) !important;
}

.pm-policy-card ul {
    padding-left: 0;
    list-style: none;
}

.pm-policy-card ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.pm-policy-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pm-primary-light);
    border: 2px solid var(--pm-primary);
}

.pm-policy-card .pm-policy-toc {
    background: var(--pm-surface-3);
    border-radius: var(--pm-radius);
    padding: 24px 28px;
    margin-bottom: 2rem;
}

.pm-policy-card .pm-policy-toc h5 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: var(--pm-text-heading) !important;
}

.pm-policy-card .pm-policy-toc ol {
    columns: 2;
    column-gap: 2rem;
    padding-left: 20px;
    margin: 0;
}

.pm-policy-card .pm-policy-toc ol li {
    font-size: 0.88rem;
    color: var(--pm-primary);
    cursor: pointer;
    padding: 3px 0;
    break-inside: avoid;
    transition: color 0.2s;
}

.pm-policy-card .pm-policy-toc ol li:hover {
    color: var(--pm-primary-dark);
    text-decoration: underline;
}


/* ============================================
   SVG SERVICE ILLUSTRATION CONTAINERS
   ============================================ */
.pm-service-illustration {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 24px;
    border-radius: var(--pm-radius-lg);
    background: var(--pm-primary-light);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--pm-transition);
}

.pm-service-illustration svg {
    width: 100%;
    height: auto;
    max-height: 160px;
}

section .card:hover .pm-service-illustration {
    background: var(--pm-primary);
    transform: scale(1.02);
}

section .card:hover .pm-service-illustration svg .pm-svg-primary {
    fill: #fff;
}

section .card:hover .pm-service-illustration svg .pm-svg-secondary {
    fill: rgba(255,255,255,0.7);
}


/* ============================================
   DARK MODE
   ============================================ */
body.pm-dark-mode {
    --pm-surface: #121827;
    --pm-surface-2: #1a2035;
    --pm-surface-3: #1e2942;
    --pm-surface-card: #1a2035;
    --pm-text: #bfc9d9;
    --pm-text-heading: #e8ecf1;
    --pm-text-muted: #8896ab;
    --pm-border: #2a3650;
    --pm-gray-100: #1a2035;
    --pm-gray-200: #1e2942;
    --pm-gray-300: #2a3650;
    --pm-white: #121827;
    --pm-primary-light: rgba(14,111,173,0.15);
}

/* Body */
body.pm-dark-mode {
    background: var(--pm-surface) !important;
    color: var(--pm-text) !important;
}

/* Typography */
body.pm-dark-mode h1,
body.pm-dark-mode h2,
body.pm-dark-mode h3,
body.pm-dark-mode h4,
body.pm-dark-mode h5,
body.pm-dark-mode h6 {
    color: var(--pm-text-heading) !important;
}

body.pm-dark-mode p {
    color: var(--pm-text-muted) !important;
}

/* Header - scrolled header is already dark, minimal overrides needed */
body.pm-dark-mode #header.scrolled nav.navbar,
body.pm-dark-mode #header nav.navbar.scrolled {
    background: rgba(10,15,28,0.97) !important;
    box-shadow: 0 1px 30px rgba(0,0,0,0.4) !important;
}

/* Sections */
body.pm-dark-mode section.section-1 {
    background: var(--pm-surface) !important;
}

body.pm-dark-mode section.section-2 {
    background: var(--pm-surface-2) !important;
}

body.pm-dark-mode section.section-5 {
    background: var(--pm-surface-2) !important;
}

body.pm-dark-mode section.section-6x {
    background: var(--pm-surface) !important;
}

/* Subtle background patterns in dark mode */
body.pm-dark-mode section.section-1::before {
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    opacity: 1;
}

body.pm-dark-mode section.section-2::before {
    background: radial-gradient(circle, rgba(14,111,173,0.08) 0%, transparent 70%);
}

body.pm-dark-mode section.section-2::after {
    background: radial-gradient(circle, rgba(24,186,96,0.06) 0%, transparent 70%);
}

/* Cards */
body.pm-dark-mode section .card {
    background: var(--pm-surface-card) !important;
    border-color: var(--pm-border) !important;
}

body.pm-dark-mode section .card h4,
body.pm-dark-mode section .card h5 {
    color: var(--pm-text-heading) !important;
}

body.pm-dark-mode section .card p {
    color: var(--pm-text-muted) !important;
}

body.pm-dark-mode section .card:hover {
    border-color: var(--pm-primary) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
}

body.pm-dark-mode section .card.no-hover {
    background: var(--pm-surface-3) !important;
}

body.pm-dark-mode section .card.no-hover:hover {
    background: var(--pm-surface-card) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3) !important;
}

/* Stats bar */
body.pm-dark-mode .pm-stats-section .row[style] {
    background: var(--pm-surface-card) !important;
}

body.pm-dark-mode .pm-stat-label {
    color: var(--pm-text-muted) !important;
}

/* Forms */
body.pm-dark-mode section.form .form-control {
    background: var(--pm-surface-3) !important;
    border-color: var(--pm-border) !important;
    color: var(--pm-text) !important;
}

body.pm-dark-mode section.form .form-control:focus {
    border-color: var(--pm-primary) !important;
    background: var(--pm-surface-2) !important;
}

body.pm-dark-mode section.form .form-control::placeholder {
    color: var(--pm-text-muted) !important;
}

/* .pm-subtitle in dark mode */
body.pm-dark-mode .pm-subtitle {
    background: var(--pm-primary-light);
    color: var(--pm-primary);
}

/* .intro text */
body.pm-dark-mode section .intro h2.featured,
body.pm-dark-mode section .intro h2.featured.alt {
    color: var(--pm-text-heading) !important;
}

/* Form page headings */
body.pm-dark-mode section.form .intro h2 {
    color: var(--pm-text-heading) !important;
}

/* Single/About page headings */
body.pm-dark-mode section.single main h2 {
    color: var(--pm-text-heading) !important;
}

/* Highlights / About */
body.pm-dark-mode section.highlights .items .item h4 {
    color: var(--pm-text-heading) !important;
}

body.pm-dark-mode section.highlights .items .item p {
    color: var(--pm-text-muted) !important;
}

body.pm-dark-mode .pm-about-illustration {
    background: var(--pm-surface-2) !important;
}

body.pm-dark-mode section.highlights .items .item .icon {
    background: rgba(14,111,173,0.15);
}

/* Sidebar widget services - dark mode */
body.pm-dark-mode .widget-services {
    background: var(--pm-surface-2);
}

body.pm-dark-mode .widget-services .list-group-item:hover {
    background: var(--pm-surface-3) !important;
}

body.pm-dark-mode .widget-services .list-group-item h5 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Portfolio */
body.pm-dark-mode section.portfolio .btn-group {
    background: var(--pm-surface-3);
}

body.pm-dark-mode section.portfolio .btn-group .btn {
    color: var(--pm-text-muted) !important;
}

body.pm-dark-mode section.portfolio .filter-items .card {
    background: var(--pm-surface-card) !important;
}

body.pm-dark-mode section.portfolio .filter-items .card-footer {
    border-top-color: var(--pm-border) !important;
}

/* Footer - keep dark in both modes */
body.pm-dark-mode footer {
    background: #0a0f1c !important;
}

body.pm-dark-mode footer section#footer {
    background: #0a0f1c !important;
}

/* Copyright */
body.pm-dark-mode section#copyright {
    background: rgba(0,0,0,0.4) !important;
}

/* Modals */
body.pm-dark-mode #menu .modal-content {
    background: var(--pm-surface) !important;
}

body.pm-dark-mode #menu .nav-link {
    color: var(--pm-text-muted) !important;
}

/* Map */
body.pm-dark-mode #map {
    filter: brightness(0.85) contrast(1.1);
}

/* Page header - keep gradient look */
body.pm-dark-mode .pm-page-header {
    background: linear-gradient(135deg, #0a0f1c 0%, #0e3a5e 100%);
}

/* Contact info cards dark mode */
body.pm-dark-mode .pm-contact-card {
    background: var(--pm-surface-card) !important;
}

body.pm-dark-mode .pm-contact-card h4 {
    color: var(--pm-text-heading) !important;
}

body.pm-dark-mode .pm-contact-card p,
body.pm-dark-mode .pm-contact-card a {
    color: var(--pm-text-muted) !important;
}

/* Hero clip-path bottom */
body.pm-dark-mode #slider.hero::after {
    background: var(--pm-surface) !important;
}

/* Select / dropdown in dark mode */
body.pm-dark-mode select.form-control option {
    background: var(--pm-surface-2);
    color: var(--pm-text);
}

/* Privacy policy card */
body.pm-dark-mode .pm-policy-card {
    background: var(--pm-surface-card) !important;
    color: var(--pm-text) !important;
}

body.pm-dark-mode .pm-policy-card .pm-policy-toc {
    background: var(--pm-surface-3) !important;
}

body.pm-dark-mode .pm-policy-card .pm-policy-section {
    border-left-color: var(--pm-primary-light);
}

body.pm-dark-mode .pm-policy-card .pm-policy-section:hover {
    border-left-color: var(--pm-primary);
}

body.pm-dark-mode .pm-policy-card address {
    background: var(--pm-surface-3) !important;
}

/* Service illustration cards */
body.pm-dark-mode .pm-service-illustration {
    background: var(--pm-primary-light);
}

/* CTA section in dark mode  */
body.pm-dark-mode section.section-3 {
    background: #080d19 !important;
}

/* Transition for smooth dark mode switch */
body, body * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
