/**
* Template Name: Samim
* Template URL: https://clickbackdigital.com/samim/
* Updated: Aug 23 2025 with ClickBack Digital v5.3.7
* Author: ClickBack Digital
* License: https://clickbackdigital.com/samim/license/
*/

/* --------------------------------------------------------------
   GLOBAL PREMIUM FONTS + COLOR PALETTE
-------------------------------------------------------------- */

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600&display=swap");

/* --------------------------------------------------------------
   FONTS — Elite Stylish Combo
-------------------------------------------------------------- */
:root {
  --default-font: "Inter", system-ui, sans-serif;     /* clean modern body font */
  --heading-font: "Sora", sans-serif;                 /* premium stylish heading font */
  --nav-font: "Poppins", sans-serif;                  /* perfect for nav menus */
}

/* --------------------------------------------------------------
   GLOBAL COLORS — Ultra Premium Global Theme
-------------------------------------------------------------- */
:root { 
  --background-color: #FFFFFF;      /* pure white main background */
  
  --default-color: #1A1F25;         /* graphite text (professional + modern) */
  --heading-color: #0C0F12;         /* bold charcoal for strong headings */
  
  --accent-color: #0EA5FF;          /* premium electric-blue accent */
  --success-color: #1ABC9C;         /* fresh turquoise for positive highlights */
  
  --surface-color: #F5F7FA;         /* ultra-soft grey for cards/sections */
  
  --contrast-color: #FFFFFF;        /* white for text inside accent buttons */
}

/* --------------------------------------------------------------
   NAVIGATION — Minimal & Clean
-------------------------------------------------------------- */
:root {
  --nav-color: #F5F7FA;                     
  --nav-hover-color: #0EA5FF;               
  
  --nav-mobile-background-color: #E9EEF3;   
  
  --nav-dropdown-background-color: #F8FAFD; 
  --nav-dropdown-color: #1A1F25;            
  --nav-dropdown-hover-color: #0EA5FF;      
}

/* --------------------------------------------------------------
   SECTION PRESETS
-------------------------------------------------------------- */
.light-background {
  --background-color: #F8FAFD;  
  --surface-color: #E9EEF3;
}

.dark-background {
  --background-color: #0C0F12; 
  --default-color: #FFFFFF;      
  --heading-color: #FFFFFF;      
  --surface-color: #1B1F24;      
  --contrast-color: #FFFFFF;
}

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

/*--------------------------------------------------------------
# GENERAL STYLING
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  margin: 0;
  padding: 0;
}

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# GLOBAL HEADER (Polished & Color-Corrected)
--------------------------------------------------------------*/
.header {
  background-color: var(--default-color); /* Clean, visible base */
  color: var(--contrast-color);
  padding: 15px 0;
  transition: all 0.4s ease;
  z-index: 997;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
}

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

.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 500;
  color: var(--surface-color); /* Always readable */
}

/* Social links */
.header .header-social-links a {
  color: color-mix(in srgb, var(--surface-color), transparent 40%);
  padding-left: 6px;
  font-size: 16px;
  transition: 0.3s;
}

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

/* Sticky header when scrolled */
.scrolled .header {
  background-color: rgba(20, 28, 34, 0.85);
  backdrop-filter: blur(6px);
  border-bottom-color: color-mix(in srgb, var(--default-color), transparent 50%);
}

@media (max-width: 1200px) {
  .header .logo { order: 1; }
  .header .header-social-links { order: 2; }
  .header .navmenu { order: 3; }
}

/*--------------------------------------------------------------
# NAVIGATION MENU — DESKTOP
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
  }

  .navmenu > ul > li {
    padding: 15px 28px 15px 0;
    white-space: nowrap;
  }

  .navmenu a {
    color: var(--nav-color);
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s ease;
    position: relative;
  }

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

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

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

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

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

/*--------------------------------------------------------------
# MOBILE MENU — CLEAN FLOATING VERSION
--------------------------------------------------------------*/
@media (max-width: 1199px) {

  /* Toggle Icon */
  .mobile-nav-toggle {
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: relative;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
  }

  .mobile-nav-toggle span {
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--nav-color);
    border-radius: 3px;
    transition: 0.4s ease;
  }

  .mobile-nav-toggle span:nth-child(1) { top: 9px; }
  .mobile-nav-toggle span:nth-child(2) { top: 15px; }
  .mobile-nav-toggle span:nth-child(3) { top: 21px; }

  /* X Animation */
  .mobile-nav-active .mobile-nav-toggle span:nth-child(1) {
    transform: rotate(45deg);
    top: 15px;
  }
  .mobile-nav-active .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-active .mobile-nav-toggle span:nth-child(3) {
    transform: rotate(-45deg);
    top: 15px;
  }

  /* MENU CONTAINER (NO Fullscreen) */
  .navmenu ul {
    display: none;
    position: absolute;
    top: 50px; /* under header */
    right: 20px;
    width: 260px;
    padding: 15px 0;
    margin: 0;
    border-radius: 10px;
    background-color: rgba(20, 28, 34, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;

    /* animation */
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.35s ease;
    z-index: 9999;
  }

  /* Show Menu */
  .mobile-nav-active .navmenu > ul {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* Menu Links */
  .navmenu ul li a {
    display: block;
    padding: 12px 20px;
    font-size: 17px;
    color: var(--nav-color);
    transition: 0.3s ease;
    border-radius: 6px;
  }

  .navmenu ul li a:hover,
  .navmenu .active {
    color: var(--nav-hover-color);
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }
}
 /* ------------------------------------------
     LINK ANIMATION — Staggered Reveal
  -------------------------------------------*/
  .navmenu ul li {
    opacity: 0;
    transform: translateX(-10px);
    animation: navFade 0.5s forwards ease;
  }

  .navmenu ul li:nth-child(1) { animation-delay: 0.05s; }
  .navmenu ul li:nth-child(2) { animation-delay: 0.10s; }
  .navmenu ul li:nth-child(3) { animation-delay: 0.15s; }
  .navmenu ul li:nth-child(4) { animation-delay: 0.20s; }
  .navmenu ul li:nth-child(5) { animation-delay: 0.25s; }
  .navmenu ul li:nth-child(6) { animation-delay: 0.30s; }
  .navmenu ul li:nth-child(7) { animation-delay: 0.35s; }

  @keyframes navFade {
    from {
      opacity: 0;
      transform: translateX(-10px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* ------------------------------------------
     BODY FADE WHEN MENU OPEN
  -------------------------------------------*/
  body.mobile-nav-active {
    overflow: hidden;
    background: color-mix(in srgb, black, transparent 70%);
    transition: background 0.4s ease;
  }
}

/*--------------------------------------------------------------
# SECTION SPACING (HERO / ABOUT GAP FIX)
--------------------------------------------------------------*/
section {
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (max-width: 1199px) {
  section { padding-top: 20px; padding-bottom: 20px; }
}

@media (max-width: 767px) {
  section { padding-top: 10px; padding-bottom: 10px; }
}


/*--------------------------------------------------------------
# GLOBAL FOOTER
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 14px;
  padding: 20px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.footer .copyright p {
  margin: 0;
}

.footer .social-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

.footer .credits {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# PRELOADER
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--background-color);
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }
  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# SCROLL TOP BUTTON
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  right: 15px;
  bottom: -15px;
  width: 44px;
  height: 44px;
  background-color: var(--accent-color);
  border-radius: 50px;
  z-index: 99999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

/*--------------------------------------------------------------
# DISABLE AOS ANIMATION DELAY ON MOBILE
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# GLOBAL PAGE TITLES & BREADCRUMBS
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

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

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin: 0;
}

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

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

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

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

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

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

@media (max-width: 767px) {
  section,
  .section {
    padding: 40px 0;
  }
}

/*--------------------------------------------------------------
# GLOBAL SECTION TITLES
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

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

.section-title p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 900px;
  margin: 0 auto;
  text-wrap: balance;
}
/*--------------------------------------------------------------
# Hero Section (Polished)
--------------------------------------------------------------*/
.hero {
  padding: 20px;
  min-height: 30vh;
  display: flex;
  align-items: center;
}

.hero .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--default-color);
}

.hero .hero-content h1 .highlight {
  color: var(--accent-color);
  position: relative;
}

.hero .hero-content h1 .highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 50%));
  border-radius: 2px;
}

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

.hero .hero-content h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: color-mix(in srgb, var(--default-color), black 40%);
}

.hero .hero-content h2 .typed {
  color: var(--accent-color);
  font-weight: 600;
}

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

.hero .hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: color-mix(in srgb, var(--default-color), black 30%);
}

.hero .hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero .hero-actions .btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid;
  font-family: inherit;
}

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

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

.hero .hero-actions .btn.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.hero .hero-actions .btn.btn-outline:hover {
  transform: translateY(-2px);
}

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

  .hero .hero-actions .btn {
    text-align: center;
  }
}

.hero .social-links {
  display: flex;
  gap: 1rem;
}

.hero .social-links a {
  width: 45px;
  height: 45px;
  background: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--contrast-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.hero .social-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.hero .hero-image {
  position: relative;
}

.hero .hero-image .image-wrapper {
  position: relative;
  max-width: 450px;
  margin: 0 auto;
}

.hero .hero-image .image-wrapper img {
  border-radius: 20px;
  box-shadow: 0 5px 15px color-mix(in srgb, var(--default-color), transparent 95%);
  transition: transform 0.3s ease;
}

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

.hero .hero-image .floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hero .hero-image .floating-elements .floating-card {
  position: absolute;
  background: var(--success-color);
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}

.hero .hero-image .floating-elements .floating-card i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.hero .hero-image .floating-elements .floating-card.design {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.hero .hero-image .floating-elements .floating-card.code {
  bottom: 30%;
  left: -15%;
  animation-delay: 1s;
}

.hero .hero-image .floating-elements .floating-card.creativity {
  top: 60%;
  right: -5%;
  animation-delay: 2s;
}

@media (max-width: 992px) {
  .hero .hero-image .floating-elements .floating-card {
    display: none;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 992px) {
  .hero .hero-content {
    text-align: center;
    margin-bottom: 3rem;
  }
}

/*--------------------------------------------------------------
# About Section (Polished)
--------------------------------------------------------------*/
.service-details .service-hero {
  margin-bottom: 4rem;
}

.service-details .service-hero .service-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about .intro-content .eyebrow {
  display: flex;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), black 40%);
  margin-bottom: 16px;
}

.about .intro-content .headline {
  font-family: var(--heading-font);
  font-weight: 300;
  line-height: 1.2;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 24px 0;
  color: var(--default-color);
}

.about .intro-content .lead {
  font-size: 18px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), black 20%);
  margin-bottom: 24px;
}

.about .intro-content p {
  line-height: 1.8;
  margin-bottom: 24px;
  color: color-mix(in srgb, var(--default-color), black 10%);
}

.about .intro-content .cta-group {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.about .intro-content .cta-group .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 6px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  font-family: inherit;
  transition: 0.3s ease-in-out;
}

.about .intro-content .cta-group .btn-ghost:hover,
.about .intro-content .cta-group .btn-ghost:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.about .intro-content .cta-group .link-underline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  color: var(--accent-color);
  padding-bottom: 4px;
  font-family: inherit;
  transition: 0.3s ease-in-out;
}

.about .intro-content .cta-group .link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: color-mix(in srgb, var(--accent-color), transparent 40%);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: 0.3s ease-in-out;
}

.about .intro-content .cta-group .link-underline:hover,
.about .intro-content .cta-group .link-underline:focus {
  color: color-mix(in srgb, var(--accent-color), transparent 10%);
  outline: none;
}

.about .intro-content .cta-group .link-underline:hover::after,
.about .intro-content .cta-group .link-underline:focus::after {
  transform: scaleX(1);
}

.about .profile-figure {
  margin: 0;
  text-align: inherit;
}

.about .profile-figure .profile-photo {
  width: 88%;
  max-width: 440px;
  border-radius: 18px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 92%);
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

.about .profile-figure .profile-caption {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.about .profile-figure .profile-caption .meta {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), black 20%);
}

.about .profile-figure .profile-caption .meta .funfact {
  font-size: 13px;
  margin-top: 4px;
  color: color-mix(in srgb, var(--default-color), black 35%);
}

.about .profile-figure:hover .profile-photo {
  transform: translateY(-4px);
}

.about .skill-item {
  padding: 24px;
  border-radius: 6px;
  transition: 0.3s ease-in-out;
  background: color-mix(in srgb, var(--surface-color), var(--accent-color) 2%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  height: 100%;
}

.about .skill-item i {
  font-size: 24px;
  color: var(--accent-color);
  margin-bottom: 16px;
  display: inline-block;
}

.about .skill-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 500;
}

.about .skill-item p {
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), black 25%);
}

.about .skill-item:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 92%);
}

.about .timeline-item {
  position: relative;
  padding-left: 26px;
}

.about .timeline-item time {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), black 45%);
  margin-bottom: 6px;
}

.about .timeline-item h4 {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 6px;
}

.about .timeline-item p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), black 25%);
  margin: 0;
}

.about .timeline-item .dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.about .personal-quote {
  padding: 24px 0;
}

.about .personal-quote p {
  font-family: var(--heading-font);
  font-weight: 300;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), black 5%);
  margin: 0 auto;
  max-width: 800px;
}

.about .fact-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  background: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), black 10%);
  transition: 0.3s ease-in-out;
}

.about .fact-pill i {
  color: var(--accent-color);
}

.about .fact-pill span {
  font-size: 14px;
}

.about .fact-pill:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 92%);
}

.about .fact-pill:focus-within {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 70%);
}

@media (max-width: 992px) {
  .about .profile-figure {
    text-align: center !important;
  }

  .about .profile-figure .profile-photo {
    width: 72%;
  }

  .about .intro-content .cta-group {
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  .about .profile-figure .profile-photo {
  width: 100%;
  }
}

/*--------------------------------------------------------------
# Skills Section (Refined like About Skill Item)
--------------------------------------------------------------*/
.skills .skill-box {
  padding: 24px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-color), var(--accent-color) 2%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  box-shadow: 0 0 20px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
  height: 100%;
}

.skills .skill-box i {
  font-size: 24px;
  color: var(--accent-color);
  margin-bottom: 16px;
  display: inline-block;
  transition: color 0.3s ease;
}

.skills .skill-box h3 {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.skills .skill-box p {
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), black 25%);
  line-height: 1.6;
  transition: color 0.3s ease;
}

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

.skills .skill-box .progress .progress-bar {
  background-color: var(--accent-color);
  height: 100%;
  border-radius: 50px;
  transition: width 0.9s ease-in-out;
  width: 1px;
}

/* Hover Effects */
.skills .skill-box:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 92%);
}

/*--------------------------------------------------------------
# Stats Section (Polished)
--------------------------------------------------------------*/
.stats .avatars {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stats .avatars img {
  width: 60px;
  height: 60px;
  border: 3px solid var(--accent-color);
  border-radius: 50%;
  margin-right: -15px;
  transition: transform 0.3s ease, z-index 0.3s ease;
}

.stats .avatars img:hover {
  transform: translateY(-5px);
  z-index: 2;
}

.stats .counters h2 {
  color: var(--heading-color);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.stats .counters h2 span {
  display: inline-block;
}

.stats .counters p {
  color: color-mix(in srgb, var(--default-color), black 50%);
  font-size: 18px;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .stats .row {
    text-align: center;
  }

  .stats .avatars {
    justify-content: center;
    margin-bottom: 40px;
  }

  .stats .counters h2 {
    font-size: 36px;
  }

  .stats .counters p {
    font-size: 16px;
  }

  .stats .counters .col-md-4 {
    margin-bottom: 30px;
  }

  .stats .counters .col-md-4:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  .stats {
    padding: 60px 0;
  }

  .stats .avatars {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stats .avatars img {
    margin: 0 -8px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section (Polished)
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item .testimonial-content {
  border-left: 3px solid var(--accent-color);
  padding-left: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials .testimonial-item .testimonial-img {
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto 15px auto;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.testimonials .testimonial-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 10px 0 5px;
  color: var(--heading-color);
}

.testimonials .testimonial-item h4 {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), black 40%);
  margin: 0 0 10px;
}

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

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

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

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

.testimonials .testimonial-item p {
  font-style: italic;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), black 30%);
  line-height: 1.6;
  margin-bottom: 0;
}

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

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
  transition: background-color 0.3s ease;
}

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

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

  .testimonials .testimonial-item h3 {
    font-size: 1.1rem;
  }

  .testimonials .testimonial-item p {
    font-size: 0.9rem;
  }

  .testimonials .testimonial-item .testimonial-img {
    width: 70px;
    height: 70px;
  }
}

/*--------------------------------------------------------------
# Resume Section (Polished)
--------------------------------------------------------------*/
.resume .resume-item {
  margin-bottom: 3rem;
}

.resume .resume-item .resume-title {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  color: var(--heading-color);
}

.resume .resume-item .resume-title::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.resume .resume-item .resume-content {
  padding-left: 1.25rem;
  border-left: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.resume .resume-item article {
  position: relative;
  margin-bottom: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume .resume-item article::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  left: -1.8rem;
  top: 0.25rem;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

.resume .resume-item article h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}

.resume .resume-item article h5 {
  font-size: 1rem;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  padding: 0.375rem 0.75rem;
  display: inline-block;
  font-weight: 600;
  margin: 0.5rem 0;
  color: var(--accent-color);
  border-radius: 4px;
}

.resume .resume-item article .institution,
.resume .resume-item article .company {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.resume .resume-item article p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.resume .resume-item article ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.resume .resume-item article ul li {
  padding-bottom: 0.75rem;
  position: relative;
}

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

.resume .skill-item {
  margin-bottom: 2rem;
}

.resume .skill-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
}

.resume .skill-item .progress {
  height: 0.75rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 1rem;
  overflow: visible;
}

.resume .skill-item .progress .progress-bar {
  background-color: var(--accent-color);
  position: relative;
  border-radius: 1rem;
  width: 0;
  transition: width 1s ease;
}

.resume .skill-item .progress .progress-bar::after {
  content: attr(aria-valuenow) "%";
  position: absolute;
  right: 0;
  top: -1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-color);
}

@media (max-width: 991.98px) {
  .resume .resume-item {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .resume .resume-content {
    padding-left: 1rem !important;
  }

  .resume article::before {
    left: -2rem !important;
  }
}

/*--------------------------------------------------------------
# Services Section (Refined)
--------------------------------------------------------------*/
.services .service-item {
  display: flex;
  flex-direction: row;
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.services .service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: var(--accent-color);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

.services .service-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  transition: all 0.5s ease;
}

.services .service-icon i {
  font-size: 2rem;
  transition: transform 0.5s ease, color 0.3s ease;
}

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

.services .service-item:hover .service-icon i {
  transform: rotateY(180deg);
}

.services .service-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.services .service-content p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

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

.services .service-link span {
  margin-right: 0.5rem;
}

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

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

.services .service-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .services .service-item {
    padding: 1.5rem;
  }
  .services .service-icon {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
  }
  .services .service-icon i {
    font-size: 1.5rem;
  }
  .services .service-content h3 {
    font-size: 1.2rem;
  }
  .services .service-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .services .service-item {
    flex-direction: column;
    text-align: center;
  }
  .services .service-item::before {
    width: 100%;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
  }
  .services .service-item:hover::before {
    transform: scaleX(1);
  }
  .services .service-icon {
    margin-right: 0;
    margin-bottom: 1.25rem;
  }
  .services .service-link {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Service Details Section (Refined)
--------------------------------------------------------------*/
.service-details .service-hero {
  margin-bottom: 4rem;
}

.service-details .service-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

.service-details .service-hero .service-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-weight: 300;
}

.service-details .service-visual img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.5s ease;
}

.service-details .service-visual img:hover {
  transform: scale(1.02);
}

.service-details .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-details .benefits-grid .benefit-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.service-details .benefits-grid .benefit-card:hover {
  transform: translateY(-2px);
}

.service-details .benefits-grid .benefit-card .benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.service-details .benefits-grid .benefit-card:hover .benefit-icon {
  background: var(--accent-color);
}

.service-details .benefits-grid .benefit-card .benefit-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.service-details .benefits-grid .benefit-card:hover .benefit-icon i {
  color: var(--contrast-color);
}

.service-details .timeline-section .timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
}

.service-details .timeline-section .timeline .timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3rem;
}

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

.service-details .timeline-section .timeline .timeline-item .timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: var(--surface-color);
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.service-details .timeline-section .timeline .timeline-item .timeline-marker span {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent-color);
}

.service-details .timeline-section .timeline .timeline-item .timeline-content h4 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
}

.service-details .timeline-section .timeline .timeline-item .timeline-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: var(--default-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .service-details .service-hero h1 {
    font-size: 2.5rem;
  }
  .service-details .service-hero .service-description {
    font-size: 1.1rem;
  }
  .service-details .service-visual img {
    max-height: 250px;
  }
  .service-details .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-details .timeline-section .timeline::before {
    left: 20px;
  }
  .service-details .timeline-section .timeline .timeline-item {
    padding-left: 60px;
  }
  .service-details .timeline-section .timeline .timeline-item .timeline-marker {
    width: 40px;
    height: 40px;
  }
  .service-details .timeline-section .timeline .timeline-item .timeline-marker span {
    font-size: 1rem;
  }
}
/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: 30px; padding: 0; list-style: none;
}
.portfolio .portfolio-filters li {
  padding: 8px 20px; font-size: 0.95rem; font-weight: 500; border-radius: 30px;
  cursor: pointer; transition: all 0.3s ease;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}
.portfolio .portfolio-filters li:hover { 
  background-color: color-mix(in srgb, var(--accent-color), transparent 80%);
  transform: scale(1.05);
}
.portfolio .portfolio-filters li.filter-active {
  background-color: var(--accent-color); color: var(--contrast-color);
}

.portfolio .portfolio-card {
  background-color: var(--surface-color); border-radius: 10px;
  overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px; transition: all 0.3s ease;
}
.portfolio .portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- FIXED IMAGE BOX (NO STYLE CHANGE) --- */
.portfolio .portfolio-card .portfolio-img {
  position: relative;
  overflow: hidden;
  height: 260px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Original look retained */
.portfolio .portfolio-card .portfolio-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  transition: transform 6s linear, filter 0.3s ease;
}

/* LONG IMAGE → scroll only (NO BLUR) */
.portfolio .portfolio-card:hover .portfolio-img img.long-image {
  transform: translateY(-60%);
  filter: none !important;
}

/* SHORT IMAGE → blur only (NO SCROLL) */
.portfolio .portfolio-card:hover .portfolio-img img.short-image {
  filter: blur(0.50px) brightness(0.95);
  transform: none !important;
}

/* --- OVERLAY (UNTOUCHED) --- */
.portfolio .portfolio-overlay {
  position: absolute; top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.6); display:flex; align-items:center; justify-content:center; gap:15px;
  opacity:0; transition: all 0.3s ease; backdrop-filter: blur(2px);
}
.portfolio .portfolio-card:hover .portfolio-overlay { opacity:1; }

.portfolio .portfolio-overlay a {
  width:45px; height:45px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; background-color: var(--accent-color); color: var(--contrast-color);
  transition: all 0.3s ease;
}
.portfolio .portfolio-overlay a:hover {
  background-color: color-mix(in srgb, var(--accent-color), #fff 20%);
  transform: translateY(-5px);
}

/* INFO (unchanged) */
.portfolio .portfolio-info { padding:20px; }
.portfolio .portfolio-info h4 { font-size:1.2rem; font-weight:700; margin-bottom:5px; color:var(--heading-color); }
.portfolio .portfolio-info p { font-size:0.9rem; color:var(--default-color); margin-bottom:10px; }
.portfolio .portfolio-tags { display:flex; flex-wrap:wrap; gap:8px; }
.portfolio .portfolio-tags span {
  font-size:0.8rem; padding:4px 12px; border-radius:20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

/* BUTTON SAME AS ORIGINAL */
.portfolio .btn-primary {
  background-color: var(--accent-color); color: var(--contrast-color);
  padding:12px 30px; font-weight:600; border-radius:5px;
  transition: all 0.3s ease;
}
.portfolio .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details { --section-spacing: 2.5rem; display:flex; flex-wrap:wrap; gap:2rem; }
.portfolio-details-media { position: relative; width:100%; max-width:700px; }
.portfolio-details-media .main-image { margin-bottom:1rem; border-radius:20px; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,0.08); }
.portfolio-details-media .main-image img { width:100%; aspect-ratio:3/2; object-fit:cover; transition: transform 0.5s ease; }
.portfolio-details-media .main-image img:hover { transform: scale(1.02); }

.portfolio-details-media .thumbnail-grid img {
  height:80px; object-fit:cover; border-radius:8px; cursor:pointer;
  transition: all 0.3s ease; box-shadow:0 4px 10px rgba(0,0,0,0.05);
}
.portfolio-details-media .thumbnail-grid img:hover {
  transform: translateY(-5px); box-shadow:0 8px 15px rgba(0,0,0,0.1);
}

.portfolio-details-media .tech-stack-badges { display:flex; flex-wrap:wrap; gap:10px; margin-top:1.5rem; }
.portfolio-details-media .tech-stack-badges span {
  padding:6px 12px; font-size:13px; font-weight:500; border-radius:20px;
  background-color: color-mix(in srgb, var(--heading-color), transparent 85%);
  color: var(--heading-color); transition: all 0.3s ease; cursor:pointer;
}
.portfolio-details-media .tech-stack-badges span:hover { transform:translateY(-2px); box-shadow:0 3px 8px rgba(0,0,0,0.08); }

.portfolio-details-content { flex:1; display:flex; flex-direction:column; height:100%; padding-left:2rem; }
.project-meta { display:flex; flex-wrap:wrap; justify-content:space-between; margin-bottom:1.5rem; }
.project-title { font-size:2.2rem; font-weight:700; line-height:1.2; color:var(--heading-color); margin-bottom:1rem; }
.project-website a { font-weight:500; transition:all 0.3s ease; }
.project-website a:hover { letter-spacing:0.5px; }

.project-overview .lead { font-size:1.1rem; line-height:1.7; color:color-mix(in srgb, var(--default-color), transparent 15%); margin-bottom:1.5rem; }
.project-accordion .accordion-button { font-weight:600; font-size:1rem; border-radius:8px; background-color: color-mix(in srgb, var(--surface-color), transparent 70%); transition: all 0.3s ease; }
.project-accordion .accordion-button:not(.collapsed) { color: var(--accent-color); box-shadow:0 4px 10px rgba(0,0,0,0.03); }
.project-accordion .accordion-button i { transition: transform 0.3s ease; }
.project-accordion .accordion-button:not(.collapsed) i { transform: rotate(45deg); }

.project-features h3 i { margin-right:10px; color: var(--accent-color); }
.feature-list li i { color: var(--accent-color); margin-right:10px; }

.cta-buttons { display:flex; flex-wrap:wrap; gap:1rem; margin-top:auto; }
.cta-buttons a { padding:12px 28px; border-radius:30px; font-weight:500; transition: all 0.3s ease; display:flex; align-items:center; gap:8px; text-align:center; }
.btn-view-project { background-color: var(--accent-color); color: var(--contrast-color); }
.btn-view-project:hover { background-color: color-mix(in srgb, var(--accent-color), black 15%); transform: translateY(-3px); box-shadow:0 8px 15px rgba(0,0,0,0.1); }
.btn-next-project { background-color: color-mix(in srgb, var(--heading-color), transparent 90%); color: var(--heading-color); }
.btn-next-project:hover { background-color: color-mix(in srgb, var(--heading-color), transparent 80%); }
.btn-next-project:hover i { transform: translateX(3px); }

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media(max-width:991.98px){.portfolio-details-content{padding:2rem 0 0 0;}.cta-buttons{flex-direction:column;width:100%;}.cta-buttons a{width:100%;text-align:center;}}
@media(max-width:767.98px){.project-meta{flex-direction:column;gap:1rem;}.project-meta .date-client{flex-direction:column;gap:0.5rem;}}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-box {
  background-color: var(--surface-color);
  padding: 3rem;
  border-radius: 1rem;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact .info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact .info-box h3 {
  color: var(--heading-color);
  font-size: 2rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

@media (max-width: 767.98px) {
  .contact .info-box h3 {
    font-size: 1.75rem;
  }
}

.contact .info-box p {
  color: color-mix(in srgb, var(--default-color), #000 20%);
  margin-bottom: 2rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.contact .info-box a {
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.contact .info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact .info-item:hover {
  transform: translateY(-5px);
}

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

.contact .info-item .icon-box {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact .info-item .icon-box i {
  font-size: 1.5rem;
  color: var(--contrast-color);
  transition: color 0.3s ease;
}

.contact .info-item:hover .icon-box {
  background-color: var(--success-color);
  color: var(--accent-color);
  transform: scale(1.15);
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact .info-item .content h4 {
  color: var(--heading-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.contact .info-item .content p {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: color-mix(in srgb, var(--default-color), #000 20%);
}

.contact .info-item .content p:last-child {
  margin-bottom: 0;
}

.contact .contact-form {
  background-color: var(--surface-color);
  padding: 3rem;
  border-radius: 1rem;
  height: 100%;
  box-shadow: 0 0 25px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact .contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

@media (max-width: 992px) {
  .contact .contact-form {
    padding: 1.5rem;
  }
}

.contact .contact-form h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .contact .contact-form h3 {
    font-size: 1.75rem;
  }
}

.contact .contact-form p {
  color: color-mix(in srgb, var(--default-color), #000 25%);
  margin-bottom: 2rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.contact .contact-form .form-control,
.contact .contact-form .form-select {
  padding: 0.875rem 1.25rem;
  border-color: color-mix(in srgb, var(--default-color), #000 10%);
  border-radius: 0.5rem;
  background-color: transparent;
  color: var(--default-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.contact .contact-form .form-control:focus,
.contact .contact-form .form-select:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.contact .contact-form .form-control::placeholder,
.contact .contact-form .form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), #000 50%);
  transition: color 0.3s ease;
}

.contact .contact-form .btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1rem 2rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.contact .contact-form .btn i {
  font-size: 1.25rem;
}

.contact .contact-form .btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/*--------------------------------------------------------------
# Scroll Animation
--------------------------------------------------------------*/
.contact .info-box,
.contact .info-item,
.contact .contact-form {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.contact .animate-in {
  opacity: 1;
  transform: translateY(0);
}

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