/* Add border to skills cards to match other cards */
.skill-card {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 5%) 100%);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  transition: all 0.3s ease;
  box-shadow: 0 2px 24px 0 rgba(44, 62, 80, 0.13);
}
.skill-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
}
.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--accent-color), transparent 80%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}
.skill-card .skill-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  gap: 15px;
}
.skill-card .skill-header i {
  font-size: 28px;
  color: var(--accent-color);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 12px;
}
.skill-card .skill-header h3 {
  font-size: 20px;
  margin: 0;
  color: var(--heading-color);
}
.skill-card .skill-item {
  margin-bottom: 20px;
}
.skill-card .skill-item:last-child {
  margin-bottom: 0;
}
.skill-card .skill-item .skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.skill-card .skill-item .skill-info .skill-name {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 15px;
}
.skill-card .skill-item .skill-info .skill-percentage {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-color);
}
.skill-card .skill-item .skill-bar {
  height: 6px;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.skill-card .skill-item .skill-bar .progress-bar {
  height: 100%;
  background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%));
  border-radius: 10px;
  width: 0;
  transition: width 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.skill-card .skill-item .skill-bar .progress-bar:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}
/* Skills Grid Vertical Layout */
.skills-grid-vertical {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0 auto 32px auto;
  max-width: 1200px;
}
@media (max-width: 991.98px) {
  .skills-grid-vertical {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (max-width: 767.98px) {
  .skills-grid-vertical {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
/* Dark mode for Top Navigation Bar */
body.dark-mode .top-navbar {
  background: #232946;
  box-shadow: 0 2px 16px rgba(70,198,252,0.10);
}
body.dark-mode .top-navbar a.right-nav-link {
  color: #eaeaea;
}
body.dark-mode .top-navbar a.right-nav-link.active,
body.dark-mode .top-navbar a.right-nav-link:hover {
  background: var(--accent-gradient);
  color: #fff;
}
/* Top Horizontal Navigation Bar */
.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1050;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 0 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
}
.top-navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}
.top-navbar li {
  margin: 0 4px;
}
.top-navbar a.right-nav-link {
  display: block;
  color: var(--nav-color, #314862);
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 16px;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.top-navbar a.right-nav-link.active,
.top-navbar a.right-nav-link:hover {
  background: var(--accent-color, #065cc2);
  color: #fff;
}
@media (max-width: 991px) {
  .top-navbar {
    display: none;
  }
}
body {
  padding-top: 56px;
}
/**
* Template Name: Style
* Template URL: https://bootstrapmade.com/style-bootstrap-portfolio-template/
* Updated: Jul 02 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
/* Modern Color Theme */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Quicksand", sans-serif;
  --nav-font: "Open Sans", sans-serif;
  --background-color: #f6f7fb;
  --default-color: #232946;
  --heading-color: #3f2b96;
  --accent-color: #6d5dfc;
  --accent-gradient: linear-gradient(90deg, #6d5dfc 0%, #46c6fc 100%);
  --surface-color: #fff;
  --contrast-color: #fff;
  --card-shadow: 0 4px 24px rgba(109,93,252,0.08);
  --transition: 0.3s cubic-bezier(.4,2,.6,1);
}

body.dark-mode {
  --background-color: #181a23;
  --default-color: #eaeaea;
  --heading-color: #a7a3ff;
  --accent-color: #46c6fc;
  --accent-gradient: linear-gradient(90deg, #232946 0%, #6d5dfc 100%);
  --surface-color: #232946;
  --contrast-color: #232946;
  --card-shadow: 0 4px 24px rgba(70,198,252,0.08);
}

body {
  background: var(--background-color);
  color: var(--default-color);
  transition: background var(--transition), color var(--transition);
}

section, .section {
  background: var(--surface-color);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  margin-bottom: 2.5rem;
  transition: background var(--transition), box-shadow var(--transition);
}

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

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 18px;
  left: 24px;
  z-index: 2000;
  background: var(--surface-color);
  color: var(--accent-color);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background var(--transition), color var(--transition);
}
.theme-toggle:hover {
  background: var(--accent-color);
  color: #fff;
}

/* Modern Card Hover Effect */
.portfolio-card, .card, .floating-card {
  transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1);
}
.portfolio-card:hover, .card:hover, .floating-card:hover {
  transform: translateY(-8px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 32px rgba(109,93,252,0.16);
}

/* Gradient Accent Buttons */
.btn-primary, .btn.btn-primary {
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(109,93,252,0.10);
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-primary:hover, .btn.btn-primary:hover {
  background: linear-gradient(90deg, #46c6fc 0%, #6d5dfc 100%);
  box-shadow: 0 4px 16px rgba(109,93,252,0.18);
}

/* Dark mode button colors */
body.dark-mode .btn-primary,
body.dark-mode .btn.btn-primary {
  color: #fff !important;
}

body.dark-mode .btn-primary:hover,
body.dark-mode .btn.btn-primary:hover {
  color: #fff !important;
}

/* Dark mode for hero section buttons specifically */
body.dark-mode .hero .hero-actions .btn.btn-primary {
  color: #fff !important;
}

body.dark-mode .hero .hero-actions .btn.btn-primary:hover {
  color: #fff !important;
}

/* Section fade-in animation */
.section {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInSection 1s forwards;
  animation-delay: 0.2s;
}
@keyframes fadeInSection {
  to {
    opacity: 1;
    transform: none;
  }
}

/* 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: #314862;  /* The default color of the main navmenu links */
  --nav-hover-color: #065cc2; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #11427d; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #065cc2; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #acc4e0; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* 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: #f7faff;
  --surface-color: #ffffff;
}

body.dark-mode .contact.section.light-background {
  --background-color: #232946;
  --surface-color: #232946;
  color: #eaeaea;
}
body.dark-mode .contact.section.light-background h2,
body.dark-mode .contact.section.light-background h3,
body.dark-mode .contact.section.light-background h4,
body.dark-mode .contact.section.light-background label {
  color: #a7a3ff;
}
body.dark-mode .contact.section.light-background .form-control,
body.dark-mode .contact.section.light-background textarea {
  background: #181a23;
  color: #eaeaea;
  border-color: #232946;
}
body.dark-mode .contact.section.light-background .form-control::placeholder,
body.dark-mode .contact.section.light-background textarea::placeholder {
  color: #b0b0b0;
}
body.dark-mode .contact.section.light-background .btn {
  background: var(--accent-gradient);
  color: #fff;
}
body.dark-mode .contact.section.light-background .btn:hover {
  background: linear-gradient(90deg, #46c6fc 0%, #6d5dfc 100%);
}
body.dark-mode .contact.section.light-background .info-box,
body.dark-mode .contact.section.light-background .info-item {
  background: #232946;
  color: #eaeaea;
  border-color: #232946;
}

.dark-background {
  --background-color: #065cc2;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #afcdf1;
  --surface-color: #2973cc;
  --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);
}

/* 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(255, 255, 255, 0);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

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

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

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

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu */
.mobile-nav-toggle {
  color: var(--nav-color);
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 32px;
  line-height: 0;
  cursor: pointer;
  display: block !important;
  z-index: 998;
  transition: 0.3s;
}

.mobile-nav-toggle:hover {
  color: var(--nav-hover-color);
}

.navmenu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -300px;
  z-index: 997;
  transition: 0.3s;
  width: 300px;
  overflow: hidden;
}

.navmenu .profile-img img {
  margin: 15px auto;
  display: block;
  width: 160px;
  border: 8px solid color-mix(in srgb, var(--contrast-color), transparent 85%);
}

.navmenu .logo {
  line-height: 1;
  margin-bottom: 15px;
}

.navmenu .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.navmenu .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--contrast-color);
}

.navmenu .social-links {
  margin: 0 0 20px 0;
}

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

.navmenu .social-links a i {
  margin: 0;
}

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

.navmenu ul {
  display: block;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  overflow-y: auto;
  transition: 0.3s;
  z-index: 998;
}

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

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

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

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

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

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 10px 0;
  margin: 10px 20px;
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.navmenu .dropdown>.dropdown-active {
  display: block;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--nav-dropdown-color), transparent 90%);
}

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

.mobile-nav-active .mobile-nav-toggle {
  right: 310px;
  font-size: 36px;
}

.mobile-nav-active .navmenu {
  position: fixed;
  overflow: hidden;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: var(--nav-mobile-background-color);
  transition: 0.3s;
}

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

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

.footer .social-links {
  margin-top: 20px;
}

.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: 0 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;
}

/*--------------------------------------------------------------
# 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);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.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 {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 0.5px;
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 10px 10px;
}

.section-title p {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin: 5px 0 0 0;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
}

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

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/bg/abstract-bg-1.webp") no-repeat center center;
  background-size: cover;
  opacity: 0.08;
  z-index: 1;
}

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

@media (max-width: 991px) {
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 576px) {
  .hero .hero-title {
    font-size: 2.2rem;
  }
}

/* Smaller font for hero-title and animated text */
.hero .hero-title {
  font-size: 3rem; /* Even smaller main title */
  font-weight: 700;
}
.hero-title .typed {
  font-size: 2rem; /* One size smaller than main title */
  font-weight: 500;
}

.hero .hero-title .typed {
  color: var(--accent-color);
  position: relative;
}

.hero .lead {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 3rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero .lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
}

.hero .hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .hero .hero-stats {
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
}


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

@media (max-width: 768px) {
  .hero .hero-actions {
    justify-content: center;
    margin-bottom: 2rem;
  }
}

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

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

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

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

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

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

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

@media (max-width: 768px) {
  .hero .social-links {
    justify-content: center;
  }
}

.hero .social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--surface-color);
  color: var(--default-color);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--default-color), transparent 90%);
}

.hero .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.hero .social-links a i {
  font-size: 1.2rem;
}

.hero .hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
}

@media (max-width: 991px) {
  .hero .hero-image {
    min-height: auto;
    padding: 40px 30px;
  }
}

.hero .image-container {
  position: relative;
  max-width: 500px;
  width: 100%;
}

.hero .hero-main-image {
  border-radius: 20px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
  position: relative;
  z-index: 2;
}

.hero .image-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 30%));
  border-radius: 20px;
  z-index: 1;
}

.hero .floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

.hero .floating-card {
  position: absolute;
  background-color: var(--surface-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;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}

@media (max-width: 768px) {
  .hero .floating-card {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

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

@media (max-width: 768px) {
  .hero .floating-card i {
    font-size: 1.2rem;
  }
}

.hero .floating-card span {
  font-weight: 600;
  color: var(--default-color);
}

.hero .floating-card.card-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

@media (max-width: 768px) {
  .hero .floating-card.card-1 {
    top: 5%;
    left: -5%;
  }
}

.hero .floating-card.card-2 {
  top: 60%;
  right: -15%;
  animation-delay: 2s;
}

@media (max-width: 768px) {
  .hero .floating-card.card-2 {
    top: 70%;
    right: -10%;
  }
}

.hero .floating-card.card-3 {
  bottom: 15%;
  left: -5%;
  animation-delay: 4s;
}

@media (max-width: 768px) {
  .hero .floating-card.card-3 {
    bottom: 10%;
    left: 0%;
  }
}

@keyframes float {

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

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

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .profile-image-wrapper {
  position: relative;
}

.about .profile-image-wrapper .profile-image {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--accent-color);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 80%);
}

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

@media (max-width: 768px) {
  .about .profile-image-wrapper .profile-image {
    width: 200px;
    height: 200px;
  }
}

.about .about-content .intro {
  margin-bottom: 40px;
}

.about .about-content .intro h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .about .about-content .intro h2 {
    font-size: 2rem;
    text-align: center;
  }
}

.about .about-content .intro p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

@media (max-width: 768px) {
  .about .about-content .intro p {
    text-align: center;
  }
}

/* Education Timeline */
.education-timeline {
  margin-bottom: 40px;
}

.education-timeline h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  text-align: center;
}

.timeline {
  position: relative;
  padding-left: 25px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 50%) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateX(30px);
  animation: timelineSlideIn 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes timelineSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.timeline-marker {
  position: absolute;
  left: -31px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  border: 2px solid var(--surface-color);
  border-radius: 50%;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-color), transparent 80%);
  z-index: 1;
}

.timeline-content {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  padding: 15px 20px;
  border-radius: 12px;
  border-left: 3px solid var(--accent-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, color-mix(in srgb, var(--accent-color), transparent 90%) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-item:hover .timeline-content {
  transform: translateX(8px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.timeline-item:hover .timeline-content::before {
  opacity: 1;
}

.timeline-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.timeline-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.institution {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.description {
  display: none;
}

/* Professional About Section Action Buttons */
.about .about-content .action-buttons {
  display: flex;
  gap: 18px;
  justify-content: flex-start;
  margin-top: 32px;
}

@media (max-width: 576px) {
  .about .about-content .action-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

.about .about-content .action-buttons .btn {
  padding: 14px 36px;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 18px 0 rgba(60, 60, 120, 0.08);
  transition: all 0.18s cubic-bezier(.4,0,.2,1);
  border: 2px solid var(--accent-color);
  outline: none;
}
.about .about-content .action-buttons .btn.btn-primary {
  background: linear-gradient(90deg, var(--accent-color) 60%, var(--accent-color-dark, #3a3a6a) 100%);
  color: var(--contrast-color, #fff);
  border: 2px solid var(--accent-color);
}
.about .about-content .action-buttons .btn.btn-primary:hover {
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent-color), #222 10%) 60%, var(--accent-color-dark, #2a2a4a) 100%);
  color: var(--contrast-color, #fff);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px 0 rgba(60, 60, 120, 0.16);
}
.about .about-content .action-buttons .btn.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}
.about .about-content .action-buttons .btn.btn-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color, #fff);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px 0 rgba(60, 60, 120, 0.10);
}

@media (max-width: 768px) {
  .timeline {
    padding-left: 20px;
  }
  
  .timeline::before {
    left: 10px;
  }
  
  .timeline-marker {
    left: -26px;
    width: 10px;
    height: 10px;
  }
  
  .timeline-content {
    padding: 12px 16px;
  }
  
  .timeline-content h4 {
    font-size: 14px;
  }
  
  .education-timeline h3 {
    font-size: 18px;
  }
  
  .timeline-date {
    font-size: 10px;
  }
  
  .institution {
    font-size: 12px;
  }
}

@media (max-width: 992px) {
  .about .profile-image-wrapper {
    margin-bottom: 40px;
  }
}

/*--------------------------------------------------------------
# Services Section - Certificate Carousel
--------------------------------------------------------------*/
.services .certificates-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 20px;
}

.carousel-nav:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev-btn {
  left: -25px;
}

.carousel-nav.next-btn {
  right: -25px;
}

/* Main Certificate Display */
.certificate-main-display {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
  margin-bottom: 40px;
}

.certificate-showcase {
  position: relative;
  width: 100%;
  height: 100%;
}

.certificate-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.certificate-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.certificate-slide.prev {
  transform: translateX(-100px);
}

.certificate-large {
  display: flex;
  height: 100%;
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
}

.certificate-img-large {
  width: 50%;
  height: 100%;
  object-fit: contain;
  background: #f8f9fa;
  padding: 20px;
}

.certificate-info {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.certificate-info h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.certificate-issuer {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.certificate-description {
  font-size: 1rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 30px;
}

.btn-view-cert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: var(--accent-gradient);
  color: var(--contrast-color);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: fit-content;
}

.btn-view-cert:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--contrast-color);
}

/* Certificate Thumbnails */
.certificate-thumbnails {
  margin-bottom: 30px;
  overflow: hidden;
}

.thumbnail-container {
  display: flex;
  gap: 15px;
  padding: 10px 0;
  justify-content: center;
  flex-wrap: wrap;
}

.thumbnail {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  opacity: 0.6;
}

.thumbnail.active {
  border-color: var(--accent-color);
  opacity: 1;
  transform: scale(1.1);
}

.thumbnail:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

/* Progress Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--accent-color);
  transform: scale(1.2);
}

.indicator:hover {
  background: var(--accent-color);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .certificate-large {
    flex-direction: column;
  }
  
  .certificate-img-large,
  .certificate-info {
    width: 100%;
  }
  
  .certificate-img-large {
    height: 250px;
  }
  
  .certificate-info {
    padding: 30px;
  }
  
  .certificate-info h3 {
    font-size: 1.5rem;
  }
  
  .carousel-nav {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .certificate-main-display {
    height: 600px;
  }
  
  .certificate-info {
    padding: 20px;
  }
  
  .certificate-info h3 {
    font-size: 1.3rem;
  }
  
  .thumbnail {
    width: 60px;
    height: 45px;
  }
  
  .thumbnail-container {
    gap: 8px;
  }
}

/* Animation for certificate transitions */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.certificate-slide.slide-in-right {
  animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.certificate-slide.slide-in-left {
  animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  height: 100%;
  padding: 2rem;
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 5px 25px -5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.services .service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background-color: var(--accent-color);
  transition: height 0.3s ease-in-out;
}

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

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

/* Horizontal Certificate Layout */
.services .certificates-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .services .certificates-container {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .services .certificates-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .services .certificates-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .services .certificates-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Sequential popup animation */
.services .certificate-item {
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: certificatePopup 0.6s ease forwards;
}

.services .certificate-item:nth-child(1) {
  animation-delay: 0.1s;
}

.services .certificate-item:nth-child(2) {
  animation-delay: 0.2s;
}

.services .certificate-item:nth-child(3) {
  animation-delay: 0.3s;
}

.services .certificate-item:nth-child(4) {
  animation-delay: 0.4s;
}

.services .certificate-item:nth-child(5) {
  animation-delay: 0.5s;
}

.services .certificate-item:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes certificatePopup {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Center certificate content */
.certificate-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 320px;
}

.certificate-img {
  width: 240px;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 12px 0 rgba(44, 62, 80, 0.10);
  background: #fff;
  border: 2px solid #e0e0e0;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease;
}

.certificate-item:hover .certificate-img {
  transform: scale(1.05);
}

.certificate-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--heading-color);
  text-align: center;
  line-height: 1.4;
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-item .card-links {
  margin-top: auto;
}

.certificate-item .link-item {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: color 0.2s;
  padding: 8px 16px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.certificate-item .link-item:hover {
  color: #fff;
  background: var(--accent-color);
  text-decoration: none;
}

/* Dark mode adjustments */
body.dark-mode .certificate-img {
  border-color: #444;
  background: #2a2a2a;
}

body.dark-mode .certificate-item .link-item {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
}

body.dark-mode .certificate-item .link-item:hover {
  background: var(--accent-color);
  color: #fff;
}

/* Dark mode for certificate carousel buttons */
body.dark-mode .btn-view-cert {
  color: #fff;
}

body.dark-mode .btn-view-cert:hover {
  color: #fff;
}

/*--------------------------------------------------------------
# Achievements Section (Testimonials)
--------------------------------------------------------------*/
.testimonials {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

.achievement-card {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 25px;
  height: 100%;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.achievement-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.achievement-content {
  text-align: center;
}

.achievement-date {
  font-size: 14px;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.achievement-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.achievement-organization {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.achievement-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Volunteering Section (FAQ)
--------------------------------------------------------------*/
.faq {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

.volunteering-card {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.volunteering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.volunteering-content {
  text-align: center;
}

.volunteering-period {
  font-size: 14px;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.volunteering-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.volunteering-organization {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.volunteering-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
}

.volunteering-links {
  margin-top: 15px;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.linkedin-link:hover {
  color: var(--heading-color);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

.contact .info-box {
  background: var(--surface-color);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  height: 100%;
}

.contact .info-box h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.contact .info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

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

.contact .icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  font-size: 20px;
  flex-shrink: 0;
}

.contact .content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.contact .content p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.contact .contact-form {
  background: var(--surface-color);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
}

.contact .contact-form h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
}

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

.contact .form-control {
  background: var(--surface-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--default-color);
  transition: all 0.3s ease;
}

.contact .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
  outline: none;
}

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

.contact .btn {
  background: var(--accent-gradient);
  color: var(--contrast-color);
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--contrast-color);
}

/* Ensure sections are always visible */
#testimonials {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#faq {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#contact {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/*--------------------------------------------------------------
# Modern Projects Section
--------------------------------------------------------------*/
.portfolio {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

.projects-layout {
  max-width: 1400px;
  margin: 0 auto;
}

/* Modern Filter Buttons */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--surface-color);
  color: var(--default-color);
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-gradient);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.filter-btn i {
  font-size: 16px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-filters {
    gap: 8px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .filter-btn span {
    display: none;
  }
}

/* Project Cards */
.project-card {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px color-mix(in srgb, var(--accent-color), transparent 80%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

/* Project Image */
.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

.project-card:hover .project-image img {
  transform: scale(1.1);
}

/* Project Overlay */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-color) 0%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-actions {
  display: flex;
  gap: 15px;
}

.project-actions a {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--contrast-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.project-actions a:hover {
  background: var(--contrast-color);
  color: var(--accent-color);
  transform: scale(1.1) rotate(5deg);
  border-color: var(--contrast-color);
}

.project-actions i {
  font-size: 18px;
}

/* Project Content */
.project-content {
  padding: 25px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.project-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 4px 12px;
  border-radius: 15px;
}

.project-tech {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tech-tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--default-color);
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 3px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.project-card:hover .project-title {
  color: var(--accent-color);
}

.project-description {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

/* Filter Animation */
.project-card {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.project-card.hidden {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
  display: none;
}

/*--------------------------------------------------------------
# Modern Skills Section
--------------------------------------------------------------*/
.skills-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .skills-grid-modern {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.skill-category {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.skill-category:hover::before {
  left: 100%;
}

.skill-category:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--accent-color), transparent 80%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

.category-icon {
  font-size: 28px;
  color: var(--accent-color);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.skill-category:hover .category-icon {
  transform: rotate(360deg) scale(1.1);
  background: var(--accent-color);
  color: var(--contrast-color);
}

.category-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  line-height: 1.2;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

@media (max-width: 480px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 15px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tool-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: scale(0);
}

.tool-item:hover::before {
  opacity: 0.1;
  transform: scale(1);
}

.tool-item:hover {
  transform: translateY(-5px) rotateY(5deg);
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: var(--accent-color);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.tool-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  filter: brightness(1);
  position: relative;
  z-index: 1;
}

.tool-item:hover .tool-logo {
  transform: scale(1.2) rotateZ(10deg);
  filter: brightness(1.2);
}

.tool-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

/* Skills Modal Popup */
.skills-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.skills-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--surface-color);
  border-radius: 25px;
  padding: 40px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.7) translateY(50px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

.skills-modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.modal-icon {
  font-size: 48px;
  color: var(--accent-color);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 20px;
  animation: modalIconPulse 2s infinite;
}

@keyframes modalIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.modal-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  line-height: 1.2;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--default-color);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  transform: rotate(90deg);
}

.modal-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.modal-tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px 20px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.modal-tool-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0.1;
  transition: left 0.6s ease;
}

.modal-tool-item:hover::before {
  left: 100%;
}

.modal-tool-item:hover {
  transform: translateY(-8px) scale(1.05);
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border-color: var(--accent-color);
  box-shadow: 0 15px 35px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.modal-tool-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.modal-tool-item:hover .modal-tool-logo {
  transform: scale(1.2) rotateY(180deg);
}

.modal-tool-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.modal-description {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 20px;
  text-align: center;
}

/* Staggered animation for modal tools */
.modal-tool-item {
  animation: modalToolFadeIn 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.modal-tool-item:nth-child(1) { animation-delay: 0.1s; }
.modal-tool-item:nth-child(2) { animation-delay: 0.2s; }
.modal-tool-item:nth-child(3) { animation-delay: 0.3s; }
.modal-tool-item:nth-child(4) { animation-delay: 0.4s; }
.modal-tool-item:nth-child(5) { animation-delay: 0.5s; }
.modal-tool-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes modalToolFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark mode adjustments for tool logos */
body.dark-mode .tool-logo,
body.dark-mode .modal-tool-logo {
  filter: brightness(1.2) contrast(1.1);
}

body.dark-mode .tool-item:hover .tool-logo,
body.dark-mode .modal-tool-item:hover .modal-tool-logo {
  filter: brightness(1.3) contrast(1.2);
}

/* Special handling for logos that need dark mode inversion */
body.dark-mode .tool-item:has([alt="GitHub"]) .tool-logo,
body.dark-mode .tool-item:has([alt="Next.js"]) .tool-logo,
body.dark-mode .modal-tool-item:has([alt="GitHub"]) .modal-tool-logo,
body.dark-mode .modal-tool-item:has([alt="Next.js"]) .modal-tool-logo {
  filter: invert(1) brightness(1.2);
}

body.dark-mode .tool-item:hover:has([alt="GitHub"]) .tool-logo,
body.dark-mode .tool-item:hover:has([alt="Next.js"]) .tool-logo,
body.dark-mode .modal-tool-item:hover:has([alt="GitHub"]) .modal-tool-logo,
body.dark-mode .modal-tool-item:hover:has([alt="Next.js"]) .modal-tool-logo {
  filter: invert(1) brightness(1.3);
}

/* Responsive modal */
@media (max-width: 768px) {
  .modal-content {
    padding: 25px 20px;
    width: 95%;
  }
  
  .modal-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .modal-icon {
    width: 60px;
    height: 60px;
    font-size: 36px;
  }
  
  .modal-title {
    font-size: 24px;
  }
  
  .modal-tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .modal-tool-item {
    padding: 20px 15px;
  }
  
  .modal-tool-logo {
    width: 45px;
    height: 45px;
  }
  
  .modal-tool-name {
    font-size: 14px;
  }
}

/* Custom Kaggle Logo */
.kaggle-logo {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: currentColor;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
}

.kaggle-logo::before {
  content: "k";
  font-style: normal;
}

/* Custom Hugging Face Logo */
.huggingface-logo {
  font-size: 1.2rem;
  color: currentColor;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.huggingface-logo::before {
  content: "🤗";
  font-style: normal;
  filter: grayscale(1) contrast(1000%) brightness(0);
}

/* Dark mode adjustments for custom logos */
body.dark-mode .kaggle-logo,
body.dark-mode .huggingface-logo {
  color: currentColor;
}

body.dark-mode .huggingface-logo::before {
  filter: grayscale(1) contrast(1000%) brightness(1);
}