/**
* Template Name: EasyFolio
* Template URL: https://bootstrapmade.com/easyfolio-bootstrap-portfolio-template/
* Updated: Feb 21 2025 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

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

/* Font Weights */
:root {
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

/* Font Sizes */
:root {
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-xxl: 1.5rem;
}
/* Font Line Heights */
:root {
  --line-height-xs: 1.2;
  --line-height-sm: 1.4;
  --line-height-base: 1.6;
  --line-height-lg: 1.8;
  --line-height-xl: 2;
  --line-height-xxl: 2.4;
}
/* Font Sizes */
:root {
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-xxl: 1.5rem;
}

/* Global Colors - Elevated Brand Palette */
:root {
  --background-color: #F6F7F9;         /* Soft cool off-white */
  --default-color: #2B2D2F;            /* Cool dark graphite for body text */
  --heading-color: #0F172A;            /* Deep slate/navy for strong headings */
  --accent-color: #C2925B;             /* Muted bronze-gold (classy & premium) */
  --accent-secondary: #5DA9E9;         /* Soft desaturated blue for contrast */
  --surface-color: #FFFFFF;            /* Clean white for cards */
  --contrast-color: #FFFFFF;           /* Text on dark/accent areas */
  --border-color: #D6D9E0;             /* Light cool gray for subtle borders */
  --muted-text-color: #7D828A;         /* Muted cool gray for hints/labels */
}




/* Nav Menu Colors */
:root {
  --nav-color: #2E2E2E;
  --nav-hover-color: #C2925B;  
  --nav-mobile-background-color: #FFFFFF;
  --nav-dropdown-background-color: #FFFFFF;
  --nav-dropdown-color: #2E2E2E;
  --nav-dropdown-hover-color: #C2925B;  
}

/* Section Presets */
.light-background {
  --background-color: #F8F6F2;
  --surface-color: #FFFFFF;
  --default-color: #2E2E2E;
  --heading-color: #1A2530;
}


.dark-background {
  --background-color: #121212;
  --default-color: #FFFFFF;
  --heading-color: #FFFFFF;
  --surface-color: #1E1E1E;
  --contrast-color: #FFFFFF;
  --muted-text-color: #B0B0B0;
}

/* Optional Thematic Presets */
.primary-accent-background {
  --background-color: #C2925B;  
  --default-color: #FFFFFF;
  --heading-color: #FFFFFF;
  --surface-color: #C2925B;  
  --contrast-color: #FFFFFF;
}

.secondary-accent-background {
  --background-color: #00A8E8;
  --default-color: #FFFFFF;
  --heading-color: #FFFFFF;
  --surface-color: #00A8E8;
  --contrast-color: #FFFFFF;
}

.btn.btn-primary:hover {
  background-color: var(--accent-secondary) !important;
}
.text-success {
  color: var(--accent-secondary) !important;
}


/* ============================
   Paragraph Overrides (Safe Force)
   ============================ */

body p,
.main p,
.content p {
  font-family: var(--default-font) !important;
  font-size: var(--font-size-base) !important;   /* 16px */
  line-height: var(--line-height-base) !important; /* 1.6 */
  color: var(--default-color) !important;
  margin-bottom: 1rem !important;
}

em {
  font-size: 1rem !important; 
  font-style: italic;
  color: var(--muted-text-color);
}

/* Lead paragraph – slightly larger */
p.lead,
.hero p.lead {
  font-size: 1.0625rem !important;   /* 17px */
  line-height: 1.75 !important;
  color: var(--heading-color) !important;
  font-weight: var(--font-weight-normal) !important;
  margin-bottom: 1.5rem !important;
}

/* Supporting / small text */

p.mb-0 {
  font-size: 0.9375rem !important;  /* 15px */
  line-height: 1.5 !important;
  color: var(--muted-text-color) !important;
  margin-bottom: 0.75rem !important;
}


/* Scoped FAQ Heading Style */
.faq-item h3 {
  font-size: 1.125rem !important;  /* ~18px */
  line-height: 1.4 !important;
  font-weight: var(--font-weight-semibold) !important; /* 600 */
  margin-bottom: 0.5rem !important;
  color: var(--heading-color) !important;
  cursor: pointer; /* if clickable */
}

/* ============================
   Icon Styling (Unified Brand)
   ============================ */

/* Default: All icons use brand accent */
.icon,
i.bi {
  color: var(--accent-color) !important;  /* bronze-gold */
  font-size: 2rem;  /* consistent sizing, can adjust */
  line-height: 1;
  display: inline-block;
}

/* Optional: use accent secondary (blue) when needed */
.icon-secondary {
  color: var(--accent-secondary) !important; 
}

/* Size utilities for variation */
.icon-sm { font-size: 1.25rem; }
.icon-md { font-size: 1.75rem; }
.icon-lg { font-size: 2.5rem; }




/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}
/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--surface-color);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}
::-webkit-scrollbar-thumb:active {
  background: var(--accent-color);
}
::-webkit-scrollbar-corner {
  background: var(--surface-color);
}
::-webkit-scrollbar-button {
  background: var(--surface-color);
}
::-webkit-scrollbar-button:vertical:decrement {
  background: var(--surface-color);
}

/* ===========================
   HIREABALA PREMIUM SPINNER
   =========================== */

/* Overlay */
.ha-spinner-overlay {
  position: fixed;
  inset: 0;
  background: var(--background-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

/* Hidden state */
.ha-spinner-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

/* Spinner Container */
.ha-spinner-container {
  position: relative;
  width: 80px;
  height: 80px;
}

/* Rings */
.ha-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid transparent;
  animation: rotate 1.35s linear infinite;
}

/* Ring Colors using brand palette */
.ha-ring-1 {
  border-top-color: var(--accent-color);       /* Gold/Bronze */
  animation-duration: 1.4s;
}

.ha-ring-2 {
  border-right-color: var(--accent-secondary); /* Soft Blue */
  animation-duration: 1.1s;
}

.ha-ring-3 {
  border-bottom-color: var(--heading-color);   /* Deep Slate */
  animation-duration: 1.8s;
}

/* Spinner rotation */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Text */
.ha-spinner-text {
  margin-top: 1.5rem;
  font-family: var(--nav-font);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--heading-color);
  letter-spacing: 0.5px;
  animation: textPulse 1.8s ease-in-out infinite;
}

/* Text glow / pulse */
@keyframes textPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}


/*--------------------------------------------------------------
# Thank You Page (Clean Premium Styling)
--------------------------------------------------------------*/
.thank-you-page .thank-you {
  text-align: center;
  background-color: var(--background-color);
  color: var(--default-color);
  padding: 4rem 1rem 2rem; /* less padding so content sits higher */
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out;
}

/* Header */
.thank-you-page h1 {
  font-family: var(--heading-font);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xxl);
  color: var(--heading-color);
  margin-bottom: 1rem;
  animation: fadeDown 0.8s ease-out;
}

.thank-you-page p {
  font-family: var(--default-font);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-base);
  color: var(--muted-text-color);
  margin-bottom: 2rem;
  animation: fadeIn 1s ease-out;
}

/* Buttons */
.thank-you-page .btn {
  transition: all 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}
.thank-you-page .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Button Variants */
.thank-you-page .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}
.thank-you-page .btn-primary:hover {
  background-color: var(--accent-secondary);
  border-color: var(--accent-secondary);
}

.thank-you-page .btn-success {
  background-color: var(--accent-secondary);
  border-color: var(--accent-secondary);
  color: var(--contrast-color);
}
.thank-you-page .btn-success:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.thank-you-page .btn-outline-primary {
  border: 2px solid var(--accent-secondary);
  color: var(--accent-secondary);
}
.thank-you-page .btn-outline-primary:hover {
  background-color: var(--accent-secondary);
  color: var(--contrast-color);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body * {
  box-sizing: border-box;
}

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

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}
/* ========================
   Responsive Heading Scale (Forced Override - Fixed Hierarchy)
   ======================== */

h1, .h1 {
  font-family: var(--heading-font) !important;
  font-size: clamp(2rem, 5vw, 2.75rem) !important;   /* 32px → 44px */
  line-height: 1.2 !important;
  font-weight: var(--font-weight-bold) !important;   /* 700 */
  color: var(--heading-color) !important;
  margin-bottom: 1rem !important;
}

h2, .h2 {
  font-family: var(--heading-font) !important;
  font-size: clamp(2rem) !important;   /* 28px → 32px */
  line-height: 1.3 !important;
  font-weight: var(--font-weight-semibold) !important;  /* 600 */
  color: var(--heading-color) !important;
  margin-bottom: 0.75rem !important;
}

h3, .h3 {
  font-family: var(--heading-font) !important;
  font-size: clamp(1.375rem, 2.5vw, 1.5rem) !important; /* 22px → 24px */
  line-height: 1.4 !important;
  font-weight: var(--font-weight-semibold) !important;  /* 600 */
  color: var(--heading-color) !important;
  margin-bottom: 0.5rem !important;
}

h4, .h4 {
  font-family: var(--heading-font) !important;
  font-size: 1.25rem !important;   /* 20px */
  line-height: 1.4 !important;
  font-weight: var(--font-weight-semibold) !important;   /* 500 */
  color: var(--heading-color) !important;
  margin-bottom: 0.5rem !important;
}

h5, .h5 {
  font-family: var(--heading-font) !important;
  font-size: 1.125rem !important;  /* 18px */
  line-height: 1.5 !important;
  font-weight: var(--font-weight-medium) !important;   /* 500 */
  color: var(--heading-color) !important;
  margin-bottom: 0.5rem !important;
}

h6, .h6 {
  font-family: var(--heading-font) !important;
  font-size: 1rem !important;      /* 16px */
  line-height: 1.5 !important;
  font-weight: var(--font-weight-medium) !important;   /* 500 */
  color: var(--heading-color) !important;
  margin-bottom: 0.5rem !important;
}



/* === Custom Progress Bar Colors (Brand Palette) === */
.progress-bar.bg-accent {
  background-color: var(--accent-color) !important;
}

.progress-bar.bg-accent-secondary {
  background-color: var(--accent-secondary) !important;
}

.progress-bar.bg-heading {
  background-color: var(--heading-color) !important;
}

.progress-bar.bg-default {
  background-color: var(--default-color) !important;
}

/* === Base Progress Bar Styling === */
.progress {
  background-color: #e6e8eb; /* subtle contrast, or use var(--border-color) */
  border-radius: 8px !important;
  height: 8px !important;
  overflow: hidden;
  margin-top: 0.5rem;
  position: relative;
}

/* === Filled Portion Styling === */
.progress-bar {
  height: 100%;
  border-radius: 8px;
  transition: width 0.8s ease;
  position: relative;
}

/* === Hide visible text inside the bar */
.progress-bar::after {
  content: attr(data-tooltip);  /* Pull tooltip from data attribute */
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--default-color);
  color: var(--contrast-color);
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 4px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

/* === Show tooltip on hover */
.progress-bar:hover::after {
  opacity: 1;
}

/*--------------------------------------------------------------
# PHP Email Form Messages
--------------------------------------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: var(--contrast-color);
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-left: 4px solid #a7111f;
  border-radius: 4px;
}

.php-email-form .sent-message {
  display: none;
  color: var(--contrast-color);
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-left: 4px solid #047b43;
  border-radius: 4px;
}

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

.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 ease;
  z-index: 997;
  position: sticky;
  top: 0;
}

.header .header-container {
  background: var(--surface-color);
  border-radius: 50px;
  padding: 5px 25px;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo {
  line-height: 1;
  display: flex;
  align-items: center;
}

.header .logo img {
  height: 60px;        /* Bigger, clearer logo */
  width: auto;         /* Keep proportions */
  max-height: 70px;    /* Safety cap */
  margin-right: 8px;   /* Space from nav if text used */
  object-fit: contain;
}

.header .logo h1 {
  font-size: 1.5rem;   /* ~24px */
  margin: 0;
  padding-left: 5px;
  font-weight: 500;
  color: var(--heading-color);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .header .logo img {
    height: 48px;   /* Scale down for smaller screens */
  }
}


.header .header-social-links {
  padding-right: 15px;
  display: flex;
  align-items: center;
}

.header .header-social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding-left: 10px;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
  font-size: 18px;
}

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

.header .header-social-links a i {
  line-height: 0px;
}

@media (max-width: 1200px) {
  .header {
    padding-top: 10px;
  }

  .header .header-container {
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px 15px;
    flex-direction: column;
    align-items: flex-start;
  }

  .header .logo {
    order: 1;
    margin-bottom: 10px;
  }

  .header .header-social-links {
    order: 2;
    margin-bottom: 10px;
  }

  .header .navmenu {
    order: 3;
    width: 100%;
  }
}

/* Logo Image Styling *//* Navbar logo sizing */
/* ===========================
   Logo: forced sizing & spacing
   =========================== */

.logo,
header .logo,
.navbar .logo {
  display: flex;
  align-items: center;
  min-height: 72px;        /* let the navbar have room */
}

.logo-img,
header .logo-img,
.navbar .logo-img {
  display: block !important;
  height: 70px !important;    /* change this value as needed */
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
}
@media (max-width: 768px) {
  .logo-img { height: 48px !important; } /* scale down on tablets/phones */
}

/* ======================
   Navmenu Hover Lift Effect
   ====================== */
.navmenu a {
  position: relative;
  color: var(--nav-color);
  transition: all 0.3s ease;
}

/* Lift + subtle glow on hover/active */
.navmenu a:hover,
.navmenu .active {
  color: var(--accent-color);
  transform: translateY(-2px);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Underline animation */
.navmenu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.navmenu a:hover::after,
.navmenu .active::after {
  width: 100%;
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

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

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

  .navmenu li {
    position: relative;
  }

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

  .navmenu a i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease, color 0.3s ease;
  }

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

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

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

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

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

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

  /* Nested dropdowns */
  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, left 0.3s ease;
  }

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


/* ======================
   Mobile Navigation
   ====================== */
@media (max-width: 1199px) {
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
  }

  /* Hamburger */
  .mobile-nav-toggle {
    font-size: 28px;
    cursor: pointer;
    color: var(--nav-color);
    background: none;
    border: none;
    line-height: 1;
    z-index: 9999;
    order: 0;
  }

  /* Logo aligned right */
  .logo {
    order: 1;
    margin-left: auto;
  }

  /* Nav container */
  .navmenu {
    display: none;
    z-index: 9997;
  }

  .mobile-nav-active .navmenu {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(33, 37, 41, 0.95);
    padding-top: 60px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
  }

  /* Nav links */
  .navmenu ul {
    list-style: none;
    padding: 10px 0;
    margin: 0 20px;
    border-radius: 6px;
    background: var(--nav-mobile-background-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  }

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

  /* Mobile hover/active matches premium lift */
  .navmenu a:hover,
  .navmenu .active {
    color: var(--nav-dropdown-hover-color);
    transform: translateY(-2px);
  }

  /* Dropdowns */
  .navmenu .dropdown ul {
    display: none;
    margin: 0 20px;
    padding: 8px 0;
    background: var(--nav-dropdown-background-color);
    border-radius: 6px;
    transition: max-height 0.4s ease;
    overflow: hidden;
  }

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

  /* Active hamburger */
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    font-size: 32px;
    position: absolute;
    top: 15px;
    right: 15px;
  }
}

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

/*--------------------------------------------------------------
# Global Footer - Brand-Aligned Enhanced Version
--------------------------------------------------------------*/

.footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 60px 40px;
  background-color: var(--background-color);
  color: var(--default-color);
  font-family: var(--default-font);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

/* Branding / Description Block */
.footer .footer-branding {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Footer Links */
.footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer .footer-links a {
  text-decoration: none;
  color: var(--muted-text-color);
  transition: color 0.3s ease;
}

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

/* Social Media Icons */
.footer .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* -----------------------------------
   Social Links Icons Styling
--------------------------------------*/

/* Target icons inside .social-links */
.social-links i {
  font-size: 1.2rem;      /* Icon size: 1.2rem (~19.2px), adjust as needed */
  line-height: 1;         /* Tight line height for proper vertical alignment */
}

/* Remove margin from links to avoid layout issues */
.social-links a {
  margin: 0;              /* Reset margin to avoid extra spacing */
}

/* Container flex settings to keep icons in one line */
.social-links {
  display: flex;          /* Use flexbox for layout */
  flex-wrap: nowrap;      /* Prevent icons from wrapping to next line */
  justify-content: center;/* Center icons horizontally */
  gap: 0.6rem;            /* Space between icons */
  overflow: visible;      /* Prevent horizontal scrollbar */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .social-links i {
    font-size: 1rem;      /* Slightly smaller icons on mobile (~16px) */
  }
  .social-links {
    gap: 0.4rem;          /* Reduce spacing on mobile */
  }
}



.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  transition: all 0.3s ease;
  font-size: 16px;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Copyright */
.footer .copyright {
  text-align: center;
  font-size: 13px;
  color: var(--background-color);
  margin-top: 30px;
}

/* Credits */
.footer .credits {
  text-align: center;
  font-size: 13px;
  color: var(--background-color);
  margin-top: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer .social-links {
    justify-content: center;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .footer {
    background-color: #121212;
    color: #FFFFFF;
  }

  .footer .footer-links a {
    color: var(--muted-text-color);
  }

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

  .footer .social-links a {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
  }

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

  .footer .copyright,
  .footer .credits {
    color: var(--muted-text-color);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button – Enhanced
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  bottom: -20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  visibility: hidden;
  opacity: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  cursor: pointer;
  position: fixed;
}

/* Label styling */
.scroll-top .scroll-top-label {
  position: absolute;
  right: 60px;       /* position label left of button */
  bottom: 50%;
  transform: translateY(50%) translateX(10px);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10002;
}

/* Reveal label on hover/focus */
.scroll-top:hover .scroll-top-label,
.scroll-top:focus .scroll-top-label {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(50%) translateX(0);
}

/* Icon styling */
.scroll-top i {
  font-size: 22px;
  line-height: 0;
  transition: transform 0.3s ease;
  color: #ffffff !important; /* Force white arrow */
}

/* Hover Effects */
.scroll-top:hover {
  background-color: var(--accent-secondary) !important; /* Changed from color-mix to direct var */
}

.scroll-top:hover i {
  transform: translateY(-2px);
}

/* Show on Scroll */
.scroll-top.active {
  bottom: 20px;
  opacity: 1;
  visibility: visible;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .scroll-top {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

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

/* Hide label on small screens */
@media (max-width: 768px) {
  .scroll-top .scroll-top-label {
    display: none;
  }
}

/*--------------------------------------------------------------
# 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 {
  text-align: center;
  padding: 20px 0;
}

.page-title .breadcrumbs {
  margin-bottom: 1.5rem;
}

.page-title .breadcrumbs .breadcrumb {
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a:hover {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a i {
  font-size: 0.9rem;
  margin-right: 0.2rem;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title .title-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.page-title .title-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--heading-color);
}

.page-title .title-wrapper p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-title .title-wrapper h1 {
    font-size: 2rem;
  }

  .page-title .title-wrapper p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .page-title .title-wrapper h1 {
    font-size: 1.75rem;
  }
}

/* Main headline styling */
.display-4 {
  font-family: var(--heading-font);         /* Use brand heading font */
  font-weight: var(--font-weight-bold);     /* Bold weight for strong impact */
  font-size: 2.5rem;                         /* Large font size for hero */
  line-height: 1.3; /* tighter line height for less vertical space */
  color: var(--heading-color);               /* Deep slate/navy heading color */
  max-width: 700px;                          /* Limit line length for easy reading */
  margin-bottom: 1rem;                       /* Space below the heading */
}

/* Typing effect text within headline */
.typing-headline {
  font-weight: var(--font-weight-semibold); /* Slightly lighter than main heading */
  color: var(--accent-color);               /* Bronze-gold accent color */
  border-right: 2px solid var(--accent-color); /* Blinking cursor on right */
  padding-right: 6px;                        /* Space between text and cursor */
  display: inline;                          /* Allow wrapping with surrounding text */
  animation: blink-caret 1.2s steps(1) infinite; /* Blinking caret animation */
}

/* Animation for blinking typing caret */
@keyframes blink-caret {
  0%, 100% {
    border-color: transparent;              /* Hide cursor */
  }
  50% {
    border-color: var(--accent-color);      /* Show cursor */
  }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
  .display-4 {
    font-size: 1.8rem;                       /* Smaller font on mobile */
    max-width: 100%;                         /* Full width on small screens */
  }
}



/* ===== Modal Overlay Background ===== */
.portfolio-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999; /* High z-index to ensure it's above everything */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75); /* Slightly darker overlay */
  overflow-y: auto;
  padding: 2rem;
}

/* ===== Modal Content Container ===== */
.portfolio-modal-content {
  background-color: #ffffff;
  margin: auto;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 640px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: fadeInScale 0.3s ease-out;
}

/* ===== Close Button ===== */
.portfolio-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}
.portfolio-modal-close:hover {
  color: var(--accent-color, #e63946); /* fallback if variable not set */
}

/* ===== Image Styling ===== */
.portfolio-modal-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 1rem;
}

/* ===== Modal Heading ===== */
.portfolio-modal-content h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--heading-color, #111); /* fallback if variable not set */
}

/* ===== Modal Paragraph ===== */
.portfolio-modal-content p {
  font-size: 1rem;
  color: var(--default-color, #444); /* fallback */
  line-height: 1.7;
}

/* ===== Animation for Modal Entry ===== */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/*--------------------------------------------------------------
# Global Sections - Optimized (Tighter Spacing)
--------------------------------------------------------------*/

/* 1) Base rule for all <section> and .section elements */
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 35px 0 !important;       /* Force 35px top/bottom everywhere */
  scroll-margin-top: 90px;
  overflow: clip;
  position: relative;
}

/* 2) Specific overrides for any ID’d sections */
section#about,
section#services,
section#expertise,
section#experience,      /* your resume section */
section#portfolio-details {
  padding: 35px 0 !important;       /* Override any 80px or .py-12 */
}

/* 3) Class‐only sections (if not using <section> tag) */
.about,
.services,
.expertise,
.resume.section,
.portfolio-details {
  padding: 35px 0 !important;
}

/* 4) Reset common utility classes that add vertical padding */
.py-12,
.pt-5,
.pb-5 {
  padding-top: 35px !important;
  padding-bottom: 35px !important;
}


@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
    padding: 25px 0;
  }
}




/*--------------------------------------------------------------
# Global Section Titles - Enhanced (Tighter Titles)
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 30px; /* Further reduced padding */
  position: relative;
}

.section-title h2 {
  font-size: 44px;
  font-family: var(--heading-font);
  font-weight: 700;
  margin-bottom: 8px; /* Reduced margin */
  line-height: 1.2;
  background: linear-gradient(120deg, var(--heading-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title .title-shape {
  width: 180px;
  height: 20px;
  margin: 0 auto;
  color: var(--accent-color);
  opacity: 0.5;
}

.section-title .title-shape svg {
  width: 100%;
  height: 100%;
}

.section-title p {
  margin: 12px auto 0; /* Tighter spacing */
  font-size: 17px;
  max-width: 700px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.6;
  font-family: var(--default-font);
}

/* Optional Subtitle */
.section-title .subtitle-wrapper .subtitle {
  font-size: 14px;
  color: var(--muted-text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
}

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

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

  .section-title .subtitle-wrapper .subtitle {
    font-size: 13px;
  }
}
@media (max-width: 576px) {
  .section-title h2 {
    font-size: 28px;
  }

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

  .section-title .subtitle-wrapper .subtitle {
    font-size: 12px;
  }
}
/*--------------------------------------------------------------
# Hero Section – Polished Consistency
--------------------------------------------------------------*/
.hero {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: var(--light-background, #F8F6F2); /* matches other sections */
}

.hero .content h2 {
  font-size: 3.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

@media (max-width: 991px) {
  .hero .content h2 {
    font-size: 2.5rem;
  }
}

.hero .content .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%); /* improved contrast */
}

/* CTA Buttons */
.hero .cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (max-width: 576px) {
  .hero .cta-buttons {
    flex-direction: column;
  }
}

.hero .cta-buttons .btn {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px; /* matches case-box and cards */
  transition: all 0.3s ease;
}

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

.btn.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

.btn.btn-outline {
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--accent-color);
  background: transparent;
}

.hero .cta-buttons .btn.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

/* Hero Stats – styled like case cards */
.hero .hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.hero .hero-stats .stat-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.hero .hero-stats .stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.hero .hero-stats .stat-number {
  display: block;
  font-size: 2.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--heading-color);
}

.hero .hero-stats .stat-label {
  font-size: 0.9rem;
  color: var(--muted-text-color);
  margin-top: 0.5rem;
  display: block;
}

@media (max-width: 576px) {
  .hero .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Hero Image + Shapes */
.hero .hero-image {
  position: relative;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.hero .hero-image img {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 100%;
  height: auto;
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

/* Blob Shapes */
.hero .hero-image .shape-1,
.hero .hero-image .shape-2 {
  position: absolute;
  z-index: 1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.6;
  filter: blur(4px);
  transform: translateZ(0);
  transition: opacity 0.3s ease;
}

.hero .hero-image .shape-1 {
  width: 280px;
  height: 280px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 82%);
  top: -30px;
  right: -30px;
  animation: morphShape 15s ease-in-out infinite;
}

.hero .hero-image .shape-2 {
  width: 220px;
  height: 220px;
  background-color: color-mix(in srgb, var(--accent-secondary), transparent 82%);
  bottom: -60px;
  left: -40px;
  animation: morphShape 20s ease-in-out infinite reverse;
}

/* Mobile simplification */
@media (max-width: 991px) {
  .hero {
    text-align: center;
    padding: 60px 1rem;
  }

  .hero .cta-buttons,
  .hero .hero-stats {
    justify-content: center;
  }

  .hero .hero-image {
    margin-top: 3rem;
    padding: 1rem;
  }

  .hero .hero-image img {
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  }

  .hero .hero-image .shape-1,
  .hero .hero-image .shape-2 {
    display: none;
  }
}

/* Shape animation */
@keyframes morphShape {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: scale(1); }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; transform: scale(1.02); }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: scale(1.04); }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; transform: scale(1.02); }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: scale(1); }
}
/*--------------------------------------------------------------
# About Section – Refined Style (Aligned with Case Studies & Why Hire Me)
--------------------------------------------------------------*/
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 80px 0;
}

.about .about-image {
  flex: 1;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.about .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.about .about-content {
  flex: 1;
  padding-left: 2.5rem;
}

@media (max-width: 991.98px) {
  .about {
    flex-direction: column;
    text-align: center;
  }

  .about .about-content {
    padding-left: 0;
    margin-top: 2.5rem;
  }

  .about .about-content h2 {
    font-size: 1.75rem;
  }

  .about .about-content .lead {
    font-size: 1rem;
  }
}

.about .about-content .subtitle {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1rem;
  display: inline-block;
}

.about .about-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.about .about-content .lead {
  font-size: 1.125rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.8;
  max-width: 600px;
}

/* Personal Info Card – now styled like case-box / service-item */
.about .personal-info {
  margin-top: 2.5rem;
  padding: 2rem;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: left;
  transition: all 0.3s ease;
}

.about .personal-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.about .personal-info .info-item {
  display: flex;
  flex-direction: column;
}

.about .personal-info .info-item .label {
  font-size: 0.85rem;
  color: var(--muted-text-color);
  margin-bottom: 0.25rem;
}

.about .personal-info .info-item .value {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 1rem;
}

/* Signature (Optional) */
.about .signature .signature-image {
  max-width: 130px;
  flex-shrink: 0;
}

.about .signature .signature-info h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--heading-color);
}

.about .signature .signature-info p {
  font-size: 0.875rem;
  color: var(--muted-text-color);
  margin: 0;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .skill-box {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}
.skill-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 transparent;
}
.skill-box.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}


.skills .skill-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.skills .skill-box p {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  opacity: 0.6;
}

.skills .skill-box .progress {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 50px;
  height: 8px;
  margin-top: 5px;
  overflow: hidden;
}

.skills .skill-box .progress .progress-bar {
  background-color: var(--accent-color);
  height: 100%;
  position: relative;
  border-radius: 50px;
  transition: 0.9s;
  width: 1px;
}
.skills .skill-box .progress .progress-bar::after {
  content: attr(data-value);
  position: absolute;
  right: 0;
  top: -20px;
  font-size: 0.8rem;
  color: var(--heading-color);
}
.skills .skill-box .progress .progress-bar::before {
  content: attr(data-value);
  position: absolute;
  left: 0;
  top: -20px;
  font-size: 0.8rem;
  color: var(--heading-color);
}


/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-wrapper .resume-block {
  margin-bottom: 3rem;
}

.resume .resume-wrapper .resume-block:last-child {
  margin-bottom: 0;
}

.resume .resume-wrapper .resume-block h2 {
  font-size: 1.9rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.resume .resume-wrapper .resume-block h2 span {
  color: var(--accent-color);
}

.resume .resume-wrapper .resume-block .lead {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 3rem;
}

.resume .resume-wrapper .timeline {
  position: relative;
}

.resume .resume-wrapper .timeline::before {
  content: "";
  position: absolute;
  left: 20%;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
}

.resume .resume-wrapper .timeline .timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
}

.resume .resume-wrapper .timeline .timeline-item:last-child {
  margin-bottom: 0;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-left {
  width: 20%;
  padding-right: 3rem;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-left .company {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-left .period {
  color: var(--accent-color);
  font-size: 1rem;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-dot {
  position: absolute;
  left: calc(20% + 1px);
  transform: translateX(-50%);
  width: 1rem;
  height: 1rem;
  background-color: var(--accent-color);
  border-radius: 50%;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-right {
  width: 70%;
  padding-left: 3rem;
  margin-top: -4px;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-right .position {
  color: var(--heading-color);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-right .description {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.resume .resume-wrapper .timeline .timeline-item .timeline-right ul {
  padding-left: 15px;
}

.resume .resume-wrapper .timeline .timeline-item .timeline-right ul li {
  padding-bottom: 12px;
}

@media (max-width: 992px) {
  .resume .resume-wrapper .resume-block h2 {
    font-size: 2rem;
  }

  .resume .resume-wrapper .timeline::before {
    left: 1rem;
  }

  .resume .resume-wrapper .timeline .timeline-item {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .resume .resume-wrapper .timeline .timeline-item .timeline-left {
    width: 100%;
    text-align: left;
    padding-right: 0;
    padding-left: 2.5rem;
    margin-bottom: 1.6rem;
    margin-top: -4px;
  }

  .resume .resume-wrapper .timeline .timeline-item .timeline-dot {
    left: calc(1rem + 1px);
  }

  .resume .resume-wrapper .timeline .timeline-item .timeline-right {
    width: 100%;
    padding-left: 2.5rem;
  }
}

/*--------------------------------------------------------------
# Portfolio Section (Premium + Uniform Grid + Glow)
--------------------------------------------------------------*/
.portfolio {
  padding: 4rem 0;
  background: var(--light-background, #F9F8F6);
}

/* Filters */
.portfolio .portfolio-filters-container {
  margin-bottom: 40px;
}

.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.portfolio .portfolio-filters li {
  font-size: 15px;
  font-weight: 500;
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 30px;
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
  color: var(--default-color);
  transition: all 0.3s ease-in-out;
}

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

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

/* Portfolio Card */
.portfolio .portfolio-card {
  position: relative;
  background-color: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1),
              box-shadow 0.35s cubic-bezier(.2,.9,.3,1),
              border-color 0.28s ease;
  height: 100%; /* uniform grid */
  display: flex;
  flex-direction: column;
  z-index: 0;
}

/* Glow halo effect */
.portfolio .portfolio-card::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transform: scale(.98);
  transition: opacity 0.32s ease, transform 0.32s ease;
  background: radial-gradient(
    60% 60% at 50% 35%,
    rgba(194,146,91,0.12) 0%,
    rgba(93,169,233,0.04) 30%,
    transparent 60%
  );
  filter: blur(12px);
  pointer-events: none;
}

/* Hover + Focus state */
.portfolio .portfolio-card:hover,
.portfolio .portfolio-card:focus,
.portfolio .portfolio-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.portfolio .portfolio-card:hover::after,
.portfolio .portfolio-card:focus::after,
.portfolio .portfolio-card:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

/* Image wrapper - uniform ratio */
.portfolio .portfolio-card .portfolio-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  flex-shrink: 0;
}

.portfolio .portfolio-card .portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-in-out;
}

.portfolio .portfolio-card:hover .portfolio-image img {
  transform: scale(1.05);
}

/* Overlay */
.portfolio .portfolio-card .portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
}

.portfolio .portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  visibility: visible;
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions {
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
  display: flex;
  gap: 15px;
}

.portfolio .portfolio-card:hover .portfolio-overlay .portfolio-actions {
  transform: translateY(0);
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions a {
  width: 45px;
  height: 45px;
  background-color: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 20px;
  transition: all 0.3s ease;
}

.portfolio .portfolio-card .portfolio-overlay .portfolio-actions a:hover {
  background-color: var(--accent-secondary);
  color: var(--contrast-color);
  transform: scale(1.1);
}

/* Content */
.portfolio .portfolio-card .portfolio-content {
  flex-grow: 1;
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.portfolio .portfolio-card .portfolio-content .category {
  font-size: 14px;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}

.portfolio .portfolio-card .portfolio-content h3 {
  font-size: 20px;
  margin: 0 0 15px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.portfolio .portfolio-card .portfolio-content h3:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-card .portfolio-content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  line-height: 1.6;
  flex-grow: 1;
}

/* Icon consistency */
.portfolio .portfolio-card i {
  color: var(--accent-color);
  transition: color 0.3s ease, transform 0.3s ease;
}

.portfolio .portfolio-card:hover i {
  color: var(--accent-secondary);
  transform: translateY(-3px);
}

/* Accessibility: focus outline */
.portfolio .portfolio-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 80%);
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    padding: 6px 15px;
  }

  .portfolio .portfolio-card .portfolio-content {
    padding: 20px;
  }

  .portfolio .portfolio-card .portfolio-content h3 {
    font-size: 18px;
  }

  .portfolio .portfolio-card .portfolio-content p {
    font-size: 14px;
  }
}

/* =========================
   Expertise Section
   ========================= */
#expertise {
  padding: 4rem 0;
  background: var(--light-background, #F8F6F2);
}

/* Section Title */
#expertise .section-title h2 {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

#expertise .section-title p {
  font-size: 1rem;
  color: var(--muted-text-color);
  max-width: 700px;
  margin: 0 auto;
}

/* Skill Box (used for both expertise and certifications) */
.skill-box, 
.certification-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  text-align: center; /* ✅ Updated from 'left' to 'center' */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.skill-box:hover, 
.certification-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

/* Titles */
.skill-box h3,
.certification-card h3 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1rem;
  color: var(--heading-color);
}

/* Body Text */
.skill-box p,
.certification-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  color: var(--default-color);
}

.skill-box p strong,
.certification-card p strong {
  color: var(--heading-color);
}

/* Progress Bars (shared) */
.skill-box .progress,
.certification-card .progress {
  height: 6px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.skill-box .progress-bar,
.certification-card .progress-bar {
  height: 100%;
  transition: width 1s ease;
  border-radius: 4px;
}

/* Certifications Section (Static Grid Layout) */
.certifications {
  padding: 4rem 0;
  background: var(--light-background, #F9F8F6);
}

/* Section Title */
.certifications .section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.certifications .section-title h2 {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.certifications .section-title p {
  font-size: 1.05rem;
  color: var(--default-color);
  max-width: 600px;
  margin: 0 auto;
}

.certifications .title-shape svg {
  width: 200px;
  height: 20px;
  margin: 10px auto 20px;
  display: block;
  stroke: var(--accent-color);
}

/* Certification Grid Layout */
.certifications .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.certifications .col-md-6,
.certifications .col-lg-4 {
  flex: 1 1 300px;
}

/* Certification Image */
.certification-card img,
.skill-box .cert-icon {
  display: block;
  max-width: 100px;
  margin: 0 auto 20px;  /* ✅ Ensures icon is centered at all sizes */
  user-select: none;
}

/* Ribbon Label (optional) */
.certification-card .ribbon {
  position: absolute;
  top: 16px;
  left: -12px;
  background: var(--accent-color);
  color: #fff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  transform: rotate(-45deg);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Level Tag */
.certification-card .certification-level {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #777;
}

.certification-card .certification-level .level-label {
  font-weight: 500;
  margin-right: 6px;
}

.certification-card .certification-level .level-expert {
  color: var(--accent-color);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .skill-box,
  .certification-card {
    text-align: center;
    padding: 1.25rem;
  }

  .certification-card h3 {
    font-size: 1.25rem;
  }

  .certification-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .certifications .section-title h2 {
    font-size: 2rem;
  }

  .certification-card {
    padding: 1.25rem;
  }
}


/* =========================
   Case Studies Styling
   ========================= */
#case-studies {
  padding: 4rem 0;
  background: var(--light-background, #F8F6F2);
}

/* Section title */
#case-studies .section-title h2 {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

#case-studies .section-title p {
  font-size: 1rem;
  color: var(--muted-text-color);
  max-width: 700px;
  margin: 0 auto;
}

/* Case study box */
.case-box {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  text-align: left;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.case-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

/* Case study icon */
.case-box i {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 2.25rem;
  color: var(--accent-color);
}

/* Titles */
.case-box h4 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1rem;
  color: var(--heading-color);
}

/* Body text */
.case-box p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  color: var(--default-color);
}

.case-box p strong {
  color: var(--heading-color);
}

/* Divider between Problem / Approach / Result */
.case-box p + p {
  border-top: 1px solid var(--border-color);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

/* Result highlights (brand-consistent) */
.case-box p:last-child {
  font-weight: var(--font-weight-semibold);
  color: var(--accent-color);
}

/* Responsive grid fix */
@media (max-width: 768px) {
  .case-box {
    text-align: center;
    padding: 1.5rem;
  }
  .case-box h4 {
    font-size: 1.125rem;
  }
  .case-box p {
    font-size: 1rem;
  }
}
/* =========================
   Why Hire Me Styling
   ========================= */
#whyme {
  padding: 4rem 0;
  background: var(--surface-color); /* Contrast with case studies */
}

/* Section title */
#whyme .section-title h2 {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

#whyme .section-title p {
  font-size: 1rem;
  color: var(--muted-text-color);
  max-width: 700px;
  margin: 0 auto;
}

/* Service item box */
.service-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  text-align: center; /* ✅ Set to center always */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

/* Icons */
.service-item i {
  display: block;
  margin: 0 auto 1rem; /* ✅ Ensures icon is centered */
  font-size: 2rem;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.service-item:hover i {
  color: var(--accent-secondary); /* Subtle hover color shift */
}

/* Titles */
.service-item h4 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1rem;
  color: var(--heading-color);
}

/* Body text */
.service-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  color: var(--default-color);
}

.service-item p strong {
  color: var(--heading-color);
}

/* CTA button consistency */
#whyme .btn-primary {
  background: var(--accent-color);
  border: none;
  font-weight: var(--font-weight-semibold);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

#whyme .btn-primary:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
}

/* Responsive fix (can now be removed or simplified) */
@media (max-width: 768px) {
  .service-item {
    padding: 1.25rem;
  }
}

/* =========================
   Process Section Styling
   ========================= */
#process {
  padding: 4rem 0;
  background: var(--light-background, #F8F6F2);
}

/* Section title */
#process .section-title h2 {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}
#process .section-title p {
  font-size: 1rem;
  color: var(--muted-text-color);
  max-width: 700px;
  margin: 0 auto;
}

/* Timeline wrapper */
.resume-wrapper {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border-color);
  margin-top: 2rem;
}

/* Timeline items as premium cards */
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Step indicator (dot) */
.timeline-dot {
  position: absolute;
  left: -1.15rem;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  background: var(--accent-color);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(194,146,91,0.25);
}

/* Step number and label (left side meta) */
.timeline-left {
  margin-bottom: 0.75rem;
}
.timeline-left h4 {
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  color: var(--accent-color);
  margin: 0;
}
.timeline-left .period {
  font-size: 0.85rem;
  color: var(--muted-text-color);
}

/* Step content */
.timeline-right h3 {
  font-size: 1.2rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}
.timeline-right p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  color: var(--default-color);
}
.timeline-right em {
  font-size: 0.85rem;
  color: var(--muted-text-color);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .resume-wrapper {
    padding-left: 1rem;
    border-left: none;
  }
  .timeline-item {
    padding-left: 1.25rem;
  }
  .timeline-dot {
    display: none;
  }
}

/*--------------------------------------------------------------
# Testimonials Section (Premium Styling with Fixed Navigation)
--------------------------------------------------------------*/
.testimonials {
  padding: 4rem 0;
  background: var(--light-background, #F9F8F6);
  position: relative;
}

/* Quote Styling */
.quote-style {
  position: relative;
  font-style: italic;
  font-family: var(--default-font);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--accent-color);
  background-color: var(--surface-color);
  color: var(--default-color);
  font-size: 1.05rem;
  line-height: 1.7;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.quote-style::before,
.quote-style::after {
  font-family: var(--heading-font);
  font-size: 3rem;
  position: absolute;
  color: rgba(0, 0, 0, 0.1);
  line-height: 1;
}

.quote-style::before {
  content: "“";
  top: -15px;
  left: 15px;
}

.quote-style::after {
  content: "”";
  bottom: -15px;
  right: 15px;
}

/* Slider */
.testimonials .testimonials-slider {
  width: 100%;
  position: relative;
  padding-bottom: 40px; /* reduce spacing since arrows are centered */
}

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

/* Testimonial Card */
.testimonials .testimonial-item {
  position: relative;
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1),
              box-shadow 0.35s cubic-bezier(.2,.9,.3,1),
              border-color 0.28s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 0;
}

.testimonials .testimonial-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

/* Glow effect */
.testimonials .testimonial-item::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transform: scale(.98);
  transition: opacity 0.32s ease, transform 0.32s ease;
  background: radial-gradient(
    60% 60% at 50% 35%,
    rgba(194,146,91,0.12) 0%,
    rgba(93,169,233,0.04) 30%,
    transparent 60%
  );
  filter: blur(12px);
  pointer-events: none;
}

.testimonials .testimonial-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* Typography */
.testimonials .testimonial-item h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.testimonials .testimonial-item p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  font-style: italic;
  color: var(--default-color);
}

/* Profile */
.testimonials .testimonial-item .profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonials .testimonial-item .profile .profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

.testimonials .testimonial-item .profile .profile-info h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

.testimonials .testimonial-item .profile .profile-info span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* Featured image block */
.testimonials .testimonial-item .featured-img-wrapper {
  min-height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.testimonials .testimonial-item .featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* Navigation - FIXED */
.testimonials .swiper-button-prev,
.testimonials .swiper-button-next {
  position: absolute;
  top: 50%; /* vertically centered */
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  background-color: var(--accent-color);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Adjust placement closer inward */
.testimonials .swiper-button-prev {
  left: 20px;
}

.testimonials .swiper-button-next {
  right: 20px;
}

.testimonials .swiper-button-prev::after,
.testimonials .swiper-button-next::after {
  font-size: 20px;
  color: var(--surface-color);
}

.testimonials .swiper-button-prev:hover,
.testimonials .swiper-button-next:hover {
  background-color: var(--accent-secondary);
  border-color: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.testimonials .swiper-button-prev:hover::after,
.testimonials .swiper-button-next:hover::after {
  color: var(--contrast-color);
}

/* Responsive - bring arrows closer on small screens */
@media (max-width: 768px) {
  .testimonials .swiper-button-prev {
    left: 10px;
  }
  .testimonials .swiper-button-next {
    right: 10px;
  }
}

@media (max-width: 575px) {
  .testimonials .testimonial-item {
    padding: 20px;
  }

  .testimonials .testimonial-item h2 {
    font-size: 20px;
  }

  .testimonials .testimonial-item p {
    font-size: 14px;
  }
}

.services {
  padding: 80px 0;
}

.services .services-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--heading-color);
}

.services .btn-outline-primary {
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  padding: 10px 30px;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.services .btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.services .service-item {
  background-color: var(--surface-color);
  padding: 35px 30px;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services .service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.services .service-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: inline-block;
}

.services .service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.services .service-item h3 a {
  color: var(--heading-color);
  text-decoration: none;
}

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

.services .service-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

@media (max-width: 991px) {
  .services .services-title {
    font-size: 2rem;
  }

  .services .service-item {
    padding: 30px 25px;
  }

  .services .service-item h3 {
    font-size: 1.1rem;
  }

  .services .service-item p {
    font-size: 0.875rem;
  }
  
}
.service-details i.bi {
  color: #C2925B;  
}


/* =========================
   FAQ Section Styling
   ========================= */
#faq {
  padding: 4rem 0;
  background: var(--light-background, #F8F6F2);
}

/* FAQ Card */
.faq .faq-container .faq-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  margin-bottom: 1rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.faq .faq-container .faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

/* Question heading */
.faq .faq-container .faq-item h3 {
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--heading-color);
  transition: color 0.3s;
}

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

/* Number or bullet accent */
.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  margin-right: 8px;
  font-weight: var(--font-weight-bold);
}

/* Toggle icon */
.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.25rem;
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: pointer;
  color: var(--muted-text-color);
}

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

/* Answer body */
.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.3s ease, opacity 0.3s ease;
  margin-top: 0.5rem;
}

.faq .faq-container .faq-item .faq-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--default-color);
  overflow: hidden;
}

/* Active (open) state */
.faq .faq-container .faq-active {
  background: var(--surface-color);
  border-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;
  opacity: 1;
  visibility: visible;
  padding-top: 0.5rem;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}
/* =========================
   Contact Section Styling
   ========================= */
#contact {
  padding: 4rem 0;
  background: var(--light-background, #F8F6F2);
}

/* Section category label */
.contact .section-category {
  font-family: var(--heading-font);
  font-weight: var(--font-weight-semibold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

/* Section heading */
.contact .content h2 {
  font-family: var(--heading-font);
  font-weight: var(--font-weight-bold);
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

/* Intro text */
.contact .content .lead {
  color: var(--muted-text-color);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 650px;
}

/* Info items (address, phone, email) */
.contact .contact-info .info-item {
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.25rem 1.5rem; /* more breathing space */
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px; /* consistent with other cards */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); /* subtle base shadow */
  transition: all 0.3s ease;
}

.contact .contact-info .info-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px); /* lift effect */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.contact .contact-info .info-item i {
  color: var(--accent-color);
  font-size: 1.3rem;
}

/* Map link */
.contact .contact-info .map-link {
  color: var(--heading-color);
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.contact .contact-info .map-link:hover {
  color: var(--accent-color);
}
.contact .contact-info .map-link i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}
.contact .contact-info .map-link:hover i {
  transform: translateX(4px);
}

/* =========================
   Contact Section Styling
   ========================= */
#contact {
  padding: 4rem 0;
  background: var(--light-background, #F8F6F2);
}

/* Section category label */
.contact .section-category {
  font-family: var(--heading-font);
  font-weight: var(--font-weight-semibold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

/* Section heading */
.contact .content h2 {
  font-family: var(--heading-font);
  font-weight: var(--font-weight-bold);
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

/* Intro text */
.contact .content .lead {
  color: var(--muted-text-color);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 650px;
}

/* Info items */
.contact .contact-info .info-item {
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.25rem 1.5rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}
.contact .contact-info .info-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.contact .contact-info .info-item i {
  color: var(--accent-color);
  font-size: 1.3rem;
}

/* Map link */
.contact .contact-info .map-link {
  color: var(--heading-color);
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}
.contact .contact-info .map-link:hover {
  color: var(--accent-color);
}
.contact .contact-info .map-link i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}
.contact .contact-info .map-link:hover i {
  transform: translateX(4px);
}

/* -------------------------
   Contact Form Container (Compact)
   ------------------------- */
.contact .contact-form {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 0.75rem 0.75rem; /* tighter bottom padding */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}
.contact .contact-form:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Inputs & selects */
.contact .contact-form .form-control,
.contact .contact-form .form-select {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 0.1rem; /* compact spacing */
  transition: all 0.3s ease;
}
.contact .contact-form .form-control:focus,
.contact .contact-form .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.12rem color-mix(in srgb, var(--accent-color), transparent 85%);
  outline: none;
}

/* Textarea */
.contact .contact-form textarea.form-control {
  min-height: 90px;
  max-height: 150px;
  resize: vertical;
  margin-bottom: 0; /* reduced spacing below textarea */
}

/* Submit Button */
.contact .contact-form .btn-submit {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.9rem 1.2rem;
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  border-radius: 6px;
  border: none;
  margin-top: 0rem; /* no extra space above button */
  transition: all 0.3s ease;
}
.contact .contact-form .btn-submit:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}
.contact .contact-form .btn-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Blinking cursor (optional for CTA) */
.blinking-cursor {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent-color);
  animation: blink 1s step-start infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}



/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 600;
  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-details-slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  z-index: 1;
}

.service-details .service-details-slider .swiper-wrapper {
  height: auto !important;
}

.service-details .service-details-slider .swiper-pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 2;
}

.service-details .service-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--contrast-color);
  opacity: 0.5;
  transition: 0.3s;
}

.service-details .service-details-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
  width: 20px;
  border-radius: 5px;
}

.service-details .content h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.service-details .content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 15px;
}

.service-details .content .features .feature-box {
  padding: 20px;
  background: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: 0.3s;
}

.service-details .content .features .feature-box:hover {
  transform: translateY(-5px);
}

.service-details .content .features .feature-box i {
  font-size: 24px;
  color: var(--accent-color);
  margin-right: 15px;
}

.service-details .content .features .feature-box h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.service-details .service-info {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.service-details .service-info h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.service-details .service-info .info-item {
  margin-bottom: 25px;
}

.service-details .service-info .info-item:last-child {
  margin-bottom: 0;
}

.service-details .service-info .info-item i {
  font-size: 24px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.service-details .service-info .info-item h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.service-details .service-info .info-item p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.service-details .related-services {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.service-details .related-services h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.service-details .related-services .service-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .related-services .service-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-details .related-services .service-item i {
  font-size: 24px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.service-details .related-services .service-item h5 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-details .related-services .service-item h5 a {
  color: var(--heading-color);
  transition: 0.3s;
}

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

.service-details .related-services .service-item p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  font-size: 14px;
}

@media (max-width: 991px) {

  .service-details .service-info,
  .service-details .related-services {
    margin-top: 30px;
  }
}



.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}


/*--------------------------------------------------------------
# WhatsApp Floating Button
--------------------------------------------------------------*/

/* Keyframes for entrance animation */
@keyframes whatsapp-enter {
  0% {
    transform: translateY(100px) scale(0.5);
    opacity: 0;
  }
  60% {
    transform: translateY(-10px) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Keyframes for infinite pulsing */
@keyframes whatsapp-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 10001;
  width: 56px;
  height: 56px;
  background-color: #25D366 !important;
  color: #ffffff !important;
  border-radius: 50%;
  font-size: 28px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  /* entrance + pulse animations */
  animation: 
    whatsapp-enter 0.8s ease-out forwards, 
    whatsapp-pulse 2.5s ease-in-out 1s infinite;
}

/* Hover state */
.whatsapp-float:hover {
  background-color: #1ebd5a !important;
  transform: scale(1.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Force icon color/size */
.whatsapp-float i.bi-whatsapp {
  color: #ffffff !important;
  font-size: 28px;
}
.whatsapp-float svg {
  fill: #ffffff !important;
  width: 28px;
  height: 28px;
}

/* Label styling */
.whatsapp-float .whatsapp-label {
  position: absolute;
  right: 70px;
  bottom: 50%;
  transform: translateY(50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10002;
}

/* Reveal label on hover */
.whatsapp-float:hover .whatsapp-label {
  opacity: 1;
  transform: translateY(0);
}
/* Hide label on mobile */
@media (max-width: 768px) {
  .whatsapp-float .whatsapp-label {
    display: none;
  }
}





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