/**
* Template Name: SnapFolio
* Template URL: https://bootstrapmade.com/snapfolio-bootstrap-portfolio-template/
* Updated: Jul 21 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Montserrat", sans-serif;
  --heading-font: "Cinzel", serif;
  --nav-font: "Cinzel", serif;
}

:root {
  --background-color: #071820; /* Deep Teal-Navy from Brand */
  --default-color: #ffffff; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #d4a843; /* Brand Gold - bright, for headings */
  --accent-color: #c9943a; /* Brand Gold - rich warm, for buttons & accents */
  --accent-hover-color: #b07c28; /* Darker gold for hover states */
  --accent-glow-color: rgba(201, 148, 58, 0.35); /* Gold glow for shadows */
  --surface-color: rgba(8, 30, 45, 0.85); /* Deep teal surface with glass effect */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(236, 236, 236, 0.65);  /* The default color of the main navmenu links */
  --nav-hover-color: #d4a843; /* Gold on hover - matches brand */
  --nav-mobile-background-color: #0a2535; /* Deep teal - matches brand */
  --nav-dropdown-background-color: #0a2535; /* Deep teal - matches brand */
  --nav-dropdown-color: #ffffff;
  --nav-dropdown-hover-color: #d4a843; /* Gold on hover */
}

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

.light-background {
  --background-color: #051923;
  --surface-color: #0a2533;
}

.dark-background {
  --background-color: #071820;
  --default-color: #ffffff;
  --heading-color: #d4a843;
  --accent-color: #c9943a;
  --surface-color: #0a2535;
  --contrast-color: #ffffff;
}

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

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  background: linear-gradient(to bottom, #c5a059 20%, #f1e5ac 50%, #c5a059 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  letter-spacing: 1px;
}

/* PHP Email Form Messages
------------------------------*/
.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;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

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

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

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

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(7, 24, 32, 0.97);
  --contrast-color: #000000;
  color: var(--default-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 15px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  background-color: var(--background-color);
  backdrop-filter: blur(15px);
  border-right: 2px solid rgba(201, 148, 58, 0.55);
}

.header .header-container {
  padding: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

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

@media (min-width: 1200px) {

  .header~main,
  .header~#footer {
    margin-left: 330px;
  }
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

.header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

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

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--default-color);
  padding: 12px 15px;
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.4s;
  width: 100%;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 18px;
  margin-right: 12px;
  color: var(--accent-color);
  transition: 0.4s;
}

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

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

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--heading-color) !important;
  background: linear-gradient(90deg, rgba(197, 160, 89, 0.15) 0%, rgba(197, 160, 89, 0) 100%);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: var(--heading-color);
  transform: scale(1.1);
}

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

.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: --nav-dropdown-color;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  padding: 25px 0 0 0;
  position: relative;
}

.page-title .container {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-bottom: 25px;
}

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

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

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

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

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}

.section-title h2:before {
  margin: 0 15px 10px 0;
}

.section-title h2:after {
  margin: 0 0 10px 15px;
}

.section-title p {
  margin-bottom: 0;
}

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

.hero .background-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero .background-elements .bg-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, color-mix(in srgb, var(--accent-color), transparent 90%), color-mix(in srgb, var(--accent-color), transparent 95%));
  animation: float 6s ease-in-out infinite;
}

.hero .background-elements .bg-circle.circle-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.hero .background-elements .bg-circle.circle-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

.hero .hero-content {
  position: relative;
  width: 100%;
  z-index: 2;
}

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

/* Hero Badge */
.hero .hero-text .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 148, 58, 0.08);
  border: 1px solid rgba(201, 148, 58, 0.4);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 22px;
}

.hero .hero-text .hero-badge i {
  font-size: 14px;
}

.hero .hero-text .hero-badge .badge-dot {
  font-size: 8px;
  opacity: 0.6;
}

/* Brand Name */
.hero .hero-text h1 {
  font-family: 'Cinzel', serif;
  font-size: 5rem;
  font-weight: 900;
  margin: 0 0 4px 0;
  background: linear-gradient(135deg, #b8860b 0%, #e8c96a 35%, #ffe08a 50%, #e8c96a 65%, #b8860b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.05;
  animation: goldShimmer 4s linear infinite;
}

.hero .hero-text h1 .accent-text {
  display: block;
  font-size: 1.6rem;
  font-weight: 300;
  background: linear-gradient(135deg, #c5a059 0%, #e8d0a0 50%, #c5a059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 16px;
  margin-top: 2px;
  margin-right: -16px;
  animation: none;
}

@keyframes goldShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Decorative Divider */
.hero .hero-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}

.hero .hero-divider .divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 148, 58, 0.7), transparent);
  max-width: 120px;
}

.hero .hero-divider .divider-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 148, 58, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 14px;
  flex-shrink: 0;
}

/* Person Name */
.hero .hero-text h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero .hero-text h2 .by-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(201, 148, 58, 0.8);
  margin-bottom: 4px;
  font-family: 'Montserrat', sans-serif;
}

/* Typed text */
.hero .hero-text .lead {
  font-size: 20px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
}

.hero .hero-text .lead span {
  color: var(--accent-color);
  font-weight: 700;
  font-style: normal;
  border-bottom: 2px solid rgba(201, 148, 58, 0.5);
  padding-bottom: 2px;
  font-size: 22px;
}

.hero .hero-text .description {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
  max-width: 480px;
  border-left: 2px solid rgba(201, 148, 58, 0.4);
  padding-left: 14px;
}

.hero .hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero .hero-actions .btn {
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.hero .hero-actions .btn.btn-primary:hover {
  background-color: var(--accent-hover-color);
  border-color: var(--accent-hover-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--accent-glow-color);
}

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

.hero .hero-actions .btn.btn-outline:hover {
  background-color: var(--accent-color);
  color: #0a1a0a;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--accent-glow-color);
}

.hero .social-links {
  display: flex;
  gap: 20px;
}

.hero .social-links a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  border-radius: 50%;
  font-size: 20px;
  transition: all 0.3s ease;
}

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

.hero .hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero .hero-visual .profile-container {
  position: relative;
  width: 450px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rotating outer hex ring */
.hero .hero-visual .profile-container .hex-ring-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(201, 148, 58, 0.3);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  animation: hexSpin 20s linear infinite;
  z-index: 1;
}

/* Inner hex ring (counter-rotating) */
.hero .hero-visual .profile-container .hex-ring-inner {
  position: absolute;
  width: 88%;
  height: 88%;
  border: 2px solid rgba(201, 148, 58, 0.5);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  animation: hexSpin 15s linear infinite reverse;
  z-index: 1;
}

@keyframes hexSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero .hero-visual .profile-container .profile-background {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(201, 148, 58, 0.25) 0%, rgba(201, 148, 58, 0.08) 60%, transparent 100%);
  border-radius: 50%;
  z-index: 2;
  animation: glowPulse 4s infinite ease-in-out;
  box-shadow: 0 0 80px rgba(201, 148, 58, 0.2), inset 0 0 40px rgba(201, 148, 58, 0.1);
}

.hero .hero-visual .profile-container .profile-image {
  position: relative;
  width: 82%;
  height: auto;
  object-fit: contain;
  z-index: 3;
  filter: drop-shadow(0 0 30px rgba(201, 148, 58, 0.35));
  transition: all 0.5s ease;
}

.hero .hero-visual .profile-container:hover .profile-image {
  transform: scale(1.04);
  filter: drop-shadow(0 0 40px rgba(201, 148, 58, 0.55));
}

@keyframes glowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes floatIcon {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

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

  .hero .hero-text .hero-badge {
    justify-content: center;
  }

  .hero .hero-text h1 {
    font-size: 3.2rem;
  }

  .hero .hero-text h1 .accent-text {
    font-size: 1.3rem;
    letter-spacing: 10px;
    margin-right: -10px;
  }

  .hero .hero-divider {
    justify-content: center;
  }

  .hero .hero-divider .divider-line {
    max-width: 80px;
  }

  .hero .hero-text h2 {
    font-size: 1.3rem;
  }

  .hero .hero-text .lead {
    font-size: 18px;
  }

  .hero .hero-text .description {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid rgba(201, 148, 58, 0.3);
    padding-top: 12px;
    margin: 0 auto 30px;
  }

  .hero .hero-actions {
    justify-content: center;
  }

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

  .hero .hero-visual .profile-container {
    width: 360px;
    height: 360px;
  }
}

@media (max-width: 768px) {
  .hero .hero-text .hero-badge {
    font-size: 10px;
    padding: 5px 14px;
    gap: 6px;
  }

  .hero .hero-text h1 {
    font-size: 2.6rem;
    letter-spacing: 2px;
  }

  .hero .hero-text h1 .accent-text {
    font-size: 1.1rem;
    letter-spacing: 8px;
    margin-right: -8px;
  }

  .hero .hero-divider .divider-line {
    max-width: 60px;
  }

  .hero .hero-text h2 {
    font-size: 1.2rem;
  }

  .hero .hero-text .lead {
    font-size: 16px;
  }

  .hero .hero-text .description {
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .hero-visual .profile-container {
    width: 300px;
    height: 300px;
    margin-bottom: 30px;
  }

  .hero .hero-actions {
    justify-content: center;
    gap: 15px;
  }

  .hero .hero-actions .btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  .hero .background-elements .bg-circle.circle-1 {
    width: 150px;
    height: 150px;
  }

  .hero .background-elements .bg-circle.circle-2 {
    width: 120px;
    height: 120px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .profile-card {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 5%) 100%);
  border-radius: 2rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
  position: relative;
  overflow: hidden;
}

.about .profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
}

@media (max-width: 991px) {
  .about .profile-card {
    margin-bottom: 3rem;
  }
}

.about .profile-header {
  position: relative;
  margin-bottom: 2rem;
}

.about .profile-header .profile-image {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about .profile-header .profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about .profile-header .profile-badge {
  position: absolute;
  bottom: 20px;
  right: calc(50% - 65px);
  width: 32px;
  height: 32px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--surface-color);
}

.about .profile-header .profile-badge i {
  color: var(--contrast-color);
  font-size: 14px;
}

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

.about .profile-content .profession {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 2rem;
}

.about .contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about .contact-links .contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: color-mix(in srgb, var(--surface-color), var(--background-color) 50%);
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--default-color);
  transition: all 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .contact-links .contact-item:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.about .contact-links .contact-item i {
  font-size: 1rem;
  width: 18px;
}

.about .about-content {
  padding-left: 3rem;
}

@media (max-width: 991px) {
  .about .about-content {
    padding-left: 0;
  }
}

.about .about-content .section-header {
  margin-bottom: 2rem;
}

.about .about-content .section-header .badge-text {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%));
  color: var(--contrast-color);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.about .about-content .section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

@media (max-width: 768px) {
  .about .about-content .section-header h2 {
    font-size: 1.875rem;
  }
}

.about .about-content .description {
  margin-bottom: 2.5rem;
}

.about .about-content .description p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 1.5rem;
}

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

.about .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background-color: var(--surface-color);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .about .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: center;
  }
}

.about .stats-grid .stat-item {
  text-align: center;
}

.about .stats-grid .stat-item .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
}

.about .stats-grid .stat-item .stat-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

.about .details-grid {
  margin-bottom: 2.5rem;
}

.about .details-grid .detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .about .details-grid .detail-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.about .details-grid .detail-row:last-child {
  margin-bottom: 0;
}

.about .details-grid .detail-item .detail-label {
  display: block;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.about .details-grid .detail-item .detail-value {
  display: block;
  font-weight: 600;
  color: var(--heading-color);
  font-size: 1rem;
}

.about .cta-section {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.about .cta-section .btn {
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid transparent;
}

.about .cta-section .btn.btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.about .cta-section .btn.btn-primary:hover {
  background-color: var(--accent-hover-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--accent-glow-color);
}

.about .cta-section .btn.btn-outline {
  background-color: transparent;
  color: var(--default-color);
  border-color: rgba(201, 148, 58, 0.45);
}

.about .cta-section .btn.btn-outline:hover {
  background-color: var(--accent-color);
  color: #071820;
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--accent-glow-color);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .stats .stats-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats .stats-wrapper {
    grid-template-columns: 1fr;
  }
}

.stats .stats-item {
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface-color), transparent 5%), var(--surface-color));
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.stats .stats-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stats .stats-item:hover .icon-wrapper {
  transform: scale(1.1);
}

.stats .stats-item:nth-child(1) .icon-wrapper {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
}

.stats .stats-item:nth-child(1) .icon-wrapper i {
  color: color-mix(in srgb, var(--accent-color), transparent 10%);
}

.stats .stats-item:nth-child(2) .icon-wrapper {
  background-color: color-mix(in srgb, #ff7e00, transparent 85%);
}

.stats .stats-item:nth-child(2) .icon-wrapper i {
  color: color-mix(in srgb, #ff7e00, transparent 10%);
}

.stats .stats-item:nth-child(3) .icon-wrapper {
  background-color: color-mix(in srgb, #00c875, transparent 85%);
}

.stats .stats-item:nth-child(3) .icon-wrapper i {
  color: color-mix(in srgb, #00c875, transparent 10%);
}

.stats .stats-item:nth-child(4) .icon-wrapper {
  background-color: color-mix(in srgb, #e83e8c, transparent 85%);
}

.stats .stats-item:nth-child(4) .icon-wrapper i {
  color: color-mix(in srgb, #e83e8c, transparent 10%);
}

.stats .stats-item .icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

.stats .stats-item .icon-wrapper i {
  font-size: 36px;
}

.stats .stats-item span {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
  line-height: 1;
  font-family: var(--heading-font);
}

.stats .stats-item p {
  color: var(--default-color);
  font-size: 18px;
  margin: 0;
  font-weight: 500;
  font-family: var(--heading-font);
  opacity: 0.8;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .skills-category {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s;
}

.skills .skills-category:hover {
  transform: translateY(-5px);
}

.skills .skills-category h3 {
  font-size: 24px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.skills .skills-category h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.skills .skill-item {
  margin-bottom: 25px;
}

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

.skills .skill-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.skills .skill-item .skill-percentage {
  font-size: 14px;
  color: color-mix(in srgb, var(--heading-color), transparent 30%);
}

.skills .skill-item .progress {
  height: 8px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.skills .skill-item .progress .progress-bar {
  background-color: var(--accent-color);
  transition: width 1.5s ease-in-out;
  width: 0;
  height: 100%;
  border-radius: 20px;
}

.skills .skill-item .skill-tooltip {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-top: 8px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s;
}

.skills .skill-item:hover .skill-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.skills .skill-box {
  background-color: var(--surface-color);
  padding: 25px 20px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.skills .skill-box:hover {
  transform: translateY(-5px);
}

.skills .skill-box:hover i {
  color: var(--accent-color);
  transform: scale(1.1);
}

.skills .skill-box:hover .skill-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.skills .skill-box i {
  font-size: 36px;
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  margin-bottom: 15px;
  display: inline-block;
  transition: all 0.3s;
}

.skills .skill-box h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.skills .skill-box .skill-tooltip {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s;
}

@media (max-width: 991.98px) {
  .skills .skills-category {
    margin-bottom: 30px;
  }

  .skills .skills-category:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .skills .skill-box {
    margin-bottom: 20px;
  }

  .skills .skill-box:last-child {
    margin-bottom: 0;
  }
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-side {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.resume .resume-side .profile-img {
  text-align: center;
}

.resume .resume-side .profile-img img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 50%;
}

.resume .resume-side h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
  font-weight: 600;
}

.resume .resume-side .contact-info li {
  margin-bottom: 1rem;
  color: var(--default-color);
}

.resume .resume-side .contact-info li i {
  width: 25px;
  color: var(--accent-color);
  margin-right: 0.5rem;
}

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

.resume .resume-side .skill-item span {
  font-size: 0.9rem;
  color: var(--default-color);
}

.resume .resume-side .skill-item .progress {
  height: 8px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 4px;
  margin-top: 0.5rem;
}

.resume .resume-side .skill-item .progress .progress-bar {
  background-color: var(--accent-color);
  width: 0;
  transition: width 1s ease;
}

.resume .resume-section {
  margin-bottom: 3rem;
}

.resume .resume-section h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  font-weight: 600;
}

.resume .resume-section h3 i {
  color: var(--accent-color);
}

.resume .resume-section .resume-item {
  padding-left: 1.5rem;
  border-left: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  margin-bottom: 2rem;
  position: relative;
}

.resume .resume-section .resume-item:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  left: -9px;
  top: 0;
  background: var(--accent-color);
}

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

.resume .resume-section .resume-item h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.resume .resume-section .resume-item .company {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.resume .resume-section .resume-item .company i {
  margin-right: 0.5rem;
}

.resume .resume-section .resume-item ul {
  padding-left: 1.2rem;
}

.resume .resume-section .resume-item ul li {
  margin-bottom: 0.5rem;
  color: var(--default-color);
}

.resume .resume-section .resume-item p {
  color: var(--default-color);
  margin-bottom: 0;
}

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

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .portfolio .filter-sidebar {
    margin-bottom: 30px;
  }
}

.portfolio .filters-wrapper {
  background-color: color-mix(in srgb, var(--surface-color), var(--default-color) 3%);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {
  .portfolio .filters-wrapper {
    padding: 20px;
  }
}

.portfolio .portfolio-filters {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 991px) {
  .portfolio .portfolio-filters {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--default-color);
  transition: all 0.3s ease-in-out;
  border-radius: 6px;
  background: transparent;
  position: relative;
  border-left: 3px solid transparent;
}

@media (max-width: 991px) {
  .portfolio .portfolio-filters li {
    padding: 8px 16px;
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
    border-left-width: 3px;
  }
}

.portfolio .portfolio-filters li:hover {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-left-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-left-color: var(--accent-color);
  font-weight: 600;
}

.portfolio .portfolio-wrap {
  transition: 0.4s;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.portfolio .portfolio-wrap img {
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
  width: 100%;
  height: 350px;
  object-fit: cover;
  will-change: transform;
  content-visibility: auto;
}

.portfolio .portfolio-wrap .portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
  z-index: 3;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: translateY(20px);
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info .content {
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: translateY(20px);
}

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

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: var(--contrast-color);
  font-weight: 700;
  margin-bottom: 15px;
}

.portfolio .portfolio-wrap .portfolio-info .portfolio-links {
  display: flex;
  gap: 12px;
}

.portfolio .portfolio-wrap .portfolio-info .portfolio-links a {
  color: var(--contrast-color);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 30%);
  border-radius: 50%;
  font-size: 18px;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info .portfolio-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.portfolio .portfolio-wrap:hover {
  transform: translateY(-5px);
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.08);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  transform: translateY(0);
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info .content {
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-header {
  margin-bottom: 60px;
}

.services .service-header .service-intro .service-heading {
  font-size: 48px;
  margin-bottom: 0;
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-color);
}

.services .service-header .service-intro .service-heading div {
  display: block;
  position: relative;
}

.services .service-header .service-intro .service-heading span {
  display: block;
  color: var(--accent-color);
}

@media (max-width: 992px) {
  .services .service-header .service-intro .service-heading {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .services .service-header .service-intro .service-heading {
    font-size: 30px;
    margin-bottom: 20px;
  }
}

.services .service-header .service-summary p {
  margin-bottom: 25px;
  color: var(--default-color);
}

.services .service-header .service-summary .service-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.services .service-header .service-summary .service-btn i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.services .service-header .service-summary .service-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  color: var(--contrast-color);
}

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

@media (max-width: 992px) {
  .services .service-header .service-summary {
    margin-top: 30px;
  }
}

.services .service-card {
  padding: 40px 40px 40px 40px;
  margin-bottom: 30px;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 90%);
  transition: all 0.3s ease;
}

.services .service-card .service-icon {
  margin-bottom: 25px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  width: 64px;
  height: 64px;
}

.services .service-card .service-icon i {
  font-size: 32px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.services .service-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
}

.services .service-card h3 a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.services .service-card h3 a span {
  display: block;
}

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

.services .service-card p {
  color: var(--default-color);
  transition: color 0.3s ease;
  margin-bottom: 0;
}

.services .service-card .card-action {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.services .service-card .card-action i {
  font-size: 24px;
  color: var(--contrast-color);
  transition: transform 0.3s ease;
}

.services .service-card .card-action:hover i {
  transform: rotate(45deg);
}

.services .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--surface-color);
  clip-path: polygon(70% 0, 100% 30%, 100% 100%, 0 100%, 0 0);
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.services .service-card:hover {
  border-color: transparent;
}

.services .service-card:hover::before {
  opacity: 1;
  visibility: visible;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

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

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

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

.services .service-card:hover .card-action {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

@media (max-width: 768px) {
  .services {
    padding: 50px 0 40px;
  }

  .services .service-card {
    padding: 25px 20px 20px;
    position: relative;
  }

  .services .service-card .service-icon {
    position: static;
    display: inline-flex;
    margin-bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .services .service-card .service-icon i {
    font-size: 26px;
  }

  .services .service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .services .service-card p {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.testimonials .testimonial-masonry::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--accent-color), transparent 95%), transparent);
  opacity: 0.5;
  z-index: -1;
}

.testimonials .testimonial-item:nth-child(3n-1) {
  margin-top: 3rem;
}

.testimonials .testimonial-item:nth-child(3n) {
  margin-top: 1.5rem;
}

.testimonials .testimonial-item.highlight .testimonial-content {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

.testimonials .testimonial-item.highlight .testimonial-content .quote-pattern {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
}

.testimonials .testimonial-item.highlight .testimonial-content .quote-pattern i {
  color: var(--accent-color);
}

.testimonials .testimonial-content {
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.testimonials .testimonial-content:hover {
  transform: translateY(-5px);
}

.testimonials .testimonial-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 1.5rem 0;
  position: relative;
}

.testimonials .quote-pattern {
  position: absolute;
  top: -1.25rem;
  left: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.testimonials .quote-pattern i {
  font-size: 1.25rem;
  color: var(--accent-color);
}

.testimonials .client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.testimonials .client-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonials .client-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials .client-details h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.testimonials .client-details .position {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--heading-color), transparent 40%);
}

@media (max-width: 1199.98px) {
  .testimonials .testimonial-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .testimonials .testimonial-item:nth-child(3n-1),
  .testimonials .testimonial-item:nth-child(3n) {
    margin-top: 0;
  }

  .testimonials .testimonial-item:nth-child(even) {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .testimonials .testimonial-masonry {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonials .testimonial-item:nth-child(even) {
    margin-top: 0;
  }

  .testimonials .testimonial-content {
    padding: 1.5rem;
  }

  .testimonials .testimonial-content p {
    font-size: 0.9375rem;
    margin: 1.25rem 0;
  }

  .testimonials .quote-pattern {
    width: 2.25rem;
    height: 2.25rem;
    top: -1.125rem;
  }

  .testimonials .quote-pattern i {
    font-size: 1.125rem;
  }

  .testimonials .client-info {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }

  .testimonials .client-image {
    width: 45px;
    height: 45px;
  }

  .testimonials .client-details h3 {
    font-size: 1rem;
  }

  .testimonials .client-details .position {
    font-size: 0.8125rem;
  }
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  padding: 40px;
  background: var(--surface-color);
  border-radius: 10px;
  height: 100%;
  transition: 0.3s;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.pricing .pricing-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-10px);
}

.pricing .pricing-item h3 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.pricing .pricing-item h4 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 25px;
}

.pricing .pricing-item h4 sup {
  font-size: 1.25rem;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 1rem;
}

.pricing .pricing-item .onwards-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent;
  border: 2px solid var(--accent-color);
  border-radius: 20px;
  padding: 5px 18px;
  margin-top: -15px;
  margin-bottom: 20px;
}

.pricing .pricing-item ul {
  padding: 0;
  list-style: none;
  color: var(--default-color);
  text-align: left;
  line-height: 20px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

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

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

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

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

.pricing .pricing-item .buy-btn {
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  color: #071820;
  background: var(--accent-color);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--heading-font);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.pricing .pricing-item .buy-btn:hover {
  background: var(--accent-hover-color);
  box-shadow: 0 8px 24px var(--accent-glow-color);
  transform: translateY(-2px);
}

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

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-box {
  background: linear-gradient(145deg, #0a2535 0%, #071820 60%, #0d2f40 100%);
  border: 1px solid rgba(201, 148, 58, 0.35);
  border-top: 3px solid var(--accent-color);
  color: var(--default-color);
  padding: 3rem;
  border-radius: 1rem;
  height: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(201, 148, 58, 0.1);
  position: relative;
  overflow: hidden;
}

.contact .info-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(201, 148, 58, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.contact .info-box p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact .info-box a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s;
}

.contact .info-box a:hover {
  color: var(--heading-color);
}

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

.contact .info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

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

.contact .info-item .icon-box {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(201, 148, 58, 0.12);
  border: 1px solid rgba(201, 148, 58, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.3s;
}

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

.contact .info-item:hover .icon-box {
  background-color: rgba(201, 148, 58, 0.22);
  border-color: var(--accent-color);
  box-shadow: 0 0 14px rgba(201, 148, 58, 0.25);
}

.contact .info-item .content h4 {
  color: var(--heading-color);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.contact .info-item .content p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

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

.contact .contact-form {
  background: linear-gradient(145deg, #0a2535 0%, #071820 100%);
  border: 1px solid rgba(201, 148, 58, 0.25);
  padding: 3rem;
  border-radius: 1rem;
  height: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

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

.contact .contact-form h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

.contact .contact-form p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 2rem;
}

.contact .contact-form .form-control,
.contact .contact-form .form-select {
  padding: 0.875rem 1.25rem;
  border-color: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 0.5rem;
  background-color: color-mix(in srgb, var(--surface-color) 90%, white 5%);
  color: var(--default-color);
}

.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), transparent 50%);
}

.contact .contact-form .btn {
  background-color: var(--accent-color);
  color: #071820;
  font-weight: 700;
  font-family: var(--heading-font);
  letter-spacing: 0.5px;
  padding: 1rem 2.5rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.contact .contact-form .btn:hover {
  background-color: var(--accent-hover-color);
  box-shadow: 0 8px 24px var(--accent-glow-color);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(var(--default-color), 0.1);
}

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

.portfolio-details .portfolio-details-slider img {
  aspect-ratio: 16/9;
  object-fit: cover;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  position: absolute;
  bottom: 20px;
}

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

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

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

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

.portfolio-details .portfolio-info ul {
  padding: 0;
  list-style: none;
}

.portfolio-details .portfolio-info ul li {
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio-details .portfolio-info ul li:last-child {
  border-bottom: 0;
}

.portfolio-details .portfolio-info ul li strong {
  font-weight: 600;
  margin-right: 10px;
  color: var(--heading-color);
}

.portfolio-details .portfolio-info ul li a {
  color: var(--accent-color);
  transition: 0.3s;
}

.portfolio-details .portfolio-info ul li a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: underline;
}

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

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

.portfolio-details .portfolio-description .features h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 30px;
}

.portfolio-details .portfolio-description .features .feature-item {
  padding: 30px;
  background-color: var(--surface-color);
  border-radius: 8px;
  height: 100%;
  transition: 0.3s;
  box-shadow: 0 0 30px rgba(var(--default-color), 0.1);
}

.portfolio-details .portfolio-description .features .feature-item:hover {
  transform: translateY(-5px);
}

.portfolio-details .portfolio-description .features .feature-item i {
  font-size: 32px;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: inline-block;
}

.portfolio-details .portfolio-description .features .feature-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.portfolio-details .portfolio-description .features .feature-item p {
  margin: 0;
  font-size: 15px;
}

@media (max-width: 991px) {
  .portfolio-details .portfolio-info {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .portfolio-details .portfolio-description h2 {
    font-size: 24px;
  }
}

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

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23c5a059' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select option {
  background-color: #051923;
  color: #ffffff;
}

.contact-form-web3 input, 
.contact-form-web3 select, 
.contact-form-web3 textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 12px 15px;
}

.contact-form-web3 input:focus,
.contact-form-web3 select:focus,
.contact-form-web3 textarea:focus {
  background-color: var(--surface-color);
  color: var(--default-color);
  border-color: var(--accent-color);
  box-shadow: none;
}

/*--------------------------------------------------------------
# COMPREHENSIVE MOBILE RESPONSIVENESS
# Covers all breakpoints: 768px → 576px → 480px → 360px
--------------------------------------------------------------*/

/* ============================================================
   768px — Large phones (portrait) & small tablets
   ============================================================ */
@media (max-width: 768px) {

  /* --- Global section spacing --- */
  section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  /* --- Portfolio: reduce fixed image height --- */
  .portfolio .portfolio-wrap img {
    height: 240px;
  }

  /* --- Portfolio filters: horizontal scroll on mobile --- */
  .portfolio .portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 0 10px;
  }

  .portfolio .portfolio-filters li {
    font-size: 13px;
    padding: 6px 16px;
  }

  /* --- Portfolio: 1 column on phones --- */
  .portfolio-container .portfolio-item {
    width: 100% !important;
  }

  /* --- Pricing: add basic mobile styles (MISSING before) --- */
  .pricing .pricing-item {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

  .pricing .pricing-item h3 {
    font-size: 1.25rem;
  }

  .pricing .pricing-item h4 {
    font-size: 2rem;
  }

  .pricing .pricing-item ul {
    margin-bottom: 20px;
  }

  .pricing .pricing-item .buy-btn {
    padding: 10px 32px;
    font-size: 0.9rem;
    display: block;
    text-align: center;
  }

  /* --- Stats: reduce font sizes --- */
  .stats .stats-item span {
    font-size: 38px;
  }

  .stats .stats-item p {
    font-size: 15px;
  }

  .stats .stats-item .icon-wrapper {
    width: 64px;
    height: 64px;
  }

  /* --- Contact: tighter spacing --- */
  .contact .info-box {
    padding: 1.5rem;
    margin-bottom: 20px;
  }

  .contact .info-item {
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .contact .contact-form {
    padding: 1.5rem;
  }

  /* --- Services: handled by existing 768px block above --- */

  /* --- Footer --- */
  #footer {
    text-align: center;
    font-size: 13px;
    padding: 15px 10px;
  }
}

/* ============================================================
   576px — Standard smartphones (portrait)
   ============================================================ */
@media (max-width: 576px) {

  /* --- Global --- */
  .section-title h2 {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

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

  /* --- Hero --- */
  .hero .hero-text .hero-badge {
    font-size: 9px;
    padding: 5px 12px;
    letter-spacing: 1px;
  }

  .hero .hero-text h1 {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .hero .hero-text h1 .accent-text {
    font-size: 1rem;
    letter-spacing: 5px;
    margin-right: -5px;
  }

  .hero .hero-divider {
    margin: 12px 0;
    justify-content: center;
  }

  .hero .hero-text h2 {
    font-size: 1.1rem;
  }

  .hero .hero-text .lead {
    font-size: 14px;
  }

  .hero .hero-visual .profile-container {
    width: 260px;
    height: 260px;
    margin: 0 auto;
  }

  .hero .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero .hero-actions .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
    justify-content: center;
  }

  .hero .social-links {
    justify-content: center;
    gap: 14px;
  }

  .hero .social-links a {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  /* --- About / Journey --- */
  .about .profile-card {
    padding: 1.5rem;
  }

  .about .profile-header .profile-image {
    width: 120px;
    height: 120px;
  }

  .about .profile-content h3 {
    font-size: 1.25rem;
  }

  .about .profile-content .profession {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .about .contact-links .contact-item {
    padding: 0.6rem 0.75rem;
    font-size: 14px;
  }

  .about .about-content .section-header .badge-text {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
  }

  .about .about-content .section-header h2 {
    font-size: 1.5rem;
  }

  .about .about-content .description p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  /* stats-grid: 2 columns side by side looks better than 1 */
  .about .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem;
  }

  .about .stats-grid .stat-item .stat-number {
    font-size: 1.6rem;
  }

  .about .stats-grid .stat-item .stat-label {
    font-size: 0.78rem;
  }

  .about .details-grid .detail-row {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .about .details-grid .detail-item .detail-label {
    font-size: 0.78rem;
  }

  .about .details-grid .detail-item .detail-value {
    font-size: 0.9rem;
  }

  .about .cta-section {
    flex-direction: column;
    gap: 0.75rem;
  }

  .about .cta-section .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 14px;
  }

  /* --- Stats --- */
  .stats .stats-item span {
    font-size: 34px;
  }

  .stats .stats-item p {
    font-size: 13px;
  }

  .stats .stats-item .icon-wrapper {
    width: 56px;
    height: 56px;
  }

  .stats .stats-item .icon-wrapper i {
    font-size: 26px;
  }

  /* --- Portfolio --- */
  .portfolio .portfolio-wrap img {
    height: 210px;
  }

  .portfolio .portfolio-wrap .portfolio-info {
    padding: 15px;
  }

  /* --- Services --- */
  .services .service-card {
    padding: 20px 15px;
  }

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

  .services .service-card p {
    font-size: 13px;
  }

  /* --- Pricing --- */
  .pricing .pricing-item h4 {
    font-size: 1.75rem;
  }

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

  .pricing .pricing-item ul li {
    font-size: 14px;
    padding: 5px 0;
  }

  .pricing .pricing-item .buy-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
  }

  /* --- Contact --- */
  .contact .info-box {
    padding: 1.25rem;
  }

  .contact .info-box h3 {
    font-size: 1.5rem;
  }

  .contact .info-item .icon-box {
    width: 3rem;
    height: 3rem;
  }

  .contact .info-item .icon-box i {
    font-size: 1.2rem;
  }

  .contact .info-item .content h4 {
    font-size: 1rem;
  }

  .contact .contact-form {
    padding: 1.25rem;
  }

  .contact .contact-form h3 {
    font-size: 1.5rem;
  }

  .contact .contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }
}

/* ============================================================
   480px — Most common Android phones (Galaxy, Redmi, etc.)
   ============================================================ */
@media (max-width: 480px) {

  /* --- Global --- */
  body {
    font-size: 14px;
  }

  .section-title h2 {
    font-size: 1.35rem;
    letter-spacing: 1px;
  }

  /* --- Header toggle button: always visible & well sized --- */
  .header-toggle {
    width: 38px;
    height: 38px;
    font-size: 18px;
    top: 12px;
    right: 12px;
  }

  /* --- Hero --- */
  .hero .hero-text h1 {
    font-size: 1.75rem;
    letter-spacing: 2px;
  }

  .hero .hero-text h1 .accent-text {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }

  .hero .hero-visual .profile-container {
    width: 240px;
    height: 240px;
  }

  /* --- About --- */
  .about .profile-card {
    padding: 1.25rem;
  }

  .about .profile-header .profile-image {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }

  .about .profile-content h3 {
    font-size: 1.1rem;
  }

  .about .about-content .section-header h2 {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .about .about-content .description p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .about .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 1rem;
  }

  .about .stats-grid .stat-item .stat-number {
    font-size: 1.4rem;
  }

  .about .stats-grid .stat-item .stat-label {
    font-size: 11px;
  }

  .about .details-grid .detail-item .detail-value {
    font-size: 0.85rem;
  }

  /* --- Stats --- */
  .stats .stats-item span {
    font-size: 30px;
  }

  .stats .stats-item p {
    font-size: 12px;
  }

  .stats .stats-item .icon-wrapper {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

  .stats .stats-item .icon-wrapper i {
    font-size: 22px;
  }

  /* --- Portfolio --- */
  .portfolio .portfolio-wrap img {
    height: 190px;
  }

  .portfolio .portfolio-filters li {
    font-size: 12px;
    padding: 5px 12px;
  }

  /* --- Pricing --- */
  .pricing .pricing-item {
    padding: 20px 15px;
  }

  .pricing .pricing-item h4 {
    font-size: 1.6rem;
  }

  .pricing .pricing-item h4 sup {
    font-size: 1rem;
  }

  .pricing .pricing-item h4 span {
    font-size: 0.75rem;
  }

  /* --- Services --- */
  .services .service-card h3 {
    font-size: 1rem;
  }

  /* --- Contact --- */
  .contact .info-box {
    padding: 1rem;
  }

  .contact .info-item {
    gap: 0.75rem;
  }

  .contact .contact-form {
    padding: 1rem;
  }

  .contact .contact-form .form-control,
  .contact .contact-form .form-select {
    padding: 0.75rem 1rem;
    font-size: 14px;
  }
}

/* ============================================================
   360px — Small phones (Galaxy S, Redmi 9, etc.)
   ============================================================ */
@media (max-width: 360px) {

  /* --- Hero --- */
  .hero .hero-text h1 {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .hero .hero-text h1 .accent-text {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .hero .hero-visual .profile-container {
    width: 210px;
    height: 210px;
  }

  .hero .hero-actions .btn {
    font-size: 14px;
    padding: 11px 20px;
  }

  /* --- Stats --- */
  .stats .stats-item span {
    font-size: 26px;
  }

  /* --- Portfolio --- */
  .portfolio .portfolio-wrap img {
    height: 170px;
  }

  /* --- Pricing --- */
  .pricing .pricing-item h4 {
    font-size: 1.4rem;
  }

  .pricing .pricing-item h3 {
    font-size: 1rem;
  }

  /* --- Contact --- */
  .contact .info-box h3,
  .contact .contact-form h3 {
    font-size: 1.3rem;
  }

  .contact .info-item .icon-box {
    width: 2.5rem;
    height: 2.5rem;
  }

  .contact .info-item .icon-box i {
    font-size: 1rem;
  }
}