/**
* Personal Portfolio - Premium Redesign
* Theme: Black + Golden Yellow
* Author: Debarshi Gupta
*/

/*--------------------------------------------------------------
# CSS Custom Properties (Design Tokens)
--------------------------------------------------------------*/
:root {
  /* Color Palette - Premium Black & Gold */
  --clr-bg-primary: #0B0B0B;
  --clr-bg-secondary: #111111;
  --clr-bg-tertiary: #161616;
  --clr-bg-elevated: #1A1A1A;
  --clr-bg-card: #1E1E1E;

  /* Accent Colors - Golden Yellow */
  --clr-accent: #D4AF37;
  --clr-accent-light: #F5C542;
  --clr-accent-muted: #9E7F25;
  --clr-accent-dark: #8B7329;
  --clr-accent-glow: rgba(212, 175, 55, 0.15);

  /* Text Colors */
  --clr-text-primary: #FFFFFF;
  --clr-text-secondary: #B3B3B3;
  --clr-text-muted: #737373;
  --clr-text-subtle: #525252;

  /* Border Colors */
  --clr-border: #2A2A2A;
  --clr-border-light: #333333;
  --clr-border-accent: rgba(212, 175, 55, 0.3);

  /* Status Colors */
  --clr-success: #22C55E;
  --clr-error: #EF4444;
  --clr-warning: #F59E0B;

  /* Typography */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-accent: 'Raleway', sans-serif;

  /* Font Sizes - Fluid Typography */
  --fs-hero: clamp(2.5rem, 5vw, 3.5rem);
  --fs-h1: clamp(1.75rem, 4vw, 2.25rem);
  --fs-h2: clamp(1.25rem, 3vw, 1.5rem);
  --fs-h3: 1.125rem;
  --fs-h4: 1rem;
  --fs-body: 1rem;
  --fs-body-sm: 0.9375rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Line Heights */
  --lh-tight: 1.2;
  --lh-snug: 1.4;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  /* Spacing Scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-section: 5rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.2);
  --shadow-glow-lg: 0 0 40px rgba(212, 175, 55, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-modal: 1000;
  --z-overlay: 9000;
  --z-max: 9999;
}

/*--------------------------------------------------------------
# Base Reset & Defaults
--------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--clr-text-primary);
  background-color: var(--clr-bg-primary);
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--clr-bg-primary);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
  z-index: -1;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--clr-text-primary);
}

h1 {
  font-size: var(--fs-hero);
}

h2 {
  font-size: var(--fs-h1);
}

h3 {
  font-size: var(--fs-h2);
}

h4 {
  font-size: var(--fs-h3);
}

h5 {
  font-size: var(--fs-h4);
}

h6 {
  font-size: var(--fs-body);
}

p {
  margin-bottom: var(--space-md);
  color: var(--clr-text-secondary);
}

a {
  color: var(--clr-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--clr-accent-light);
}

strong {
  font-weight: var(--fw-semibold);
  color: var(--clr-text-primary);
}

ul,
ol {
  padding-left: var(--space-lg);
}

li {
  margin-bottom: var(--space-xs);
  color: var(--clr-text-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.text-accent {
  color: var(--clr-accent) !important;
}

.text-muted {
  color: var(--clr-text-muted) !important;
}

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

.bg-card {
  background-color: var(--clr-bg-card);
}

.bg-elevated {
  background-color: var(--clr-bg-elevated);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*--------------------------------------------------------------
# Header / Hero Section
--------------------------------------------------------------*/
#header {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-base);
  overflow: hidden;
  background: linear-gradient(135deg,
      var(--clr-bg-primary) 0%,
      var(--clr-bg-secondary) 50%,
      var(--clr-bg-primary) 100%);
}

#header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse,
      rgba(212, 175, 55, 0.05) 0%,
      transparent 70%);
  pointer-events: none;
}

#header .container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl);
}

#header h1 {
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

#header h1 a {
  color: var(--clr-text-primary);
  background: linear-gradient(135deg,
      var(--clr-text-primary) 0%,
      var(--clr-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity var(--transition-base);
}

#header h1 a:hover {
  opacity: 0.9;
}

#header h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-regular);
  color: var(--clr-text-secondary);
  margin-top: var(--space-md);
}

#header h2 .typing {
  color: var(--clr-accent);
  font-weight: var(--fw-semibold);
  border-bottom: 2px solid var(--clr-accent-muted);
  padding-bottom: 4px;
}

#header .social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

#header .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--clr-bg-elevated);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-secondary);
  font-size: 1.25rem;
  transition: all var(--transition-base);
}

#header .social-links a:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-bg-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Header Top (Sticky) */
#header.header-top {
  min-height: auto;
  height: 80px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background: rgba(11, 11, 11, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clr-border);
  z-index: var(--z-sticky);
}

#header.header-top::before {
  display: none;
}

#header.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--space-xl);
  text-align: left;
}

#header.header-top h1 {
  font-size: 1.75rem;
  margin: 0;
}

#header.header-top h1 a {
  background: none;
  -webkit-text-fill-color: var(--clr-text-primary);
}

#header.header-top h2,
#header.header-top .social-links {
  display: none;
}

#header.header-top .nav-menu {
  margin: 0;
}

@media (max-width: 992px) {
  #header h1 {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  #header h2 {
    font-size: var(--fs-h3);
  }

  #header .social-links {
    margin-top: var(--space-xl);
  }

  #header.header-top {
    height: 70px;
  }

  #header.header-top h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  #header.header-top {
    height: 60px;
  }

  #header.header-top h1 {
    font-size: 1.25rem;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.nav-menu {
  margin-top: var(--space-2xl);
}

.nav-menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs) var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: inline-block;
  position: relative;
  color: var(--clr-text-secondary);
  font-family: var(--font-display);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  padding: var(--space-xs) var(--space-2xs);
  transition: color var(--transition-base);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-accent-muted), var(--clr-accent));
  transition: width var(--transition-base);
}

.nav-menu a:hover,
.nav-menu .active>a {
  color: var(--clr-accent);
}

.nav-menu a:hover::after,
.nav-menu .active>a::after {
  width: 100%;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  position: fixed;
  right: var(--space-md);
  top: var(--space-md);
  z-index: var(--z-max);
  border: 0;
  background: var(--clr-bg-elevated);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}

.mobile-nav-toggle i {
  color: var(--clr-text-primary);
  font-size: 1.5rem;
}

.mobile-nav-toggle:hover {
  background: var(--clr-accent);
}

.mobile-nav-toggle:hover i {
  color: var(--clr-bg-primary);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 70px;
  right: var(--space-md);
  left: var(--space-md);
  bottom: auto;
  max-height: calc(100vh - 90px);
  z-index: var(--z-overlay);
  overflow-y: auto;
  background: var(--clr-bg-secondary);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xl);
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--clr-text-secondary);
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  transition: all var(--transition-base);
}

.mobile-nav a:hover,
.mobile-nav .active>a {
  color: var(--clr-accent);
  background: var(--clr-accent-glow);
}

.mobile-nav-overly {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none;
}

.mobile-nav-active .mobile-nav-overly {
  display: block;
}

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

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  position: absolute;
  width: 100%;
  top: 140px;
  bottom: 100%;
  opacity: 0;
  z-index: var(--z-base);
  overflow: hidden;
}

section.section-show {
  top: 100px;
  bottom: auto;
  opacity: 1;
  padding-bottom: var(--space-3xl);
  overflow: visible;
}

section .container {
  background: transparent;
  padding: var(--space-lg) var(--space-xl);
}

@media (max-width: 768px) {
  section {
    top: 120px;
  }

  section.section-show {
    top: 80px;
  }

  section .container {
    padding: var(--space-md);
  }
}

/* Section Titles */
.section-title {
  margin-bottom: var(--space-2xl);
}

.section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-accent);
  margin-bottom: var(--space-sm);
}

.section-title h2::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--clr-accent), transparent);
}

.section-title p {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  color: var(--clr-text-primary);
  margin: 0;
  line-height: var(--lh-tight);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-me {
  padding-top: var(--space-xl);
}

.about-me .row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  align-items: flex-start;
}

.about-me .col-lg-4 {
  flex: 0 0 auto;
}

.about-me .col-lg-4 img {
  width: 100%;
  max-width: 350px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  border: 3px solid var(--clr-border);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-slow);
}

.about-me .col-lg-4 img:hover {
  border-color: var(--clr-accent-muted);
  box-shadow: var(--shadow-glow);
}

.about-me .content {
  flex: 1;
  min-width: 300px;
}

.about-me .content p {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--clr-text-secondary);
  margin-bottom: var(--space-xl);
}

.about-me .content .row {
  gap: var(--space-lg);
}

.about-me .content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-me .content ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--clr-text-secondary);
  font-size: var(--fs-body-sm);
}

.about-me .content ul li i {
  color: var(--clr-accent);
  font-size: 0.75rem;
  margin-top: 6px;
}

.about-me .content ul li strong {
  color: var(--clr-text-primary);
  margin-right: var(--space-xs);
}

.icofont-rounded-right::before {
  color: #D4AF37;
}

/*--------------------------------------------------------------
# Interests Section
--------------------------------------------------------------*/
/* 1. The Container */
.interests-grid {
  display: grid;
  /* This automatically handles the columns like Bootstrap would */
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding-bottom: 30px;
}

/* 2. The Box (Parent) */
.interests .icon-box {
  display: flex;
  align-items: center;
  padding: 20px;
  width: 100%;

  /* CRITICAL FIX: Fallback color if variable fails */
  background: #222;
  background: var(--clr-bg-card, #222);

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: 0.3s;
}

/* 3. The Icon (Child) - Strict Reset */
.interests .icon-box i {
  font-size: 32px;
  margin-right: 15px;
  line-height: 0;

  /* Forced Reset to remove existing box styling */
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
}

/* 4. The Text */
.interests .icon-box h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: #fff;
}

/* Hover Effect */
.interests .icon-box:hover {
  transform: translateY(-5px);
  border-color: #D4AF37;
  /* Gold accent on hover */
}

/*--------------------------------------------------------------
# Education Section
--------------------------------------------------------------*/
#education {
  padding-top: var(--space-xl);
}

#education .row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

#education .icon-box {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

#education .icon-box:hover {
  border-color: var(--clr-accent-muted);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

#education .icon-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

#education .icon-box h5 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--clr-text-primary);
  padding: var(--space-md) var(--space-md) var(--space-xs);
  margin: 0;
}

#education .icon-box p {
  font-size: var(--fs-small);
  color: var(--clr-accent);
  padding: 0 var(--space-md);
  margin: 0;
}

#education .icon-box h6 {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-md) var(--space-md) var(--space-xs);
  margin: 0;
  border-top: 1px solid var(--clr-border);
  margin-top: var(--space-md);
}

#education .icon-box ul {
  padding: var(--space-xs) var(--space-md) var(--space-md) var(--space-2xl);
  margin: 0;
}

#education .icon-box ul li {
  font-size: var(--fs-small);
  color: var(--clr-text-secondary);
  padding: var(--space-2xs) 0;
}

/*--------------------------------------------------------------
# Certifications (Portfolio within Education)
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Certifications Section
--------------------------------------------------------------*/

/* 1. Main Container Layout */
#education .portfolio-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
}

#education .portfolio-item {
  width: 33%;
  padding: 1%;
  flex: 0 0 auto;
}

/* 2. The Card Wrapper */
#education .portfolio-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* 3. The Logo Image */
#education .portfolio-wrap img {
  width: auto;
  height: auto;
  max-width: 65%;
  max-height: 55%;
  object-fit: contain;
  transition: transform 0.3s ease;
  z-index: 1;
  /* Sits at the bottom */
}

/* 4. The Dark Overlay - HIDDEN BY DEFAULT */
#education .portfolio-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* FORCE HIDE: overrides any template styles */
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
  /* Prevents clicking when hidden */
  transition: all 0.3s ease-in-out;
}

/* 5. HOVER TRIGGER - SHOW OVERLAY */
#education .portfolio-wrap:hover .portfolio-info {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  /* Re-enable clicking */
}

#education .portfolio-wrap:hover img {
  transform: scale(1.1);
}

/* 6. Text Styling */
#education .portfolio-info h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
  padding: 0 10px;
}

/* 7. Link Button Styling (The Circle) */
#education .portfolio-links a {
  display: flex !important;
  /* Forces it to behave as a flexbox */
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #333;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.3s;
}

#education .portfolio-links a i {
  font-size: 20px;
  line-height: 0;
  color: inherit;
  /* Inherits from the 'a' tag */
  margin: 0;
  /* Resets any default margins */
}

#education .portfolio-links a:hover {
  background: #D4AF37;
  color: #000;
}

/*--------------------------------------------------------------
# Experience Section
--------------------------------------------------------------*/
#experience {
  padding-top: var(--space-xl);
}

#experience .col-md-12.icon-box {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  position: relative;
  transition: all var(--transition-base);
}

#experience .col-md-12.icon-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--clr-accent), var(--clr-accent-muted));
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

#experience .col-md-12.icon-box:hover {
  border-color: var(--clr-accent-muted);
  box-shadow: var(--shadow-md);
}

#experience h4 {
  margin-bottom: var(--space-xs);
}

#experience h4 a {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  transition: color var(--transition-base);
}

#experience h4 a:hover {
  color: var(--clr-accent-light);
}

#experience h5 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-primary);
  margin-bottom: var(--space-xs);
}

#experience .icon-box>p {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  margin-bottom: var(--space-lg);
}

#experience ul {
  margin: 0;
  padding-left: var(--space-lg);
}

#experience ul li {
  font-size: var(--fs-body-sm);
  color: var(--clr-text-secondary);
  line-height: var(--lh-relaxed);
  padding: var(--space-xs) 0;
}

#experience ul li::marker {
  color: var(--clr-accent);
}

/*--------------------------------------------------------------
# Projects Section (Portfolio)
--------------------------------------------------------------*/
#portfolio {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* --- Filter Buttons --- */
#portfolio-flters {
  display: flex;
  justify-content: center;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
}

#portfolio-flters li {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #888;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
}

#portfolio-flters li:hover,
#portfolio-flters li.filter-active {
  background: #D4AF37;
  border-color: #D4AF37;
  color: #000;
  font-weight: bold;
}

/* --- Container Grid --- */
#portfolio .portfolio-container {
  /* FORCE GRID LAYOUT */
  display: grid !important;
  /* Default to 3 Columns (Desktop Standard) */
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px;
  width: 100%;
  height: auto !important; /* Override JS height calculations */
}

/* --- Project Item --- */
#portfolio .portfolio-item {
  margin-bottom: 0;
  width: auto !important; /* Stop Bootstrap/JS from setting widths */
  
  /* CRITICAL: Overrides Isotope/JS positioning to fix the layout */
  position: static !important; 
  transform: none !important;
}

#portfolio .portfolio-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
  text-align: center;
  
  /* ALIGNMENT FIX: Ensures all titles align perfectly */
  min-height: 85px; 
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* --- Image Wrapper --- */
#portfolio .portfolio-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  z-index: 1;
  width: 100%;
}

/* --- Image Styling (Fixes Distortion) --- */
#portfolio .portfolio-wrap img {
  width: 100% !important;
  height: 250px !important; /* Consistent height */
  
  /* FIX: Crops the image so it doesn't look stretched/squashed */
  object-fit: cover !important; 
  
  transition: 0.3s;
  display: block;
}

/* --- Overlay --- */
#portfolio .portfolio-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s;
}

#portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

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

/* --- Icon Button --- */
#portfolio .portfolio-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}

#portfolio .portfolio-links a i {
  font-size: 24px;
  color: #333;
  line-height: 0;
}

#portfolio .portfolio-links a:hover {
  background: #D4AF37;
  color: #000;
}

/* --- MOBILE RESPONSIVENESS --- */
/* Switch to 1 Column only on screens smaller than 992px */
@media (max-width: 991px) {
  #portfolio .portfolio-container {
    grid-template-columns: 1fr !important;
  }
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
#skills {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

#skills .icon-box {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 30px;
  /* Adds space between the stacked boxes */
  transition: all var(--transition-base);
  width: 100%;
}

#skills .icon-box:hover {
  border-color: var(--clr-accent-muted);
  transform: translateY(-5px);
  /* Optional: Adds a subtle lift effect */
}

#skills .icon-box h4 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  margin-bottom: 20px;
}

#skills .icon-box p {
  margin: 0;
  text-align: center;
  /* Centers the image horizontally */
}

/* --- THE IMAGE FIX --- */
#skills .icon-box img {
  width: 100%;
  /* Fills the container width */
  height: 140px;
  /* FIXED HEIGHT: Forces all images to be the same height */
  object-fit: contain;
  /* SCALING: Ensures the logo fits inside without distortion */

  background-color: #fff;
  /* White background for transparent logos */
  padding: 10px;
  /* Adds breathing room around the logos */
  border-radius: 4px;
  /* Slight rounded corners for the image itself */
  display: block;
}

/*--------------------------------------------------------------
# Links / Resume Section
--------------------------------------------------------------*/
#links {
  padding-top: var(--space-xl);
}

#links .row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

#links .icon-box {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

#links .icon-box:hover {
  border-color: var(--clr-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

#links .icon-box .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: var(--clr-accent-glow);
  border: 2px solid var(--clr-accent-muted);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

#links .icon-box:hover .icon {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
}

#links .icon-box .icon i {
  font-size: 1.75rem;
  color: var(--clr-accent);
  transition: color var(--transition-base);
}

#links .icon-box:hover .icon i {
  color: var(--clr-bg-primary);
}

#links .icon-box .title a {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--clr-text-primary);
  transition: color var(--transition-base);
}

#links .icon-box:hover .title a {
  color: var(--clr-accent);
}

#links .icon-box .description {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  margin-top: var(--space-sm);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
#contacts,
.contact {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* --- The Grid Layout --- */
.contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
}

/* --- Info Box Styling --- */
.contact .info-box {
  display: flex;
  align-items: flex-start; /* Default Desktop: Align top-left */
  padding: 30px;
  background: #222;
  background: var(--clr-bg-card, #222);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  height: 100%;
  width: 100%;
  transition: all 0.3s ease;
}

.contact .info-box:hover {
  border-color: #D4AF37;
  transform: translateY(-5px);
}

/* --- Icon Styling --- */
.contact .info-box > i {
  font-size: 32px;
  color: #D4AF37;
  background: rgba(255, 222, 158, 0.1);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* Desktop Margin: Right side */
  margin-right: 20px; 
  /* Critical: Prevents icon from squishing into an oval */
  flex-shrink: 0; 
}

/* --- Content Styling --- */
.contact .info-box .content {
  flex: 1;
  /* Fix: Ensures content takes available width */
  width: 100%; 
  min-width: 0;
}

.contact .info-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #D4AF37;
}

.contact .info-box p {
  margin: 0;
  line-height: 1.6;
  color: #fff;
  font-size: 15px;
  /* Fix: Forces long emails/addresses to wrap neatly */
  word-break: break-word; 
}

/* --- Social Links Styling --- */
.contact .social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; 
}

.contact .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: 0.3s;
  text-decoration: none;
}

.contact .social-links a i {
  margin: 0;
  width: auto;
  height: auto;
  background: none;
  font-size: 18px;
  color: inherit;
}

.contact .social-links a:hover {
  background: #D4AF37;
  color: #000;
}

/* --- MOBILE RESPONSIVENESS (The Strict Fix) --- */
@media (max-width: 768px) {
  .contact .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact .info-box {
    /* 1. Stack Vertical */
    flex-direction: column; 
    /* 2. Force LEFT Alignment */
    align-items: center; 
    text-align: center;
    padding: 25px;
  }

  /* Reset the Icon Margins for Vertical Stack */
  .contact .info-box > i {
    margin-right: 0; 
    margin-bottom: 20px; /* Space between Icon and Text */
  }

  /* Ensure Content fills the width so it aligns left properly */
  .contact .info-box .content {
    width: 100%;
    padding-left: 0; /* Remove any accidental padding */
  }

  /* Force Social Links to align Left */
  .contact .social-links {
    justify-content: flex-start;
  }
}

/*--------------------------------------------------------------
# Services Section (Used for Education & Experience)
--------------------------------------------------------------*/
.services .icon-box {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-sm);
  transition: all var(--transition-base);
}

.services .icon-box:hover {
  border-color: var(--clr-accent-muted);
  box-shadow: var(--shadow-md);
}

.services .icon-box .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--clr-accent);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  position: relative;
}

.services .icon-box .icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: var(--clr-accent-glow);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.services .icon-box .icon i {
  color: var(--clr-bg-primary);
  font-size: 1.75rem;
}

.services .icon-box h4 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
}

.services .icon-box h4 a {
  color: var(--clr-text-primary);
  transition: color var(--transition-base);
}

.services .icon-box h4 a:hover {
  color: var(--clr-accent);
}

.services .icon-box p {
  font-size: var(--fs-body-sm);
  color: var(--clr-text-secondary);
  line-height: var(--lh-relaxed);
  margin: 0;
}

/*--------------------------------------------------------------
# Resume Section Styles
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--clr-text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.resume .resume-item {
  position: relative;
  padding: 0 0 var(--space-lg) var(--space-lg);
  margin-top: -2px;
  border-left: 2px solid var(--clr-border);
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  left: -8px;
  top: 0;
  background: var(--clr-accent);
  border: 2px solid var(--clr-accent);
}

.resume .resume-item h4 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-sm);
  line-height: var(--lh-snug);
}

.resume .resume-item h5 {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  background: var(--clr-bg-elevated);
  padding: var(--space-xs) var(--space-md);
  display: inline-block;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-sm);
}

.resume .resume-item ul {
  padding-left: var(--space-lg);
}

.resume .resume-item ul li {
  padding-bottom: var(--space-sm);
  color: var(--clr-text-secondary);
}

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

/*--------------------------------------------------------------
# Counts / Stats Section
--------------------------------------------------------------*/
.counts {
  padding: var(--space-3xl) 0;
}

.counts .count-box {
  padding: var(--space-xl);
  width: 100%;
  position: relative;
  text-align: center;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
}

.counts .count-box i {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.25rem;
  background: var(--clr-accent);
  padding: var(--space-sm);
  color: var(--clr-bg-primary);
  border-radius: var(--radius-full);
}

.counts .count-box span {
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  display: block;
  color: var(--clr-text-primary);
}

.counts .count-box p {
  padding: 0;
  margin: var(--space-xs) 0 0;
  font-family: var(--font-accent);
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
}

/*--------------------------------------------------------------
# Skills Progress Bars
--------------------------------------------------------------*/
.skills .progress {
  height: 50px;
  display: block;
  background: none;
}

.skills .progress .skill {
  padding: 0;
  margin: 0 0 var(--space-xs);
  text-transform: uppercase;
  display: block;
  font-weight: var(--fw-semibold);
  font-family: var(--font-display);
  color: var(--clr-text-primary);
  font-size: var(--fs-small);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
  color: var(--clr-accent);
}

.skills .progress-bar-wrap {
  background: var(--clr-bg-elevated);
  border-radius: var(--radius-sm);
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background: linear-gradient(90deg, var(--clr-accent-muted), var(--clr-accent));
  border-radius: var(--radius-sm);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: var(--radius-full);
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 4px solid var(--clr-border);
}

.testimonials .testimonial-item h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  margin: var(--space-sm) 0 var(--space-xs) 45px;
  color: var(--clr-text-primary);
}

.testimonials .testimonial-item h4 {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: var(--clr-accent-muted);
  font-size: 1.5rem;
}

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

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

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 var(--space-md);
  padding: var(--space-lg) var(--space-lg) var(--space-3xl);
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
  border: 1px solid var(--clr-border);
}

.testimonials .owl-nav,
.testimonials .owl-dots {
  margin-top: var(--space-xs);
  text-align: center;
}

.testimonials .owl-dot {
  display: inline-block;
  margin: 0 var(--space-xs);
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: var(--clr-border) !important;
  transition: background-color var(--transition-base);
}

.testimonials .owl-dot.active {
  background-color: var(--clr-accent) !important;
}

/*--------------------------------------------------------------
# Form Elements (Contact Form)
--------------------------------------------------------------*/
.contact .php-email-form {
  padding: var(--space-xl);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
}

.contact .php-email-form .validate {
  display: none;
  color: var(--clr-error);
  margin: 0 0 var(--space-md);
  font-weight: var(--fw-medium);
  font-size: var(--fs-small);
}

.contact .php-email-form .error-message {
  display: none;
  background: var(--clr-error);
  text-align: center;
  padding: var(--space-md);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  color: var(--clr-text-primary);
}

.contact .php-email-form .sent-message {
  display: none;
  background: var(--clr-success);
  text-align: center;
  padding: var(--space-md);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  color: var(--clr-text-primary);
}

.contact .php-email-form .loading {
  display: none;
  background: var(--clr-bg-elevated);
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius-md);
}

.contact .php-email-form .loading::before {
  content: "";
  display: inline-block;
  border-radius: var(--radius-full);
  width: 24px;
  height: 24px;
  margin: 0 var(--space-sm) -6px 0;
  border: 3px solid var(--clr-accent);
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

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

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: var(--radius-md);
  box-shadow: none;
  font-size: var(--fs-body-sm);
  background: var(--clr-bg-elevated);
  border: 1px solid var(--clr-border);
  transition: all var(--transition-base);
  color: var(--clr-text-primary);
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  background-color: var(--clr-bg-tertiary);
  border-color: var(--clr-accent-muted);
  outline: none;
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: var(--clr-text-muted);
}

.contact .php-email-form input {
  padding: var(--space-md);
}

.contact .php-email-form textarea {
  padding: var(--space-md);
  min-height: 150px;
  resize: vertical;
}

.contact .php-email-form button[type="submit"] {
  background: var(--clr-accent);
  border: none;
  padding: var(--space-sm) var(--space-xl);
  color: var(--clr-bg-primary);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.contact .php-email-form button[type="submit"]:hover {
  background: var(--clr-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/*--------------------------------------------------------------
# Credits / Footer
--------------------------------------------------------------*/
.credits {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  z-index: var(--z-base);
}

.credits a {
  color: var(--clr-accent);
  transition: color var(--transition-base);
}

.credits a:hover {
  color: var(--clr-accent-light);
}

/*--------------------------------------------------------------
# Responsive Breakpoints
--------------------------------------------------------------*/

/* Large Desktops */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Tablets & Small Desktops */
@media (max-width: 992px) {
  .about-me .row {
    flex-direction: column;
    align-items: center;
  }

  .about-me .col-lg-4 img {
    max-width: 280px;
  }

  .about-me .content {
    min-width: 100%;
  }

  #education .row {
    justify-content: center;
  }

  #education .icon-box {
    max-width: 100%;
  }

  #links .row {
    justify-content: center;
  }

  #links .icon-box {
    max-width: 100%;
  }

  .credits {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
  }
}

/* Tablets */
@media (max-width: 768px) {
  :root {
    --space-section: 3rem;
  }

  .nav-menu ul {
    gap: var(--space-xs) var(--space-md);
  }

  .nav-menu a {
    font-size: var(--fs-small);
  }

  .interests .row {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  #portfolio .portfolio-container {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
  }

  #portfolio .portfolio-wrap img {
    height: 180px;
  }

  .contact .row {
    grid-template-columns: 1fr;
  }

  .contact .info-box {
    flex-direction: column;
    text-align: center;
  }

  .contact .info-box .social-links {
    justify-content: center;
  }
}

/* Mobile Phones */
@media (max-width: 576px) {
  :root {
    --fs-hero: 2rem;
    --fs-h1: 1.5rem;
    --fs-h2: 1.25rem;
    --fs-h3: 1rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
  }

  section .container {
    padding: var(--space-md) var(--space-sm);
  }

  #header .social-links {
    gap: var(--space-sm);
  }

  #header .social-links a {
    width: 42px;
    height: 42px;
  }

  .about-me .col-lg-4 img {
    max-width: 220px;
  }

  .about-me .content .row {
    flex-direction: column;
  }

  .interests .row {
    grid-template-columns: 1fr;
  }

  .interests .icon-box {
    padding: var(--space-md);
  }

  #education .icon-box img {
    height: 150px;
  }

  #education .portfolio .row.portfolio-container {
    grid-template-columns: 1fr;
  }

  #experience .col-md-12.icon-box {
    padding: var(--space-lg);
  }

  #portfolio-flters {
    flex-direction: column;
    align-items: stretch;
  }

  #portfolio-flters li {
    text-align: center;
  }

  #portfolio .portfolio-container {
    grid-template-columns: 1fr;
  }

  #skills .icon-box {
    padding: var(--space-lg);
  }

  #skills .icon-box img {
    width: 100%;
    height: auto;
  }

  #links .icon-box {
    padding: var(--space-lg);
  }

  #links .icon-box .icon {
    width: 60px;
    height: 60px;
  }
}

/* Very Small Devices */
@media (max-width: 375px) {
  :root {
    --fs-hero: 1.75rem;
    --fs-h1: 1.375rem;
    --space-md: 0.875rem;
  }

  .about-me .col-lg-4 img {
    max-width: 180px;
  }
}

/*--------------------------------------------------------------
# Animations & Micro-interactions
--------------------------------------------------------------*/

/* Fade in animation for sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

section.section-show .container {
  animation: fadeInUp 0.5s ease-out;
}

/* Subtle pulse for accent elements */
@keyframes subtlePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
  }
}

.portfolio-wrap .portfolio-links a:focus,
#header .social-links a:focus {
  animation: subtlePulse 1.5s ease-in-out infinite;
}

/* Focus visible states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/*--------------------------------------------------------------
# Print Styles
--------------------------------------------------------------*/
@media print {
  body {
    background: white;
    color: black;
  }

  #header,
  .nav-menu,
  .mobile-nav-toggle,
  .social-links,
  .credits {
    display: none;
  }

  section {
    position: static;
    opacity: 1;
    page-break-inside: avoid;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}
