/* Reset default margin and padding */
html, body {
  margin: 0;
  padding: 0;
}

/* Base Styles */
body {
  font-family: 'Roboto', sans-serif;
  background: #fff;
  padding-top: 64px; /* Desktop fixed nav height */
}

/* Fixed Navbar styling */
.navbar-fixed nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Hero Section (Banner) */
#hero {
  position: relative;
  padding: 0 0 60px 0; /* No top padding so that the hero touches the navbar */
  text-align: center;
  background-color: #202020;
}

/* Container for the 3D laptop effect */
#laptopContainer {
  width: 600px;   /* Adjusted size */
  height: 400px;
  margin: 0 auto;
  background-color: #202020;
}

/* Hero text content positioned below the 3D object */
.hero-text {
  margin-top: 5px;  /* Reduced gap */
  color: #ffffff;
}
.hero-text p {
  font-size: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Sections */
.section {
  padding: 30px 0; /* Reduced vertical gap */
}

/* Outlined sections with subtle pattern */
.outlined-section {
  margin: 5px 0;
  padding: 15px;
  border-radius: 8px;
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 188, 212, 0.03),
    rgba(0, 188, 212, 0.03) 5px,
    transparent 5px,
    transparent 10px
  );
}

/* Section Heading Highlight Effect */
.section h2 {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
}
.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #00bcd4, #2196f3);
  transition: width 0.8s ease-out;
}
.section h2.aos-animate::after {
  width: 100%;
}

/* Section Divider */
.section-divider {
  width: 100%;
  border-bottom: 2px dotted #00bcd4;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease-out;
  margin: 10px 0 20px 0;
}
.section-divider.aos-animate {
  transform: scaleX(1);
}

/* Paragraph styling */
.section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Collection Items */
.collection .collection-item {
  border: none;
  padding-left: 0;
}

/* Glowing effects for year and skill labels */
.glow-year,
.glow-skill {
  position: relative;
  color: #00bcd4;
  font-weight: bold;
}
.glow-year::after,
.glow-skill::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #00bcd4, #2196f3);
  transition: width 0.7s ease;
}
.glow-year.aos-animate::after,
.glow-skill.aos-animate::after {
  width: 100%;
}

/* Fancy Gradient Text for Headings */
.fancy-text {
  font-size: clamp(2rem, 6vw + 1rem, 8rem);
  font-weight: 600;
  background: linear-gradient(
    90deg,
    oklch(36% 0.50 340),
    oklch(90% 0.5 200)
  );
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/* Navigation Links in Page Navigation Section */
.nav-links .collection-item {
  transition: border-color 0.3s ease;
  border: 1px solid transparent;
}
.nav-links .collection-item:hover {
  border-color: #00bcd4;
}
.nav-link {
  font-size: 1.2rem;
  color: #00bcd4;
  text-decoration: none;
  transition: all 0.3s ease;
}
.nav-link:hover {
  text-shadow: 0 0 10px #00bcd4, 0 0 20px #2196f3;
  color: #2196f3;
}

/* Footer */
.page-footer {
  padding: 20px 0;
}

/* Responsive Tweaks */
@media only screen and (max-width: 600px) {
  body {
    padding-top: 56px; /* Mobile fixed nav height */
  }
  #laptopContainer {
    width: 90%;
    height: auto;
    margin: 30px auto;
  }
  .hero-text {
    margin-top: 5px;
  }
  .section h2 {
    font-size: 2rem;
  }
}
