/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    scroll-behavior: smooth;
  }
  
  header {
    background-color: #020202;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }
  
  .nav-links li a:hover,
  .nav-links li a.active {
    background-color: #000000;
    color: #fff;
  }
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* stop horizontal scrollbar */
  }
  
  /*home section*/
  .home-section {
    padding: 1px 1px; /* was 60px 20px */
    background: #f0f0f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* was 80vh */
    box-sizing: border-box;
  }
  p, h1 {
    font-family: 'Playfair Display', serif;
  }
  p {   
    font-size: 3rem;
    line-height: 1.6;
  }
  
  h1 {
    font-size: 2.5rem;
    line-height: 1.3;
  }
  .home-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 150px; /* more spacing between text and image */
    padding: 5rem 10%;
  }
  #home {
    position: relative;
    background: url('assets/background.png') center/cover no-repeat;
    color: white;
  }
  
  #home::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* dark overlay */
    z-index: 0;
  }
  
  #home .home-content {
    position: relative;
    z-index: 1;
  }
  
  
  .intro-text {
    color: #fff;
    text-align: left;
    max-width: 10px;
  }
  .intro-text h1 {
    font-size: 4rem;
    margin-bottom: 16px;
    color: #000000;
  }
  
  .intro-text p {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #000000;
  }
  
  .buttons {
    margin-bottom: 20px;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 28px;
    margin-right: 15px;
    font-size: 1rem;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
  }
  
  .btn-primary {
    background-color: #0077b6;
    color: white;
    border: none;
  }
  
  .btn-primary:hover {
    background-color: #005f87;
  }
  
  .btn-secondary {
    background-color: #90e0ef;
    color: #000000;
    border: none;
  }
  
  .btn-secondary:hover {
    background-color: #64b5cc;
    color: white;
  }
  
  .social-icons a {
    display: inline-block;
    margin-right: 16px;
    width: 36px;
    height: 36px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }
  
  .social-icons a:hover {
    filter: grayscale(0%);
  }
  
  .social-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .profile-photo img {
    width: 300px; /* was 250px */
    height: 500px; /* was 450px */
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  

  
  /* Optional hover animation */
  .profile-photo img:hover {
    transform: scale(1.05);
    border-color: #000000;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  }
  
 
  .skills-list {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .skills-list li {
    background-color: #000000;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 8px;
  }
  
  footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 15px 10px;
    margin-top: 60px;
    font-size: 8px;
  }

  /*nav bar*/


  /* Parent dropdown styling */
.nav-links li.dropdown {
  position: relative;
}

/* Hide dropdown menu by default */
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;  /* right below the parent li */
  left: 0;
  background-color: #222;
  min-width: 160px;
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  z-index: 1000;
  padding: 10px 0;
}

/* Dropdown menu links */
.nav-links .dropdown-menu li {
  list-style: none;
}

.nav-links .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.nav-links .dropdown-menu li a:hover {
  background-color: #007bff;
}

/* Show dropdown on hover */
.nav-links li.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Optional: style the arrow */
.nav-links li.dropdown > a {
  cursor: pointer;
  user-select: none;
}

/*Home Section*/
html, body {
  height: 100%;
  margin: 0;
}

body {
  background: url('assets/backround.png') no-repeat center center fixed;
  background-size: cover;
  /* Optional: add a dark overlay with a pseudo element if needed */
  color: rgb(16, 13, 13); /* Make text readable */
  font-family: 'Inter', sans-serif;
}


/* Fade-in animation */



.intro-text {
  max-width: 600px;
}


/* Make Home section full-screen with video */
.home-section.video-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Background Video */
#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Optional overlay for better readability */
.home-section.video-background::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* Ensure home-content floats above video */
.home-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

/* GIF and intro text styling */
.gif-container img {
  max-width: 250px;
  border-radius: 10px;
}

.intro-text {
  color: #fff;
  text-align: left;
  max-width: 600px;
}

/* Buttons and social icons */
.buttons a {
  margin-right: 1rem;
}

.social-icons a img {
  width: 32px;
  margin-right: 0.5rem;
}
/* Waving hand animation */
.wave {
    display: inline-block;
    animation: wave-animation 2s ease-in-out;
    transform-origin: 70% 70%;
    font-size: 1.5em;
  }
  
  @keyframes wave-animation {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
  }
  

/* Fade-in delayed animation */
.delayed-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 2s; /* 2s to allow wave to complete */
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .gif-container {
    flex: 0 0 00px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  
  .gif-container img {
    width: 650px; /* adjust size */
    height: max-content;
    object-fit: contain;
    animation: floatGif 5s ease-in-out infinite;
    margin-right: 20px;
  }
  
  /* Optional floating animation */
  @keyframes floatGif {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
/* Buttons styling */
.btn {
  padding: 0.7em 1.5em;
  border: none;
  border-radius: 5px;
  margin-right: 10px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-primary {
  background-color: #050506;
  color: white;
}

.btn-secondary {
  background-color: #040506;
  color: white;
}

.btn:hover {
  opacity: 0.9;
}




/*about me */
/*underline*/
.hover-underline {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.hover-underline::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0.3);
  transform-origin: center;
  width: 100%;
  height: 5px;
  background-color: #000000; /* Blue line */
  transition: transform 0.5s ease;
}

.hover-underline:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* About Section */


.about-section {
  position: relative;
  z-index: 10; /* Keep above the background */
  padding: 10px 100px;
  max-width: 100%;
  margin: 0 auto;
  background-color: rgba(30, 30, 30, 0.85); /* Semi-transparent */
  color: #fff;
  border-radius: 1px;
}
/* About Container Layout */
.home-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}


.about-photo img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.about-description {
    flex: 1;
    min-width: 280px;
  }
  
  .about-description h2 {
    font-size: 2rem; /* 2x of 1rem */
    margin-bottom: 1.2rem;
    color: #000000;
  }
  
  .about-description p {
    font-size: 1rem; /* readable paragraph size */
    line-height: 1.8;
    color: #000000;
  }
  
  .icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }
  #about {
    position: relative;
    background: url('assets/background.png') center/cover no-repeat;
    color: white;
  }
  
  #about::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* dark overlay */
    z-index: 0;
  }
  
  #about .about-content {
    position: relative;
    z-index: 1;
  }
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 2fr)); /* Flexible grid */
    gap: 20px;
    margin-top: 40px;
    position: relative; /* float above background */
    z-index: 20; /* Above section background */
  }
  
  /* Individual Skill Card */
  .skill-card {
    background: rgba(50, 50, 50, 0.85); /* dark semi-transparent */
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  }
  
  .skill-card:hover {
    transform: translateY(-10px);
    background: rgba(70, 70, 70, 0.95);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
  }
  
  .skill-card img {
    width: 60px;
    margin-bottom: 15px;
  }
  
  .skill-card h3 {
    margin-bottom: 10px;
  }
  
  .skill-card p {
    font-size: 0.95rem;
    color: #ddd;
  }
  
  
/* Skills Cards */
.skills-section {
  position: relative;
  padding: 80px 20px;
  background: url('your-background.jpg') no-repeat center/cover;
  text-align: center;
  color: #fff;
}

.skills-section-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}


/* Make all cards uniform */


.skills-card {
  width: 180px;              /* fixed card width */
  height: 180px;             /* fixed card height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
  border-radius: 12px;
  background: rgba(50, 50, 50, 0.85);
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  width: 100%;
  max-width: 300px;
}
.skills-container .skill-card:nth-child(5),
.skills-container .skill-card:nth-child(6) {
  grid-column: span 2;   /* each card spans 2 columns */
  justify-self: center;  /* center align */
}
.skills-card:hover {
  transform: translateY(-10px);
  background: rgba(70, 70, 70, 0.95);
  box-shadow: 0 12px 25px rgba(0,0,0,0.45);
}

.skills-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.skills -card .skill-icon {
  width: 80px;
  height: 80px;
  animation: float 3s ease-in-out infinite;
  object-fit: contain;       /* keeps aspect ratio, no stretch */
  margin-top: 10px;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

#projects {
  position: relative;
  padding: 80px 20px;
  background: url('assets/background.png') center/cover no-repeat;
  color: white;
  overflow: hidden;
}

#projects::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 0;
}

#projects h1 {
  position: relative;
  z-index: 1;
  color: #000000;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}
.carousel-wrapper-full {
  position: relative;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 33.333%; /* 3 slides visible */
  box-sizing: border-box;
  padding: 10px;
}

.project-card {
  background: transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project-image-wrapper {
  width: 100%;
  height: 50%;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card h3 {
  margin: 10px 0 5px 0;
  color: #000000; /* change this to any color you like */
}

.project-card p {
  font-size: 0.9rem;
  margin: 5px 0;
}

.tools-used {
  display: flex;
  gap: 5px;
 
  flex-wrap: wrap;
  justify-content: center;
  margin: 5px 0;
  color: #000;
}

.tools-used span {
  background: #000000;
  padding: 3px 6px;
  background-color: #000;
  border-radius: 5px;
  font-size: 0.8rem;
}

.project-btn {
  margin-top: auto;
  padding: 8px 12px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 10px;
}

#prevSlide { left: 0; }
#nextSlide { right: 0; }

.carousel-dots {
  text-align: center;
  margin-top: 15px;
}

.carousel-dots .dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  display: inline-block;
  border-radius: 50%;
  background-color: #bbb;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background-color: #717171;
}

/* Responsive */
@media(max-width:1024px) { .carousel-slide { min-width: 50%; } }
@media(max-width:768px) { .carousel-slide { min-width: 100%; } }

/* Scroll buttons */
/* Skills slider container inside project */
.skills-slider {
  position: relative;
  display: flex;
  align-items: center;
  margin: 10px 0;
  overflow: hidden;
}

/* Scrollable container */
.skills-scroll-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;  /* hide scrollbar (Firefox) */
}

.skills-scroll-container::-webkit-scrollbar {
  display: none; /* hide scrollbar (Chrome/Safari) */
}

/* Each skill card */
.skill-item {
  flex: 0 0 auto;
  min-width: 90px;
  padding: 6px 12px;
  background: #f1f1f1;
  border-radius: 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Scroll buttons */
.skill-scroll-btn {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  margin: 0 5px;
  transition: background 0.3s ease;
}

.skill-scroll-btn:hover {
  background: #0056b3;
}
/* Responsive */
@media (max-width: 768px) {
  .about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    position: relative; /* float above background */
    z-index: 20;
  }
  

  .about-photo {
    flex: 1 1 300px;
    max-width: 350px;
    background-color: rgba(50, 50, 50, 0.85); /* Semi-transparent */
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .about-photo img {
    width: 100%;
    border-radius: 10px;
  }
  
  /* Hover effect for photo */
  .about-photo:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
  }
  
}

/*Resume */

#resume {
  position: relative;
  background: url('assets/background.png') center/cover no-repeat;
  color: white;
}

#resume::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 0;
}

#resume .home-content {
  position: relative;
  z-index: 1;
}
.resume-section {
  background-image: url('assets/backround.png'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  width: 100%; 
  background-color: #f4f4f4;
  text-align: center;
}

.resume-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #000;
}

.resume-section p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.resume-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  background: transparent; /* floating effect */
  padding: 15px 25px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.resume-btn {
  color: #ffffff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  background: #000000;
  transition: 0.3s;
}

.resume-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/*Experinece section*/
#experience {
  position: relative;
  background: url('assets/background.png') center/cover no-repeat;
  color: white;
}

#experience::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 0;
}

#experience .home-content {
  position: relative;
  z-index: 1;
}
.experience-section {
  background-image: url('assets/backround.png'); /* Replace with your image path */
  background-size: cover;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  background-color: #000000;
  text-align: center; 
  background-attachment: fixed;
  max-width: 100%;
  color: #fff;
  overflow: hidden;
  z-index: 1;
}

.exp-bg-img {
  position: absolute;
  top: 100px;
  right: 0;
  height: 700px;      /* fill section height */
  width: 700px;       /* keep original aspect ratio */
  opacity: 1;        /* fully visible */
  pointer-events: none; /* don’t block clicks */
  z-index: 0;  
  padding: 80px 40px 80px 40px; 
  border-radius: 150px;   /* curve top-left corner */
    /* behind timeline */
}


.experience-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #000;

}

.timeline {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
  margin-left: 40px;
  border-left: 3px solid #000000;
  z-index: 1;
}

.timeline-item {
  display: flex;
  align-items: center;        /* vertical centering */
  justify-content: center;    /* horizontal centering */
  gap: 20px;

  /* Thick black background */
  background-color: #000;     /* solid black */
  
  /* Optional: if you still want the glass/blur effect, you can combine */
  /* backdrop-filter: blur(12px); */

  border-radius: 15px;
  padding: 20px;
  color: #ddd;

  /* Thick border */
  border: 3px solid #000;    /* increase thickness and black color */

  transition: all 0.3s ease;
}

.timeline-icon {
  position: absolute;
  left: -28px;
  top: 0;
  background-color: #000000;
  border: 2px solid #007bff;
  color: #007bff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.timeline-content {
  flex: 1;
  text-align: center;
  min-width: 0;
  word-wrap: break-word;
  background-color: transparent ;
}
.timeline-content p{
  text-align: center;
  color: #000;
  min-width: 0;
  word-wrap: break-word;
  flex: 1;
}


.company-header {
  display: flex;
  flex-direction: column; /* Stack logo above company name */
  align-items: center;
  color: #010101;
  margin-bottom: 10px;
}

.company-header1 {
  display: flex;
  align-items: right;
  gap: 1rem;
  color: #f9f6f6;
  margin-bottom: 0.5rem;
  
}
.company-logo {
  width: 60px; /* Adjust logo size */
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.meta {
  font-size: 0.9rem;
  color: #fffefe;
}

.company-header1 h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #000000;
}

.company-header1 p.meta {
  margin: 5px 0 0;
  font-size: 1rem;
  color: #000000; /* Slightly lighter for meta text */
}

.timeline-content p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.5;
  color: #000000;
}
/*projects*/
#projects {
  position: relative;
  background: url('assets/background.png') center/cover no-repeat;
  color: rgb(255, 255, 255);
}

#projects::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 0;
}

#projects .home-content {
  position: relative;
  z-index: 1;
  color: #000;
}
.projects-section { padding: 40px 20px; text-align: center; }

.carousel-wrapper-full {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding: 0;
  margin: 0;
  list-style: none;
}

.carousel-slide {
  flex: 0 0 33.333%; /* 3 slides per screen */
  box-sizing: border-box;
  padding: 0 10px;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.project-image-wrapper { width: 100%; height: 50%; overflow: hidden; }
.project-image { width: 100%; height: 100%; object-fit: cover; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.project-card h3 { margin: 15px 10px 5px; }
.project-card p { margin: 0 10px 10px; font-size: 0.9rem; color: #555; }
.tools-used { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-bottom: 10px; }
.tools-used span { background: #eee; padding: 5px 8px; border-radius: 5px; font-size: 0.8rem; }
.project-btn { display: inline-block; margin: 10px auto 15px; padding: 8px 15px; background: #000000; color: #fff; text-decoration: none; border-radius: 5px; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,123,255,0.1);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
}

#prevSlide { left: 5px; }
#nextSlide { right: 5px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
}

.dot.active { background: #007BFF; }

@media(max-width: 1024px) { .carousel-slide { flex: 0 0 50%; } }
@media(max-width: 768px) { .carousel-slide { flex: 0 0 100%; } }
/*portifolio -education*/
#portifolio {
  position: relative;
  background: url('assets/background.png') center/cover no-repeat;
  color: white;
}

#portifolio::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 0;
}

#portifolio .home-content {
  position: relative;
  z-index: 1;
}
/* Portfolio Section with Background Image */
/* ===== Portfolio Section ===== */
.portfolio-section {
  position: relative;
  padding: 60px 20px;
  max-width: 100%;
  text-align: center;
  

  /* Background image */
  background-image: url('assets/backround.png'); /* Change path */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  
  overflow: hidden;
  z-index: 1;
}
.edu-bg-img {
  position: absolute;
  top: 90px;
  max-width: 100%;
  display: block;
  right: 100px;
  height: 500px;      /* fill section height */
  width: auto;       /* keep original aspect ratio */
  opacity: 1;        /* fully visible */
  pointer-events: none; /* don’t block clicks */
  z-index: 0;  
  padding: 40px 40px 40px 40px; 
  border-radius: 120px;   /* curve top-left corner */

}


.timeline {
  position: relative;
  z-index: 1; /* ensure timeline is above the background image */
}

/* Dark overlay for readability */
.portfolio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: -1;
}

/* ===== Headings ===== */
.portfolio-section h2 {
  
  
  
  text-align: center;
  
}
/* Modern heading style */
.portfolio-heading {
  font-family: 'Poppins', 'Helvetica', sans-serif; /* clean modern font */
  font-size: 2.5rem;
  
  margin-bottom: 15px;
  font-weight: 600;
  color: #000000; /* or your theme color */
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: color 0.3s;
  letter-spacing: 1px;
}

/* Underline effect */
.portfolio-heading::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px; /* thickness of the underline */
  left: 0;
  bottom: -5px; /* spacing from text */
  background: #000000; /* underline color */
  transition: width 0.3s ease;
}

/* Hover effect */
.portfolio-heading:hover::after {
  width: 100%;
}

/* Optional hover color change */
.portfolio-heading:hover {
  color: #000000;
}

.portfolio-section .sub-title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 40px;
  color: #060504;
}

/* ===== Timeline Container ===== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* ===== Timeline Item ===== */
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(49, 135, 63, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 20px;
  color: #ddd;
  background-color: rgba(0, 0, 0, 0);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);

  width: 50%;
  margin-left: 0;
}

/* Hover Effect */
.timeline-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  background: rgba(255, 215, 0, 0.15);
}

/* Timeline Icon */
.timeline-icon {
  font-size: 1.8rem;
  color: #d3cbcb;
  flex-shrink: 0;
}

/* ===== Education Header ===== */
.edu-header {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ddd;
}

.edu-logo img {
  width: 55px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px;
  display: block;
}

.edu-info h4 {
  font-size: 1.3rem;
  margin: 0;
  color: #000000;
  font-weight: 600;
}

.edu-info p,
.edu-info span {
  font-size: 0.95rem;
  color: #000000;
  margin: 2px 0;
}

/* ===== Description ===== */
.edu-description {
  margin-top: 10px;
  line-height: 1.5;
  font-size: 1rem;
  color: #000000;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }

  .edu-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*certificates*/
#certifications {
  position: relative;
  background: url('assets/background.png') center/cover no-repeat;
  color: white;
}

#certifications::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 0;
}

#certifications .home-content {
  position: relative;
  z-index: 1;
}
/* Section */
.cert-section  {
  position: relative;
  padding: 80px 20px;
  background: url('your-background.jpg') no-repeat center/cover;
  color: #fff;
  text-align: center;
}


/* Heading */
.cert-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 50px;
  position: relative;
}

/* Grid Layout */
.cert-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;        /* Keep all cards in one line */
  overflow-x: auto;         /* Allow horizontal scroll on small screens */
  padding: 40px 20px;
}

.cert-card {
  flex: 0 0 250px;                /* Fixed width for each card */
  background: #000000 ; /* Semi-transparent for floating effect */
  backdrop-filter: blur(10px);    /* Background blur for frosted glass look */
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3); /* Floating shadow */
  transition: transform 0.3s, box-shadow 0.3s;
}

.cert-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4); /* Enhanced lift on hover */
}

.verify-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background-color: #ff4c60;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  
  transition: background 0.3s, color 0.3s;
}

.verify-link:hover {
  background-color: #000;
  color: #fff;
}


/* Certificate Icon */
.cert-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* Card Title & Sub */
.cert-card-item h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.cert-card-item h4 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: #aaa;
}

/* Date */
.cert-date {
  font-size: 0.85rem;
  color: #ccc;
  margin-bottom: 15px;
}

/* Description */
.cert-card p {
  font-size: 0.85rem;       /* Smaller, readable text */
  font-weight: 300;         /* Thinner font weight */
  line-height: 1.4;         /* More spacing between lines */
  color: #fff;              /* Light color for contrast on dark/floating background */
  margin: 8px 0;            /* Reduce vertical spacing */
  text-align: center;       /* Keep text centered */
}
/* Verify Button */
.cert-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  background: #000000;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
}

.cert-btn:hover {
  background: #ff6b81;
}

/*skills*/
#skills {
  position: relative;
  background: url('assets/background.png') center/cover no-repeat;
  color: white;
}

#skills::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 0;
}

#skills .home-content {
  position: relative;
  z-index: 1;
}
/* Section Styling */
.skills-section {
  position: relative;
  padding: 80px 20px;
  background: url('your-background.jpg') no-repeat center/cover;
  color: #fff;
  text-align: center;
}

/* Section Heading */
.skills-section-heading {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: bold;
  color: #fff;
}

/* Skills Container (Grid Layout) */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Floating Skill Card */


/* Hover Effect */
.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
  background: rgba(255, 255, 255, 0.15);
}

/* Skill Name */
.skill-name {
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 5px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  width: 0;
  transition: width 1.2s ease-in-out;
}

/*contact*/
/* Contact Section floating card */
/* Section Styling */
.contact-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 20px;
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Heading */
.contact-heading {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  font-weight: bold;
}

/* Layout */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  
  z-index: 2; /* make sure floating content is above background */
}

.contact-section {
  background: rgba(0, 0, 0, 0.3); /* 0.3 = 30% opacity */
  text-align: center;
}
/* Left Form */

.contact-form,
.contact-card {
  flex: 0 1 350px;
  max-width: 350px;
  width: 100%;
  padding: 40px 30px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  transform: translateY(0);
  transition: transform 0.3s, box-shadow 0.3s;

}

.contact-form:hover {
  transform: translateY(-10px); /* lift effect on hover */
  box-shadow: 0 25px 50px rgba(0,0,0,0.7);
}

.contact-form label {
  display: block;
  margin: 10px 0 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #000000;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #808080;
}

/* Right Card */


.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.7);
}

.avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 5px solid #fff;
  margin-bottom: 20px;
  
}

.contact-title {
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: bold;
  text-align: center;
}

/* Social Links */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  color: #000;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
}

.contact-link img {
  width: 24px;
  height: 24px;
}

.contact-link:hover {
  transform: translateY(-3px);
  background: #f1f1f1;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-form,
  .contact-card {
    max-width: 100%;
  }
}
.skillbook-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #1a1a1a, #111);
  color: #fff;
  text-align: center;
  position: relative;
}

.skillbook-heading {
  font-size: 2.5rem;
  margin-bottom: 50px;
  z-index: 10;
  color: #000000;
  position: relative;
}

/* Floating container with shadow and padding */
.skillbook-floating-container {
  background: rgba(20, 20, 20, 0.85);
  padding: 40px 30px;
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  display: inline-block;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* Skills grid */
.skillbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Skill card */
.skillbook-card {
  background-color: #222;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.skillbook-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}

.skillbook-title {
  margin: 15px 0;
  font-size: 1.2rem;
}

.skillbook-img-wrapper {
  flex-grow: 1;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skillbook-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.skillbook-card:hover .skillbook-img {
  transform: scale(1.05);
}

/* Download button floating at bottom of container */
.skillbook-download {
  margin-top: 40px;
  text-align: center;
}

.skillbook-btn {
  background-color: #ff4c60;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  display: inline-block;
}

.skillbook-btn:hover {
  background-color: #e04353;
}
