/*---------------------------------------------------BODY-------------------------------------------------------------------*/
body {
  margin: 0;
  font-family: 'Poppins', 'Open Sans', sans-serif;
  /* Applying the deep rich gradient globally */
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  background-attachment: fixed;
  color: #f0f0f0;
  overflow-y: auto;
  /* Enable vertical scrolling */
  overflow-x: hidden;
  /* Full viewport height */
  font-size: 18px;
  /* Added base font size */
}

/*---------------------------------------------------HEADER-------------------------------------------------------------------*/
header {
  width: 97.6%;
  padding: 6px 15px;
  background-color: rgba(15, 32, 39, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: fixed;
  font-weight: 300;
  top: 0;
  z-index: 1000;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

header div {
  display: flex;
  gap: 20px;
  align-items: center;
}

header img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
}





@media (min-width: 2560px) {
  html {
    font-size: 20px;
  }

  .profile-pic {
    width: 300px;
    height: 300px;
    border: 4px solid #151517;
  }

  .name-container {
    font-size: 48px;
  }

  .summary-text {
    font-size: 18px;
    margin-left: 100px;
    margin-right: 100px;
    color: #e0e0e0;
  }

  .skill-icons img {
    width: 70px;
    height: 70px;
  }

  .slider-nav {
    right: 50px;
    width: 60px;
  }

  .slider-labels {
    font-size: 16px;
  }

  .projects-container,
  .experience-container,
  .education-container,
  .certificates-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
  }

  .projects-container p,
  .experience-container p,
  .education-container ul,
  .certificates-container ul {
    font-size: 18px;
    line-height: 1.8;
  }

  footer>div:first-child {
    font-size: 14px;
  }

  header {
    padding: 10px 30px;
    font-size: 18px;
  }

  .desktop-header a {
    font-size: 16px;
  }
}







/*---------------------------------------------------SUMMARY  SECTION-------------------------------------------------------------------*/
.profile-pic {
  display: block;
  object-position: center 20%;
  /* Adjusted to frame face better */
  margin: 40px auto 20px auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #a8c0ff;
  /* Nice blue border */
  box-shadow: 0 0 20px rgba(168, 192, 255, 0.4);
  /* Subtle glow */
  margin-top: 15px;
}


.name-container {
  font-size: 36px;
  font-weight: 600;
  color: #a8c0ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-text {
  font-size: 20px;
  /* Increased from 14px */
  margin-right: 150px;
  margin-left: 50px;
  color: #e0e0e0;
  font-weight: 500;
  text-align: left;
  /* Default to left aligned */
  justify-content: baseline;
}

.summary-text p:first-of-type {
  text-align: center;
  /* First paragraph centered */
}

.summary-point-quote {
  position: relative;
  padding: 10px 40px;
  font-style: italic;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin: 20px 0;
}

.summary-point-quote::before {
  content: "“";
  font-size: 60px;
  color: #a8c0ff;
  position: absolute;
  top: -20px;
  left: 10px;
  font-family: serif;
  opacity: 0.8;
}

.summary-point-quote::after {
  content: "”";
  font-size: 60px;
  color: #a8c0ff;
  position: absolute;
  bottom: -40px;
  right: 15px;
  font-family: serif;
  opacity: 0.8;
}

/* -------------------------------------------------------------------------SKILLS------------------------------------------------------------------------- */


.skill-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;

}

.skill-icons img {
  width: 80px;
  height: 80px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.skill-icons img:hover {
  transform: scale(1.3);
}

/* ----------------------------------------------------------------EXPERIENCE--------------------------------------------------------------- */

.company-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  /* Space between logos */
  margin-bottom: 20px;
}

.company-logo img {
  width: 150px;
  /* Adjusted width for side-by-side */
  height: auto;
  display: block;
  margin: 0;
  /* Remove vertical margin */
  transition: transform 0.3s ease;
  cursor: pointer;
  top: -15px;

}

.company-logo img:hover {
  transform: scale(1.1);
}



.experience-container {
  max-height: none;
  /* Allow full height */
  overflow-y: visible;
  /* No internal scrollbar */
  max-width: 95%;
  /* Added to match projects-container */
  padding: 10px 12px;
  position: relative;
  margin: 0;
  font-size: 18px;
  /* Explicitly increased */
}

.experience-container::-webkit-scrollbar {
  width: 6px;
}

.experience-container::-webkit-scrollbar-thumb {
  background-color: #a8c0ff;
  border-radius: 3px;
}

.experience-container::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------PROJECTS---------------------------------------------------------------- */
.projects-container {
  max-height: none;
  /* Allow full height */
  overflow-y: visible;
  /* No internal scrollbar */
  max-width: 95%;
  /* Increased from 1200px to utilize more space */
  padding: 10px 12px;
  position: relative;
  color: #e0e0e0;
  font-weight: 500;
  line-height: 1.6;
  margin: 20px 60px 20px 30px;
  /* Standardized margins */
  font-size: 18px;
  /* Explicitly increased */
}

.projects-container::-webkit-scrollbar {
  width: 6px;
}

.projects-container::-webkit-scrollbar-thumb {
  background-color: #a8c0ff;
  border-radius: 3px;
}

.projects-container::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ---------------------------------------------------EDUCATION------------------------------------------------------------------------ */
.education-container {
  max-height: none;
  overflow-y: visible;
  padding: 10px 12px;
  position: relative;
  color: #e0e0e0;
  font-weight: 500;
  line-height: 1.6;
}

.education-logos {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.education-logos img {
  width: 160px;
  height: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.education-logos img:hover {
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------c&a------------------------------------------------------- */
.certificates-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 50px;
}

.certificates-text {
  color: #e0e0e0;
  font-weight: 500;
  line-height: 1.6;
  font-size: 18px;
  /* Explicitly increased */
}

.certificates-logos {
  display: flex;
  justify-content: flex-start;
  gap: 25px;
  margin-left: -10px;
}

.certificates-logos img {
  width: 96px;
  height: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.certificates-logos img:hover {
  transform: scale(1.1);
}



/*---------------------------------------------------SLIDER  SECTION-------------------------------------------------------------------*/
.slider-nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  height: 260px;
  width: 50px;
  display: flex;
  align-items: center;
  z-index: 1001;
  /* Ensure slider is above other content */
  justify-content: center;
  backdrop-filter: blur(5px);
  padding: 10px 0;
  border-radius: 20px;
  /* added border radius for better look */
}

/* Hide mobile elements */
.mobile-header,
.mobile-slider-container {
  display: none;
}

.slider-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 260px;
  margin-right: 10px;
  font-size: 12px;
  color: #e0e0e0;
}

.slider-labels span {
  cursor: pointer;
  transition: all 0.3s ease;
  writing-mode: horizontal-tb;
  text-align: right;
}

.slider-labels span:hover,
.slider-labels span.active {
  transform: scale(1.2);
  color: #a8c0ff;
  text-shadow: 0 0 8px rgba(168, 192, 255, 0.6);
  font-weight: 600;
}

.slider-nav input[type=range] {
  writing-mode: vertical-rl;
  -webkit-appearance: none;
  /* Remove default styling */
  appearance: none;
  width: 4px;
  /* Thin track */
  height: 90%;
  cursor: pointer;
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  /* Track color */
  border-radius: 2px;
  outline: none;
}

/* Custom Thumb Styling */
.slider-nav input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #a8c0ff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(168, 192, 255, 0.8);
  /* Glowing effect */
  border: 2px solid #fff;
}

.slider-nav input[type=range]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #a8c0ff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(168, 192, 255, 0.8);
  border: 2px solid #fff;
}

/*---------------------------------------------------MAIN CONTENT------------------------------------------------------------------*/
.main-content {
  margin-left: 0px;
  margin-right: 60px;
  margin-top: 100px;
  /* Space for fixed header */
  padding: 20px;
  position: relative;
  height: auto;
  /* Allow content to dictate height */
}

.section {
  opacity: 1;
  transform: none;
  position: relative;
  /* Natural flow */
  width: 100%;
  left: auto;
  pointer-events: auto;
  margin-bottom: 30px;
  /* Standardized spacing */
  padding-top: 30px;
  /* Consistent offset for nav */
}



/*--------------------------------------------------FOOTER  SECTION-------------------------------------------------------------------*/
footer {
  background-color: rgba(15, 32, 39, 0.95);
  backdrop-filter: blur(5px);
  color: white;
  text-align: center;
  padding: 10px 15px;
  position: fixed;
  font-weight: 700;
  bottom: 0;
  width: 94%;
  height: 5px;
  vertical-align: middle;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

footer>div:first-child {
  position: relative;
  top: -4px;
  font-size: 10px;
}


footer .socials {
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 5px;
  margin-top: 2.5px;
}


footer .socials a {
  color: white;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 1;
  padding: 2em;
  margin: -2em;
}



footer img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-top: -55px;
  padding-right: 20px;

}


/* --------------------------------------------------------------welcome-------------------------------------------------------------------------------------- */

#welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  /* Match body bg */
  z-index: 10001;
  /* High z-index */

  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  /* Deep rich gradient */
  opacity: 1;
  transition: opacity 0.8s ease-out;
  /* Smooth fade-out transition */
}

/* Class to hide the overlay smoothly */
#welcome-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.overlay-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  /* Move image higher */
  opacity: 0.1;
  /* Transparent effect */
  pointer-events: none;
  mix-blend-mode: overlay;
  /* Optional: Blend with gradient */
}

.split {
  position: relative;
  z-index: 10;
  /* Ensure text is above image */
  font-family: 'Poppins', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: white;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  /* Hidden initially */
  margin: 0;
  line-height: 1.1;
}

/* Animations */
.split-1 {
  animation: slideInLeft 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
  animation-delay: 0.5s;
}

.split-2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #a8c0ff;
  /* Light accent color */
  animation: slideInRight 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
  animation-delay: 1.0s;
}

.split-3 {
  font-size: 6rem;
  background: -webkit-linear-gradient(#fdbb2d, #22c1c3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 1.5s;
}

/* Keyframes */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}




.aws-logo {
  width: 90px !important;
  height: auto !important;
  object-fit: contain;
}

.snowflake-logo {
  width: 100px !important;
  /* Base width */
  height: auto !important;
  object-fit: contain;
  transform: scale(1.4);
  /* Zoom effect */
  margin: 0 15px;
  /* Add spacing to prevent overlap */
  transition: transform 0.3s ease;
}

.snowflake-logo:hover {
  transform: scale(1.6) !important;
}

.databricks-logo {
  width: 200px !important;
  height: auto !important;
  zoom: 1.5;
}