/*==================================
Modern Portfolio Style - Yellow Theme
Lusan Sapkota Portfolio
==================================== */

/*=========== TABLE OF CONTENTS ===========
1.  General css (Reset & Base)
2.  Header & Navigation
3.  Welcome Hero Section
4.  Subdomain Navigation
5.  About Section
6.  Education Section
7.  Skills Section
8.  Experience Section
9.  Profiles Section
10. Portfolio Section
11. Contact Section
12. Footer
13. Responsive Design
===========*/

/* CSS Variables for Yellow Theme */
:root {
  /* Yellow Color Palette */
  --primary-yellow: #f39c12;
  --primary-yellow-dark: #e67e22;
  --primary-yellow-light: #f1c40f;
  --accent-yellow: #fff3cd;
  --warm-yellow: #ffd700;
  --golden-yellow: #ffb347;
  
  /* Gradient Combinations */
  --gradient-primary: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  --gradient-warm: linear-gradient(135deg, #f1c40f 0%, #f39c12 50%, #e67e22 100%);
  --gradient-light: linear-gradient(135deg, #fff3cd 0%, #f39c12 20%, #e67e22 100%);
  --gradient-hero: linear-gradient(135deg, #ffd700 0%, #f39c12 50%, #e67e22 100%);
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --gray: #6c757d;
  --dark-gray: #343a40;
  --black: #000000;
  
  /* Text Colors */
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --text-light: #bdc3c7;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-padding: 0 15px;
  
  /* Borders & Shadows */
  --border-radius: 8px;
  --border-radius-lg: 15px;
  --shadow-sm: 0 2px 10px rgba(243, 156, 18, 0.1);
  --shadow-md: 0 8px 25px rgba(243, 156, 18, 0.15);
  --shadow-lg: 0 15px 40px rgba(243, 156, 18, 0.2);
  
  /* Transitions */
  --transition: 0.3s ease-in-out;
  --transition-fast: 0.2s ease;
}

/* Dark Theme Variables */
/* ==========================================================================
   Dark Mode Theme
   ========================================================================== */

/* Base theme transition for smooth dark mode */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

[data-theme="dark"] {
  --white: #1a1a1a;
  --light-gray: #2d2d2d;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-light: #888888;
  --card-bg: #2d2d2d;
  --navbar-bg: rgba(26, 26, 26, 0.95);
}

/* Dark mode specific styles */
[data-theme="dark"] body {
  background-color: #1a1a1a;
  color: #ffffff;
}

[data-theme="dark"] .navbar {
  background: rgba(26, 26, 26, 0.95) !important;
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .navbar-brand,
[data-theme="dark"] .nav-link {
  color: #ffffff !important;
}

[data-theme="dark"] .nav-link:hover {
  color: var(--primary-yellow) !important;
}

[data-theme="dark"] .card-base {
  background: rgba(45, 45, 45, 0.95) !important;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .section-heading h2 {
  color: #ffffff;
}

[data-theme="dark"] .section-subtitle {
  color: #b0b0b0;
}

[data-theme="dark"] #education {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

[data-theme="dark"] #skills {
  background: #1a1a1a;
}

[data-theme="dark"] #experience {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

[data-theme="dark"] #profiles {
  background: #1a1a1a;
}

[data-theme="dark"] .profiles {
  background: #1a1a1a;
}

[data-theme="dark"] #portfolio {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

[data-theme="dark"] #subdomains {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

[data-theme="dark"] #contact {
  background: #1a1a1a;
}

/* Dark mode education cards */
[data-theme="dark"] .education-card {
  background: rgba(45, 45, 45, 0.95);
  color: #ffffff;
}

[data-theme="dark"] .education-content h4 {
  color: var(--primary-yellow);
}

[data-theme="dark"] .education-details span {
  color: #b0b0b0;
}

[data-theme="dark"] .education-content p {
  color: #b0b0b0;
}

/* Dark mode skills */
[data-theme="dark"] .skill-category {
  background: rgba(45, 45, 45, 0.95);
  color: #ffffff;
}

[data-theme="dark"] .skill-category-header h3 {
  color: #ffffff;
}

[data-theme="dark"] .skill-item span {
  color: #ffffff;
}

/* Dark mode experience timeline */
[data-theme="dark"] .timeline-item {
  background: rgba(45, 45, 45, 0.95);
  color: #ffffff;
}

[data-theme="dark"] .timeline-header h3 {
  color: #ffffff;
}

[data-theme="dark"] .timeline-description p {
  color: #b0b0b0;
}

/* Dark mode profiles */
[data-theme="dark"] .profile-card {
  background: rgba(45, 45, 45, 0.95);
  color: #ffffff;
}

[data-theme="dark"] .profile-content h4 {
  color: #ffffff;
}

[data-theme="dark"] .profile-content p {
  color: #b0b0b0;
}

/* Fade animation for theme switching */
@keyframes fadeTheme {
  0% { opacity: 0.8; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

[data-theme="dark"] * {
  animation: fadeTheme 0.5s ease-in-out;
}

/* Custom thin scrollbar styling with yellow palette */
::-webkit-scrollbar {
    width: 6px; /* Thin scrollbar width */
    height: 6px; /* For horizontal scrollbars */
}

::-webkit-scrollbar-track {
    background: var(--light-gray, #f8f9fa); /* Light gray track */
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-yellow, #f39c12); /* Primary yellow thumb */
    border-radius: 3px;
    transition: background var(--transition-fast, 0.2s ease);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-yellow-dark, #e67e22); /* Darker yellow on hover */
}

::-webkit-scrollbar-corner {
    background: var(--light-gray, #f8f9fa);
}

/* For Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-yellow, #f39c12) var(--light-gray, #f8f9fa);
}

/* Apply to specific containers if needed */
.sidebar, .main-content, .code-block {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-yellow, #f39c12) transparent;
}

/* Dark sections with different scrollbar styling */
.dark-section::-webkit-scrollbar-track {
    background: var(--dark-gray, #343a40);
}

.dark-section::-webkit-scrollbar-thumb {
    background: var(--warm-yellow, #ffd700);
}

.dark-section::-webkit-scrollbar-thumb:hover {
    background: var(--golden-yellow, #ffb347);
}

body.theme-transitioning,
body.theme-transitioning * {
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

/*-------------------------------------
1. General CSS (Reset & Base)
--------------------------------------*/
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--white);
  max-width: 1920px;
  margin: 0 auto;
  overflow-x: hidden;
  transition: all var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Section Base Styles - Enhanced for 100vh */
section {
  padding: var(--section-padding);
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Welcome Hero Section - Always 100vh */
.welcome-hero {
  min-height: 100vh !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subdomains Section */
#subdomains {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff3cd 0%, #f8f9fa 100%);
  display: flex;
  align-items: center;
}

/* About Section */
#about {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
}

/* Education Section */
#education {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff3cd 100%);
  display: flex;
  align-items: center;
}

.education {
  padding: 80px 0;
}

.education-timeline {
  margin-top: 40px;
}

.education-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  position: relative;
  overflow: hidden;
}

.education-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.education-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.education-header {
  margin-bottom: 20px;
}

.education-year {
  background: var(--gradient-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.education-degree {
  display: flex;
  align-items: center;
  gap: 10px;
}

.education-degree i {
  color: var(--primary-yellow);
  font-size: 24px;
}

.education-degree h3 {
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

.education-content h4 {
  color: var(--primary-yellow-dark);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.education-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 15px;
}

.education-details span {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.education-details i {
  color: var(--primary-yellow);
  width: 16px;
}

.education-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

.education-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.edu-tag {
  background: rgba(243, 156, 18, 0.1);
  color: var(--primary-yellow-dark);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(243, 156, 18, 0.2);
}

/* Skills Section */
#skills {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
}

/* Experience Section */
#experience {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff3cd 100%);
  display: flex;
  align-items: center;
}

/* Profiles Section */
#profiles {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
}

/* Portfolio Section */
#portfolio {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff3cd 0%, #f8f9fa 100%);
  display: flex;
  align-items: center;
}

/* Contact Section */
#contact {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  text-transform: lowercase;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/*-------------------------------------
2. Header & Navigation
--------------------------------------*/
.top-area {
  position: relative;
}

.header-area {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
  will-change: transform;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(243, 156, 18, 0.1);
  padding: 15px 0;
  transition: all var(--transition);
  box-shadow: 0 2px 20px rgba(243, 156, 18, 0.08);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(243, 156, 18, 0.15);
  border-bottom: 1px solid rgba(243, 156, 18, 0.2);
}

/* Enhanced sticky behavior */
.navbar.nav-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.navbar:not(.nav-hidden) {
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

[data-theme="dark"] .navbar {
  background: rgba(26, 26, 26, 0.95);
  border-bottom: 1px solid rgba(243, 156, 18, 0.2);
}

.navbar-brand {
    font-weight: 700;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.5rem 0;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Responsive Brand Text - Hide at 1255px and below */
@media (max-width: 1255px) {
  .navbar-brand .brand-text {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
    .navbar-brand .brand-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar-brand .brand-text {
        display: none;
    }
}

.navbar-brand img {
  transition: transform var(--transition);
  filter: drop-shadow(0 2px 8px rgba(243, 156, 18, 0.3));
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* Navigation Links - Show inline until 1255px */
.navbar-nav {
  flex-direction: row;
  align-items: center;
  margin-left: auto;
}

.navbar-nav .nav-link {
  color: var(--text-primary);
  font-weight: 500;
  margin: 0 10px;
  padding: 8px 15px !important;
  border-radius: var(--border-radius);
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1) !important;
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link.active {
  background: var(--primary-yellow);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.2);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  width: 100%;
}

.navbar-nav .nav-link.active:hover {
  color: white;
}

.navbar-nav .nav-link.active::before {
  background: rgba(255, 255, 255, 0.3);
}

/* Show navbar toggler at 1255px and below */
.navbar-toggler {
  display: none;
  background: var(--gradient-primary) !important;
  border: 2px solid var(--primary-yellow) !important;
  border-radius: 12px !important;
  padding: 0.5rem 0.75rem !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

@media (max-width: 1255px) {
  .navbar-toggler {
    display: flex;
  }
  
  .navbar-collapse {
    border-radius: var(--border-radius);
    margin-top: 15px;
    padding: 20px;
  }
  
  .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  
  .navbar-nav .nav-link {
    margin: 5px 0;
    text-align: center;
    padding: 12px 20px !important;
  }
  
  .navbar-nav .nav-item {
    width: 100%;
  }
}

.navbar-toggler:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    background: var(--gradient-warm) !important;
}

/* Custom hamburger icon */
.navbar-toggler-icon {
    background-image: none !important;
    width: 24px;
    height: 3px;
    position: relative;
    transform: rotate(0deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    border-radius: 2px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* Animated toggle states */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Theme toggle responsive positioning */
.theme-toggle-wrapper {
  display: flex;
  align-items: center;
}

.theme-toggle {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--warm-yellow) 100%) !important;
    border: 2px solid var(--primary-color) !important;
    color: #1a1a1a !important;
    border-radius: 50px !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

@media (max-width: 1255px) {
  .theme-toggle {
    margin: 1rem auto 0;
    width: auto;
    justify-content: center;
  }
}

/* Navigation hide/show animation */
.navbar.nav-hidden {
  transform: translateY(-100%);
}

/* Container responsive adjustments */
@media (max-width: 1255px) {
  .navbar .container {
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 0px 1rem;
    }
    
    .navbar-collapse {
      margin-top: 10px;
      padding: 15px;
    }
    
    .navbar-nav .nav-link {
      padding: 10px 15px !important;
      margin: 3px 0;
    }
}

@media (max-width: 576px) {
  .navbar-toggler {
    width: 44px;
    height: 44px;
  }
  
  .navbar-toggler-icon {
    width: 20px;
  }
  
  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    width: 20px;
  }
  
  .theme-toggle {
    min-width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/*-------------------------------------
3. Welcome Hero Section
--------------------------------------*/
#welcome-hero {
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#welcome-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

.header-text {
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.header-text h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.header-text h1 span {
  color: var(--warm-yellow);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.header-text p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 300;
}

.header-text a {
  display: inline-block;
  margin: 10px 15px;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.header-text a:first-child {
  background: var(--white);
  color: var(--primary-yellow);
  border-color: var(--white);
}

.header-text a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.header-text a:first-child:hover {
  background: var(--primary-yellow);
  color: var(--white);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator i {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.scroll-indicator-text {
  font-size: 0.9rem;
  font-weight: 300;
}

/*-------------------------------------
4. Universal Card Styles
--------------------------------------*/
/* Base Card Component */
.card-base {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(243, 156, 18, 0.1);
  overflow: hidden;
  position: relative;
}

.card-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

.card-base:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-yellow);
}

/* Dark theme card adjustments */
[data-theme="dark"] .card-base {
  background: var(--light-gray);
  border-color: rgba(243, 156, 18, 0.2);
}

/*-------------------------------------
5. Subdomain Navigation
--------------------------------------*/
.subdomain-nav {
  background: var(--light-gray);
  position: relative;
  padding: 80px 0;
}

.subdomain-title {
  text-align: center;
  margin-bottom: 60px;
}

.subdomain-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.subdomain-title p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.subdomain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.subdomain-card {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(243, 156, 18, 0.1);
  cursor: pointer;
  overflow: hidden;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  transform: translateY(0) scale(1) rotateX(0);
  will-change: transform, box-shadow, border-color;
  opacity: 1;
  filter: brightness(1) saturate(1) blur(0);
}

.subdomain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
}

.subdomain-card:hover::before {
  opacity: 0.05;
}

/* Hover State with Multiple Effects */
.subdomain-card:hover {
  transform: translateY(-25px) scale(1.08) rotateX(5deg);
  box-shadow: 
    0 35px 80px rgba(243, 156, 18, 0.25),
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 10px 25px rgba(243, 156, 18, 0.2);
  border-color: var(--primary-yellow);
  filter: brightness(1.15) saturate(1.3);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Active/Focus State */
.subdomain-card:active {
  transform: translateY(-15px) scale(1.02);
  transition: all 0.8s ease !important;
}

/* Background Gradient Animation */
.subdomain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(243, 156, 18, 0.05) 0%, 
    rgba(230, 126, 34, 0.05) 50%, 
    rgba(211, 84, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.8s ease !important;
  border-radius: var(--border-radius-lg);
  z-index: 1;
}

.subdomain-card:hover::before {
  opacity: 1;
}

/* Ensure content stays above background */
.subdomain-card > * {
  position: relative;
  z-index: 2;
  transition: all 0.8s ease !important;
}

/* Icon Enhancements */
.subdomain-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
  transform: scale(1) rotate(0deg);
  position: relative;
  overflow: hidden;
}

/* Icon Hover Effects */
.subdomain-card:hover .subdomain-icon {
  transform: scale(1.2) rotate(10deg);
  box-shadow: 
    0 15px 40px rgba(243, 156, 18, 0.4),
    0 0 30px rgba(243, 156, 18, 0.3);
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

/* Icon Pulse Animation */
.subdomain-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease;
}

.subdomain-card:hover .subdomain-icon::after {
  transform: translate(-50%, -50%) scale(1.5);
  opacity: 0;
}

/* Icon Font Awesome Enhancement */
.subdomain-icon i {
  font-size: 2.5rem;
  color: var(--white);
  transition: all 0.3s ease;
  transform: scale(1);
}

.subdomain-card:hover .subdomain-btn i {
  transform: translateX(5px);
}

/* Title Animation */
.subdomain-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  transition: all 0.4s ease !important;
  transform: translateY(0);
}

.subdomain-card:hover h3 {
  color: var(--primary-yellow);
  transform: translateY(-5px);
  text-shadow: 0 2px 10px rgba(243, 156, 18, 0.3);
}

/* Description Animation */
.subdomain-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  transition: all 0.4s ease !important;
  transform: translateY(0);
  opacity: 0.8;
}

.subdomain-card:hover p {
  color: var(--text-primary);
  transform: translateY(-3px);
  opacity: 1;
}

/* Button Enhancement */
.subdomain-btn {
  background: transparent;
  border: 2px solid var(--primary-yellow);
  color: var(--primary-yellow);
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform: translateY(0);
  position: relative;
  overflow: hidden;
}

/* Button Fill Animation */
.subdomain-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.6s ease !important;
  z-index: -1;
}

.subdomain-card:hover .subdomain-btn::before {
  left: 0;
}

.subdomain-card:hover .subdomain-btn {
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

/* Button Icon Animation */
.subdomain-btn i {
  transition: all 0.4s ease !important;
  transform: translateX(0);
}

/* Staggered Animation for Multiple Cards */
.subdomain-card:nth-child(1) { animation-delay: 0.1s; }
.subdomain-card:nth-child(2) { animation-delay: 0.2s; }
.subdomain-card:nth-child(3) { animation-delay: 0.3s; }
.subdomain-card:nth-child(4) { animation-delay: 0.4s; }


/* Ripple Effect for Platform Cards */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(243, 156, 18, 0.4);
  transform: scale(0);
  animation: rippleAnimation 0.6s linear;
  pointer-events: none;
  z-index: 1;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(-20px) scale(1.05); }
  50% { transform: translateY(-25px) scale(1.05); }
}

/* Glow effect on hover */
.subdomain-card:hover {
  box-shadow: 
    0 25px 60px rgba(243, 156, 18, 0.2),
    0 15px 35px rgba(0, 0, 0, 0.1),
    0 5px 15px rgba(243, 156, 18, 0.1),
    0 0 40px rgba(243, 156, 18, 0.1);
}

/*-------------------------------------
5. About Section
--------------------------------------*/
.about {
  background: var(--white);
}

.about-content {
  margin-top: 40px;
}

.single-about-txt h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.single-about-txt p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.single-about-txt p a {
  color: var(--primary-yellow);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.single-about-txt p a:hover {
  color: var(--primary-yellow-dark);
  text-decoration: underline;
}

.single-about-add-info {
  margin-bottom: 20px;
}

.single-about-add-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-about-add-info p a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.single-about-add-info p a:hover {
  color: var(--primary-yellow);
}

.single-about-img {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.single-about-img img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.5s var(--transition) !important;
}

.single-about-img img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.about-list-icon {
  margin-top: 30px;
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1) !important;
}

.about-list-icon ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.about-list-icon ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.about-list-icon ul li a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-md);
}

/*-------------------------------------
6. Education Section
--------------------------------------*/
.education {
  background: var(--light-gray);
}

.education-horizontal-timeline {
  margin-top: 40px;
}

.single-horizontal-timeline {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(243, 156, 18, 0.1);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.single-horizontal-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.single-horizontal-timeline:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.experience-time h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-yellow);
  margin-bottom: 10px;
}

.experience-time h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.experience-time h3 span {
  color: var(--primary-yellow);
}

.timeline-horizontal-border {
  text-align: center;
  margin: 20px 0;
}

.timeline-horizontal-border i {
  color: var(--primary-yellow);
  font-size: 1.2rem;
  background: var(--white);
  padding: 10px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.timeline-content .title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.timeline-content h5 {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.timeline-content .description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 15px;
}

/*-------------------------------------
7. Skills Section
--------------------------------------*/
.skills {
  background: var(--white);
}

.skill-content {
  margin-top: 40px;
}

.single-skill-content {
  margin-bottom: 40px;
}

.barWrapper {
  margin-bottom: 30px;
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.barWrapper:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.progressText {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.logo-icon-lan {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.single-progress-txt {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress {
  background: rgba(243, 156, 18, 0.1);
  border-radius: 10px;
  height: 8px;
  flex: 1;
  margin-right: 15px;
  overflow: hidden;
}

.progress-bar {
  background: var(--gradient-primary);
  height: 100%;
  border-radius: 10px;
  transition: width 2s ease-in-out;
}

.single-progress-txt h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-yellow);
  min-width: 40px;
}

/* Framework Cards */
.framework-card {
  border: 1px solid rgba(243, 156, 18, 0.1);
  border-radius: var(--border-radius);
  transition: all var(--transition);
  margin-bottom: 20px;
}

.framework-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-yellow);
}

.framework-card .card-body {
  padding: 30px 20px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.framework-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Modal Styles */
.modal-header.bg-primary {
  background: var(--gradient-primary) !important;
}

.modal-title {
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/*-------------------------------------
8. Experience Section
--------------------------------------*/
.experience {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.05) 0%, rgba(230, 126, 34, 0.05) 100%);
}

.experience-timeline {
  position: relative;
  margin-top: 40px;
}

.skill-tag {
  background: rgba(243, 156, 18, 0.1);
  color: var(--primary-yellow-dark);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(243, 156, 18, 0.2);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 30px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1) !important;
}


.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.timeline-header h3 {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.timeline-date {
  background: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.timeline-location {
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 14px;
}

.timeline-location i {
  margin-right: 8px;
  color: var(--primary-color);
}

.timeline-description p {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 20px;
}

.timeline-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-achievements {
  margin-top: 15px;
}

.achievement {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--text-color);
  font-size: 14px;
}

.achievement i {
  color: var(--success-color);
  margin-right: 10px;
  font-size: 16px;
}

.experience-cta {
  margin-top: 60px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(243, 156, 18, 0.1);
}

[data-theme="dark"] .experience-cta {
  background: rgba(45, 45, 45, 0.8);
  border-color: rgba(243, 156, 18, 0.2);
}

.cta-content h4 {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
}

.cta-content p {
  color: var(--text-color);
  font-size: 16px;
  font-style: italic;
  margin-bottom: 25px;
}

/*-------------------------------------
9. Profiles Section
--------------------------------------*/
.profiles {
  padding: 80px 0;
  background: #f8f9fa;
}

.profiles-grid {
  margin-top: 40px;
}

.profile-card {
  text-align: center;
  padding: 40px 25px;
  transition: all 0.5s ease !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.profile-icon {
  margin-bottom: 25px;
}

.profile-icon i {
  font-size: 50px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.profile-card:hover .profile-icon i {
  transform: scale(1.1);
  color: var(--secondary-color);
}

.profile-content h4 {
  color: var(--heading-color);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.profile-content p {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.profile-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.profile-link:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.profile-link i {
  margin-left: 5px;
  font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-date {
        margin-top: 10px;
    }
    
    .timeline-header h3 {
        font-size: 20px;
    }
    
    .experience-cta .cta-content h4 {
        font-size: 24px;
    }
    
    .profile-card {
        margin-bottom: 20px;
    }
}

/*-------------------------------------
11. Contact Section
--------------------------------------*/
.contact {
  background: var(--white);
  transition: all 0.6 var(--transition) !important;
}

.contact-content {
  margin-top: 40px;
  transition: all 0.6 var(--transition) !important;
}

.single-contact-box {
  background: var(--light-gray);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(243, 156, 18, 0.1);
  transition: all 0.6 var(--transition) !important;
}

.contact-form .form-control {
  border: 2px solid rgba(243, 156, 18, 0.1);
  border-radius: var(--border-radius);
  padding: 15px;
  font-size: 1rem;
  transition: all var(--transition);
  background: var(--white);
  color: var(--text-light);
}

.contact-form .form-control::placeholder {
  opacity: 0.5 !important;
}

[data-theme="light"] .contact-form .form-control::placeholder {
  color: var(--dark-gray);
  opacity: 0.5 !important;
}

[data-theme="dark"] .contact-form .form-control::placeholder {
  color: white;
  opacity: 0.5 !important;
}

.contact-form .form-control:focus {
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
  outline: none;
}

.contact-btn {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  margin-top: 10px;
  border-radius: var(--border-radius);
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-add-head h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.contact-add-head p {
  color: var(--primary-yellow);
  font-weight: 500;
  margin-bottom: 20px;
}

.single-contact-add-info {
  margin-bottom: 20px;
}

.single-contact-add-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-contact-add-info p a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.single-contact-add-info p a:hover {
  color: var(--primary-yellow);
}

.hm-foot-icon ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.hm-foot-icon ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.hm-foot-icon ul li a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-md);
}

/*-------------------------------------
12. Footer
--------------------------------------*/
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

/* Footer Content */
.footer-content {
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-section {
  margin-bottom: 40px;
}

/* Logo Section */
.footer-logo {
  text-align: center;
  margin-bottom: 30px;
}

.footer-logo img {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
  filter: brightness(1.2) drop-shadow(0 2px 8px rgba(243, 156, 18, 0.3));
  transition: all var(--transition);
}

.footer-logo img:hover {
  transform: scale(1.05);
  filter: brightness(1.3) drop-shadow(0 4px 12px rgba(243, 156, 18, 0.5));
}

.footer-brand-text {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-tagline {
  color: #bdc3c7;
  font-size: 0.9rem;
  font-style: italic;
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Quick Links Grid */
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.footer-column ul li a i {
  margin-right: 8px;
  font-size: 0.8rem;
  color: var(--primary-yellow);
  width: 16px;
  text-align: center;
}

.footer-column ul li a:hover {
  color: var(--primary-yellow);
  transform: translateX(5px);
  text-decoration: none;
}

/* Contact Info */
.footer-contact {
  text-align: center;
  margin: 30px 0;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  margin: 0 20px 15px;
  color: #bdc3c7;
  font-size: 0.9rem;
}

.contact-item i {
  color: var(--primary-yellow);
  margin-right: 10px;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.contact-item a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all var(--transition);
}

.contact-item a:hover {
  color: var(--primary-yellow);
}

/* Social Media Links */
.footer-social {
  text-align: center;
  margin: 30px 0;
  transition: all 0.4s ease !important;
}

.footer-social h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(243, 156, 18, 0.1);
  border: 2px solid rgba(243, 156, 18, 0.3);
  border-radius: 50%;
  color: var(--primary-yellow);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s ease !important;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  transform: scale(0);
  transition: all 0.4s ease !important;
  z-index: -1;
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link:hover {
  color: #ffffff;
  border-color: var(--primary-yellow);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.contact-icon {
  color: var(--primary-yellow);
  font-size: 1rem;
  margin-right: 10px;
}

/* Newsletter Signup */
.footer-newsletter {
  text-align: center;
  margin: 30px 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-newsletter h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-newsletter p {
  color: #bdc3c7;
  font-size: 0.85rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.newsletter-form input::placeholder {
  color: #bdc3c7;
  opacity: 0.7;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-yellow);
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
  background: var(--gradient-primary);
  border: none;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease !important;
  white-space: nowrap;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

/* Copyright Section */
.footer-copyright {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copyright-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-copyright p {
  color: #bdc3c7;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

.footer-copyright p a {
  color: var(--primary-yellow);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.4s ease !important;
}

.footer-copyright p a:hover {
  color: var(--primary-yellow-light);
  text-decoration: underline;
}

/* Back to Top in Footer */
.footer-back-top {
  position: absolute;
  bottom: 10px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.back-to-top-footer {
  background: var(--gradient-primary);
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.4s ease !important;
}

.back-to-top-footer:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.back-to-top-text {
  color: #bdc3c7;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Dark Mode Footer Adjustments */
[data-theme="dark"] .footer {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

[data-theme="dark"] .footer-copyright {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(243, 156, 18, 0.2);
}

[data-theme="dark"] .footer-column ul li a,
[data-theme="dark"] .contact-item,
[data-theme="dark"] .footer-tagline,
[data-theme="dark"] .footer-newsletter p,
[data-theme="dark"] .footer-copyright p {
  color: #8b949e;
}

[data-theme="dark"] .footer-brand-text,
[data-theme="dark"] .footer-column h4,
[data-theme="dark"] .footer-social h4,
[data-theme="dark"] .footer-newsletter h4 {
  color: #f0f6fc;
}

[data-theme="dark"] .newsletter-form input {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(139, 148, 158, 0.3);
  color: #f0f6fc;
}

[data-theme="dark"] .newsletter-form input:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-yellow);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    padding: 40px 0 20px;
  }
  
  .footer-links {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .footer-column h4 {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .footer-column ul li a {
    font-size: 0.85rem;
    transition: all 0.4s ease !important;
  }
  
  .contact-item {
    display: block;
    margin: 0 0 10px;
    text-align: center;
  }
  
  .contact-icon {
    font-size: 0.8rem;
    margin-right: 0;
    margin-bottom: 5px;
  }

  .social-links {
    gap: 10px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .footer-copyright-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .footer-back-top {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-logo img {
    width: 100px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }
  
  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-section {
    margin-bottom: 25px;
  }
}

/*-------------------------------------
13. Responsive Design
--------------------------------------*/
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .subdomain-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .section-heading h2 {
    font-size: 2.2rem;
  }
  
  .subdomain-title h2 {
    font-size: 2.2rem;
  }
  
  .single-horizontal-timeline {
    margin-bottom: 20px;
  }
  
  .skills .col-lg-3 {
    margin-bottom: 30px;
  }
  
  .skill-category {
    height: auto;
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .navbar-collapse {
    border-radius: var(--border-radius);
    margin-top: 15px;
    padding: 20px;
  }
  
  .navbar-nav .nav-link {
    margin: 5px 0;
    text-align: center;
  }
  
  .header-text h1 {
    font-size: 2.5rem;
  }
  
  .header-text a {
    display: block;
    margin: 10px auto;
    max-width: 250px;
  }
  
  .subdomain-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .subdomain-card {
    padding: 30px 20px;
  }
  
  .subdomain-title h2 {
    font-size: 2rem;
  }
  
  .section-heading h2 {
    font-size: 2rem;
  }
  
  .single-about-txt h3 {
    font-size: 1.5rem;
  }
  
  .single-horizontal-timeline {
    padding: 20px;
  }
  
  .experience-time h2 {
    font-size: 1.3rem;
  }
  
  .timeline-content .title {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 10px;
  }
  
  .header-text h1 {
    font-size: 2rem;
  }
  
  .header-text p {
    font-size: 1rem;
  }
  
  .subdomain-title h2 {
    font-size: 1.8rem;
  }
  
  .subdomain-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .section-heading h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .single-horizontal-timeline {
    padding: 15px;
  }
  
  .single-contact-box {
    padding: 25px 20px;
  }
  
  .framework-card .card-body {
    padding: 20px 15px;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
  }
}

/*-------------------------------------
Skills Section - Modern Design
--------------------------------------*/
.skills-categories {
  animation: fadeInUp 0.8s ease-out;
}

.skill-category {
  height: 100%;
  transition: all var(--transition);
  border: 1px solid rgba(243, 156, 18, 0.1);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
}

.skill-category:hover::before {
  left: 0;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-yellow);
}

.skill-category-header {
  text-align: center;
  padding: 20px 20px 15px;
  border-bottom: 1px solid rgba(243, 156, 18, 0.1);
}

.skill-category-header i {
  font-size: 2rem;
  color: var(--primary-yellow);
  margin-bottom: 10px;
  display: block;
}

.skill-category-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skill-items {
  padding: 20px;
}

.skill-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  background: rgba(248, 249, 250, 0.5);
}

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

.skill-item img {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  flex-shrink: 0;
}

.skill-item span {
  flex: 1;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.skill-progress {
  width: 80px;
  height: 6px;
  background: rgba(243, 156, 18, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-left: 15px;
}

.progress-bar {
  background: var(--gradient-primary);
  height: 100%;
  border-radius: 3px;
  transition: width 1.5s ease-in-out;
}

.single-progress-txt h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-yellow);
  min-width: 40px;
}

/* Framework Cards */
.framework-card {
  border: 1px solid rgba(243, 156, 18, 0.1);
  border-radius: var(--border-radius);
  transition: all var(--transition);
  margin-bottom: 20px;
}

.framework-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-yellow);
}

.framework-card .card-body {
  padding: 30px 20px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.framework-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Modal Styles */
.modal-header.bg-primary {
  background: var(--gradient-primary) !important;
}

.modal-title {
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/*-------------------------------------
10. Portfolio Section
--------------------------------------*/
/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

/* Portfolio Item */
.portfolio-item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
  height: auto;
  position: relative;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

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

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

/* Portfolio Overlay */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-links {
  display: flex;
  gap: 15px;
}

.btn-portfolio {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.btn-github {
  background: rgba(243, 156, 18, 0.9);
}

.btn-preview {
  background: rgba(52, 58, 64, 0.9);
}

.btn-commercial {
  background: rgba(40, 167, 69, 0.9);
}

.btn-portfolio:hover {
  transform: scale(1.1);
  color: var(--white);
}

/* Portfolio Content */
.portfolio-content {
  padding: 25px;
}

.portfolio-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.portfolio-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Tech Tags */
.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.tech-tag {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition);
}

.tech-tag:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-sm);
}

/* Portfolio Button */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: var(--text-color);
  padding: 15px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

/* Portfolio Section Responsive Design */
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
  
  .portfolio-image {
    height: 220px;
  }
  
  .portfolio-content {
    padding: 20px;
  }
  
  .portfolio-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  
  .portfolio-image {
    height: 200px;
  }
  
  .portfolio-content {
    padding: 20px;
  }
  
  .portfolio-title {
    font-size: 1.2rem;
  }
  
  .portfolio-description {
    font-size: 0.9rem;
  }
  
  .btn-portfolio {
    width: 45px;
    height: 45px;
  }
  
  .portfolio-links {
    gap: 12px;
  }
  
  .btn-primary {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 25px;
  }
  
  .portfolio-image {
    height: 180px;
  }
  
  .portfolio-content {
    padding: 15px;
  }
  
  .portfolio-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .portfolio-description {
    font-size: 0.85rem;
    margin-bottom: 15px;
  }
  
  .btn-portfolio {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .portfolio-links {
    gap: 10px;
  }
  
  .tech-tag {
    font-size: 0.75rem;
    padding: 3px 10px;
  }
  
  .portfolio-tech {
    gap: 6px;
    margin-top: 12px;
  }
  
  .btn-primary {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  .portfolio-content {
    padding: 12px;
  }
  
  .portfolio-title {
    font-size: 1rem;
  }
  
  .portfolio-description {
    font-size: 0.8rem;
  }
  
  .btn-portfolio {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
  
  .tech-tag {
    font-size: 0.7rem;
    padding: 2px 8px;
  }
}

/* Touch device adjustments */
@media (hover: none) and (pointer: coarse) {
  .portfolio-item:hover {
    transform: none;
  }
  
  .portfolio-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
  }
  
  .btn-portfolio:hover {
    transform: none;
  }
  
  .tech-tag:hover {
    transform: none;
  }
}

/*-------------------------------------
11. Contact Section
--------------------------------------*/
.contact {
  background: var(--white);
  transition: all 0.6 var(--transition) !important;
}

.contact-content {
  margin-top: 40px;
  transition: all 0.6 var(--transition) !important;
}

.single-contact-box {
  background: var(--light-gray);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(243, 156, 18, 0.1);
  transition: all 0.6 var(--transition) !important;
}

.contact-form .form-control {
  border: 2px solid rgba(243, 156, 18, 0.1);
  border-radius: var(--border-radius);
  padding: 15px;
  font-size: 1rem;
  transition: all var(--transition);
  background: var(--white);
}

.contact-form .form-control::placeholder {
  opacity: 0.5 !important;
}

[data-theme="light"] .contact-form .form-control::placeholder {
  color: var(--dark-gray);
  opacity: 0.5 !important;
}

[data-theme="dark"] .contact-form .form-control::placeholder {
  color: white;
  opacity: 0.5 !important;
}

.contact-form .form-control:focus {
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
  outline: none;
}

.contact-btn {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  margin-top: 10px;
  border-radius: var(--border-radius);
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-add-head h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.contact-add-head p {
  color: var(--primary-yellow);
  font-weight: 500;
  margin-bottom: 20px;
}

.single-contact-add-info {
  margin-bottom: 20px;
}

.single-contact-add-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-contact-add-info p a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.single-contact-add-info p a:hover {
  color: var(--primary-yellow);
}

.hm-foot-icon ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.hm-foot-icon ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.hm-foot-icon ul li a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-md);
}

/*-------------------------------------
12. Footer
--------------------------------------*/
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

/* Footer Content */
.footer-content {
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-section {
  margin-bottom: 40px;
}

/* Logo Section */
.footer-logo {
  text-align: center;
  margin-bottom: 30px;
}

.footer-logo img {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
  filter: brightness(1.2) drop-shadow(0 2px 8px rgba(243, 156, 18, 0.3));
  transition: all var(--transition);
}

.footer-logo img:hover {
  transform: scale(1.05);
  filter: brightness(1.3) drop-shadow(0 4px 12px rgba(243, 156, 18, 0.5));
}

.footer-brand-text {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-tagline {
  color: #bdc3c7;
  font-size: 0.9rem;
  font-style: italic;
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Quick Links Grid */
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.footer-column ul li a i {
  margin-right: 8px;
  font-size: 0.8rem;
  color: var(--primary-yellow);
  width: 16px;
  text-align: center;
}

.footer-column ul li a:hover {
  color: var(--primary-yellow);
  transform: translateX(5px);
  text-decoration: none;
}

/* Contact Info */
.footer-contact {
  text-align: center;
  margin: 30px 0;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  margin: 0 20px 15px;
  color: #bdc3c7;
  font-size: 0.9rem;
}

.contact-item i {
  color: var(--primary-yellow);
  margin-right: 10px;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.contact-item a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all var(--transition);
}

.contact-item a:hover {
  color: var(--primary-yellow);
}

/* Social Media Links */
.footer-social {
  text-align: center;
  margin: 30px 0;
  transition: all 0.4s ease !important;
}

.footer-social h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(243, 156, 18, 0.1);
  border: 2px solid rgba(243, 156, 18, 0.3);
  border-radius: 50%;
  color: var(--primary-yellow);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s ease !important;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  transform: scale(0);
  transition: all 0.4s ease !important;
  z-index: -1;
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link:hover {
  color: #ffffff;
  border-color: var(--primary-yellow);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.contact-icon {
  color: var(--primary-yellow);
  font-size: 1rem;
  margin-right: 10px;
}

/* Newsletter Signup */
.footer-newsletter {
  text-align: center;
  margin: 30px 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-newsletter h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-newsletter p {
  color: #bdc3c7;
  font-size: 0.85rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.newsletter-form input::placeholder {
  color: #bdc3c7;
  opacity: 0.7;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-yellow);
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
  background: var(--gradient-primary);
  border: none;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease !important;
  white-space: nowrap;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

/* Copyright Section */
.footer-copyright {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copyright-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-copyright p {
  color: #bdc3c7;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

.footer-copyright p a {
  color: var(--primary-yellow);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.4s ease !important;
}

.footer-copyright p a:hover {
  color: var(--primary-yellow-light);
  text-decoration: underline;
}

/* Back to Top in Footer */
.footer-back-top {
  position: absolute;
  bottom: 10px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.back-to-top-footer {
  background: var(--gradient-primary);
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.4s ease !important;
}

.back-to-top-footer:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.back-to-top-text {
  color: #bdc3c7;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Dark Mode Footer Adjustments */
[data-theme="dark"] .footer {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

[data-theme="dark"] .footer-copyright {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(243, 156, 18, 0.2);
}

[data-theme="dark"] .footer-column ul li a,
[data-theme="dark"] .contact-item,
[data-theme="dark"] .footer-tagline,
[data-theme="dark"] .footer-newsletter p,
[data-theme="dark"] .footer-copyright p {
  color: #8b949e;
}

[data-theme="dark"] .footer-brand-text,
[data-theme="dark"] .footer-column h4,
[data-theme="dark"] .footer-social h4,
[data-theme="dark"] .footer-newsletter h4 {
  color: #f0f6fc;
}

[data-theme="dark"] .newsletter-form input {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(139, 148, 158, 0.3);
  color: #f0f6fc;
}

[data-theme="dark"] .newsletter-form input:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-yellow);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    padding: 40px 0 20px;
  }
  
  .footer-links {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .footer-column h4 {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .footer-column ul li a {
    font-size: 0.85rem;
    transition: all 0.4s ease !important;
  }
  
  .contact-item {
    display: block;
    margin: 0 0 10px;
    text-align: center;
  }
  
  .contact-icon {
    font-size: 0.8rem;
    margin-right: 0;
    margin-bottom: 5px;
  }

  .social-links {
    gap: 10px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .footer-copyright-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .footer-back-top {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-logo img {
    width: 100px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }
  
  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-section {
    margin-bottom: 25px;
  }
}

/*-------------------------------------
13. Responsive Design
--------------------------------------*/
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .subdomain-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .section-heading h2 {
    font-size: 2.2rem;
  }
  
  .subdomain-title h2 {
    font-size: 2.2rem;
  }
  
  .single-horizontal-timeline {
    margin-bottom: 20px;
  }
  
  .skills .col-lg-3 {
    margin-bottom: 30px;
  }
  
  .skill-category {
    height: auto;
    min-height: 350px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 10px;
  }
  
  .header-text h1 {
    font-size: 2rem;
  }
  
  .header-text p {
    font-size: 1rem;
  }
  
  .subdomain-title h2 {
    font-size: 1.8rem;
  }
  
  .subdomain-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .section-heading h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .single-horizontal-timeline {
    padding: 15px;
  }
  
  .single-contact-box {
    padding: 25px 20px;
  }
  
  .framework-card .card-body {
    padding: 20px 15px;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   COMPLETELY REDESIGNED: Skills Section - Isolated Styling
   ========================================================================== */

/* Skills Section Container - Isolated */
.skills-redesigned {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  isolation: isolate; /* Prevents style bleeding */
}

.skills-redesigned::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(243, 156, 18, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(52, 152, 219, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

[data-theme="dark"] .skills-redesigned {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

/* Skills Header */
.skills-redesigned .skills-header {
  margin-bottom: 60px;
}

.skills-redesigned .section-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
  position: relative;
}

.skills-redesigned .section-heading h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #f39c12, #e67e22);
  border-radius: 2px;
}

.skills-redesigned .section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

[data-theme="dark"] .skills-redesigned .section-heading h2 {
  color: #f1f5f9;
}

[data-theme="dark"] .skills-redesigned .section-subtitle {
  color: #94a3b8;
}

/* Skills Content Container */
.skills-redesigned-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Skills Categories Grid */
.skills-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* Individual Skill Category */
.skill-category-redesigned {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(243, 156, 18, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

.skill-category-redesigned::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f39c12, #e67e22);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.skill-category-redesigned:hover::before {
  transform: scaleX(1);
}

.skill-category-redesigned:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(243, 156, 18, 0.15);
  border-color: #f39c12;
}

[data-theme="dark"] .skill-category-redesigned {
  background: #1e293b;
  border-color: rgba(243, 156, 18, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .skill-category-redesigned:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Category Header */
.category-header-redesigned {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
}

.category-icon-redesigned {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.category-icon-redesigned i {
  font-size: 1.3rem;
  color: #ffffff;
}

.category-header-redesigned h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
}

[data-theme="dark"] .category-header-redesigned {
  border-bottom-color: #334155;
}

[data-theme="dark"] .category-header-redesigned h3 {
  color: #f1f5f9;
}

/* Skills List */
.skills-list-redesigned {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Individual Skill Item */
.skill-item-redesigned {
  position: relative;
}

.skill-item-redesigned::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.skill-item-redesigned.expert-redesigned::before {
  background: #10b981;
}

.skill-item-redesigned.advanced-redesigned::before {
  background: #3b82f6;
}

.skill-item-redesigned.intermediate-redesigned::before {
  background: #f59e0b;
}

.skill-item-redesigned.basic-redesigned::before {
  background: #38bdf8;
}

.skill-item-redesigned:hover::before {
  width: 6px;
  left: -32px;
}

/* Skill Name and Level */
.skill-item-redesigned {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.skill-name-redesigned {
  font-size: 1rem;
  font-weight: 500;
  color: #1e293b;
  flex: 1;
}

.skill-level-redesigned {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 10px;
}

.expert-redesigned .skill-level-redesigned {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.advanced-redesigned .skill-level-redesigned {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.intermediate-redesigned .skill-level-redesigned {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.basic-redesigned .skill-level-redesigned {
  background: rgba(56, 189, 248, 0.1); /* #38bdf8 */
  color: #0ea5e9; /* readable blue */
}

[data-theme="dark"] .skill-name-redesigned {
  color: #f1f5f9;
}

[data-theme="dark"] .expert-redesigned .skill-level-redesigned {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

[data-theme="dark"] .advanced-redesigned .skill-level-redesigned {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

[data-theme="dark"] .intermediate-redesigned .skill-level-redesigned {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

[data-theme="dark"] .basic-redesigned .skill-level-redesigned {
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc; /* lighter blue for better contrast in dark mode */
}



/* Skill Progress Bar */
.skill-bar-redesigned {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.skill-progress-redesigned {
  height: 100%;
  border-radius: 4px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.expert-redesigned .skill-progress-redesigned {
  background: linear-gradient(90deg, #10b981, #059669);
}

.advanced-redesigned .skill-progress-redesigned {
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.intermediate-redesigned .skill-progress-redesigned {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.basic-redesigned .skill-progress-redesigned {
  background: linear-gradient(90deg, #38bdf8, #0ea5e9); 
}

.skill-progress-redesigned::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent 100%);
  animation: shimmer-redesigned 2s infinite;
}

@keyframes shimmer-redesigned {
  0% { 
    left: -100%; 
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% { 
    left: 100%; 
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes shimmer-redesigned {
  0% { 
    left: -100%; 
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% { 
    left: 100%; 
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

/* Touch device specific optimizations */
@media (hover: none) and (pointer: coarse) {
  .skill-category-redesigned .skill-progress-redesigned::after {
    /* Slightly slower animation on touch devices for better visibility */
    animation-duration: 3s;
    -webkit-animation-duration: 3s;
  }
}

/* High DPI display support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .skill-category-redesigned .skill-progress-redesigned::after {
    /* Enhanced shimmer opacity for retina displays */
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(255, 255, 255, 0.35) 50%, 
      transparent 100%);
  }
}

/* ==========================================================================
   Familiar Tools & Concepts Section - Redesigned
   ========================================================================== */

/* Main Container */
.familiar-tools-redesigned {
  margin-top: 60px;
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.03) 0%, rgba(230, 126, 34, 0.03) 100%);
  border-radius: 20px;
  padding: 50px 40px;
  border: 1px solid rgba(243, 156, 18, 0.1);
  position: relative;
  overflow: hidden;
}

.familiar-tools-redesigned::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f39c12, #e67e22);
}

[data-theme="dark"] .familiar-tools-redesigned {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.05) 0%, rgba(230, 126, 34, 0.05) 100%);
  border-color: rgba(243, 156, 18, 0.2);
}

/* Header */
.tools-header-redesigned {
  text-align: center;
  margin-bottom: 40px;
}

.tools-header-redesigned h4 {
  font-size: 2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
  position: relative;
}

.tools-header-redesigned h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #f39c12, #e67e22);
  border-radius: 2px;
}

.tools-header-redesigned p {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

[data-theme="dark"] .tools-header-redesigned h4 {
  color: #f1f5f9;
}

[data-theme="dark"] .tools-header-redesigned p {
  color: #94a3b8;
}

/* Tools Grid */
.tools-grid-redesigned {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

/* Individual Tool Category */
.tools-category-redesigned {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(243, 156, 18, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.tools-category-redesigned:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.1);
  border-color: #f39c12;
}

[data-theme="dark"] .tools-category-redesigned {
  background: #1e293b;
  border-color: rgba(243, 156, 18, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .tools-category-redesigned:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Category Header */
.tools-category-header-redesigned {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
}

.tools-category-header-redesigned i {
  font-size: 1.2rem;
  color: #f39c12;
  margin-right: 12px;
  width: 20px;
  text-align: center;
}

.tools-category-header-redesigned h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
}

[data-theme="dark"] .tools-category-header-redesigned {
  border-bottom-color: #334155;
}

[data-theme="dark"] .tools-category-header-redesigned h5 {
  color: #f1f5f9;
}

/* Tools List */
.tools-list-redesigned {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Individual Tool Tags */
.tool-tag-redesigned {
  background: rgba(243, 156, 18, 0.1);
  color: #d97706;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(243, 156, 18, 0.2);
  transition: all 0.3s ease;
  cursor: default;
  white-space: nowrap;
}

.tool-tag-redesigned:hover {
  background: #f39c12;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(243, 156, 18, 0.3);
}

[data-theme="dark"] .tool-tag-redesigned {
  background: rgba(243, 156, 18, 0.15);
  color: #fbbf24;
  border-color: rgba(243, 156, 18, 0.3);
}

[data-theme="dark"] .tool-tag-redesigned:hover {
  background: #f39c12;
  color: #ffffff;
}

/* Call to Action */
.tools-cta-redesigned {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  border-radius: 15px;
  color: #ffffff;
  margin-top: 30px;
}

.tools-cta-redesigned h5 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.tools-cta-redesigned p {
  font-size: 1rem;
  margin-bottom: 20px;
  opacity: 0.95;
  color: #ffffff;
}

.tools-cta-button-redesigned {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #f39c12;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.tools-cta-button-redesigned:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: #f39c12;
  text-decoration: none;
}

.tools-cta-button-redesigned i {
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .familiar-tools-redesigned {
    padding: 30px 20px;
  }
  
  .tools-grid-redesigned {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .tools-category-redesigned {
    padding: 20px;
  }
  
  .tools-header-redesigned h4 {
    font-size: 1.6rem;
  }
  
  .tools-cta-redesigned {
    padding: 25px 20px;
  }
  
  .tools-cta-redesigned h5 {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .tools-grid-redesigned {
    grid-template-columns: 1fr;
  }
  
  .tools-category-header-redesigned {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .tools-category-header-redesigned i {
    margin-right: 0;
  }
  
  .tools-list-redesigned {
    justify-content: center;
  }
  
  .tool-tag-redesigned {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}

/* Animation for tools appearing */
@keyframes toolsFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tools-category-redesigned {
  animation: toolsFadeIn 0.6s ease forwards;
}

.tools-category-redesigned:nth-child(1) { animation-delay: 0.1s; }
.tools-category-redesigned:nth-child(2) { animation-delay: 0.2s; }
.tools-category-redesigned:nth-child(3) { animation-delay: 0.3s; }
.tools-category-redesigned:nth-child(4) { animation-delay: 0.4s; }
.tools-category-redesigned:nth-child(5) { animation-delay: 0.5s; }
.tools-category-redesigned:nth-child(6) { animation-delay: 0.6s; }
.tools-category-redesigned:nth-child(7) { animation-delay: 0.7s; }
.tools-category-redesigned:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced theme toggle button */

.theme-toggle-wrapper:hover {
  box-shadow: none;
  transform: none;
}

.theme-toggle {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--warm-yellow) 100%) !important;
    border: 2px solid var(--primary-color) !important;
    color: #1a1a1a !important;
    border-radius: 50px !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.theme-toggle:hover::before {
    left: 0;
}

.theme-toggle:focus,
.navbar-toggler:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

/* Dark theme toggle styling */
[data-theme="dark"] .theme-toggle {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--golden-yellow) 100%) !important;
}

/* Icon transitions in theme toggle */
.theme-toggle i {
    transition: all 0.3s ease;
    color: #1a1a1a !important;
}

.theme-toggle:hover i {
    transform: rotate(15deg) scale(1.1);
}

@media (max-width: 991.98px) {
      .theme-toggle {
        margin: 1.5rem auto 0;
        width: auto;
        justify-content: center;
    }
}

@media (max-width: 991px) {
  .theme-toggle {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

}

/* Custom hamburger icon */
.navbar-toggler-icon {
    background-image: none !important;
    width: 24px;
    height: 3px;
    position: relative;
    transform: rotate(0deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    border-radius: 2px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* Animated toggle states */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 0px 1rem;
    }
}

.navbar-brand img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    filter: drop-shadow(0 3px 10px rgba(243, 156, 18, 0.3));
    border-radius: 8px;
}

.navbar-brand:hover img {
    filter: drop-shadow(0 5px 15px rgba(243, 156, 18, 0.5));
}


/* Dropdown Menu Styling */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(243, 156, 18, 0.15) !important;
  border-radius: var(--border-radius-lg) !important;
  box-shadow: 0 10px 35px rgba(243, 156, 18, 0.15) !important;
  padding: 0.75rem 0 !important;
  margin-top: 10px !important;
  transition: all var(--transition) !important;
}

.dropdown-item {
  color: var(--text-primary) !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 500;
  transition: all var(--transition-fast) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(243, 156, 18, 0.1) !important;
  color: var(--primary-yellow-dark) !important;
  transform: translateX(5px);
}

.dropdown-divider {
  border-top: 1px solid rgba(243, 156, 18, 0.1) !important;
}

/* Dark Mode Dropdown */
[data-theme="dark"] .dropdown-menu {
  background: rgba(30, 41, 59, 0.95) !important;
  border-color: rgba(243, 156, 18, 0.25) !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .dropdown-item {
  color: #e2e8f0 !important;
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
  background-color: rgba(243, 156, 18, 0.15) !important;
  color: var(--primary-yellow) !important;
}

[data-theme="dark"] .dropdown-divider {
  border-top-color: rgba(243, 156, 18, 0.2) !important;
}

/* Enhanced hover effect for tool-tag with tooltip */
.tool-tag-redesigned[data-bs-toggle="tooltip"]:hover {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

/* Dark theme tooltip adjustments */
[data-theme="dark"] .tooltip .tooltip-inner {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(243, 156, 18, 0.2);
}

[data-theme="dark"] .tooltip .tooltip-arrow,
[data-theme="dark"] .tooltip.bs-tooltip-bottom .tooltip-arrow,
[data-theme="dark"] .tooltip.bs-tooltip-start .tooltip-arrow,
[data-theme="dark"] .tooltip.bs-tooltip-end .tooltip-arrow {
  filter: brightness(1.1);
}

.tooltip.bs-tooltip-bottom .tooltip-arrow {
  border-bottom-color: #f39c12 !important;
}

.tooltip.bs-tooltip-start .tooltip-arrow {
  border-left-color: #f39c12 !important;
}

.tooltip.bs-tooltip-end .tooltip-arrow {
  border-right-color: #f39c12 !important;
}

.tooltip {
  font-family: inherit;
  z-index: 1070;
}

.tooltip .tooltip-inner {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 280px;
  word-wrap: break-word;
}

.tooltip .tooltip-arrow {
  border-top-color: #f39c12 !important;
}

@media (max-width: 768px) {
  .tooltip .tooltip-inner {
    font-size: 0.8rem;
    padding: 10px 14px;
  }
  
  .tooltip .tooltip-arrow {
    width: 10px;
    height: 5px;
  }

  .contact-info-list {
    text-align: left;
  }
}

/* =============================================
   TESTIMONIAL CAROUSEL COMPONENT
   ============================================= */

.testimonials {
  --carousel-gap: 30px;
  --card-min-height: 280px;
  padding: clamp(60px, 5vw, 100px) 0;
  background-color: var(--light-gray);
  transition: background-color 0.4s ease !important;
}

.testimonials .section-heading {
  text-align: center;
  margin-bottom: clamp(30px, 4vw, 50px);
}

.testimonials .section-heading h2 {
  color: var(--text-primary);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: capitalize;
}

.testimonials .section-heading p {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: min(700px, 90%);
  margin: 0 auto;
  line-height: 1.5;
}

/* Carousel Container */
.testimonial-carousel-container {
  width: min(1200px, 92%);
  margin: 0 auto;
  position: relative;
  padding: 10px 0 50px;
}

/* Carousel Track */
.testimonial-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - (var(--carousel-gap) * 2 / 3));
  gap: var(--carousel-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 15px 5px 25px;
  scrollbar-width: none;
  cursor: grab;
}

.testimonial-carousel:active {
  cursor: grabbing;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

/* Individual Cards */
.testimonial-card {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1) !important;
  min-height: var(--card-min-height);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .testimonial-card {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.08);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

/* Card Content */
.testimonial-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 2vw, 20px);
}

.testimonial-text {
  position: relative;
  z-index: 1;
}

.quote-icon {
  color: var(--primary-yellow-light);
  font-size: clamp(2rem, 4vw, 2.8rem);
  opacity: 0.15;
  position: absolute;
  top: -15px;
  left: -8px;
  z-index: -1;
}

.testimonial-text p {
  color: var(--text-primary);
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.7;
  margin: 0;
}

[data-theme="dark"] .testimonial-text p {
  color: var(--text-light);
}

/* Author Info */
.testimonial-author {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.author-info h4 {
  color: var(--primary-yellow-dark);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.author-position {
  color: var(--text-secondary);
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  font-style: italic;
  display: block;
}

/* Rating */
.testimonial-rating {
  color: var(--warm-yellow);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  white-space: nowrap;
}

/* Navigation Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-secondary);
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.3s ease !important;
  border: none;
  padding: 0;
}

.carousel-dot:hover {
  opacity: 0.7;
}

.carousel-dot.active {
  background: var(--primary-yellow);
  opacity: 1;
  transform: scale(1.3);
}

/* Navigation Arrows (Optional) */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.carousel-nav button {
  pointer-events: all;
  background: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: none;
  box-shadow: var(--shadow-sm);
  color: var(--primary-yellow);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1) !important;
  opacity: 0.8;
}

[data-theme="dark"] .carousel-nav button {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-nav button:hover {
  opacity: 1;
  transform: scale(1.1);
  color: var(--primary-yellow-dark);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .testimonial-carousel {
    grid-auto-columns: calc(50% - (var(--carousel-gap) / 2));
  }
  
  .carousel-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .testimonial-carousel {
    grid-auto-columns: 100%;
    --carousel-gap: 20px;
  }
  
  .testimonial-card {
    --card-min-height: 260px;
  }
  
  .carousel-dots {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .testimonial-author {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .testimonial-rating {
    margin-top: 5px;
  }
  
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
}

/* No Testimonials State */
.no-testimonials {
  text-align: center;
  padding: 50px 0;
  color: var(--text-secondary);
}

.no-testimonials p {
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Enhanced Mobile and Tablet Support for Skill Progress Bars */
@media (max-width: 1024px) {
  .skill-category-redesigned .skill-progress-redesigned {
    position: relative;
    overflow: hidden;
    /* Ensure shimmer effect works on tablets */
  }
  
  .skill-category-redesigned .skill-progress-redesigned::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(255, 255, 255, 0.3) 50%, 
      transparent 100%);
    animation: shimmer-redesigned 2s infinite;
    will-change: transform;
    -webkit-animation: shimmer-redesigned 2s infinite;
  }
}

@media (max-width: 768px) {
  .skill-category-redesigned .skill-progress-redesigned {
    position: relative;
    overflow: hidden;
    /* Maintain shimmer on mobile */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  .skill-category-redesigned .skill-progress-redesigned::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(255, 255, 255, 0.3) 50%, 
      transparent 100%);
    animation: shimmer-redesigned 2s infinite;
    will-change: transform;
    -webkit-animation: shimmer-redesigned 2s infinite;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  /* Force hardware acceleration for better performance */
  .skill-category-redesigned .skill-bar-redesigned {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}

@media (max-width: 576px) {
  .skill-category-redesigned .skill-progress-redesigned {
    position: relative;
    overflow: hidden;
    /* Enhanced mobile shimmer support */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .skill-category-redesigned .skill-progress-redesigned::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(255, 255, 255, 0.4) 50%, 
      transparent 100%);
    animation: shimmer-redesigned 2.5s infinite;
    will-change: transform;
    -webkit-animation: shimmer-redesigned 2.5s infinite;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  /* Ensure skill level colors remain vibrant on mobile */
  .skill-category-redesigned .expert-redesigned .skill-progress-redesigned {
    background: linear-gradient(90deg, #10b981, #059669);
  }
  
  .skill-category-redesigned .advanced-redesigned .skill-progress-redesigned {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  }
  
  .skill-category-redesigned .intermediate-redesigned .skill-progress-redesigned {
    background: linear-gradient(90deg, #f59e0b, #d97706);
  }
  
  .skill-category-redesigned .basic-redesigned .skill-progress-redesigned {
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  }
}

/* Replace the existing shimmer animation for mobile */
@media (max-width: 768px) {
  .skill-category-redesigned .skill-progress-redesigned::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(255, 255, 255, 0.4) 50%, 
      transparent 100%);
    animation: shimmer-redesigned-mobile 2s infinite;
    will-change: transform;
    -webkit-animation: shimmer-redesigned-mobile 2s infinite;
    z-index: 1;
  }
}

@keyframes shimmer-redesigned-mobile {
  0% { 
    left: -100%; 
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% { 
    left: 100%; 
    opacity: 0.8;
  }
}

@-webkit-keyframes shimmer-redesigned-mobile {
  0% { 
    left: -100%; 
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% { 
    left: 100%; 
    opacity: 0.8;
  }
}

/* Add this CSS for mobile animation state */
.skill-progress-redesigned.mobile-animated {
  transition: width 1.5s ease-out !important;
  opacity: 1 !important;
}

/* Ensure gradients work on all mobile browsers */
@supports (-webkit-linear-gradient(90deg, #10b981, #059669)) {
  .skill-category-redesigned .expert-redesigned .skill-progress-redesigned {
    background: -webkit-linear-gradient(90deg, #10b981, #059669) !important;
    background: linear-gradient(90deg, #10b981, #059669) !important;
  }
  
  .skill-category-redesigned .advanced-redesigned .skill-progress-redesigned {
    background: -webkit-linear-gradient(90deg, #3b82f6, #1d4ed8) !important;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8) !important;
  }
  
  .skill-category-redesigned .intermediate-redesigned .skill-progress-redesigned {
    background: -webkit-linear-gradient(90deg, #f59e0b, #d97706) !important;
    background: linear-gradient(90deg, #f59e0b, #d97706) !important;
  }
  
  .skill-category-redesigned .basic-redesigned .skill-progress-redesigned {
    background: -webkit-linear-gradient(90deg, #38bdf8, #0ea5e9) !important;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9) !important;
  }
}

/* Enhanced shimmer animation with better mobile support */
@keyframes shimmer-redesigned {
  0% { 
    left: -100%; 
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% { 
    left: 100%; 
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes shimmer-redesigned {
  0% { 
    left: -100%; 
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% { 
    left: 100%; 
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

/* Touch device specific optimizations */
@media (hover: none) and (pointer: coarse) {
  .skill-category-redesigned .skill-progress-redesigned::after {
    /* Slightly slower animation on touch devices for better visibility */
    animation-duration: 3s;
    -webkit-animation-duration: 3s;
  }
}

/* High DPI display support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .skill-category-redesigned .skill-progress-redesigned::after {
    /* Enhanced shimmer opacity for retina displays */
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(255, 255, 255, 0.35) 50%, 
      transparent 100%);
  }
}

@media (max-width: 1249.98px) {
  .navbar-nav {
    display: none;
  }
  
  .navbar-toggler {
    display: flex !important;
    margin-left: auto; /* Ensure hamburger stays on right */
  }
  
  .navbar-collapse {
    background: transparent !important; /* Remove background */
    border-radius: 0 !important;
    margin-top: 15px;
    padding: 0 !important; /* Remove padding */
    box-shadow: none !important; /* Remove shadow */
    border: none !important; /* Remove border */
    width: 100%;
  }
  
  .navbar-collapse.show .navbar-nav,
  .navbar-collapse.collapsing .navbar-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--white); /* Apply background only to nav items */
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(243, 156, 18, 0.1);
    margin-top: 10px;
  }
  
  [data-theme="dark"] .navbar-collapse.show .navbar-nav,
  [data-theme="dark"] .navbar-collapse.collapsing .navbar-nav {
    background: var(--card-bg);
    border-color: rgba(243, 156, 18, 0.2);
  }
  
  .navbar-nav .nav-link {
    margin: 5px 0;
    text-align: center;
    padding: 12px 20px !important;
  }
  
  .navbar-nav .nav-item {
    width: 100%;
  }
  
  /* Theme toggle positioning in collapsed menu */
  .theme-toggle-wrapper {
    margin: 15px auto 0;
    width: auto;
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 1250px) {
  .navbar-toggler {
    display: none !important;
  }
  
  .navbar-nav {
    display: flex !important;
    flex-direction: row;
    margin-left: auto; /* Keep nav items on the right */
  }
  
  .navbar-collapse {
    display: flex !important;
    justify-content: flex-end; /* Align content to the right */
  }
  
  .theme-toggle-wrapper {
    margin-left: 15px; /* Add some space from nav items */
  }

  .navbar-expand-lg .navbar-toggler {
    display: none !important;
  }
  
  .navbar-expand-lg .navbar-nav {
    display: flex !important;
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
}

/* Container responsive adjustments */
@media (max-width: 1249.98px) {
  .navbar .container {
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .navbar-brand {
    flex: 0 0 auto; /* Don't let brand grow/shrink */
  }
  
  .navbar-toggler .collapse {
    flex: 0 0 auto; /* Don't let toggler grow/shrink */
    margin-left: auto; /* Push to right */
  }

  .navbar-expand-lg .navbar-nav {
    display: none;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: block !important;
  }
  
  .navbar-expand-lg .navbar-collapse.show .navbar-nav {
    display: flex;
    flex-direction: column;
  }
}


.section-heading h2 {
  text-transform: capitalize;
}

/* Enhanced Mobile Support - Add after line 5175 */
@media (max-width: 768px) {
  /* Ensure progress bars are visible and have proper gradients */
  .skill-category-redesigned .skill-progress-redesigned {
    min-width: 10%; /* Ensure some visibility even without JavaScript */
    background: linear-gradient(90deg, #38bdf8, #0ea5e9) !important; /* Fallback gradient */
  }
  
  /* Force specific gradients for each level */
  .skill-category-redesigned .expert-redesigned .skill-progress-redesigned {
    background: linear-gradient(90deg, #10b981, #059669) !important;
  }
  
  .skill-category-redesigned .advanced-redesigned .skill-progress-redesigned {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8) !important;
  }
  
  .skill-category-redesigned .intermediate-redesigned .skill-progress-redesigned {
    background: linear-gradient(90deg, #f59e0b, #d97706) !important;
  }
  
  .skill-category-redesigned .basic-redesigned .skill-progress-redesigned {
    background: linear-gradient(90deg, #38bdf8, #0ea5e9) !important;
  }
  
  /* Ensure the skill bar container has proper background */
  .skill-category-redesigned .skill-bar-redesigned {
    background: #e2e8f0 !important;
    border-radius: 4px;
    overflow: visible; /* Allow gradient to show */
  }
  
  /* Force hardware acceleration and proper rendering */
  .skill-category-redesigned .skill-progress-redesigned {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: width, background;
  }
}

/* Ultra small devices (320px and below) */
@media (max-width: 320px) {
  .skill-category-redesigned .skill-progress-redesigned {
    min-height: 8px; /* Ensure minimum height */
    background-size: 100% 100% !important;
  }
}