/* Base Styles and Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --primary-light: #4F46E5;
    --secondary-light: #EC4899;
    --accent-light: #059669;
    --light: #FFFFFF;
    --dark: #1F2937;
    --background-light: #e8f0f8eb;
    --text-light: #111827;
    --primary-rgb: 79, 70, 229;
    --accent-rgb: 5, 150, 105;
    
    --primary-dark: #6C63FF;
    --secondary-dark: #FF6584;
    --accent-dark: #00F5A0;
    --background-dark: #0B1218;
    --text-dark: #FFFFFF;
    
    /* Default light theme variables */
    --primary: var(--primary-light);
    --secondary: var(--secondary-light);
    --accent: var(--accent-light);
    --background: var(--background-light);
    --text: var(--text-light);
    --gradient: var(--primary-light);
    --dot-color: rgba(0, 0, 0, 0.1);
    --icon-opacity: 0.6;
    --status-bg: rgba(255, 255, 255, 0.2);
    --status-border: rgba(0, 0, 0, 0.1);
    --location-bg: rgba(236, 72, 153, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --glow-opacity-1: 0.2;
    --glow-opacity-2: 0.15;
  }
  
  
  html[data-theme="dark"] {
    --primary: var(--primary-dark);
    --secondary: var(--secondary-dark);
    --accent: var(--accent-dark);
    --background: var(--background-dark);
    --text: var(--text-dark);
    --gradient: var(--primary-dark);
    --dot-color: rgba(255, 255, 255, 0.1);
    --icon-opacity: 0.6;
    --status-bg: rgba(0, 0, 0, 0.2);
    --status-border: rgba(255, 255, 255, 0.1);
    --location-bg: rgba(255, 101, 132, 0.1);
    --shadow-color: rgba(0, 0, 0, 0);
    --glow-opacity-1: 0.4;
    --glow-opacity-2: 0.3;
  }
  
  body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    /* Fix the background expression - it was using JavaScript-like syntax */
    background: var(--background); /* Replace the complex expression with this */
    overflow-x: hidden;
    min-height: 100vh;
    cursor: default;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* Container styles */
  .container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
  }
  
  /* Background Elements */
  .bg-dots {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--dot-color) 1px, transparent 0);
    background-size: 20px 20px;
    z-index: -1;
    transition: background-image 0.3s ease;
  }
  
  .bg-glow {
    position: fixed;
    top: 20%;
    left: 55%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 70, 229, var(--glow-opacity-1)) 0%, rgba(79, 70, 229, 0) 70%);
    z-index: -1;
    filter: blur(50px);
    transition: background 0.3s ease;
  }
  
  .bg-glow-2 {
    position: fixed;
    top: 60%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(5, 150, 105, var(--glow-opacity-2)) 0%, rgba(5, 150, 105, 0) 70%);
    z-index: -1;
    filter: blur(30px);
    transition: background 0.3s ease;
  }
  
  .bg-glow-3 {
    position: fixed;
    bottom: 30%;
    right: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(236, 72, 153, 0) 70%);
    z-index: -1;
    filter: blur(40px);
    transition: background 0.3s ease;
  }
  
  
  
  
  /* Header Styles */
  header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    position: relative;
    z-index: 10;
  }
  
/* Updated logo styling with no glow */
.logo {
  position: relative;
  transition: all 0.3s ease;
}

.svg-logo {
  height: 38px;
  width: auto;
  transition: all 0.3s ease;
}

/* Remove the underline */
.logo::after {
  display: none;
}

/* Light/dark mode logo display control */
.light-logo {
  display: block;
}

.dark-logo {
  display: none;
}

html[data-theme="dark"] .light-logo {
  display: none;
}

html[data-theme="dark"] .dark-logo {
  display: block;
}

/* Simple hover effect - just pop up and scale */
.logo:hover {
  transform: translateY(-3px) scale(1.05);
}
  
  nav {
    display: flex;
    gap: 40px;
    align-items: center;
  }
  
  .nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.8;
  }
  
  .nav-link:hover {
    color: var(--primary);
    opacity: 1;
  }
  
  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transition: background 0.3s ease;
  }
  
  .cta-button {
    background: var(--gradient);
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
  }
  
  .cta-button:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.15);
  }
  
  
  /* Theme Toggle Button */
  .theme-toggle {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0.8;
  }
  
  .theme-toggle:hover {
    opacity: 1;
    background-color: rgba(var(--primary-rgb), 0.1);
  }
  
  .theme-toggle .light-icon {
    display: block;
  }
  
  .theme-toggle .dark-icon {
    display: none;
  }
  
  html[data-theme="dark"] .theme-toggle .light-icon {
    display: none;
  }
  
  html[data-theme="dark"] .theme-toggle .dark-icon {
    display: block;
  }
  
  
  /* Hero Section Styles */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    z-index: 5;
    min-height: 80vh;
  }
  
  .hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 60px;
  }
  
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
  }
  
  .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-image {
    position: relative;
    overflow: hidden;
  }
  
  .hero-image img {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    display: block;
  }
  
  
  @media (max-width: 768px) {
    .hero-content {
      flex-direction: column;
      gap: 40px;
    }
    
    .hero-text {
      order: 1;
    }
    
    .hero-image {
      order: 2;
    }
    
    .hero-image img {
      max-height: 300px;
    }
    
    .title {
      font-size: 16px;
      margin-bottom: 15px;
    }
    
    .location {
      font-size: 14px;
      margin-bottom: 30px;
    }
  }
  
  .status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    background-color: var(--status-bg);
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--status-border);
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: background-color 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
  }
  
  .status-dot {
    width: 15px;
    height: 15px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    transition: background-color 0.3s ease;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(0.65);
      box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    
    50% {
      transform: scale(1);
      box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    
    100% {
      transform: scale(0.65);
      box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
  }
  
  .status-text {
    font-size: 15px;
    letter-spacing: 0px;
    color: var(--text);
    transition: color 0.3s ease;
  }
  
  .name-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
  }
  
  .name {
    font-size: 100px;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.1;
    position: relative;
    transition: color 0.3s ease;
    text-align: left;
  }
  
  .title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.5;
    opacity: 0.9;
    transition: color 0.3s ease;
    text-align: left;
    font-weight: 400;
    font-family: 'Space Grotesk', sans-serif;
  }
  
  .location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    padding: 0;
    color: var(--text);
    opacity: 0.8;
    transition: color 0.3s ease;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Space Grotesk', sans-serif;
  }
  
  .location-icon {
    color: var(--secondary);
    transition: color 0.3s ease;
    font-size: 14px;
    opacity: 0.9;
  }
  
  .explore {
    margin-top: 150px;
    text-align: center;
    position: relative;
  }

  .explore-text {
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color 0.3s ease;
  }

  .down-arrow {
    width: 50px;
    height: 50px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.3));
    transition: filter 0.3s ease;
    margin-bottom: 75px;
  }
  
  .down-arrow path {
    fill: var(--primary);
    transition: fill 0.3s ease;
  }
  
  @keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0px);
    }
  }

  .curved-text-container {
    width: 100%;
    margin: 20px 0 40px;
    overflow: hidden;
    position: relative;
  }
  
  .curved-text-svg {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .path-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(44px, 10vw, 44px); /* Responsive font size */
    font-weight: 800;
    fill: var(--text);
    white-space: nowrap; /* Prevents squeezing */
    opacity: 100%;
  }
  
  #textPath {
    stroke: transparent;
  }

  
  /* Project Showcase Styles */

  .project-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.8) !important; /* Light background with transparency */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(79, 70, 229, 0.2) !important; /* Subtle border */
    border-radius: 0; /* Add rounded corners to match image */
    overflow: hidden; /* Ensure content respects border radius */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }
  
  html[data-theme="dark"] .project-card {
    background-color: rgba(30, 32, 46, 0.8) !important; /* Dark theme background */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(79, 70, 229, 0.1) !important;
  }
  
  html[data-theme="dark"] .project-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  }

  .project-showcase {
    padding: 5px 0 120px 0;
    background-color: transparent; /* Change from var(--background) to transparent */
    position: relative; /* Add this */
    z-index: 1; /* Add this to ensure content appears above background elements */
  }
  
  .showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .showcase-heading {
    text-align: center;
    margin-bottom: 50px;
    font-size: 50px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .showcase-subheading {
    font-size: 18px;
    font-weight: normal;
    color: var(--primary);
    margin-bottom: 10px;
    margin-top: 0
  }
  
  .showcase-warning {
    background-color: rgba(var(--primary-rgb), 0.05);
    border-radius: 0; /* Rounded corners matching other elements */
    padding: 25px 30px;
    margin: 0 auto 60px;
    max-width: 900px;
    display: flex;
    align-items: center;
    gap: 25px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.1); /* Subtle border */
  }

  html[data-theme="dark"] .showcase-warning {
    background-color: rgba(30, 32, 46, 0.153) !important;
  }
  
  .warning-icon-container {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .warning-icon {
    color: white;
    font-size: 20px;
  }
  
  .showcase-warning p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    opacity: 0.9;
  }
  
  
  /* Responsive adjustment */
  @media (max-width: 768px) {
    .showcase-warning {
      flex-direction: column;
      text-align: center;
      padding: 25px 20px;
      gap: 15px;
    }
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  
  /* This duplicate rule is now handled above with theme-specific styles */
  
  .project-card a {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  
  .project-placeholder {
    height: 250px;
    background-color: var(--background);
    background-image: linear-gradient(45deg, var(--primary-light), var(--accent-light));
    opacity: 0.7;
  }
  
  .project-title {
    padding: 20px 20px 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    text-align: left;
  }
  
  .project-description {
    padding: 0 20px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    opacity: 0.8;
    text-align: left;
  }
  
  .project-locked {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
  }

  .project-locked:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  }

  @media (max-width: 992px) {
    header #resumeBtn {
    display: none !important;
    }
    .project-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
  }
  
  @media (max-width: 768px) {
    .project-grid {
      grid-template-columns: 1fr; /* 1 column on small screens */
    }
  }
  
  /* Leadership Section Styles */
  .leadership-section {
    padding: 10px 0;
    position: relative;
    background-color: transparent; /* Change from var(--background) to transparent */
    z-index: 1;
  }
  
  .leadership-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .leadership-heading {
    text-align: center;
    margin-bottom: 80px;
    font-size: 50px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .leadership-subheading {
    font-size: 18px;
    font-weight: normal;
    color: var(--primary);
    margin-bottom: 10px;
  }
  
  .leadership-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  
  .leadership-item {
    display: flex;
    gap: 40px;
    align-items: center;
  }
  
  .leadership-item.reverse {
    flex-direction: row-reverse;
    text-align: left;
  }
  
  .media-box {
    flex: 1;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  html[data-theme="dark"] .media-box {
    background-color: rgba(30, 32, 46, 0.8);
  }
  
  .media-placeholder {
    width: 1000%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.3), rgba(236, 72, 153, 0.3));
    position: relative;
    overflow: hidden;
  }
  
  .media-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
  }

  .media-content {
    width: 100%;
    height: auto;
    object-fit: contain; /* This prevents cropping */
    max-height: 100%;
    display: block;
  }
  
  .text-box {
    flex: 1;
    padding: 20px 0;
  }
  
  .text-box p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text);
    opacity: 0.9;
  }

  @media (max-width: 768px) {
    .media-box {
      height: auto;
      max-height: 400px;
      padding: 10px 0;
    }
  }
  
  /* Complete rewrite of journey section CSS */
.journey-section {
  padding: 80px 0 240px 0;
  position: relative;
}

.journey-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.journey-heading {
  font-size: 80px;
  text-align: center;
  margin-bottom: 60px;
  font-size: 50px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
}

.journey-subheading {
  display: block;
  font-size: 18px;
  font-weight: normal;
  color: var(--primary);
  margin-bottom: 10px;
}

/* Main content layout */
.journey-content {
  display: flex;
  flex-direction: row; /* Force horizontal layout */
  gap: 50px;
  width: 100%;
}

/* Left column */
.journey-text {
  flex: 1;
  max-width: 50%;
  display: flex;
  align-items: center;
}

.journey-paragraphs {
  margin-bottom: 40px;
  text-align: left;
}

.journey-paragraphs p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
}

/* Right column with statistics */
.journey-stats-container {
  flex: 1;
  max-width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Metrics styling */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.metric-card {
  background-color: rgba(var(--primary-rgb), 0.05);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
}

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

/* Inline metrics */
.metric-value {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 15px;
}

.metric-number {
  font-size: 64px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  line-height: 1;
}

.metric-symbol {
  font-size: 32px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  margin-left: 2px;
  line-height: 1.5;
}

.metric-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.metric-description {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.8;
}

/* Mobile responsiveness */
@media (max-width: 992px) {
  .journey-content {
    flex-direction: column;
  }
  
  .journey-text,
  .journey-stats-container {
    max-width: 100%;
  }
  
  .journey-stats-container {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}


/* Skills Section Styles */
.skills-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.skills-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.skills-container .skills-heading {
  text-align: center !important;
  margin-bottom: 60px;
  font-size: 50px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skills-container .skills-subheading {
  font-size: 18px;
  font-weight: normal;
  color: var(--primary);
  margin-bottom: 10px;
  text-align: center !important;
}

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

.skills-category {
  background-color: rgba(var(--primary-rgb), 0.05);
  border-radius: 15px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.skills-category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
}

.skills-category-header i {
  font-size: 24px;
  color: var(--primary);
  width: 50px;
  height: 50px;
  background-color: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.skills-category-header h3 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

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

.skill-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

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

.skill-icon {
  width: 35px;
  height: 35px;
  background-color: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.skill-name {
  font-size: 16px;
  color: var(--text);
  text-align: left;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-container .skills-heading {
    font-size: 40px;
    text-align: center !important;
  }
}
  
/* Footer Section */
.footer {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--accent-rgb), 0.03) 100%);
  padding: 100px 0 80px;
  position: relative;
  width: 100%;
  margin: 0;
  transition: background 0.3s ease;
    border-radius: 0;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.footer-left {
  flex: 1;
}

.footer-right {
  flex-shrink: 0;
}

.footer-heading {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  letter-spacing: 2px;
  text-align: left;
  display: block;
}

.footer-email {
  display: block;
  font-size: 32px;
  color: var(--primary);
  transition: color 0.3s ease;
  text-decoration: none;
  font-weight: 500;
  text-align: left;
}

.footer-email:hover {
  color: var(--accent);
}

.footer-cta-button {
  background: var(--gradient);
  color: #FFFFFF;
  border: none;
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  display: inline-block;
}

.footer-cta-button:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.15);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  padding-top: 40px;
}

.footer-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}

.footer-title {
  font-size: 16px;
  color: var(--text);
  opacity: 0.7;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .footer-heading {
    text-align: center;
    font-size: 40px;
  }
  
  .footer-email {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 80px 0 60px;
    border-radius: 0;
  }
  
  .footer-heading {
    font-size: 36px;
    letter-spacing: 1px;
  }
  
  .footer-email {
    font-size: 24px;
  }
  
  .footer-cta-button {
    padding: 15px 30px;
    font-size: 15px;
  }
}


  
  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
  }
  
  .modal-content {
    background-color: var(--background);
    padding: 30px;
    border-radius: 0;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text);
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  
  .close-modal:hover {
    opacity: 1;
  }
  
  .modal h2 {
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--text);
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 0;
    background-color: transparent;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    transition: border 0.3s ease;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
  }
  
  
  /* Responsive adjustments */
  @media (max-width: 1200px) {
    .name {
      font-size: 90px;
    }
    
    .accessibility-controls {
      right: 20px;
    }
    
    .project-grid {
      gap: 30px;
    }
  }
  
  @media (max-width: 900px) {
    header {
        display: flex;
        justify-content: space-between;
        padding: 15px 20px;
    }

    header .logo {
        position: relative;
        left: 0;
        margin-right: auto;
      }

      header nav {
        display: flex;
        gap: 20px;
        align-items: center;
      }
    
    nav {
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .leadership-item,
    .leadership-item.reverse {
      flex-direction: column;
    }
    
    .media-box {
      width: 100%;
      height: 300px;
    }
    
    .leadership-heading,
    .journey-heading,
    .showcase-heading {
      font-size: 40px;
    }
    
    .leadership-content {
      gap: 60px;
    }

    /* Container structure */
  .journey-section {
    padding: 80px 0 60px;
  }
  
  .journey-content {
    display: flex;
    flex-direction: column;
  }
  
  /* 1. Heading first */
  .journey-heading {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    order: 1;
  }
  
  /* 2. Statistics second */
  .journey-stats-container {
    width: 100%;
    order: 2;
    margin-bottom: 40px;
  }
  
  /* 3. Text third */
  .journey-text {
    max-width: 100%;
    order: 3;
  }
  
  /* Text styling */
  .journey-paragraphs {
    text-align: left;
  }
  
  .journey-paragraphs p {
    margin-bottom: 20px;
  }
}
    
    .footer-top,
    .footer-bottom {
      flex-direction: column;
      text-align: center;
      gap: 20px;
    }
  
  
  @media (max-width: 768px) {
    .name {
      font-size: 60px;
    }
    
    header {
      padding: 12px 15px;
    }

    header .logo {
        font-size: 30px;
      }
    
      
    .accessibility-controls {
      right: 15px;
      margin-top: 300px;
    }
    
    .control-btn {
      width: 40px;
      height: 40px;
      font-size: 16px;
    }
    
    .project-grid {
      grid-template-columns: 1fr;
    }
    
    .showcase-heading {
      font-size: 36px;
    }
    
    .project-title {
      text-align: left;
      font-size: 16px;
    }

  }
    
    .footer-nav {
      flex-wrap: wrap;
      justify-content: center;
    }
  
  
  /* For project pages */
  .project-header {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .project-header-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
  }
  
  .project-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
  }
  
  .project-header p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
  }
  
  .project-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
  }
  
  .project-section {
    margin-bottom: 60px;
  }
  
  .project-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
  }
  
  .project-section p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text);
  }
  
  .project-image {
    width: 100%;
    height: 250px;
    object-fit: cover; /* This is key - maintains aspect ratio */
    object-position: center; /* Centers the image */
    border-radius: 0; /* Rounds top corners to match card */
    transition: transform 0.3s ease;
  }
  
  .back-to-projects {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 40px;
    transition: color 0.3s ease;
  }
  
  .back-to-projects:hover {
    color: var(--accent);
  }
  
  /* Password Protection Modal */
  .password-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
  }
  
  .password-content {
    background-color: var(--background);
    padding: 40px;
    border-radius: 0;
    width: 90%;
    max-width: 400px;
    text-align: center;
  }
  
  .password-content h2 {
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
  }
  
  .password-content p {
    margin-bottom: 30px;
    font-size: 16px;
    color: var(--text);
    opacity: 0.8;
  }
  
  .password-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 0;
    background-color: transparent;
    color: var(--text);
    font-size: 16px;
  }
  
  .password-input:focus {
    outline: none;
    border-color: var(--primary);
  }
  
  .password-error {
    color: #ff3333;
    margin-top: 10px;
    font-size: 14px;
    display: none;
  }
  
  /* Project Navigation */
  .project-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
  }
  
  .project-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
  }
  
  .project-nav-link:hover {
    color: var(--accent-light);
    opacity: 1;
  }
  
  .project-nav-link.prev {
    margin-right: auto;
  }
  
  .project-nav-link.next {
    margin-left: auto;
    flex-direction: row-reverse;
  }
