/* Hero Section Styles */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem 0;
  background-image: url('../img/hero.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-color: rgb(255, 255, 255);
  margin: 0;
  background-attachment: fixed;
}

.hero-content {
  text-align: left;
  max-width: 750px;
  padding-top: 0;
  padding-left: 10rem;
  background-color: transparent;
  border-radius: 10px;
}

.hero-heading {
  font-size: 2.7rem;
  font-weight: 680;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: #1a1a1a;
}

.hero-subheading {
  font-size: 1.1rem;
  max-width: 550px;
  font-weight: 650;
  margin-bottom: 2rem;
  color: #222222;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: #007bff;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* =========================
   About / Contact / Resume Cards
   ========================= */

.aboutme-section {
  position: relative;
  width: 100%;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 3rem 1rem;
  background-image: linear-gradient(rgba(255, 255, 255, 0.447), rgba(255, 255, 255, 0.589)), url('../img/projects.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Section wrapper */
.aboutme-content {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;

  color: #111111;
  background: none;
  text-shadow: none;
  -webkit-text-fill-color: #111111;
}

/* Shared card style */
.info-card {
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.10);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

/* About Me card (full width) */
.info-card--about {
  width: 100%;
}

/* Row for Contact + Resume cards */
.info-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* Stack on small screens */
@media (max-width: 800px) {
  .info-card-row {
    grid-template-columns: 1fr;
  }
}

/* Hover polish */
.info-card:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  border-color: rgba(17, 17, 17, 0.16);
}

/* Clickable cards (Contact / Resume) */
.info-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Focus state for accessibility */
.info-card-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 4px;
  border-radius: 18px;
}

/* Card titles (Contact / Resume) */
.info-card-title {
  font-size: 1.15rem;
  font-weight: 720;
  margin: 0 0 0.35rem 0;
  color: #1a1a1a;
}

/* Card body text */
.info-card-text {
  margin: 0;
  color: #2b2b2b;
  font-size: 0.98rem;
  font-weight: 560;
  line-height: 1.4;
}

/* Keep your About Me typography */
.aboutme-heading {
  font-size: 2.1rem;
  font-weight: 680;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
  color: #1a1a1a;
  text-align: left;
}

.aboutme-text {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: #222222;
  line-height: 1.55;
}


.projects-content {
  color: #111111;
  text-shadow: none;
  background: none;
  -webkit-text-fill-color: #111111;
  max-width: 1200px;
  align-items: center;
  margin: 0 auto;
}

.projects-heading {
  font-size: 2.1rem;
  font-weight: 680;
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #1a1a1a;
  text-align: left;
}

.projects-text {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #222222;
}


/* Slider Section (light tan background overrides) */
.slider-section {
  position: relative;
  width: 100%;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background-image:  linear-gradient(rgba(177, 173, 220, 0.501), rgba(224, 249, 253, 0.651)), url('../img/projects.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 2rem 0 3rem;
}

.slider-section .hero-slider {
  position: relative;
  background-image: linear-gradient(rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.629)), url('../img/projects.png');
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

.slider-section .hero-viewport {
  min-height: 400px;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.slider-section .hero-title {
  color: #111111;
  text-shadow: none;
  background: none;
  -webkit-text-fill-color: #111111;
}

.slider-section .hero-subtitle,
.slider-section .hero-text {
  color: #444444;
  text-shadow: none;
}

.hero-slide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(120deg, #114acf, #1a5cff);
  box-shadow: 0 12px 20px rgba(17, 24, 39, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-slide-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 26px rgba(17, 24, 39, 0.22);
}

.slider-section .hero-arrow {
  background: #ffffff;
  color: #111111;
  border-color: rgba(17, 24, 39, 0.15);
}

.slider-section .hero-arrow:hover {
  background: #f2f2f2;
  border-color: rgba(17, 24, 39, 0.25);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.15);
}

.slider-section .hero-dot {
  background: rgba(17, 24, 39, 0.2);
  border-color: rgba(17, 24, 39, 0.2);
  box-shadow: none;
}

.slider-section .hero-dot.is-active {
  background: #111111;
  border-color: #111111;
  box-shadow: none;
}

/* ---------------------------------------------------------
   Responsive Breakpoints
--------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-section {
    min-height: 500px;
    padding: 1.5rem 1rem;
    background-position: center left;
    background-attachment: fixed;
  }

  .hero-content {
    padding: 0;
    text-align: center;
    align-items: center;
  }

  .hero-heading {
    font-size: 2rem;
    margin-top: 1rem;
  }

  .hero-subheading {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #000000;
    text-shadow: 1px 1px 2px #f2f2f2;
  }

  .hero-cta {
    width: 100%;
    text-align: center;
  }

  .aboutme-content {
    padding: 0 1rem;
  }
  .projects-content {
    padding: 0 1rem;
  } 
}

@media (min-width: 481px) and (max-width: 767px) {
  .hero-section {
    min-height: 500px;
    padding: 2rem 1.5rem;
    background-position: left;   
    background-attachment: fixed; 
  }

  .hero-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .aboutme-content {
    padding: 1rem 4rem;
    max-width: 1080px;
  }
  .hero-heading {
    font-size: 2.3rem;
  }
  .projects-content {
    padding: 1rem 4rem;
    max-width: 1080px;
  }
  .hero-subheading {
    font-size: 1.05rem;
  }

  .slider-section .hero-viewport {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .hero-section {
    min-height: 430px;
    padding: 2.5rem 2rem;
    background-attachment: fixed;
  }
  .aboutme-content {
    padding-left: 5rem;
    max-width: 1080px;
    margin: 0 auto;
  }
   .projects-content {
    padding-left: 5rem;
    max-width: 1080px;
    margin: 0 auto;
  } 
  .hero-content {
    padding-left: 5rem;
  }

  .hero-heading {
    font-size: 2.5rem;
  }

  .hero-subheading {
    font-size: 1.08rem;
    max-width: 500px;
  }
  
  .slider-section .hero-viewport {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
}
