/* Update the section spacing */
.section {
  padding: 60px 20px;
  min-height: auto;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
  margin-bottom: 40px;
  border-radius: 20px; /* Add curved corners to all sections */
}

/* Add consistent spacing for section headers */
.section-header {
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-underline {
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Adjust container spacing */
.cards,
.skills-container,
.experience-container,
.education-container,
.contact-container {
  margin-top: 30px; /* Reduced from default spacing */
}

/* Adjust hero section specific spacing */
.hero {
  padding: 80px 20px 80px; /* Further reduced top padding */
  min-height: calc(100vh - 60px);
  position: relative;
  text-align: center;
  color: white;
  border-radius: 0 0 30px 30px;
  margin-top: 30px; /* Further reduced margin-top */
  background-image: url('../../assets/background.png'); /* Updated path to image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Adjust the last section to prevent extra space at bottom */
.section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 40px;
}

/* Add smooth transition between sections */
.section + .section {
  border-top: 1px solid rgba(var(--border-color), 0.1);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Remove video-background class since we're using direct background image */
.video-background {
  display: none;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0; /* Changed to 0 to not interfere with content */
  border-radius: 0 0 30px 30px;
}

/* Ensure content is above overlay */
.hero h1,
.hero p,
.hero .terminal-container {
  position: relative;
  z-index: 1;
}

/* Adjust the terminal container in hero section */
.hero .terminal-container {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Add container for better section spacing */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* Ensure proper spacing between sections */
#about {
  margin-top: 0; /* Remove margin for first section */
  padding-top: 80px; /* Add padding to account for fixed navbar */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 120px 15px 60px;
  }
  
  .section {
    padding: 40px 20px;
    border-radius: 15px;
  }

  .typewriter {
    font-size: 1.8em;
    white-space: normal;
    overflow: visible;
    padding: 0 10px;
  }

  .tagline {
    font-size: 1em;
    padding: 0 15px;
  }

  .tagline-container {
    padding: 0 10px;
  }

  .hero .terminal-container {
    width: 95%;
    margin: 30px auto;
  }
}

@media (max-width: 480px) {
  .typewriter {
    font-size: 1.5em;
    line-height: 1.3;
  }

  .tagline {
    font-size: 0.9em;
    line-height: 1.4;
  }
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid white;
}

.typewriter {
  font-size: 2.5em;
  white-space: nowrap;
  overflow: hidden;

  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  /* Bright white to cyan gradient */
  background: #ffffff;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tagline styling */
.tagline-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.tagline {
  font-size: 1.2em;
  margin: 5px 0;
  line-height: 1.5;

  font-weight: 400;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
  /* Light mint to white gradient */
  background: #ffffff;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Backend and Cloud Simulation Section */
.simulation-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.terminal, .api-simulation {
  background: var(--secondary-color);
  border-radius: 8px;
  padding: 15px;
  width: 45%;
  min-width: 300px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.log-output, .api-response {
  background: rgba(0, 0, 0, 0.05);
  padding: 10px;
  border-radius: 5px;
  font-family: monospace;
  height: 150px;
  overflow-y: auto;
}

/* Alternative gradients you can try (just replace the background property above):

Option 2 - Teal to Cyan:
background: linear-gradient(120deg, #00F5A0, #00D9F5);

Option 3 - Arctic Aurora:
background: linear-gradient(120deg, #88CFFD, #4AC7FA, #00E4FF);

Option 4 - Electric Blue:
background: linear-gradient(120deg, #0FF0B3, #036ED9);
*/

/* Alternative options for the typewriter gradient:

Option 1 - White to Light Yellow:
background: linear-gradient(120deg, #FFFFFF, #FFFFA1);

Option 2 - White to Mint:
background: linear-gradient(120deg, #FFFFFF, #98FF98);

Option 3 - White to Light Pink:
background: linear-gradient(120deg, #FFFFFF, #FFB6C1);
*/ 