/* ==========================================================================
   WARM ARTISAN MINIMALISM DESIGN SYSTEM
   ========================================================================== */

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

:root {
  /* Premium Coffee Palette (Caramel Macchiato) */
  --bg-base: #faf8f5;
  /* Warm ivory latte */
  --bg-surface: rgba(255, 255, 255, 0.72);
  /* Creamy white translucency */
  --bg-surface-hover: rgba(255, 255, 255, 0.96);
  --border-color: rgba(141, 110, 99, 0.09);
  /* Soft cream outline */
  --border-hover: rgba(141, 110, 99, 0.24);
  /* Cappuccino highlight */

  --text-primary: #2c1b11;
  /* Roasted Espresso (highest contrast) */
  --text-secondary: #5c473c;
  /* Cinnamon Cocoa */
  --text-muted: #856a5c;
  /* Creamy Latte */

  --primary: #8d6e63;
  /* Caramel Chocolate */
  --primary-light: #b08968;
  /* Cappuccino Caramel */
  --secondary: #b88e6f;
  /* Warm Latte */
  --accent: #d4a373;
  /* Honey Amber */

  --gradient-accent: linear-gradient(135deg, #704f38 0%, #a67c52 50%, #d4a373 100%);
  --gradient-accent-hover: linear-gradient(135deg, #5c3d24 0%, #8d6e63 50%, #c49a72 100%);
  --gradient-glow: radial-gradient(circle, rgba(166, 124, 82, 0.14) 0%, rgba(212, 163, 115, 0.04) 50%, transparent 70%);

  --shadow-main: 0 20px 40px -15px rgba(44, 27, 17, 0.06);
  /* Soft paper shadow */
  --shadow-glow: 0 0 20px rgba(166, 124, 82, 0.07);

  --font-headings: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --blur-amount: 12px;
  --transition-speed: 0.35s;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: rgba(141, 110, 99, 0.25);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(141, 110, 99, 0.5);
}

/* Interactive Cursor Glowing Spotlight */
.glow-blob {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--gradient-glow);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
  transition: transform 0.12s ease-out;
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1100;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-accent);
  transition: width 0.1s ease;
}

/* ==========================================================================
   GLASSMORPHISM & OUTLINES
   ========================================================================== */

.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(var(--blur-amount));
  -webkit-backdrop-filter: blur(var(--blur-amount));
  border-radius: 16px;
  transition: transform var(--transition-speed) cubic-bezier(0.165, 0.84, 0.44, 1),
    border-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
  box-shadow: var(--shadow-main);
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-main), var(--shadow-glow);
}

/* Typography Gradient */
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-headings);
  font-weight: 800;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-premium {
  background: var(--gradient-accent);
  color: #ffffff !important;
  border: none;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(111, 78, 55, 0.2);
  transition: all var(--transition-speed) cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  cursor: pointer;
}

.btn-premium:hover {
  transform: translateY(-3px);
  background: var(--gradient-accent-hover);
  box-shadow: 0 8px 25px rgba(111, 78, 55, 0.35);
}

.btn-glass-secondary {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-speed) ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-glass-secondary:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* ==========================================================================
   STICKY NAVIGATION HEADER
   ========================================================================== */

.navbar-header {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  z-index: 1000;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--shadow-main);
  transition: top 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.navbar-header.scrolled {
  top: 12px;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(141, 110, 99, 0.15);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
}

.navbar-logo {
  font-size: 1.35rem;
  font-family: var(--font-headings);
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-logo span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 25px;
}

.navbar-nav-list {
  display: flex;
  gap: 15px;
}

.navbar-nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav-link:hover::after,
.navbar-nav-link.active::after {
  width: 60%;
}

.navbar-nav-link:hover,
.navbar-nav-link.active {
  color: var(--primary);
  background: rgba(141, 110, 99, 0.04);
}

/* Mobile Toggle */
.mobile-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-hamburger span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.mobile-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 180px 0 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-greeting {
  font-family: var(--font-headings);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.5px;
  font-weight: 500;
  font-size: 1.65rem;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.hero-name {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 4rem;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-profession-wrapper {
  font-size: 1.9rem;
  font-family: var(--font-headings);
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-style: italic;
  display: flex;
  align-items: center;
}

.typing-cursor {
  display: inline-block;
  width: 2.5px;
  height: 1.9rem;
  background: var(--primary);
  margin-left: 5px;
  animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

.hero-tagline {
  color: var(--text-secondary);
  font-size: 1.12rem;
  margin-bottom: 36px;
  max-width: 580px;
}

.social-icons-list {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon-btn:hover {
  background: var(--gradient-accent);
  color: white;
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.hero-btns-wrapper {
  display: flex;
  gap: 16px;
}

/* Polaroid-Style Avatar Frame */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-profile-image-container {
  width: 280px;
  height: 280px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid rgba(141, 110, 99, 0.12);
  padding: 12px 12px 12px 12px;
  /* Balanced bottom padding for polaroid look */
  box-shadow: 0 15px 35px -10px rgba(44, 27, 17, 0.12);
  position: relative;
  transform: rotate(2deg);
  transition: transform 0.5s ease;
}


.hero-profile-image-container:hover {
  transform: rotate(0deg) scale(1.03);
}

.hero-profile-image-container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border: 1px solid rgba(141, 110, 99, 0.05);
  background-color: var(--bg-base);
}

/* ==========================================================================
   SECTIONS GENERAL STYLES
   ========================================================================== */

.section-wrapper {
  padding: 90px 0;
}

.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--primary-light);
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.5rem;
  font-family: var(--font-headings);
  font-weight: 800;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ==========================================================================
   ABOUT ME SECTION (Asymmetric Stacks)
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 55px;
  align-items: center;
}

.about-left {
  display: flex;
  gap: 20px;
}

.about-bio-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(141, 110, 99, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.about-bio-text {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-info-card {
  padding: 22px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Asymmetric rotation for editorial polaroid stack look */
.about-info-card:nth-child(1) {
  transform: rotate(-1.5deg) translateY(-2px);
}

.about-info-card:nth-child(2) {
  transform: rotate(1deg) translateY(4px);
}

.about-info-card:nth-child(3) {
  transform: rotate(1.2deg) translateY(-4px);
}

.about-info-card:nth-child(4) {
  transform: rotate(-1deg) translateY(2px);
}

.about-info-card:hover {
  transform: scale(1.05) rotate(0deg) !important;
}

.about-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(141, 110, 99, 0.06);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.about-info-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: 1px;
}

.about-info-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: normal;
  overflow-wrap: anywhere;
}

.email-link {
  transition: color var(--transition-speed) ease;
  font-size: clamp(0.72rem, 1.8vw, 0.85rem) !important;
  word-break: normal;
  overflow-wrap: anywhere;
}

.email-link:hover {
  color: var(--primary) !important;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */

.skills-badges-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.skill-badge-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 10px 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-main);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.skill-badge-pill:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-main), var(--shadow-glow);
  background: #ffffff;
}

.skill-badge-pill:nth-child(odd):hover {
  transform: translateY(-5px) scale(1.04) rotate(-2.5deg);
}

.skill-badge-pill:nth-child(even):hover {
  transform: translateY(-5px) scale(1.04) rotate(2.5deg);
}

.skill-badge-icon {
  color: var(--primary-light);
  font-size: 1.15rem;
}

.skill-badge-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */

.projects-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 15px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.project-thumbnail-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  border-bottom: 1px solid var(--border-color);
  background-color: #dfdcd6;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.project-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-title {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

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

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

.project-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-badge {
  background: rgba(141, 110, 99, 0.05);
  border: 1px solid rgba(141, 110, 99, 0.12);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(141, 110, 99, 0.06);
  padding-top: 15px;
}

.btn-view-details {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.3s ease;
}

.project-card:hover .btn-view-details {
  transform: translateX(5px);
}

/* ==========================================================================
   THREE-COLUMN DETAILS ROW (EXPERIENCE, EDUCATION, CERTIFICATES)
   ========================================================================== */

.details-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.details-row-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

/* Standalone Premium Experience Timeline */
.experience-timeline {
  position: relative;
  padding-left: 35px;
  border-left: 2px solid rgba(141, 110, 99, 0.15);
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.experience-item {
  position: relative;
}

.experience-bullet {
  position: absolute;
  left: -46px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 3px solid var(--primary-light);
  z-index: 2;
  transition: all 0.35s ease;
}

.experience-item:hover .experience-bullet {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.2);
  box-shadow: var(--shadow-glow);
}

.experience-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-main);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
}

.experience-item:hover .experience-card {
  border-color: var(--border-hover);
  background: #ffffff;
  box-shadow: var(--shadow-main), var(--shadow-glow);
  transform: translateY(-4px);
}

.experience-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(141, 110, 99, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

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

.experience-role-title {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.experience-company-name {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 2px;
}

.experience-date-badge {
  background: rgba(141, 110, 99, 0.06);
  border: 1px solid rgba(141, 110, 99, 0.12);
  color: var(--text-secondary);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.experience-desc-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.experience-tech-used {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.details-column {
  display: flex;
  flex-direction: column;
}

.details-column-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.details-column-title-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--primary-light);
  font-weight: 700;
  letter-spacing: 1.5px;
}

.details-column-title {
  font-size: 1.45rem;
  font-family: var(--font-headings);
  font-weight: 800;
  color: var(--text-primary);
}

.details-column-view-all {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}

.details-column-view-all:hover {
  color: var(--primary);
}

/* Milestone Timeline */
.timeline-container {
  position: relative;
  padding-left: 20px;
  border-left: 2px dashed rgba(141, 110, 99, 0.25);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.timeline-item {
  position: relative;
}

.timeline-bullet {
  position: absolute;
  left: -31px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.6rem;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-bullet {
  background: var(--primary-light);
  color: white;
  box-shadow: var(--shadow-glow);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  border-color: var(--border-hover);
  background: #ffffff;
  box-shadow: var(--shadow-main);
}

.timeline-role {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.timeline-company-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.timeline-company {
  color: var(--primary);
  font-weight: 700;
}

.timeline-date {
  color: var(--text-muted);
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Education Cards */
.education-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.education-card {
  padding: 18px;
  display: flex;
  gap: 15px;
}

.education-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(176, 137, 104, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.education-content {
  flex-grow: 1;
}

.education-degree {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.education-college {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 4px;
}

.education-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.education-date {
  color: var(--text-muted);
}

.education-cgpa {
  color: var(--primary);
  font-weight: 700;
}

/* Certificates Cards */
.certificates-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.certificate-card {
  padding: 18px;
  position: relative;
  display: flex;
  gap: 15px;
}

.certificate-ribbon {
  position: absolute;
  top: 12px;
  right: 15px;
  color: var(--primary-light);
  font-size: 0.95rem;
}

.certificate-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(221, 184, 146, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.certificate-content {
  flex-grow: 1;
}

.certificate-title {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-right: 15px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.certificate-organization {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 8px;
}

.certificate-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.certificate-verify-btn {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.certificate-verify-btn:hover {
  text-decoration: underline;
}

/* Modular Panel Cards (Education & Certificates Tiles) */
.details-panel-card {
  padding: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-main);
  height: 100%;
  transition: all var(--transition-speed) ease;
}

.details-panel-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-main), var(--shadow-glow);
}

/* ==========================================================================
   CONTACT SECTION (Unified Dual-Pane correspondence Hub)
   ========================================================================== */

.contact-unified-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-main);
  margin-top: 40px;
}

.contact-left-pane {
  background: #2b1a11;
  /* Deep espresso background */
  color: #ffffff;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.contact-left-pane::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(212, 163, 115, 0.08);
  filter: blur(20px);
}

.contact-left-title {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.contact-left-subtitle {
  font-size: 0.95rem;
  color: #dfdcd6;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 35px;
}

.contact-left-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-left-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.95rem;
}

.contact-left-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
}

.contact-left-socials {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.contact-left-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dfdcd6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-left-social-btn:hover {
  background: var(--gradient-accent);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
}

.contact-right-pane {
  padding: 45px;
  background: #ffffff;
  background-image: radial-gradient(rgba(141, 110, 99, 0.07) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Floating Label Form Controls */
.form-group-floating {
  position: relative;
  margin-bottom: 28px;
}

.floating-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(141, 110, 99, 0.12);
  color: var(--text-primary);
  padding: 10px 0;
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.3s ease;
}

.floating-input:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.floating-label {
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  pointer-events: none;
  transition: all 0.3s ease;
}

.floating-input:focus~.floating-label,
.floating-input:not(:placeholder-shown)~.floating-label {
  top: -15px;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Hidden Certificates list inline toggle */
.hidden-certificate {
  display: none !important;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hidden-certificate.show-cert {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
}

/* Hidden Projects inline toggle */
.hidden-project {
  display: none !important;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hidden-project.show-project {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer-wrapper {
  padding: 80px 0 30px;
  background-color: #1a110b;
  /* Deep espresso anchor background */
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 1.4rem;
  font-family: var(--font-headings);
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-desc {
  color: #dfdcd6;
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 280px;
  opacity: 0.8;
}

.footer-social-wrapper {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dfdcd6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-btn:hover {
  background: var(--gradient-accent);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #dfdcd6;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 5px;
  opacity: 1;
}

.footer-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #dfdcd6;
  opacity: 0.8;
}

.footer-contact-item i {
  color: var(--accent);
}

.footer-branch-illustration {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  color: var(--primary);
  pointer-events: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */

.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-main);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  color: white;
  border-color: var(--primary);
  background: var(--gradient-accent);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   PROJECT DETAILS PAGE SPECIFIC STYLES
   ========================================================================== */

.project-detail-wrapper {
  position: relative;
}

.project-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  border-radius: 20px;
  box-shadow: var(--shadow-main);
  overflow: hidden;
  border: 1px solid rgba(141, 110, 99, 0.12);
  margin-top: 20px;
}

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

.project-hero-header {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}

.project-hero-category {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.project-hero-featured {
  background: rgba(212, 163, 115, 0.25);
  border: 1px solid rgba(212, 163, 115, 0.5);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.project-hero-title {
  font-size: 3.5rem;
  font-family: var(--font-headings);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.project-hero-short-desc {
  font-size: 1.15rem;
  color: #f7f4ef;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.6;
  opacity: 0.9;
}

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

.hero-action-btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.hero-action-btn.live-btn {
  background: var(--gradient-accent);
  color: white;
  border: none;
}

.hero-action-btn.live-btn:hover {
  background: var(--gradient-accent-hover);
  transform: translateY(-2px);
}

.hero-action-btn.github-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.hero-action-btn.github-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Coffee Theme Hero Styles */
.project-hero-coffee-theme {
  background-color: #faf8f5 !important;
  background-image: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 239, 233, 0.82) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%238d6e63' fill-opacity='0.08'%3E%3Cpath d='M12,18 C15,10 24,12 22,22 C20,30 11,31 8,24 C6,19 9,21 12,18 Z' /%3E%3Cpath d='M8,24 C13,19 19,23 22,22' stroke='%238d6e63' stroke-opacity='0.1' fill='none' stroke-width='1' /%3E%3Cpath d='M42,38 C45,30 54,32 52,42 C50,50 41,51 38,44 C36,39 39,41 42,38 Z' /%3E%3Cpath d='M38,44 C43,39 49,43 52,42' stroke='%238d6e63' stroke-opacity='0.1' fill='none' stroke-width='1' /%3E%3C/g%3E%3C/svg%3E") !important;
  background-repeat: repeat !important;
  background-size: auto !important;
  border: 1px solid rgba(141, 110, 99, 0.15) !important;
  padding: 50px 40px !important;
}

.project-hero-coffee-theme .project-hero-category {
  background: rgba(141, 110, 99, 0.08) !important;
  border: 1px solid rgba(141, 110, 99, 0.2) !important;
  color: var(--primary) !important;
}

.project-hero-coffee-theme .project-hero-featured {
  background: rgba(212, 163, 115, 0.15) !important;
  border: 1px solid rgba(212, 163, 115, 0.35) !important;
  color: #a67c52 !important;
}

.project-hero-coffee-theme .project-hero-title {
  color: var(--text-primary) !important;
  font-size: 2.8rem !important;
  font-weight: 800 !important;
}

.project-hero-coffee-theme .project-hero-short-desc {
  color: var(--text-secondary) !important;
}

.project-hero-coffee-theme .hero-action-btn.github-btn {
  background: rgba(141, 110, 99, 0.05) !important;
  border: 1px solid rgba(141, 110, 99, 0.25) !important;
  color: var(--text-primary) !important;
}

.project-hero-coffee-theme .hero-action-btn.github-btn:hover {
  background: rgba(141, 110, 99, 0.12) !important;
  color: var(--text-primary) !important;
}

/* 2-column grid layout */
.project-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 991px) {
  .project-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Image Pane Styling */
.project-hero-image-pane {
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-hero-img-wrapper {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(44, 27, 17, 0.12);
  border: 4px solid #fff;
  transition: transform var(--transition-speed) ease;
}

.project-hero-img-wrapper:hover {
  transform: translateY(-5px) scale(1.02);
}

.project-hero-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Detail Main Grid */
.project-main-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}

.project-section {
  padding: 30px;
  margin-bottom: 30px;
}

.project-section-title {
  font-family: var(--font-headings);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.project-section-title i {
  color: var(--primary);
}

.project-rich-content {
  color: var(--text-secondary);
}

.project-rich-content h2,
.project-rich-content h3 {
  font-family: var(--font-headings);
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.project-rich-content p {
  margin-bottom: 16px;
}

.project-rich-content ul,
.project-rich-content ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

.project-rich-content li {
  margin-bottom: 8px;
}

.project-rich-content .project-features-list,
.project-rich-content .project-challenges-list {
  list-style: none;
  margin-left: 0;
  margin-bottom: 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-rich-content .project-features-list li,
.project-rich-content .project-challenges-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
}

.project-rich-content .feature-icon-wrapper,
.project-rich-content .challenge-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  flex-shrink: 0;
}

.project-rich-content .feature-icon-wrapper i {
  color: var(--primary);
  font-size: 1.1rem;
}

.project-rich-content .challenge-icon-wrapper i {
  color: var(--accent);
  font-size: 1.1rem;
}

.project-rich-content .feature-text,
.project-rich-content .challenge-text {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Sidebar Info Cards */
.project-sidebar-card {
  padding: 30px;
}

.sidebar-title {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.sidebar-title i {
  color: var(--primary);
}

.project-tech-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-tech-badge {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-tech-badge i {
  color: var(--primary);
}

.metadata-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metadata-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.meta-label {
  color: var(--text-muted);
}

.meta-value {
  font-weight: 600;
}

.status-badge-inline {
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-badge-inline.completed {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.status-badge-inline.in-progress {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

/* Gallery Section */
.gallery-section-title {
  font-family: var(--font-headings);
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-section-title i {
  color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(141, 110, 99, 0.3);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item-wrapper:hover .gallery-hover-overlay {
  opacity: 1;
}

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

/* Lightbox Overlay */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 17, 11, 0.95);
  /* Deep espresso lightbox bg */
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* Project Navigation Prev/Next */
.project-navigation-section {
  margin: 60px 0 40px;
}

.project-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.project-nav-link {
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.project-nav-link.next-link {
  text-align: right;
  align-items: flex-end;
}

.project-nav-link-disabled {
  padding: 24px;
  display: flex;
  flex-direction: column;
  opacity: 0.45;
}

.project-nav-link-disabled.next-link-disabled {
  text-align: right;
  align-items: flex-end;
}

.nav-direction {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.nav-project-title {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Related Projects Section */
.related-projects-title {
  font-family: var(--font-headings);
  font-size: 1.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   VIEW ALL LIST PAGES STYLES
   ========================================================================== */

.list-hero-section {
  padding: 130px 0 60px;
  text-align: center;
}

.list-hero-title {
  font-size: 3rem;
  font-family: var(--font-headings);
  font-weight: 800;
  margin-bottom: 12px;
}

.list-hero-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Search and Filters Bar */
.filters-bar-wrapper {
  margin-bottom: 40px;
  padding: 22px;
}

.search-filter-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 20px;
  align-items: center;
}

.search-input-box {
  position: relative;
}

.search-input-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 50px;
  padding: 10px 16px 10px 42px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(141, 110, 99, 0.15);
}

.tech-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--gradient-accent);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

/* Toast Messages */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-toast {
  padding: 16px 24px;
  background: rgba(61, 37, 22, 0.95);
  border: 1px solid var(--primary);
  backdrop-filter: blur(10px);
  color: white;
  border-radius: 12px;
  box-shadow: var(--shadow-main);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  animation: toastFadeIn 0.3s forwards;
}

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

.custom-toast.success {
  border-color: #10b981;
}

.custom-toast.success i {
  color: #10b981;
}

/* ==========================================================================
   RESPONSIVENESS MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-name {
    font-size: 3.2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .details-row-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-main-grid {
    grid-template-columns: 1fr;
  }

  .search-filter-grid {
    grid-template-columns: 1fr;
  }

  .tech-filter-pills {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  /* Page Padding Constraint */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .navbar-nav-list {
    display: none;
  }

  .mobile-hamburger {
    display: flex;
  }

  /* Mobile Menu overlay styling */
  .navbar-menu-wrapper.active {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-main);
  }

  .navbar-menu-wrapper.active .navbar-nav-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }

  /* Centered Hero Section */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-left {
    order: 2;
  }

  .hero-right {
    order: 1;
    margin-bottom: 30px;
  }

  .hero-profession-wrapper {
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
  }

  .typing-cursor {
    height: 1.3rem;
  }

  .hero-greeting {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .hero-name {
    font-size: 2.2rem !important;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
    text-align: center !important;
  }

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

  .hero-btns-wrapper {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    gap: 12px;
  }

  /* Reduce Button Font Sizes */
  .btn-premium,
  .btn-glass-secondary,
  .hero-action-btn,
  .certificate-verify-btn,
  .details-column-view-all,
  #nav-resume-btn {
    font-size: 0.82rem !important;
    padding: 0.6rem 1.4rem !important;
  }

  .hero-btns-wrapper .btn-premium,
  .hero-btns-wrapper .btn-glass-secondary {
    justify-content: center;
  }

  .social-icons-list {
    justify-content: center;
    margin-bottom: 20px;
  }

  /* Centered and Compact Sections */
  .section-wrapper {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.85rem;
    margin-bottom: 30px;
    text-align: center !important;
  }

  /* Reduce Subheadings and Tags */
  .section-label {
    font-size: 0.72rem !important;
    letter-spacing: 1.5px !important;
    text-align: center !important;
  }

  .tech-badge,
  .sidebar-tech-badge,
  .project-hero-category,
  .project-hero-featured {
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
  }

  /* Centered Bio */
  .about-left {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Stacking Project List & Details */
  .projects-header-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .project-tech-badges {
    justify-content: center !important;
  }

  /* Stacked Details Page Hero Grid (2-column layout) */
  .project-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center !important;
  }

  .project-hero-image-pane {
    order: -1; /* Display preview photo first on mobile */
  }

  .project-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    gap: 12px;
  }

  .project-hero-actions .hero-action-btn {
    justify-content: center;
  }

  /* Centered Experience Timeline items */
  .experience-card {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    padding: 20px !important;
  }

  .experience-card-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .experience-desc-text {
    text-align: center !important;
  }

  .experience-tech-used {
    justify-content: center !important;
  }

  /* Stack Education and Certificates into Another Block (Single Column) */
  .details-row-grid-2col {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .details-column-header-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }

  .details-panel-card {
    text-align: center !important;
  }

  .education-card,
  .certificate-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .certificate-meta {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* Contact Center */
  .contact-unified-card {
    grid-template-columns: 1fr;
  }

  .contact-left-pane,
  .contact-right-pane {
    padding: 35px 24px;
    text-align: center !important;
  }

  .contact-left-items {
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .contact-left-socials {
    justify-content: center !important;
  }

  /* Footer Mobile Optimization */
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 30px !important;
  }

  .footer-column {
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .footer-social-wrapper {
    justify-content: center !important;
  }

  .footer-contact-info-list {
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .footer-contact-item {
    justify-content: center !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }
}

/* Artisan Section Divider */
.artisan-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 50px 0;
  color: var(--primary-light);
  opacity: 0.55;
  width: 100%;
}

.artisan-divider::before,
.artisan-divider::after {
  content: '';
  flex-grow: 1;
  height: 1.2px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.artisan-divider i {
  font-size: 0.8rem;
}

/* Scroll Down Bouncing Indicator */
.scroll-down-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 10;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.scroll-down-indicator:hover {
  color: var(--primary);
}

.scroll-down-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 20px;
  position: relative;
  transition: border-color var(--transition-speed) ease;
}

.scroll-down-indicator:hover .scroll-down-mouse {
  border-color: var(--primary);
}

.scroll-down-wheel {
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 4px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseScroll 1.6s infinite;
}

.scroll-down-indicator:hover .scroll-down-wheel {
  background: var(--primary);
}

@keyframes mouseScroll {
  0% {
    top: 6px;
    opacity: 1;
  }

  50% {
    top: 16px;
    opacity: 0;
  }

  100% {
    top: 6px;
    opacity: 1;
  }
}

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