/* General Styles - Minimalist Design */
:root {
  /* Common variables */
  --primary-color: #ffffff; /* White - main interactive color */
  --hover-color: #e0e0e0; /* Light gray for hover states */
  --accent-color: rgb(78, 82, 68); /* Primary brand color */
  
  /* Dark mode variables (default) */
  --background-color: rgb(78, 82, 68); /* Primary brand background */
  --text-color: #ffffff; /* Pure white text */
  --card-bg: rgba(255, 255, 255, 0.1);
  --card-border: rgba(255, 255, 255, 0.2);
  --navbar-bg: rgba(78, 82, 68, 0.95);
  --footer-bg: rgb(78, 82, 68);
}

/* Single theme variables */
:root {
  --background-color: #ffffff; /* Pure white background */
  --text-color: rgb(78, 82, 68); /* Brand color text */
  --card-bg: rgba(78, 82, 68, 0.05);
  --card-border: rgba(78, 82, 68, 0.2);
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: #ffffff;
}

/* Time Display */
.time-display {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 8px 15px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

/* Time display */
.time-display {
  color: #000;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Location Display */
.location-display {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 0.8;
  font-family: 'Space Grotesk', sans-serif;
}

.location-display:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.location-display {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}



body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: var(--background-color);
}

body {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Homepage specific styles - allow scrolling for more content */
body.index-page {
  overflow-y: auto;
  min-height: 100vh;
  width: 100vw;
}

/* Other pages allow scrolling */
body:not(.index-page) {
  overflow-y: auto;
  padding-bottom: 100px;
}

.main {
  min-height: calc(100vh - 120px);
  background-color: var(--background-color);
  padding-top: 0;
  margin-top: 0;
  transition: background-color 0.3s ease;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Homepage main section takes full height with more space */
body.index-page .main {
  min-height: 100vh;
  padding: 40px 0;
}

/* Footer social links (moved from top) */
.social-links-footer {
  text-align: center;
  margin-top: 15px;
}

.social-links-footer a {
  color: var(--text-color);
  font-size: 20px;
  margin: 0 10px;
  transition: all 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
}

.social-links-footer a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Main Navigation System */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  height: 80px;
  transition: all 0.3s ease, transform 0.3s ease;
}

.main-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(78, 82, 68, 0.1);
}

/* Mobile Burger Menu */
.burger-menu {
  display: none;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.burger-line {
  display: block;
  width: 25px;
  height: 3px;
  background: rgb(78, 82, 68);
  margin: 4px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.nav-container {
  display: flex;
  justify-content: center;
  gap: 38px;
  padding: 0 15px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 90px;
  position: relative;
  overflow: hidden;
  justify-content: center;
}

.nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(78, 82, 68), rgb(205, 125, 85));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-item:hover::before,
.nav-item.active::before {
  opacity: 1;
}

.nav-icon {
  font-size: 1.1rem;
  margin-bottom: 3px;
  color: rgb(78, 82, 68);
  transition: all 0.3s ease;
}

.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
  color: #ffffff;
  transform: scale(1.1);
}

.nav-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: rgb(78, 82, 68);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
  transition: all 0.3s ease;
  line-height: 1;
}

.nav-item:hover .nav-label,
.nav-item.active .nav-label {
  color: #ffffff;
}

.nav-preview {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  color: rgba(78, 82, 68, 0.7);
  text-align: center;
  line-height: 1;
  transition: all 0.3s ease;
}

.nav-item:hover .nav-preview,
.nav-item.active .nav-preview {
  color: rgba(255, 255, 255, 0.9);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-nav-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: #ffffff;
  padding: 80px 0 20px 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 20px 20px;
  border-bottom: 1px solid rgba(78, 82, 68, 0.1);
  margin-bottom: 20px;
}

.mobile-nav-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: rgb(78, 82, 68);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: rgb(78, 82, 68);
  cursor: pointer;
  padding: 5px;
  transition: all 0.3s ease;
}

.mobile-nav-close:hover {
  color: rgb(205, 125, 85);
  transform: rotate(90deg);
}

.mobile-nav-items {
  padding: 0 20px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 15px 0;
  border-bottom: 1px solid rgba(78, 82, 68, 0.1);
  transition: all 0.3s ease;
}

.mobile-nav-item:last-child {
  border-bottom: none;
}

.mobile-nav-item i {
  font-size: 1.5rem;
  color: rgb(78, 82, 68);
  margin-right: 15px;
  width: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.mobile-nav-item span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: rgb(78, 82, 68);
  margin-bottom: 2px;
  transition: all 0.3s ease;
}

.mobile-nav-item small {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(78, 82, 68, 0.7);
  display: block;
  margin-left: 40px;
  transition: all 0.3s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  background: rgba(78, 82, 68, 0.05);
  padding-left: 10px;
}

.mobile-nav-item:hover i,
.mobile-nav-item.active i {
  color: rgb(205, 125, 85);
}

.mobile-nav-item:hover span,
.mobile-nav-item.active span {
  color: rgb(205, 125, 85);
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .burger-menu {
    display: block;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .main-nav {
    height: 55px;
  }
  
  .burger-menu {
    left: 15px;
  }
  
  .burger-line {
    width: 20px;
    height: 2px;
  }
}

@media (max-width: 480px) {
  .main-nav {
    height: 55px;
  }
  
  .burger-menu {
    left: 12px;
    padding: 6px;
  }
  
  .burger-line {
    width: 18px;
    height: 2px;
    margin: 3px 0;
  }
  
  .mobile-nav-content {
    width: 260px;
  }
  
  .mobile-nav-item {
    padding: 12px 0;
  }
  
  .mobile-nav-item i {
    font-size: 1.3rem;
    margin-right: 12px;
  }
  
  .mobile-nav-item span {
    font-size: 0.9rem;
  }
  
  .mobile-nav-item small {
    font-size: 0.75rem;
    margin-left: 37px;
  }
}

/* Old navigation styles removed - using quick navigation system */

/* Navigation overlay styles removed */

/* Old navigation corner elements removed */

/* Old navigation background elements removed */

/* Old main navigation styles removed */

/* Old navigation arrow styles removed */

/* Old navigation close button styles removed */

/* Old navigation mobile responsiveness styles removed */

/* Add padding to main content to account for fixed navigation */
.main {
  padding-top: 100px;
}

@media (max-width: 768px) {
  .main {
    padding-top: 75px;
  }
}

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

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

/* Navigation animations cleaned up */

@keyframes activeStatePulse {
  0%, 100% {
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.4), 0 0 0 3px rgba(255, 102, 0, 0.2);
  }
  50% {
    box-shadow: 0 8px 30px rgba(255, 102, 0, 0.6), 0 0 0 4px rgba(255, 102, 0, 0.3);
  }
}

/* Active pulse animation */
.bottom-navbar .nav-link.active {
  animation: activeStatePulse 2s ease-in-out infinite;
}

@keyframes activeStatePulse {
  0%, 100% {
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.5), 0 0 0 3px rgba(255, 102, 0, 0.2);
  }
  50% {
    box-shadow: 0 8px 30px rgba(255, 102, 0, 0.7), 0 0 0 4px rgba(255, 102, 0, 0.3);
  }
}

/* Hide text labels - only show icons */
.bottom-navbar .nav-link span {
  display: none;
}

/* Mobile menu button - hidden by default */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-color);
  cursor: pointer;
  padding: 5px;
  position: absolute;
  right: 15px;
  top: 10px;
  z-index: 1003;
  transition: all 0.3s ease;
}

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

/* Remove any margin or padding from sections if present */
.section {
  margin: 0;
  padding: 0;
}

/* Full height section for homepage */
body.index-page .section {
  height: 100vh;
  padding: 0;
}

/* New Hero Section - Clean Modern Design */
#hero {
  background-color: var(--background-color);
  min-height: 100vh;
  width: 100vw;
  position: relative;
  overflow: visible;
  padding: 60px 0;
}

.hero-container {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 80px;
  width: 100%;
  min-height: 80vh;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text-section {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-visual-section {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-actions {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-color);
  margin-bottom: 30px;
  opacity: 1;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 0.9;
  color: var(--text-color);
  margin: 0 0 40px 0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-title-line {
  display: block;
  position: relative;
  opacity: 0;
  transform: translateY(100px);
  animation: slideUpFade 1.2s ease forwards;
}

.hero-title-main {
  animation-delay: 0.3s;
}

.hero-title-secondary {
  animation-delay: 0.6s;
  color: var(--primary-color);
}



.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  opacity: 1;
  margin-bottom: 40px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-separator {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.hero-about-container {
  position: relative;
  width: 400px;
  height: 500px;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  animation: imageReveal 1.5s ease forwards;
  animation-delay: 1.2s;
}

.hero-about-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.6s ease;
  cursor: pointer;
}

.hero-about-card:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

.hero-about-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-about-card:hover .hero-about-text {
  opacity: 1;
}

.hero-about-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  opacity: 0.9;
}



.hero-cta-primary,
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 35px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all 0.4s ease;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 1s ease forwards;
}

.hero-cta-primary {
  background: var(--text-color);
  color: var(--background-color);
  animation-delay: 1.5s;
  border: 2px solid var(--text-color);
}

.hero-cta-secondary {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--text-color);
  animation-delay: 1.7s;
}

.hero-cta-primary:hover {
  background: var(--text-color);
  color: var(--background-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-cta-secondary:hover {
  background: var(--text-color);
  color: var(--background-color);
  border-color: var(--text-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.cta-arrow,
.cta-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.hero-cta-primary:hover .cta-arrow {
  transform: translateX(5px);
}

.hero-cta-secondary:hover .cta-icon {
  transform: translate(3px, -3px);
}

.hero-background-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}



.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(78, 82, 68, 0.05);
}

/* Stylistic Background Text */
.hero-background-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  text-align: center;
  width: 100%;
}

.bg-text-line {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(8rem, 15vw, 20rem);
  line-height: 0.8;
  color: var(--text-color);
  opacity: 0.03;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin: 0;
  transition: all 0.3s ease;
}

.bg-text-line.highlight {
  opacity: 0.08;
  background: linear-gradient(135deg, var(--text-color), rgba(255, 255, 255, 0.5));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}



/* Interactive About Section */
.hero-about-interactive {
  position: absolute;
  top: 80px;
  right: 80px;
  z-index: 10;
  margin: 0;
}

.about-trigger {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  padding: 20px;
  border: 2px solid var(--text-color);
  border-radius: 50px;
  background: transparent;
  transition: all 0.4s ease;
  max-width: 200px;
  transform: translateY(0);
  opacity: 1;
  will-change: transform, opacity;
}

.about-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

/* Parallax and fade effects for about trigger */
.about-trigger.parallax-fade {
  animation: parallaxFade 0.6s ease-out forwards;
}

.about-trigger.parallax-fade-out {
  animation: parallaxFadeOut 0.4s ease-in forwards;
}

@keyframes parallaxFade {
  0% {
    transform: translateY(30px) scale(0.9);
    opacity: 0;
  }
  50% {
    transform: translateY(-5px) scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes parallaxFadeOut {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
  }
}

.about-trigger.active {
  background: var(--text-color);
  color: var(--background-color);
}

.about-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.about-trigger.active .about-label {
  color: var(--background-color);
}

.about-indicator {
  font-size: 1.2rem;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.about-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 15;
  margin-top: 20px;
  width: 400px;
  max-width: 90vw;
  box-sizing: border-box;
}

.about-content.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.about-text-overlay {
  background: rgba(78, 82, 68, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: 80vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}



/* Custom scrollbar for webkit browsers */
.about-text-overlay::-webkit-scrollbar {
  width: 6px;
}

.about-text-overlay::-webkit-scrollbar-track {
  background: transparent;
}

.about-text-overlay::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.about-text-overlay::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}



.about-text-overlay h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}



.about-text-overlay p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  max-width: 100%;
}



.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.highlight-item {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-transform: uppercase;
}



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

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

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

@keyframes gradientShift {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-20px) translateY(-20px); }
  50% { transform: translateX(20px) translateY(-10px); }
  75% { transform: translateX(-10px) translateY(20px); }
}



/* Ensure ABOUT button doesn't overlap with location text on larger screens */
@media (min-width: 1025px) {
  .hero-about-interactive {
    top: 80px;
    right: 80px;
  }
}

/* Mobile Responsiveness for New Hero */
@media (max-width: 1024px) {
  .hero-container {
    padding: 60px 30px;
  }
  
  .hero-content-new {
    gap: 50px;
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
  }
  
  .hero-about-interactive {
    top: 60px;
    right: 60px;
  }
  
  .about-trigger {
    max-width: 80px;
    padding: 6px 10px;
    gap: 4px;
  }
  
  .about-label {
    font-size: 0.75rem;
  }
  
  .about-content {
    width: 350px;
    max-width: 85vw;
  }
  
  .about-text-overlay {
    padding: 25px;
    box-sizing: border-box;
    overflow-wrap: break-word;
    max-height: 70vh;
  }
  
  .about-text-overlay h3 {
    font-size: 1.4rem;
  }
  
  .about-text-overlay p {
    font-size: 0.95rem;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding: 40px 15px;
    min-height: 100vh;
    overflow: visible;
  }
  
  .hero-content-new {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 30px;
    min-height: 100vh;
    justify-items: center;
    text-align: center;
    padding: 60px 0 40px;
    align-content: center;
  }
  
  .hero-text-section {
    grid-column: 1;
    grid-row: 1;
    order: 1;
  }
  
  .hero-about-interactive {
    position: static;
    grid-column: 1;
    grid-row: 2;
    order: 2;
    margin: 10px auto;
    right: auto;
    top: auto;
    display: flex;
    justify-content: center;
    z-index: 10;
  }
  
  .about-content {
    position: static;
    transform: none;
    width: 100%;
    max-width: 95vw;
    margin-top: 15px;
    left: auto;
  }
  
  .about-content.active {
    transform: none;
  }
  
  .hero-actions {
    grid-column: 1;
    grid-row: 3;
    order: 3;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    z-index: 10;
  }
  
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
    margin-bottom: 15px;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .hero-separator {
    display: none;
  }
  
  .bg-text-line {
    font-size: clamp(2rem, 15vw, 8rem);
    opacity: 0.03;
  }
  
  .about-trigger {
    max-width: 80px;
    padding: 6px 10px;
    gap: 4px;
  }
  
  .about-label {
    font-size: 0.7rem;
  }
  
  .about-text-overlay {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    max-height: 60vh;
  }
  
  .about-text-overlay h3 {
    font-size: 1.3rem;
  }
  
  .about-text-overlay p {
    font-size: 0.95rem;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    max-width: 100%;
  }
  
  .highlight-item {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .hero-cta-primary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 16px 30px;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 30px 10px;
    min-height: 100vh;
    overflow: visible;
  }
  
  .hero-content-new {
    padding: 40px 0 30px;
    gap: 20px;
    align-content: center;
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 12vw, 2.8rem);
    line-height: 1.1;
  }
  
  .hero-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  
  .bg-text-line {
    font-size: clamp(1.5rem, 12vw, 6rem);
    opacity: 0.02;
  }
  
  /* Hide background text on very small screens to prevent interference */
  .hero-background-text {
    display: none;
  }
  
  .about-trigger {
    max-width: 60px;
    padding: 4px 8px;
    gap: 3px;
  }
  

  
  .about-label {
    font-size: 0.65rem;
  }
  
  .about-indicator {
    font-size: 0.8rem;
  }
  
  .about-text-overlay {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    max-height: 55vh;
  }
  
  .about-text-overlay h3 {
    font-size: 1.2rem;
  }
  
  .about-text-overlay p {
    font-size: 0.9rem;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    max-width: 100%;
  }
  
  .highlight-item {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  
  .hero-cta-primary {
    font-size: 0.9rem;
    padding: 14px 25px;
  }
}

/* About Section */
.about {
  color: #fff;
  background-color: #000; /* Assuming a dark theme as per your inspiration */
  padding: 50px 0;
}

.about h2 {
  color: #ff6600; /* Styling for the section title */
  margin-bottom: 20px;
}

.about-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.about-description {
  width: 50%;
  padding-right: 20px;
}

.about-tech {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 50%;
}

.tech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #222; /* Dark background for each icon */
  padding: 20px;
  border-radius: 10px;
}

.tech-icon i {
  font-size: 2rem;
  color: #ff6600; /* Icon color */
  margin-bottom: 10px;
}

.tech-icon span {
  color: #fff;
}

@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
  }

  .about-description,
  .about-tech {
    width: 100%;
  }

  .about-tech {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* New Grid-Based Project Layout */
.projects-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  padding: 30px;
  margin: 0;
  min-height: 100vh;
  background-color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
}



.project-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  background-color: rgb(78, 82, 68);
  border: 3px solid #ffffff;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 40px 40px 40px;
  border-radius: 15px;
}

.project-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: #ffffff;
  background-color: rgb(78, 82, 68);
}



.project-number {
  position: absolute;
  top: 20px;
  left: 40px;
  font-size: 6rem;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.25;
  font-family: 'Space Grotesk', sans-serif;
  z-index: 1;
  transition: all 0.3s ease;
  letter-spacing: -0.02em;
  line-height: 1;
}

.project-tile:hover .project-number {
  opacity: 0.35;
}

.project-image-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 150px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  transition: all 0.4s ease;
  border-radius: 8px;
  margin: 40px;
}

.project-tile:hover .project-image-bg {
  opacity: 0.2;
}

.project-content {
  position: relative;
  z-index: 3;
  color: #1a1a1a;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 120px; /* Add space below the number */
}

.project-category {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
}

.project-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.project-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 30px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  max-width: 80%;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgb(78, 82, 68);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 16px 32px;
  border: 2px solid #ffffff;
  border-radius: 30px;
  background: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.project-link:hover {
  background: rgb(78, 82, 68);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-color: rgb(78, 82, 68);
}

.project-link i {
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(5px);
}

/* Add subtle entrance animations */
.project-tile.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.project-tile.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Add a subtle border on hover for better definition */
.project-tile:hover {
  border: 1px solid rgba(0, 0, 0, 0.1);
}



/* Mobile responsiveness for new project grid */
@media (max-width: 1024px) {
  .projects-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 25px;
  }
  
  .project-tile {
    padding: 30px 30px 30px;
    min-height: 450px;
  }
  
  .project-number {
    font-size: 4rem;
    top: 15px;
    left: 30px;
  }
  
  .project-content {
    margin-top: 90px;
  }
  
  .project-image-bg {
    width: 150px;
    height: 120px;
    margin: 30px;
  }
}

@media (max-width: 768px) {
  .projects-grid-new {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  
  .project-tile {
    padding: 25px 25px 25px;
    min-height: 400px;
  }
  
  .project-number {
    font-size: 3.5rem;
    top: 10px;
    left: 25px;
  }
  
  .project-content {
    margin-top: 80px;
  }
  
  .project-title {
    font-size: 1.6rem;
  }
  
  .project-description {
    font-size: 0.95rem;
    max-width: 90%;
  }
  
  .project-image-bg {
    width: 120px;
    height: 100px;
    margin: 25px;
  }
}

@media (max-width: 480px) {
  .projects-grid-new {
    gap: 15px;
    padding: 15px;
  }
  
  .project-tile {
    padding: 20px 20px 20px;
    min-height: 380px;
  }
  
  .project-number {
    font-size: 3rem;
    top: 10px;
    left: 20px;
  }
  
  .project-content {
    margin-top: 70px;
  }
  
  .project-title {
    font-size: 1.4rem;
  }
  
  .project-description {
    font-size: 0.9rem;
    max-width: 95%;
  }
  
  .project-link {
    font-size: 0.85rem;
    padding: 12px 20px;
  }
  
  .project-image-bg {
    width: 100px;
    height: 80px;
    margin: 20px;
  }
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--text-color);
  padding: 20px 0;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.copyright {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: var(--text-color);
}

.copyright .sitename {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 16px;
}

.copyright span {
  display: inline-block;
  margin: 0 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding-top: 0;
  }
  

  .time-display {
    top: 15px;
    left: 15px;
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .location-display {
    bottom: 15px;
    right: 15px;
    padding: 6px 10px;
    font-size: 0.65rem;
    max-width: calc(100vw - 30px);
    word-wrap: break-word;
  }

  .top-navbar .navbar ul {
    flex-direction: column;
    align-items: center;
  }

  .top-navbar .navbar li {
    margin: 5px 0;
  }

  .section {
    padding: 40px 0;
  }

  .hero-content {
    padding: 20px 15px;
    margin: 15px;
    max-width: calc(100% - 30px);
  }

  .hero-greeting {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .hero-name {
    font-size: 2.3rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-tagline {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 20px 20px 20px 20px / 15px 25px 12px 30px;
  }

  .cta-button::before {
    width: 15px;
    height: 15px;
    top: -6px;
    left: 8px;
  }

  .cta-button::after {
    width: 12px;
    height: 12px;
    top: -4px;
    right: 12px;
  }

  .card {
    padding: 15px;
  }
}



/* Remove social-links-top as we've moved to footer */
.social-links-top {
  display: none;
}

/* Remove old section-separator styling */
.section-separator {
  display: none;
}

.navbar ul {
display: flex;
justify-content: space-around; /* Distributes space around items */
list-style: none;
margin: 0;
padding: 0;
}

.navbar li {
margin: 0 15px;
}

.nav-link {
color: #ffffff; /* White color for default state */
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
font-size: 1.1rem;
padding: 10px 15px; /* Adjust padding around links for better spacing */
}

.nav-link:hover, .nav-link.active {
color: #ff6600; /* Red color for hover and active states (using your secondary color) */
}

.navicon {
margin-right: 5px;
}

/* Project card styles */
.project-card .card-title {
font-size: 1.5rem; /* Increased font size */
font-weight: bold;
margin-bottom: 15px;
color: var(--text-color);
font-family: 'Space Grotesk', sans-serif;
}

/* You may want to adjust the body text size for better contrast */
.project-card .card-text {
font-size: 1rem;
color: var(--text-color);
font-family: 'Space Grotesk', sans-serif;
}

/* Back to Home button styles */
.container.mt-3 {
padding: 20px 0;
}

.container.mt-3 .animated-button {
display: inline-block;
padding: 12px 24px;
color: var(--primary-color);
text-decoration: none;
font-weight: bold;
font-size: 1.2rem;
text-transform: uppercase;
letter-spacing: 1px;
border: 2px solid var(--primary-color);
border-radius: 5px;
position: relative;
overflow: hidden;
background-color: transparent;
transition: color 0.3s ease;
}

.container.mt-3 .animated-button .button-text {
position: relative;
z-index: 2;
}

.container.mt-3 .animated-button .button-line {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background-color: var(--primary-color);
transition: height 0.3s ease;
}

.container.mt-3 .animated-button:hover {
color: var(--text-color);
}

.container.mt-3 .animated-button:hover .button-line {
height: 100%;
}

main.main {
padding-top: 100px; /* Adjusted padding for the new navbar system */
}

.scroll-top {
position: fixed;
visibility: hidden;
opacity: 0;
right: 15px;
bottom: 15px;
z-index: 99999;
background: var(--primary-color);
width: 50px; /* Increased size */
height: 50px; /* Increased size */
border-radius: 50%;
transition: all 0.4s;
display: flex;
align-items: center;
justify-content: center;
}

.scroll-top i {
font-size: 30px; /* Bigger icon */
color: #000000; /* Changed to black for better contrast */
line-height: 0;
}

.scroll-top:hover {
background: var(--hover-color);
transform: scale(1.1); /* Slight grow effect on hover */
}

.scroll-top:hover i {
color: #ffffff; /* Change to white on hover for additional effect */
}

.scroll-top.active {
visibility: visible;
opacity: 1;
}

/* Styles specific to portfolio.html */
.portfolio-page .main {
padding: 100px 20px 40px; /* Adjusted top padding for navbar */
}

.portfolio-page .container {
max-width: 1000px; /* Reduced max-width for better content density */
margin: 0 auto;
}

/* Adjust the 'Back to Home' button positioning */
.portfolio-page .container.mt-3 {
display: none; /* Hide the old navigation buttons */
}

/* Adjust spacing for project cards */
.portfolio-page .project-card {
margin-bottom: 30px; /* Reduced space between projects */
padding: 20px; /* Reduced internal padding of the card */
background-color: var(--card-bg); /* Use theme variable instead of hardcoded value */
border-radius: 8px; /* Rounded corners */
}

/* Adjust spacing for project titles */
.portfolio-page .project-card .card-title {
margin-bottom: 15px; /* Space below the title */
font-size: 1.5rem; /* Larger font size for titles */
color: var(--primary-color); /* Use theme color for better visibility */
text-align: center; /* Center the title */
padding: 5px 0; /* Add some padding */
}

/* Adjust spacing for project description */
.portfolio-page .project-card .card-text {
margin-bottom: 15px;
}

/* Adjust spacing for tech icons */
.portfolio-page .tech-icons {
margin: 15px 0;
}

/* Adjust spacing for 'View Project' button */
.portfolio-page .animated-button {
margin-top: 15px;
}

/* Adjust iframe container spacing */
.portfolio-page .website-demo {
margin-top: 20px;
}

/* Adjust space between sections */
.portfolio-page .section {
margin-bottom: 40px;
}

/* Improve readability of project descriptions */
.portfolio-page .project-card .card-text {
line-height: 1.6;
color: var(--text-color); /* Use theme variable instead of hardcoded color */
}

/* Style for project images */
.portfolio-page .project-image {
width: 100%;
height: auto;
border-radius: 6px;
margin-bottom: 15px;
}

/* Ensure the button doesn't stretch full width on mobile */
.portfolio-page .animated-button {
display: inline-block;
margin-top: 10px;
}


.animated-button {
display: inline-block;
padding: 12px 24px;
color: var(--primary-color);
text-decoration: none;
font-weight: bold;
font-size: 1.2rem;
text-transform: uppercase;
letter-spacing: 1px;
border: 2px solid var(--primary-color);
border-radius: 5px;
position: relative;
overflow: hidden;
background-color: transparent;
transition: color 0.3s ease;
margin: 5px;
cursor: pointer;
}

.animated-button .button-text {
position: relative;
z-index: 2;
}

.animated-button .button-line {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background-color: var(--primary-color);
transition: height 0.3s ease;
z-index: 1;
overflow: hidden;
}

.animated-button:hover {
color: var(--text-color);
}

.animated-button:hover .button-line {
height: 100%;
}

/* Animated button styles */
.animated-button {
  color: #000;
  border-color: #000;
}

.animated-button .button-line {
  background-color: #000;
}

.animated-button:hover {
  color: #fff;
}

/* About Section Hyperlink Styling */
.about-description a {
color: #ff6600; /* Assuming the up arrow uses this color, adjust as needed */
text-decoration: none; /* Removes underline */
}

/* Ensure the hyperlink does not underline on hover */
.about-description a:hover {
text-decoration: none;
}

/* Icon Colors */
.tech-icon .fa-python { color: #3776AB; } /* Python blue */
.tech-icon .fa-js-square { color: #F7DF1E; } /* JavaScript yellow */
.tech-icon .fa-html5 { color: #E34F26; } /* HTML5 orange */
.tech-icon .fa-css3-alt { color: #1572B6; } /* CSS3 blue */
.tech-icon .fa-swift { color: #F05138; } /* Swift orange */
.tech-icon .fa-code { color: #5C5C5C; } /* Generic code icon gray */
.tech-icon .fa-react { color: #61DAFB; } /* React blue */
.tech-icon .fa-database { color: #006400; } /* Generic database green */
.tech-icon .fa-git-alt { color: #F05032; } /* Git red */
.tech-icon .fa-docker { color: #2496ED; } /* Docker blue */
.tech-icon .fa-flask { color: #000000; } /* Flask black for generic */
.tech-icon .fa-node-js { color: #68A063; } /* Node.js green */
.tech-icon .fa-server { color: #333333; } /* Express gray */
.tech-icon .fa-cogs { color: #FF5733; } /* CI/CD orange */
.tech-icon .fa-microchip { color: #8A2BE2; } /* Assembly purple */

/* New Icon Colors */
.tech-icon .fa-vuejs { color: #42b883; } /* Vue.js green */
.tech-icon .fa-lock { color: #4285F4; } /* OAuth blue */

/* Bouncing Animation */
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
  transform: translateY(0);
}
40% {
  transform: translateY(-30px);
}
60% {
  transform: translateY(-15px);
}
}

.tech-icon {
animation: bounce 5s infinite;
}

/* Additional styling for hover effect to enhance the bounce */
.tech-icon:hover {
animation: bounce 1s infinite;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  .bottom-navbar {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100vw - 40px);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }

  .bottom-navbar:hover {
    transform: translateX(-50%) translateY(-6px) scale(1.03);
    animation: navbarPulseMobile 2s ease-in-out infinite;
  }

  @keyframes navbarPulseMobile {
    0%, 100% { 
      transform: translateX(-50%) translateY(-6px) scale(1.03);
    }
    50% { 
      transform: translateX(-50%) translateY(-8px) scale(1.04);
    }
  }

  

  .bottom-navbar .navbar {
    padding: 8px 16px;
  }

  .bottom-navbar:hover .navbar {
    padding: 12px 20px;
  }

  .bottom-navbar .navbar ul {
    gap: 4px;
    justify-content: center;
  }

  .bottom-navbar:hover .navbar ul {
    gap: 6px;
  }

  .bottom-navbar .navbar li {
    margin: 0;
  }

  .bottom-navbar .nav-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .bottom-navbar .nav-link:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  }

  .bottom-navbar .nav-link:hover i {
    transform: translateY(-1px) scale(1.15);
  }

  

  .bottom-navbar .nav-link i {
    font-size: 1rem;
  }

  /* Mobile popup adjustments */
  .bottom-navbar .nav-link::before {
    bottom: 30px;
    font-size: 0.7rem;
    padding: 6px 10px;
    transform: translateX(-50%) translateY(15px) scale(0.8);
  }

  .bottom-navbar .nav-link::after {
    bottom: 22px;
    border-left-width: 5px;
    border-right-width: 5px;
    border-top-width: 5px;
    transform: translateX(-50%) translateY(15px) scale(0.8);
  }

  /* Mobile hover animations */
  .bottom-navbar .nav-link:hover::before {
    transform: translateX(-50%) translateY(-15px) scale(1);
  }

  .bottom-navbar .nav-link:hover::after {
    transform: translateX(-50%) translateY(-15px) scale(1);
  }

  body.index-page {
    padding-bottom: 0;
    padding-top: 0;
  }

  body:not(.index-page) {
    padding-bottom: 80px;
    padding-top: 0;
  }

  .portfolio-page header h1 {
    margin-top: 20px;
  }
}

/* Project Detail Page Styles */
.back-button {
  display: inline-flex;
  align-items: center;
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 5px;
  border: 1px solid rgba(255, 102, 0, 0.3);
  margin-bottom: 20px;
}

.back-button i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.back-button:hover {
  color: var(--primary-color);
  background-color: rgba(255, 102, 0, 0.05);
  transform: translateX(-5px);
}

.back-button:hover i {
  transform: translateX(-3px);
}

/* Back button styles */
.back-button {
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.back-button:hover {
  color: #ff6600;
  background-color: rgba(255, 102, 0, 0.05);
}

.project-sidebar {
  position: sticky;
  top: 80px;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-sidebar .card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
}

/* Project sidebar styles */
.project-sidebar {
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.project-sidebar .card {
  background-color: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.meta-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-color);
  font-family: 'Space Grotesk', sans-serif;
}

.meta-item:last-child {
  border-bottom: none;
}

.meta-item strong {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--primary-color);
}

.meta-item span {
  color: var(--text-color);
}

/* Meta item styles */
.meta-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.meta-item strong {
  color: #000;
}

.tech-badge {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 5px 5px 0;
  background-color: rgba(255, 102, 0, 0.1);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-color);
}

.tech-badge i {
  margin-right: 5px;
  color: var(--primary-color);
}

/* Tech badge styles */
.tech-badge {
  background-color: rgba(0, 0, 0, 0.08);
  color: #000;
}

.tech-badge i {
  color: #ff6600;
}

.project-description h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ff6600;;
  font-weight: bold;
  font-family: 'Space Grotesk', sans-serif;
}

.project-description p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-color);
}



/* Project sidebar heading styles */
.project-sidebar h4 {
  color: var(--text-color);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Project sidebar heading styles */
.project-sidebar h4 {
  color: #000;
}

@media (max-width: 768px) {
  .project-sidebar {
    position: static;
    margin-top: 30px;
  }
  
  .project-sidebar .animated-button {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* Ensure the w-100 class works properly for buttons */
.animated-button.w-100 {
  display: block;
  width: 100%;
  text-align: center;
}

/* Improve touch interactions for mobile devices */
@media (max-width: 768px) {
  .animated-button {
    touch-action: manipulation; /* Improves touch behavior */
    -webkit-tap-highlight-color: transparent; /* Removes tap highlight */
    padding: 15px 25px; /* Larger touch target */
  }
  
  /* Add specific styles for touch devices */
  .touch-device .animated-button {
    transition: transform 0.3s ease; /* Add transform transition */
  }
  
  .touch-device .animated-button:active {
    transform: scale(0.95); /* Visual feedback on touch */
  }
}

/* Technical Achievements list styling */
.technical-achievements-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.technical-achievements-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  line-height: 1.5;
  color: var(--text-color);
  font-family: 'Space Grotesk', sans-serif;
}

.technical-achievements-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.technical-achievements-list li:hover {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

/* Technical achievements styles */
.technical-achievements-list li:before {
  color: #ff6600;
}

/* Scroll Reveal Animation */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delay animation for children elements */
.reveal .delay-1 { transition-delay: 0.2s; }
.reveal .delay-2 { transition-delay: 0.4s; }
.reveal .delay-3 { transition-delay: 0.6s; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  /* Add other heading styles as needed */
}

/* Layout */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s, background-color 0.3s, border 0.3s;
  font-family: 'Space Grotesk', sans-serif;
}

.card:hover {
  transform: translateY(-5px);
}

/* Card styles */
.card {
  background-color: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
  background-color: rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* ML Projects Page Styles */
.ml-projects-page {
  background-color: var(--background-color);
  min-height: 100vh;
  padding: 40px 0;
}

.ml-projects-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: var(--text-color);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.ml-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  padding: 0 20px;
  margin-bottom: 80px;
}

.ml-project-card {
  background: rgb(78, 82, 68);
  border: 3px solid #ffffff;
  border-radius: 20px;
  padding: 40px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.ml-project-card .project-number {
  position: absolute;
  top: 20px;
  left: 40px;
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.25;
  font-family: 'Space Grotesk', sans-serif;
  z-index: 1;
  transition: all 0.3s ease;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ml-project-card:hover .project-number {
  opacity: 0.35;
}

.ml-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: #ffffff;
}

.ml-project-card.coming-soon {
  opacity: 0.7;
  background: rgba(78, 82, 68, 0.6);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.project-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
}

.project-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.project-category {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.project-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.6;
}

.project-content {
  color: #ffffff;
}

.project-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.project-description {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 25px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Space Grotesk', sans-serif;
}

.feature-item i {
  color: #ffffff;
  font-size: 1rem;
}

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

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-link.primary {
  background: rgb(78, 82, 68);
  color: #ffffff;
  border: 2px solid rgb(78, 82, 68);
}

.project-link.primary:hover {
  background: rgb(205, 125, 85);
  color: #ffffff;
  border-color: rgb(205, 125, 85);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.project-link.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.project-link.secondary:hover {
  background: #ffffff;
  color: rgb(78, 82, 68);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.project-link.disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
}

.project-link.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Skills Section */
.ml-skills-section {
  padding: 0 20px;
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.skill-category {
  background: rgba(78, 82, 68, 0.05);
  border: 2px solid rgba(78, 82, 68, 0.1);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
}

.skill-category:hover {
  border-color: rgba(78, 82, 68, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: rgb(78, 82, 68);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: rgb(205, 125, 85);
  transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .ml-projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }
  
  .ml-project-card {
    padding: 30px 25px;
  }
  
  .project-title {
    font-size: 1.5rem;
  }
  
  .project-features {
    grid-template-columns: 1fr;
  }
  
  .project-actions {
    flex-direction: column;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .skill-category {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .ml-projects-header {
    margin-bottom: 40px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .ml-project-card {
    padding: 25px 20px;
  }
  
  .project-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .project-meta {
    align-items: flex-start;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* One-Page Landing Layout Styles */
.landing-container {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--background-color);
  padding: 40px 20px;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-text {
  margin-bottom: 60px;
}

.hero-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
  text-transform: none;
  letter-spacing: 1px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-title {
  margin-bottom: 30px;
}

.hero-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5.5rem;
  font-weight: 800;
  color: var(--text-color);
  line-height: 0.85;
  display: block;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.hero-surname {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5.5rem;
  font-weight: 800;
  color: rgb(205, 125, 85);
  line-height: 0.85;
  display: block;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-separator {
  color: rgb(205, 125, 85);
  font-size: 1.5rem;
  font-weight: 300;
}

.hero-description {
  max-width: 700px;
  margin: 0 auto;
}

.hero-description p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.85;
  margin: 0 0 25px 0;
  text-align: center;
  font-weight: 400;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

.hero-academic-highlight {
  max-width: 700px;
  margin: 40px auto 0;
  padding: 30px;
  background: rgba(78, 82, 68, 0.05);
  border: 2px solid rgba(78, 82, 68, 0.1);
  position: relative;
}

.hero-academic-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: rgb(205, 125, 85);
}

.hero-academic-highlight .highlight-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgb(205, 125, 85);
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-academic-highlight p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
  margin: 0;
  text-align: left;
}

.hero-academic-highlight strong {
  color: rgb(205, 125, 85);
  font-weight: 700;
}

.hero-experience-highlight {
  max-width: 700px;
  margin: 30px auto 0;
  padding: 30px;
  background: rgba(205, 125, 85, 0.05);
  border: 2px solid rgba(205, 125, 85, 0.1);
  position: relative;
}

.hero-experience-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--text-color);
}

.hero-experience-highlight .highlight-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-experience-highlight p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
  margin: 0;
  text-align: left;
}

.hero-experience-highlight strong {
  color: var(--text-color);
  font-weight: 700;
}

.experience-link {
  color: rgb(205, 125, 85);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(205, 125, 85, 0.3);
  transition: all 0.3s ease;
}

.experience-link:hover {
  color: var(--text-color);
  border-bottom-color: var(--text-color);
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 0;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 3px solid;
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background: var(--text-color);
  color: var(--background-color);
  border-color: var(--text-color);
}

.cta-button.primary:hover {
  background: rgb(205, 125, 85);
  border-color: rgb(205, 125, 85);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-button.secondary {
  background: transparent;
  color: var(--text-color);
  border-color: var(--text-color);
}

.cta-button.secondary:hover {
  background: var(--text-color);
  color: var(--background-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Parallax Background */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.bg-layer {
  position: absolute;
  width: 120%;
  height: 120%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(78, 82, 68, 0.03) 2px,
    rgba(78, 82, 68, 0.03) 4px
  );
  animation: parallaxMove 20s linear infinite;
}

.layer-1 {
  top: -10%;
  left: -10%;
  animation-duration: 25s;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(78, 82, 68, 0.02) 3px,
    rgba(78, 82, 68, 0.02) 6px
  );
}

.layer-2 {
  top: -10%;
  left: -10%;
  animation-duration: 30s;
  animation-direction: reverse;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 4px,
    rgba(205, 125, 85, 0.02) 4px,
    rgba(205, 125, 85, 0.02) 8px
  );
}

.layer-3 {
  top: -10%;
  left: -10%;
  animation-duration: 35s;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 5px,
    rgba(78, 82, 68, 0.01) 5px,
    rgba(78, 82, 68, 0.01) 10px
  );
}

@keyframes parallaxMove {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-20px) translateY(-20px); }
}

/* Landing Page Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.skill-category.animate-in {
  animation: scaleIn 0.6s ease-out forwards;
}

.project-card.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.contact-item.animate-in {
  animation: fadeInLeft 0.6s ease-out forwards;
}

.social-link.animate-in {
  animation: fadeInRight 0.6s ease-out forwards;
}

/* Initial state for animated elements */
.skills-section,
.projects-section,
.contact-section {
  opacity: 0;
  transform: translateY(30px);
}

.skill-category,
.project-card,
.contact-item,
.social-link {
  opacity: 0;
  transform: translateY(20px);
}

/* Highlights Section */
.highlights-section {
  padding: 80px 20px;
  background: var(--background-color);
  position: relative;
}

.highlights-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.highlight-card {
  padding: 40px;
  border: 3px solid var(--text-color);
  position: relative;
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.highlight-card.academic {
  background: rgba(78, 82, 68, 0.02);
  border-color: rgb(205, 125, 85);
}

.highlight-card.experience {
  background: rgba(205, 125, 85, 0.02);
  border-color: var(--text-color);
}

.highlight-card .highlight-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.highlight-card.academic .highlight-title {
  color: rgb(205, 125, 85);
}

.highlight-card.experience .highlight-title {
  color: var(--text-color);
}

.highlight-card p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

.highlight-card strong {
  font-weight: 700;
}

.highlight-card.academic strong {
  color: rgb(205, 125, 85);
}

.highlight-card.experience strong {
  color: var(--text-color);
}

.experience-link {
  color: rgb(205, 125, 85);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(205, 125, 85, 0.3);
  transition: all 0.3s ease;
}

.experience-link:hover {
  color: var(--text-color);
  border-bottom-color: var(--text-color);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
}

.section-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.email-link:hover {
  color: rgb(205, 125, 85);
  text-decoration: underline;
}

.email-link i {
  font-size: 1.1rem;
}

.linkedin-icon-link {
  display: inline-block;
  color: #0077b5;
  font-size: 1.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.linkedin-icon-link:hover {
  color: rgb(205, 125, 85);
  transform: scale(1.1);
}

/* Skills Section */
.skills-section {
  padding: 100px 20px;
  background: rgba(78, 82, 68, 0.02);
  position: relative;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-category {
  background: var(--background-color);
  border: 3px solid var(--text-color);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-category:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgb(205, 125, 85);
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(205, 125, 85, 0.1), transparent);
  transition: left 0.5s ease;
}

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

.skill-icon {
  width: 80px;
  height: 80px;
  background: rgb(205, 125, 85);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.skill-category:hover .skill-icon {
  transform: rotate(5deg) scale(1.1);
}

.skill-category h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.skill-tag {
  background: var(--text-color);
  color: var(--background-color);
  padding: 8px 16px;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: rgb(205, 125, 85);
  transform: translateY(-2px);
}

/* Projects Section */
.projects-section {
  padding: 100px 20px;
  background: var(--background-color);
  position: relative;
}

/* Project Category Sections */
.project-category-section {
  margin-bottom: 80px;
  padding-top: 20px;
}

.project-category-section:first-of-type {
  padding-top: 40px;
}

.project-category-section:last-of-type {
  margin-bottom: 40px;
}

.project-category-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: rgb(78, 82, 68);
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.project-category-title::before,
.project-category-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgb(78, 82, 68), transparent);
}

.project-category-title i {
  color: rgb(205, 125, 85);
  font-size: 1.3rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.project-card {
  background: rgb(78, 82, 68);
  border: 3px solid #ffffff;
  padding: 40px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: rgb(205, 125, 85);
}

.project-card .project-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.2;
  font-family: 'Space Grotesk', sans-serif;
  z-index: 1;
}

.project-card:hover .project-number {
  opacity: 0.4;
}

.project-content {
  color: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-category {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgb(205, 125, 85);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.project-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.project-description {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-color);
  margin-bottom: 20px;
  flex: 1;
}

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

.tech-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  background: rgb(78, 82, 68);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  align-self: flex-start;
  padding: 12px 24px;
  border-radius: 30px;
  border: 2px solid rgb(78, 82, 68);
}

.project-link:hover {
  background: rgb(205, 125, 85);
  color: #ffffff;
  border-color: rgb(205, 125, 85);
  transform: translateX(5px);
}

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

/* Contact Section */
.contact-section {
  padding: 60px 20px;
  background: rgba(78, 82, 68, 0.05);
  position: relative;
}

.contact-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: var(--background-color);
  border: 3px solid var(--text-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
  border-color: rgb(205, 125, 85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgb(205, 125, 85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  flex-shrink: 0;
}

.contact-details h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-details p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--text-color);
  opacity: 0.8;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: var(--background-color);
  border: 3px solid var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-link:hover {
  background: var(--text-color);
  color: var(--background-color);
  transform: translateX(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.social-link i {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 900px;
  }
  
  .hero-name,
  .hero-surname {
    font-size: 5rem;
  }
  
  .highlights-container {
    gap: 35px;
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 40px 20px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-label {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .hero-name,
  .hero-surname {
    font-size: 4rem;
  }
  
  .hero-description {
    max-width: 100%;
  }
  
  .hero-description p {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .section-subtitle {
    flex-direction: column;
    gap: 15px;
  }
  
  .email-link {
    justify-content: center;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .highlights-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .highlight-card {
    padding: 30px 25px;
  }
  
  .contact-item {
    padding: 20px;
  }
  
  .social-links {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 20px 15px;
  }
  
  .hero-name,
  .hero-surname {
    font-size: 3rem;
  }
  
  .hero-description p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  
  .hero-actions {
    gap: 12px;
  }
  
  .cta-button {
    padding: 15px 25px;
    font-size: 0.9rem;
  }
  
  .highlights-section {
    padding: 50px 15px;
  }
  
  .highlight-card {
    padding: 25px 20px;
  }
  
  .highlight-card .highlight-title {
    font-size: 1rem;
  }
  
  .highlight-card p {
    font-size: 0.95rem;
  }
  
  .skills-section,
  .projects-section,
  .contact-section {
    padding: 50px 15px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .project-card {
    padding: 25px 20px;
  }
  
  .project-category-title {
    font-size: 1.2rem;
    margin-bottom: 30px;
    flex-direction: column;
    gap: 8px;
  }
  
  .project-category-title::before,
  .project-category-title::after {
    display: none;
  }
  
  .project-category-section {
    margin-bottom: 60px;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px 15px;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .social-link {
    padding: 15px 20px;
    font-size: 0.9rem;
  }
}

/* Additional responsive improvements */
@media (max-width: 360px) {
  .hero-name,
  .hero-surname {
    font-size: 2.5rem;
  }
  
  .hero-description p {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .highlight-card {
    padding: 20px 15px;
  }
  
  .project-card {
    padding: 20px 15px;
  }
  
  .contact-item {
    padding: 15px 10px;
  }
}

/* Ensure proper viewport handling */
.landing-container {
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

/* Fix any potential horizontal scrolling issues */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}


/* Header Styles */
.header {
  background: linear-gradient(180deg, #1a1a1a, #333333);
  padding: 20px;
}

.profile-img img {
  border-radius: 50%;
  max-width: 150px;
  margin: 0 auto;
  display: block;
}

.sitename {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  margin-top: 15px;
}

.social-links a {
  color: #fff;
  font-size: 1.2rem;
  margin: 0 10px;
}

/* Remove old navbar styling */
.navmenu {
  overflow-x: hidden;
}

.navmenu ul {
  list-style: none;
  padding: 0;
}

.navmenu ul li a {
  color: #fff;
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: color 0.3s;
}

.navmenu ul li a:hover,
.navmenu ul li a.active {
  color: var(--secondary-color);
}

.navmenu ul li a i {
  margin-right: 10px;
}

/* Hero Section */



/* Full-page Photos Gallery Layout */
.photos-page {
  margin: 0;
  padding: 0;
}

.photos-page body {
  padding-top: 0 !important; /* Remove navbar padding */
}

.photos-page .main {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.photos-page .container {
  max-width: 100% !important;
  margin: 0;
  padding: 0;
}

.back-to-portfolio {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
}

.back-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-link:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-link i {
  margin-right: 8px;
  font-size: 1.1rem;
}

.photos-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 0; /* No gaps */
  min-height: 100vh;
}

.photo-item {
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  background-color: var(--background-color);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 20px 20px;
}

.photo-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
}

.photo-description {
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Space Grotesk', sans-serif;
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  background: linear-gradient(135deg, var(--card-bg), var(--background-color));
  border: 2px dashed var(--card-border);
}

.photo-placeholder i {
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.5;
}

/* Mobile responsiveness for photos */
@media (max-width: 768px) {
  .photos-gallery {
    grid-template-columns: 1fr;
  }
  
  .photo-item {
    min-height: 40vh;
  }
  
  .back-to-portfolio {
    top: 15px;
    left: 15px;
  }
  
  .back-link {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .photo-item {
    min-height: 35vh;
  }
  
  .photo-overlay {
    padding: 20px 15px 15px;
  }
  
  .photo-title {
    font-size: 1.3rem;
  }
  
  .photo-description {
    font-size: 0.9rem;
  }
  
  .back-link {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  .back-link i {
    margin-right: 5px;
  }
}

