/* ==================================================================
   Modern Portfolio Stylesheet
   Theme System, Glassmorphism, Parallax, Animations
================================================================== */

/* ------------------------------------------------------------------
   Theme Variables - Light Mode (Default)
------------------------------------------------------------------ */
:root {
   /* Light Mode Colors */
   --color-primary: #87CEEB;
   --color-primary-light: #B0E0E6;
   --color-primary-dark: #6BB6D6;
   --color-bg: #FFFFFF;
   --color-bg-secondary: #F5F7FA;
   --color-text: #2C3E50;
   --color-text-light: #5A6C7D;
   --color-glass-bg: rgba(255, 255, 255, 0.25);
   --color-glass-border: rgba(255, 255, 255, 0.18);
   --color-shadow: rgba(0, 0, 0, 0.1);
   --color-shadow-hover: rgba(0, 0, 0, 0.15);
   
   /* Dark Mode Colors */
   --color-primary-dark-mode: #1E3A5F;
   --color-primary-light-dark-mode: #2C5282;
   --color-bg-dark-mode: #1A1A1A;
   --color-bg-secondary-dark-mode: #2D2D2D;
   --color-text-dark-mode: #E5E5E5;
   --color-text-light-dark-mode: #B0B0B0;
   --color-glass-bg-dark-mode: rgba(30, 30, 35, 0.55);
   --color-glass-border-dark-mode: rgba(255, 255, 255, 0.2);
   --color-shadow-dark-mode: rgba(0, 0, 0, 0.3);
   --color-shadow-hover-dark-mode: rgba(0, 0, 0, 0.5);
   
   /* Spacing */
   --spacing-xs: 0.5rem;
   --spacing-sm: 1rem;
   --spacing-md: 2rem;
   --spacing-lg: 4rem;
   --spacing-xl: 6rem;
   
   /* Border Radius */
   --radius-sm: 12px;
   --radius-md: 20px;
   --radius-lg: 30px;
   --radius-xl: 40px;
   
   /* Transitions */
   --transition-fast: 0.2s ease;
   --transition-normal: 0.3s ease;
   --transition-slow: 0.5s ease;
   
   /* Blur */
   --blur-sm: 10px;
   --blur-md: 20px;
   --blur-lg: 30px;
}

/* Dark Mode */
[data-theme="dark"] {
   --color-primary: var(--color-primary-dark-mode);
   --color-primary-light: var(--color-primary-light-dark-mode);
   --color-bg: var(--color-bg-dark-mode);
   --color-bg-secondary: var(--color-bg-secondary-dark-mode);
   --color-text: var(--color-text-dark-mode);
   --color-text-light: var(--color-text-light-dark-mode);
   --color-glass-bg: var(--color-glass-bg-dark-mode);
   --color-glass-border: var(--color-glass-border-dark-mode);
   --color-shadow: var(--color-shadow-dark-mode);
   --color-shadow-hover: var(--color-shadow-hover-dark-mode);
}

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

html {
   scroll-behavior: smooth;
   font-size: 62.5%;
}

body {
   font-family: 'opensans-regular', sans-serif;
   font-size: 1.6rem;
   line-height: 1.6;
   color: var(--color-text);
   background: var(--color-bg);
   transition: background-color var(--transition-normal), color var(--transition-normal);
   overflow-x: hidden;
   position: relative;
}

/* ------------------------------------------------------------------
   Site-wide Parallax Background
------------------------------------------------------------------ */
.site-parallax-background {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: -1;
   pointer-events: none;
   overflow: hidden;
}

/* ------------------------------------------------------------------
   Theme Toggle Button
------------------------------------------------------------------ */
.theme-toggle {
   position: fixed;
   top: calc(var(--spacing-sm) + (60px / 2) - 25px);
   right: 2rem;
   z-index: 1001;
   width: 50px;
   height: 50px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.6);
   backdrop-filter: blur(20px) saturate(180%);
   -webkit-backdrop-filter: blur(20px) saturate(180%);
   border: 0.5px solid rgba(0, 0, 0, 0.1);
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08),
               0 1px 0 0 rgba(255, 255, 255, 0.5) inset;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 2rem;
   transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .theme-toggle {
   background: rgba(72, 72, 74, 0.6);
   border: 0.5px solid rgba(255, 255, 255, 0.15);
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3),
               0 1px 0 0 rgba(255, 255, 255, 0.1) inset;
}

.theme-toggle:hover {
   transform: scale(1.08);
   background: rgba(255, 255, 255, 0.75);
   box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12),
               0 1px 0 0 rgba(255, 255, 255, 0.5) inset;
}

[data-theme="dark"] .theme-toggle:hover {
   background: rgba(72, 72, 74, 0.75);
   box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4),
               0 1px 0 0 rgba(255, 255, 255, 0.1) inset;
}

.theme-toggle:active {
   transform: scale(0.95);
}

/* ------------------------------------------------------------------
   Navigation - Glassmorphic
------------------------------------------------------------------ */
.nav-glass {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 1000;
   padding: var(--spacing-sm) 0;
   background: var(--color-glass-bg);
   backdrop-filter: blur(var(--blur-md));
   -webkit-backdrop-filter: blur(var(--blur-md));
   border-bottom: 1px solid var(--color-glass-border);
   transition: all var(--transition-normal);
}

/* Keep navbar background as original in dark mode */
[data-theme="dark"] .nav-glass {
   background: rgba(30, 58, 95, 0.25);
   border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-glass.scrolled {
   box-shadow: 0 4px 20px var(--color-shadow);
}

.nav-container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 var(--spacing-md);
   display: flex;
   justify-content: space-between;
   align-items: center;
   height: 100%;
   min-height: 60px;
   position: relative;
}

.nav-theme-toggle {
   display: none;
}

.nav-logo {
   font-family: 'opensans-bold', sans-serif;
   font-size: 2rem;
   color: #1d1d1f;
   font-weight: 700;
   letter-spacing: -0.5px;
}

[data-theme="dark"] .nav-logo {
   color: #f5f5f7;
}

.nav-menu {
   display: flex;
   list-style: none;
   gap: 0.8rem;
   align-items: center;
   margin: 0;
   padding: 0;
   height: 100%;
}

.nav-menu li {
   display: flex;
   align-items: center;
   margin: 0;
   padding: 0;
}

.nav-link {
   color: rgba(29, 29, 31, 0.7);
   text-decoration: none;
   font-size: 1.4rem;
   font-weight: 600;
   padding: 0.8rem 1.4rem;
   border-radius: 12px;
   transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
   position: relative;
   display: flex;
   line-height: 1;
   letter-spacing: -0.2px;
   background: transparent;
   border: 0.5px solid transparent;
}

[data-theme="dark"] .nav-link {
   color: rgba(245, 245, 247, 0.7);
}

.nav-link:hover {
   color: #1d1d1f;
   background: rgba(255, 255, 255, 0.5);
   backdrop-filter: blur(10px) saturate(180%);
   -webkit-backdrop-filter: blur(10px) saturate(180%);
   border-color: rgba(0, 0, 0, 0.12);
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08),
               0 1px 0 0 rgba(255, 255, 255, 0.5) inset;
   transform: translateY(-1px);
}

[data-theme="dark"] .nav-link:hover {
   color: #f5f5f7;
   background: rgba(72, 72, 74, 0.6);
   border-color: rgba(255, 255, 255, 0.18);
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3),
               0 1px 0 0 rgba(255, 255, 255, 0.1) inset;
}

.nav-link.active {
   color: #1d1d1f;
   font-weight: 700;
   background: rgba(255, 255, 255, 0.6);
   backdrop-filter: blur(10px) saturate(180%);
   -webkit-backdrop-filter: blur(10px) saturate(180%);
   border-color: rgba(0, 0, 0, 0.15);
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1),
               0 1px 0 0 rgba(255, 255, 255, 0.6) inset;
}

[data-theme="dark"] .nav-link.active {
   color: #f5f5f7;
   background: rgba(72, 72, 74, 0.7);
   border-color: rgba(255, 255, 255, 0.2);
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35),
               0 1px 0 0 rgba(255, 255, 255, 0.12) inset;
}

.nav-link:active {
   transform: scale(0.97);
}

.nav-toggle {
   display: none;
   flex-direction: column;
   gap: 5px;
   background: transparent;
   border: none;
   cursor: pointer;
   padding: 8px;
   border-radius: 8px;
   transition: background 0.2s ease;
}

.nav-toggle:hover {
   background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .nav-toggle:hover {
   background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
   width: 22px;
   height: 2px;
   background: #1d1d1f;
   border-radius: 2px;
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .nav-toggle span {
   background: #f5f5f7;
}

/* ------------------------------------------------------------------
   Glass Card Utility
------------------------------------------------------------------ */
.glass-card {
   background: var(--color-glass-bg);
   backdrop-filter: blur(var(--blur-md));
   -webkit-backdrop-filter: blur(var(--blur-md));
   border: 1px solid var(--color-glass-border);
   border-radius: var(--radius-md);
   box-shadow: 0 8px 32px var(--color-shadow);
   transform: translateY(0) scale(1);
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
   transform: translateY(-5px) scale(1.03) !important;
   box-shadow: 0 12px 40px var(--color-shadow-hover) !important;
   border-color: var(--color-primary) !important;
}

/* ------------------------------------------------------------------
   Hero Section with Parallax
------------------------------------------------------------------ */
.hero-section {
   position: relative;
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden;
   z-index: 1;
}

.parallax-layer {
   position: absolute;
   width: 120%;
   height: 120%;
   background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
   border-radius: 50%;
   filter: blur(40px);
   will-change: transform;
   transform-origin: center center;
}

.layer-1 {
   top: -20%;
   left: -10%;
   animation: float 20s ease-in-out infinite;
   opacity: 0.7;
}

.layer-2 {
   top: 50%;
   right: -10%;
   animation: float 25s ease-in-out infinite reverse;
   opacity: 0.6;
}

.layer-3 {
   bottom: -20%;
   left: 30%;
   animation: float 30s ease-in-out infinite;
   opacity: 0.65;
}

/* Ensure parallax layers cover full viewport even when content is taller */
.site-parallax-background {
   min-height: 100vh;
   min-height: 100dvh; /* Dynamic viewport height for mobile */
}

@keyframes float {
   0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
   33% { transform: translate(50px, -50px) rotate(120deg) scale(1.1); }
   66% { transform: translate(-40px, 40px) rotate(240deg) scale(0.95); }
}

.hero-content {
   position: relative;
   z-index: 1;
   max-width: 1200px;
   width: 100%;
   padding: var(--spacing-md);
   text-align: center;
}

/* Larger content area on big screens */
@media only screen and (min-width: 1400px) {
   .hero-content {
      max-width: 1400px;
   }
}

.hero-text {
   padding: var(--spacing-lg);
   max-width: 900px;
   margin: 0 auto;
   border-radius: var(--radius-xl);
}

/* Larger glass container on big screens */
@media only screen and (min-width: 1200px) {
   .hero-text {
      max-width: 1100px;
      padding: 6rem 8rem;
      border-radius: 50px;
   }
}

@media only screen and (min-width: 1400px) {
   .hero-text {
      max-width: 1200px;
      padding: 7rem 10rem;
      border-radius: 60px;
   }
}

.hero-title {
   font-size: clamp(4rem, 8vw, 7rem);
   font-family: 'opensans-bold', sans-serif;
   color: var(--color-text);
   margin-bottom: var(--spacing-sm);
   line-height: 1.2;
   animation: fadeInUp 1s ease;
}

.gradient-text {
   background: linear-gradient(135deg, #1E3A5F, #2C5282);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
}

/* Dark mode uses light colors for gradient text */
[data-theme="dark"] .gradient-text {
   background: linear-gradient(135deg, #87CEEB, #B0E0E6);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
}

.hero-subtitle {
   font-size: clamp(2rem, 4vw, 3rem);
   color: var(--color-text-light);
   margin-bottom: var(--spacing-sm);
   animation: fadeInUp 1s ease 0.2s both;
   font-weight: 1000;
}

.hero-description {
   font-size: clamp(1.6rem, 2.5vw, 2rem);
   color: var(--color-text-light);
   margin-bottom: var(--spacing-md);
   line-height: 1.8;
   animation: fadeInUp 1s ease 0.4s both;
   font-style: italic;
}

.highlight {
   color: #1E3A5F;
   font-weight: bold;
}

/* Dark mode uses light color for highlight */
[data-theme="dark"] .highlight {
   color: #87CEEB;
}

.hero-buttons {
   display: flex;
   gap: var(--spacing-sm);
   justify-content: center;
   flex-wrap: wrap;
   margin-bottom: var(--spacing-md);
   animation: fadeInUp 1s ease 0.6s both;
}

.hero-social {
   display: flex;
   gap: var(--spacing-sm);
   justify-content: center;
   animation: fadeInUp 1s ease 0.8s both;
}

.social-link {
   width: 50px;
   height: 50px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   background: var(--color-glass-bg);
   backdrop-filter: blur(var(--blur-sm));
   border: 1px solid var(--color-glass-border);
   color: var(--color-text);
   font-size: 2rem;
   text-decoration: none;
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
   transform: translateY(-5px) scale(1.1);
   background: var(--color-primary);
   color: white;
   box-shadow: 0 8px 20px var(--color-shadow);
}

.scroll-indicator {
   position: absolute;
   bottom: 3rem;
   left: 50%;
   transform: translateX(-50%);
   z-index: 10;
   animation: bounce 2s infinite;
}

.scroll-indicator a {
   color: var(--color-text);
   font-size: 3rem;
   text-decoration: none;
}

@keyframes bounce {
   0%, 100% { transform: translateX(-50%) translateY(0); }
   50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes fadeInUp {
   from {
      opacity: 0;
      transform: translateY(30px);
   }
   to {
      opacity: 1;
      transform: translateY(0);
   }
}

/* ------------------------------------------------------------------
   Buttons - Glassmorphic
------------------------------------------------------------------ */
.btn-glass {
   padding: 1.2rem 2.4rem;
   border-radius: var(--radius-md);
   border: 1px solid var(--color-glass-border);
   background: var(--color-glass-bg);
   backdrop-filter: blur(var(--blur-sm));
   color: var(--color-text);
   font-size: 1.6rem;
   font-weight: 600;
   text-decoration: none;
   display: inline-block;
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   cursor: pointer;
   position: relative;
   overflow: hidden;
}

.btn-glass::before {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   width: 0;
   height: 0;
   border-radius: 50%;
   background: var(--color-primary);
   transform: translate(-50%, -50%);
   transition: width 0.6s, height 0.6s;
   z-index: -1;
}

.btn-glass:hover::before {
   width: 300px;
   height: 300px;
}

.btn-glass:hover {
   color: white;
   transform: translateY(-3px);
   box-shadow: 0 8px 25px var(--color-shadow);
   border-color: var(--color-primary);
}

.btn-primary {
   background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
   color: white;
   border: none;
}

.btn-primary::before {
   background: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
   background: transparent;
}

.btn-glass i {
   margin-right: 0.5rem;
   transition: transform 0.3s ease;
}

.btn-glass:hover i {
   transform: translateY(-2px);
}

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------ */
.section {
   padding: var(--spacing-xl) 0;
   position: relative;
   z-index: 1;
   background: transparent;
}

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

.section-header {
   text-align: center;
   margin-bottom: var(--spacing-lg);
}

.section-title {
   font-size: clamp(3rem, 5vw, 4.5rem);
   font-family: 'opensans-bold', sans-serif;
   color: var(--color-text);
   margin-bottom: var(--spacing-sm);
   position: relative;
   display: inline-block;
}

.section-title::after {
   content: '';
   position: absolute;
   bottom: -10px;
   left: 50%;
   transform: translateX(-50%);
   width: 80px;
   height: 4px;
   background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
   border-radius: 2px;
}

.section-subtitle {
   font-size: 1.8rem;
   color: var(--color-text-light);
   margin-top: var(--spacing-md);
}

/* ------------------------------------------------------------------
   About Section
------------------------------------------------------------------ */
.about-content {
   display: grid;
   grid-template-columns: 1fr 2fr;
   gap: var(--spacing-lg);
   align-items: start;
}

.about-image-wrapper {
   position: relative;
}

.about-image {
   padding: var(--spacing-sm);
   position: sticky;
   top: 100px;
}

.profile-image {
   width: 100%;
   border-radius: var(--radius-md);
   display: block;
}

.about-text {
   padding: var(--spacing-md);
}

.about-text h3 {
   font-size: 2.5rem;
   color: var(--color-text);
   margin-bottom: var(--spacing-sm);
}

.about-text p {
   font-size: 1.7rem;
   line-height: 1.8;
   color: var(--color-text-light);
   margin-bottom: var(--spacing-md);
}

.about-details {
   display: flex;
   flex-direction: column;
   gap: var(--spacing-sm);
}

.detail-item {
   font-size: 1.6rem;
   color: var(--color-text-light);
}

.detail-item strong {
   color: var(--color-text);
   margin-right: var(--spacing-xs);
}

.detail-item a {
   color: #1E3A5F;
   text-decoration: none;
   transition: color var(--transition-fast);
}

.detail-item a:hover {
   color: #0D47A1;
}

/* Dark mode uses light color for detail links */
[data-theme="dark"] .detail-item a {
   color: #87CEEB;
}

[data-theme="dark"] .detail-item a:hover {
   color: #B0E0E6;
}

/* ------------------------------------------------------------------
   Experience Section - Modern Card Design
------------------------------------------------------------------ */
.experience-section {
   background: transparent;
   padding: var(--spacing-xl) 0;
}

.experience-container {
   max-width: 1000px;
   margin: 0 auto;
   display: flex;
   flex-direction: column;
   gap: var(--spacing-md);
}

.experience-item {
   padding: 0;
   overflow: hidden;
   transform: translateX(0);
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   border-left: 4px solid transparent;
}

.experience-item:hover {
   transform: translateX(8px) !important;
   border-left-color: var(--color-primary) !important;
   box-shadow: 0 12px 40px var(--color-shadow-hover) !important;
}

.experience-header {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   padding: var(--spacing-md);
   padding-bottom: var(--spacing-sm);
   border-bottom: 1px solid var(--color-glass-border);
   flex-wrap: wrap;
   gap: var(--spacing-sm);
}

.experience-company-info {
   flex: 1;
   min-width: 200px;
}

.experience-company {
   font-size: 2.4rem;
   font-family: 'opensans-bold', sans-serif;
   color: var(--color-text);
   margin: 0 0 var(--spacing-xs) 0;
   line-height: 1.2;
}

.experience-role {
   display: inline-block;
   font-size: 1.6rem;
   color: #1E3A5F;
   font-weight: 600;
   padding: 0.4rem 1rem;
   background: rgba(30, 58, 95, 0.1);
   border-radius: 20px;
   margin-top: var(--spacing-xs);
}

[data-theme="dark"] .experience-role {
   color: #87CEEB;
   background: rgba(135, 206, 235, 0.15);
}

.experience-meta {
   display: flex;
   flex-direction: column;
   align-items: flex-end;
   gap: 0.4rem;
   text-align: right;
}

.experience-date {
   font-size: 1.5rem;
   color: var(--color-text);
   font-weight: 600;
   white-space: nowrap;
}

.experience-duration {
   font-size: 1.3rem;
   color: var(--color-text-light);
   font-style: italic;
}

.experience-body {
   padding: var(--spacing-md);
   padding-top: var(--spacing-sm);
}

.experience-description-wrapper {
   display: flex;
   align-items: flex-start;
   gap: var(--spacing-sm);
   margin-bottom: var(--spacing-md);
}

.experience-description {
   font-size: 1.6rem;
   line-height: 1.8;
   color: var(--color-text-light);
   margin: 0;
   flex: 1;
}

.achievements-toggle {
   flex-shrink: 0;
   width: 32px;
   height: 32px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: var(--color-bg-secondary);
   border: 1px solid var(--color-glass-border);
   border-radius: 50%;
   color: var(--color-text);
   cursor: pointer;
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   padding: 0;
   margin-top: 0.2rem;
}

.achievements-toggle:hover {
   background: rgba(30, 58, 95, 0.1);
   border-color: var(--color-primary);
   transform: scale(1.1);
}

[data-theme="dark"] .achievements-toggle:hover {
   background: rgba(135, 206, 235, 0.15);
   border-color: #87CEEB;
}

.achievements-toggle:active {
   transform: scale(0.95);
}

.achievements-toggle .toggle-icon {
   font-size: 1rem;
   transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   color: var(--color-primary);
}

[data-theme="dark"] .achievements-toggle .toggle-icon {
   color: #87CEEB;
}

.achievements-toggle[aria-expanded="true"] .toggle-icon {
   transform: rotate(180deg);
}

.achievements-toggle[aria-expanded="true"] {
   background: rgba(30, 58, 95, 0.15);
   border-color: var(--color-primary);
}

[data-theme="dark"] .achievements-toggle[aria-expanded="true"] {
   background: rgba(135, 206, 235, 0.2);
   border-color: #87CEEB;
}

.experience-achievements-wrapper {
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
               opacity 0.3s ease,
               margin-bottom 0.3s ease;
   opacity: 0;
   margin-bottom: 0;
}

.experience-achievements-wrapper.expanded {
   max-height: 500px;
   opacity: 1;
   margin-bottom: var(--spacing-md);
}

.experience-achievements {
   list-style: none;
   padding: 0;
   margin: 0;
}

.experience-achievements li {
   font-size: 1.5rem;
   line-height: 1.8;
   color: var(--color-text-light);
   padding-left: var(--spacing-md);
   position: relative;
   margin-bottom: var(--spacing-xs);
}

.experience-achievements li::before {
   content: '▸';
   position: absolute;
   left: 0;
   color: var(--color-primary);
   font-weight: bold;
   font-size: 1.8rem;
}

[data-theme="dark"] .experience-achievements li::before {
   color: #87CEEB;
}

.experience-tags {
   display: flex;
   flex-wrap: wrap;
   gap: var(--spacing-xs);
   margin-top: var(--spacing-md);
   padding-top: var(--spacing-md);
   border-top: 1px solid var(--color-glass-border);
}

.tech-tag {
   display: inline-block;
   padding: 0.5rem 1.2rem;
   font-size: 1.3rem;
   font-weight: 500;
   color: #1E3A5F;
   background: rgba(30, 58, 95, 0.1);
   border: 1px solid rgba(30, 58, 95, 0.2);
   border-radius: 20px;
   transition: all 0.3s ease;
}

[data-theme="dark"] .tech-tag {
   color: #87CEEB;
   background: rgba(135, 206, 235, 0.15);
   border-color: rgba(135, 206, 235, 0.3);
}

.tech-tag:hover {
   transform: translateY(-2px);
   background: rgba(30, 58, 95, 0.2);
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .tech-tag:hover {
   background: rgba(135, 206, 235, 0.25);
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* ------------------------------------------------------------------
   Education Section - Modern Card Design
------------------------------------------------------------------ */
.education-section {
   background: transparent;
   padding: var(--spacing-xl) 0;
}

.education-container {
   max-width: 900px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
   gap: var(--spacing-md);
}

.education-item {
   padding: 0;
   display: flex;
   gap: var(--spacing-md);
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   position: relative;
   overflow: hidden;
}

.education-item::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 4px;
   height: 100%;
   background: linear-gradient(180deg, var(--color-primary), var(--color-primary-light));
   transform: scaleY(0);
   transform-origin: top;
   transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-item:hover::before {
   transform: scaleY(1);
}

.education-item:hover {
   transform: translateY(-5px);
   box-shadow: 0 12px 40px var(--color-shadow-hover);
}

.education-icon-wrapper {
   flex-shrink: 0;
   width: 80px;
   height: 80px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
   border-radius: var(--radius-md);
   box-shadow: 0 4px 15px rgba(30, 58, 95, 0.2);
   position: relative;
   overflow: hidden;
}

[data-theme="dark"] .education-icon-wrapper {
   background: linear-gradient(135deg, #87CEEB, #B0E0E6);
   box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
}

.education-icon-wrapper::before {
   content: '';
   position: absolute;
   top: -50%;
   left: -50%;
   width: 200%;
   height: 200%;
   background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
   animation: shimmer-rotate 3s linear infinite;
}

@keyframes shimmer-rotate {
   0% { transform: rotate(0deg); }
   100% { transform: rotate(360deg); }
}

.education-icon {
   font-size: 3.5rem;
   position: relative;
   z-index: 1;
   filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.education-content {
   flex: 1;
   padding: var(--spacing-md);
   padding-left: 0;
   display: flex;
   flex-direction: column;
   gap: var(--spacing-xs);
}

.education-header {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: var(--spacing-sm);
   margin-bottom: var(--spacing-xs);
   flex-wrap: wrap;
}

.education-institution {
   font-size: 2rem;
   font-family: 'opensans-bold', sans-serif;
   color: var(--color-text);
   margin: 0;
   line-height: 1.3;
   flex: 1;
   min-width: 200px;
}

.education-date {
   font-size: 1.4rem;
   color: var(--color-text-light);
   font-weight: 600;
   white-space: nowrap;
   padding: 0.3rem 0.8rem;
   background: var(--color-bg-secondary);
   border-radius: 12px;
   border: 1px solid var(--color-glass-border);
}

.education-degree {
   font-size: 1.7rem;
   color: #1E3A5F;
   font-weight: 600;
   margin-top: var(--spacing-xs);
   line-height: 1.4;
}

[data-theme="dark"] .education-degree {
   color: #87CEEB;
}

.education-field {
   font-size: 1.5rem;
   color: var(--color-text-light);
   margin-top: var(--spacing-xs);
   line-height: 1.5;
}

.education-details {
   margin-top: var(--spacing-sm);
   padding-top: var(--spacing-sm);
   border-top: 1px solid var(--color-glass-border);
}

.education-location {
   font-size: 1.4rem;
   color: var(--color-text-light);
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
}

/* ------------------------------------------------------------------
   Skills Section
------------------------------------------------------------------ */
.skills-intro {
   padding: var(--spacing-md);
   margin-bottom: var(--spacing-lg);
   text-align: center;
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
}

.skills-intro p {
   font-size: 1.7rem;
   line-height: 1.8;
   color: var(--color-text-light);
}

.skills-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: var(--spacing-md);
}

.skill-item {
   padding: var(--spacing-md);
   text-align: center;
}

.skill-icon {
   font-size: 3rem;
   margin-bottom: var(--spacing-sm);
}

.skill-item h4 {
   font-size: 1.8rem;
   color: var(--color-text);
   margin-bottom: var(--spacing-sm);
}

.skill-bar {
   width: 100%;
   height: 8px;
   background: var(--color-bg-secondary);
   border-radius: var(--radius-sm);
   overflow: hidden;
   position: relative;
}

.skill-progress {
   height: 100%;
   background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
   border-radius: var(--radius-sm);
   width: 0;
   transition: width 1s ease;
   position: relative;
}

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

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

/* ------------------------------------------------------------------
   Portfolio Section - Modern & Classy
------------------------------------------------------------------ */
.portfolio-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
   gap: var(--spacing-md);
}

.portfolio-item {
   overflow: hidden;
   padding: 0;
   text-decoration: none;
   display: block;
   cursor: pointer;
   position: relative;
}

.portfolio-link-card {
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   transform: translateY(0) scale(1);
}

.portfolio-link-card:hover {
   transform: translateY(-8px) scale(1.02) !important;
   box-shadow: 0 20px 50px var(--color-shadow-hover) !important;
   border-color: var(--color-primary) !important;
}

.portfolio-image {
   position: relative;
   overflow: hidden;
   border-radius: var(--radius-md) var(--radius-md) 0 0;
   height: 280px;
}

.portfolio-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.portfolio-item:hover .portfolio-image img {
   transform: scale(1.08);
   filter: brightness(0.8);
}

.portfolio-overlay {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(135deg, 
      rgba(30, 58, 95, 0.85) 0%, 
      rgba(44, 82, 130, 0.85) 100%
   );
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
   opacity: 0;
   transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   border-radius: var(--radius-md) var(--radius-md) 0 0;
}

[data-theme="dark"] .portfolio-overlay {
   background: linear-gradient(135deg, 
      rgba(135, 206, 235, 0.85) 0%, 
      rgba(176, 224, 230, 0.85) 100%
   );
}

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

.portfolio-hover-content {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 1rem;
   transform: translateY(20px);
   transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

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

.view-details {
   color: white;
   font-size: 1.8rem;
   font-weight: 600;
   letter-spacing: 0.5px;
   text-transform: uppercase;
}

[data-theme="dark"] .view-details {
   color: #1A1A1A;
}

.portfolio-arrow {
   font-size: 2.5rem;
   color: white;
   transition: transform 0.3s ease;
}

[data-theme="dark"] .portfolio-arrow {
   color: #1A1A1A;
}

.portfolio-item:hover .portfolio-arrow {
   transform: translateX(10px);
}

.portfolio-info {
   padding: var(--spacing-md);
   text-align: center;
   background: var(--color-glass-bg);
   backdrop-filter: blur(10px);
   transition: background 0.3s ease;
}

.portfolio-item:hover .portfolio-info {
   background: var(--color-bg-secondary);
}

.portfolio-info h4 {
   font-size: 1.9rem;
   font-weight: 600;
   color: var(--color-text);
   margin-bottom: var(--spacing-xs);
   transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-info h4 {
   color: var(--color-primary);
}

[data-theme="dark"] .portfolio-item:hover .portfolio-info h4 {
   color: #87CEEB;
}

.portfolio-info p {
   font-size: 1.4rem;
   color: var(--color-text-light);
   transition: color 0.3s ease;
}

/* Portfolio item badge for category */
.portfolio-info p::before {
   content: '•';
   color: var(--color-primary);
   margin-right: 0.5rem;
}

[data-theme="dark"] .portfolio-info p::before {
   color: #87CEEB;
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.footer {
   background: var(--color-bg-secondary);
   padding: var(--spacing-lg) 0;
   margin-top: var(--spacing-xl);
   border-top: 1px solid var(--color-glass-border);
}

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

.footer-social {
   display: flex;
   justify-content: center;
   gap: var(--spacing-sm);
   margin-bottom: var(--spacing-md);
}

.footer-copyright {
   font-size: 1.4rem;
   color: var(--color-text-light);
}

/* ------------------------------------------------------------------
   Modal Styles - Modern & Elegant
------------------------------------------------------------------ */
.popup-modal {
   max-width: 900px;
   margin: 0 auto;
   background: var(--color-glass-bg);
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   border-radius: 24px;
   border: 1px solid var(--color-border);
   box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
   overflow: hidden;
   position: relative;
}

@keyframes modalSlideIn {
   from {
      opacity: 0;
      transform: scale(0.95) translateY(20px);
   }
   to {
      opacity: 1;
      transform: scale(1) translateY(0);
   }
}

@keyframes modalSlideOut {
   from {
      opacity: 1;
      transform: scale(1) translateY(0);
   }
   to {
      opacity: 0;
      transform: scale(0.95) translateY(20px);
   }
}

.modal-close {
   position: absolute;
   top: 20px;
   right: 20px;
   width: 50px;
   height: 50px;
   border-radius: 50%;
   background: rgba(0, 0, 0, 0.5);
   backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   color: white;
   font-size: 2rem;
   cursor: pointer;
   z-index: 10;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close:hover {
   background: rgba(255, 0, 0, 0.7);
   transform: rotate(90deg) scale(1.1);
   border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .modal-close {
   background: rgba(255, 255, 255, 0.15);
   color: white;
}

[data-theme="dark"] .modal-close:hover {
   background: rgba(255, 0, 0, 0.6);
}

.modal-content {
   display: flex;
   flex-direction: column;
}

.modal-image-container {
   width: 100%;
   max-height: 500px;
   overflow: hidden;
   background: linear-gradient(135deg, 
      rgba(30, 58, 95, 0.1) 0%, 
      rgba(44, 82, 130, 0.1) 100%
   );
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 2rem;
   border-bottom: 1px solid var(--color-border);
}

[data-theme="dark"] .modal-image-container {
   background: linear-gradient(135deg, 
      rgba(135, 206, 235, 0.1) 0%, 
      rgba(176, 224, 230, 0.1) 100%
   );
}

.modal-image-container img {
   width: auto;
   height: auto;
   max-width: 100%;
   max-height: 450px;
   object-fit: contain;
   display: block;
   border-radius: 12px;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-details {
   padding: var(--spacing-lg);
}

.modal-header {
   margin-bottom: var(--spacing-md);
   padding-bottom: var(--spacing-md);
   border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
   font-size: 3rem;
   font-weight: 700;
   margin-bottom: var(--spacing-sm);
   color: #1A1A1A;
}

[data-theme="dark"] .modal-header h3 {
   background: linear-gradient(135deg, 
      #87CEEB 0%, 
      #B0E0E6 100%
   );
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
}

.modal-category {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.8rem 1.6rem;
   background: var(--color-bg-secondary);
   border: 1px solid var(--color-border);
   border-radius: 20px;
   font-size: 1.3rem;
   font-weight: 500;
   color: #4A5568;
   transition: all 0.3s ease;
}

.modal-category i {
   color: #2C5282;
   font-size: 1.4rem;
}

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

[data-theme="dark"] .modal-category i {
   color: #87CEEB;
}

.modal-description {
   margin-bottom: var(--spacing-lg);
}

.modal-description p {
   font-size: 1.7rem;
   line-height: 1.8;
   color: #2D3748;
   margin: 0;
}

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

.modal-actions {
   display: flex;
   gap: var(--spacing-sm);
   justify-content: flex-start;
   flex-wrap: wrap;
}

.modal-actions .btn-glass {
   padding: 1.4rem 3rem;
   font-size: 1.6rem;
   font-weight: 600;
   display: inline-flex;
   align-items: center;
   gap: 0.8rem;
}

.modal-actions .btn-glass i {
   font-size: 1.6rem;
   transition: transform 0.3s ease;
}

.modal-actions .btn-glass:hover i {
   transform: translateX(5px);
}

/* Modal button styling - dark tint in light mode */
.modal-actions .btn-primary {
   background: linear-gradient(135deg, #1E3A5F, #2C5282);
   color: white;
   border: none;
}

[data-theme="dark"] .modal-actions .btn-primary {
   background: linear-gradient(135deg, #87CEEB, #B0E0E6);
   color: #1A1A1A;
}

/* Magnific Popup override for better modal appearance */
.mfp-bg {
   background: rgba(0, 0, 0, 0.5) !important;
   backdrop-filter: blur(20px) !important;
   -webkit-backdrop-filter: blur(20px) !important;
}

.mfp-wrap {
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
}

.mfp-container {
   padding: 2rem;
}

/* Smooth fade transitions for backdrop */
.mfp-fade.mfp-bg {
   opacity: 0;
   transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mfp-fade.mfp-bg.mfp-ready {
   opacity: 1;
}

.mfp-fade.mfp-bg.mfp-removing {
   opacity: 0;
}

/* Modal content animations */
.mfp-fade.mfp-wrap .popup-modal {
   animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mfp-fade.mfp-removing .popup-modal {
   animation: modalSlideOut 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------------------------------------------
   Responsive Design - Mobile First
------------------------------------------------------------------ */
@media only screen and (max-width: 768px) {
   :root {
      --spacing-md: 2rem;
      --spacing-lg: 3rem;
      --spacing-xl: 4rem;
   }

   .container {
      padding: 0 2.5rem;
   }

   .nav-container {
      padding: 0 1.5rem;
   }

   .nav-logo {
      font-size: 1.8rem;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
   }

   .theme-toggle {
      display: none;
   }

   .nav-menu {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100vh;
      background: linear-gradient(
         135deg,
         rgba(255, 255, 255, 0.4) 0%,
         rgba(255, 255, 255, 0.2) 50%,
         rgba(255, 255, 255, 0.3) 100%
      );
      backdrop-filter: blur(80px) saturate(200%) brightness(1.1);
      -webkit-backdrop-filter: blur(80px) saturate(200%) brightness(1.1);
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      padding: calc(70px + 2rem) 2rem 2rem 2rem;
      transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      border-right: 1px solid rgba(255, 255, 255, 0.3);
      box-shadow: 
         4px 0 30px rgba(0, 0, 0, 0.15),
         inset 1px 0 0 rgba(255, 255, 255, 0.5),
         inset -1px 0 0 rgba(255, 255, 255, 0.2);
      gap: 0.5rem;
      z-index: 998;
   }

   .nav-menu::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
         radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
         radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
      pointer-events: none;
      z-index: -1;
   }

   [data-theme="dark"] .nav-menu {
      background: linear-gradient(
         135deg,
         rgba(28, 28, 30, 0.5) 0%,
         rgba(20, 20, 22, 0.3) 50%,
         rgba(28, 28, 30, 0.4) 100%
      );
      backdrop-filter: blur(80px) saturate(200%) brightness(0.9);
      -webkit-backdrop-filter: blur(80px) saturate(200%) brightness(0.9);
      border-right: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 
         4px 0 30px rgba(0, 0, 0, 0.5),
         inset 1px 0 0 rgba(255, 255, 255, 0.1),
         inset -1px 0 0 rgba(255, 255, 255, 0.05);
   }

   [data-theme="dark"] .nav-menu::before {
      background: 
         radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
         radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
   }

   .nav-menu.active {
      left: 0;
   }

   .nav-menu li {
      width: 100%;
   }

   .nav-menu .nav-link {
      width: 100%;
      justify-content: flex-start;
      padding: 1rem 1.4rem;
      font-size: 1.5rem;
      color: #1d1d1f;
   }

   [data-theme="dark"] .nav-menu .nav-link {
      color: rgba(245, 245, 247, 0.9);
   }

   .nav-toggle {
      display: flex;
      z-index: 999;
      margin-top: 20px;
   }

   .nav-theme-toggle {
      display: flex;
      position: static;
      transform: none;
      width: 40px;
      height: 40px;
      font-size: 1.6rem;
      z-index: 999;
      margin-top: 10px;
   }

   .nav-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(8px, 8px);
   }

   .nav-toggle.active span:nth-child(2) {
      opacity: 0;
   }

   .nav-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -7px);
   }

   /* Mobile menu overlay */
   .nav-menu::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(4px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: -1;
   }

   .nav-menu.active::before {
      opacity: 1;
      pointer-events: auto;
   }

   .hero-buttons {
      flex-direction: column;
      align-items: stretch;
   }

   .btn-glass {
      width: 100%;
      text-align: center;
   }

   .glass-card {
      padding: 2rem;
   }

   .about-content {
      grid-template-columns: 1fr;
   }

   .about-image {
      position: static;
   }

   .experience-container {
      gap: var(--spacing-sm);
   }

   .experience-item {
      padding: 0;
   }

   .experience-item:hover {
      transform: translateX(0);
      transform: translateY(-3px);
   }

   .experience-header {
      flex-direction: column;
      align-items: flex-start;
      padding: var(--spacing-md);
   }

   .experience-meta {
      align-items: flex-start;
      text-align: left;
      width: 100%;
      flex-direction: row;
      justify-content: space-between;
      margin-top: var(--spacing-xs);
   }

   .experience-company {
      font-size: 2rem;
   }

   .experience-body {
      padding: var(--spacing-md);
   }

   .experience-description-wrapper {
      flex-wrap: wrap;
      gap: var(--spacing-xs);
   }

   .achievements-toggle {
      width: 28px;
      height: 28px;
      margin-top: 0;
      align-self: flex-start;
   }

   .achievements-toggle .toggle-icon {
      font-size: 0.9rem;
   }

   .education-container {
      grid-template-columns: 1fr;
      gap: var(--spacing-sm);
   }

   .education-item {
      flex-direction: column;
      gap: var(--spacing-sm);
   }

   .education-icon-wrapper {
      width: 70px;
      height: 70px;
      align-self: flex-start;
   }

   .education-icon {
      font-size: 3rem;
   }

   .education-content {
      padding: var(--spacing-md);
      padding-top: 0;
   }

   .education-header {
      flex-direction: column;
      align-items: flex-start;
   }

   .education-date {
      align-self: flex-start;
   }

   .education-institution {
      font-size: 1.8rem;
   }

   .skills-grid {
      grid-template-columns: 1fr;
   }

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

   /* Modal responsive styles */
   .popup-modal {
      max-width: 95vw;
      margin: 1rem;
   }

   .modal-close {
      top: 10px;
      right: 10px;
      width: 40px;
      height: 40px;
      font-size: 1.6rem;
   }

   .modal-image-container {
      max-height: 300px;
      padding: 1rem;
   }

   .modal-image-container img {
      max-height: 250px;
   }

   .modal-details {
      padding: var(--spacing-md);
   }

   .modal-header h3 {
      font-size: 2.2rem;
   }

   .modal-description p {
      font-size: 1.5rem;
   }

   .modal-actions .btn-glass {
      width: 100%;
      justify-content: center;
   }

   .mfp-container {
      padding: 1rem;
   }

   .section {
      padding: var(--spacing-lg) 0;
   }
}

@media only screen and (max-width: 480px) {
   .container {
      padding: 0 2rem;
   }

   .nav-menu {
      width: 260px;
      left: -260px;
   }

   .hero-text {
      padding: 2rem;
   }

   .hero-title {
      font-size: 3.5rem;
   }

   .section-title {
      font-size: 2.5rem;
   }

   .section {
      padding: var(--spacing-lg) 0;
   }
}

/* ------------------------------------------------------------------
   Smooth Scroll Behavior
------------------------------------------------------------------ */
html {
   scroll-behavior: smooth;
}

/* Offset scroll position for fixed navbar */
section {
   scroll-margin-top: 70px;
}

/* ------------------------------------------------------------------
   Print Styles
------------------------------------------------------------------ */
@media print {
   .theme-toggle,
   .nav-glass,
   .scroll-indicator,
   .footer {
      display: none;
   }
}
