 * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: 'Poppins', sans-serif;
      background: linear-gradient(to bottom right, #ffffff, #e6f0ff);
      color: #1e1e2f;
      overflow-x: hidden;
    }
    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      padding: 20px 40px;
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      z-index: 999;
      position: sticky;
      top: 0;
    }
    nav h1 {
      font-size: 22px;
      color: #1e40af;
      font-weight: 700;
    }
    nav ul {
      display: flex;
      flex-wrap: wrap;
      gap: 25px;
    }
    nav ul li {
      list-style: none;
    }
    nav ul li a {
      color: #374151;
      text-decoration: none;
      font-weight: 500;
    }
    nav ul li a:hover {
      color: #0ea5e9;
    }
    .hero {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-start;
      padding: 60px 5%;
      min-height: 100vh;
    }
    .hero-text {
      flex: 1 1 500px;
      z-index: 2;
      padding-top: 60px;
    }
    .hero-text h1 {
      font-size: 72px;
      color: #0ea5e9;
      white-space: nowrap;
      margin-bottom: 20px;
      position: relative;
      padding-left: 20px;
    }
    .hero-text h1::before {
      content: '';
      position: absolute;
      left: 0;
      top: 10px;
      height: 80%;
      width: 6px;
      background: #0ea5e9;
      border-radius: 3px;
    }
    .hero-text h1 span { color: #6366f1; }
    .hero-text p {
      font-size: 22px;
      margin-top: 20px;
    }
    .hero-text .highlight {
      background: linear-gradient(90deg, #0ea5e9, #22c55e);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 700;
    }
    .hero-img {
      flex: 0 1 320px;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 80px;
    }
    .hero-img img {
      width: 100%;
      max-width: 320px;
      height: auto;
      border-radius: 25px 100px 25px 100px;
      border: 4px solid #0ea5e9;
      box-shadow: 0 0 25px rgba(14, 165, 233, 0.3);
    }
    #tsparticles {
      position: fixed;
      width: 100%;
      height: 100%;
      z-index: -1;
      top: 0;
      left: 0;
    }
    .skills-marquee {
      margin-top: 50px;
      font-size: 20px;
      font-weight: 600;
      color: #0ea5e9;
    }
    #animated-text {
      display: inline-block;
      animation: blinkCursor 0.8s infinite;
    }
    @keyframes blinkCursor {
      0%, 100% { border-right: 2px solid transparent; }
      50% { border-right: 2px solid #0ea5e9; }
    }
    @media (max-width: 992px) {
      .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      .hero-text h1 {
        font-size: 42px;
        white-space: normal;
        padding-left: 0;
      }
      .hero-text h1::before {
        display: none;
      }
    }





@keyframes slideHeadingFromTop {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeImageFromTop {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animate headings */
.hero-text h1,
.hero-text p {
  opacity: 0;
  animation: slideHeadingFromTop 1s ease-out forwards;
}

.hero-text h1 {
  animation-delay: 0.2s;
}

.hero-text p {
  animation-delay: 0.5s;
}

/* Animate hero image */
.hero-img {
  opacity: 0;
  animation: fadeImageFromTop 1s ease-out forwards;
  animation-delay: 0.8s;
}











/*after home section*/


.overview-section {
  background: linear-gradient(to bottom, #f2faff, #e6f7ff);
  padding: 80px 20px;
}

.overview-container {
  max-width: 1200px;
  margin: auto;
}

.intro-heading {
  font-size: 20px;
  font-weight: 600;
  color: #008ecc;
  margin-bottom: 10px;
  animation: fadeInLeft 1s ease-in-out;
}

.overview-heading {
  font-size: 50px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #1a1a1a;
  animation: fadeInLeft 1.2s ease-in-out;
}

.overview-description {
  font-size: 18px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 60px;
  animation: fadeInUp 1.5s ease-in-out;
}

.highlight {
  color: #0073e6;
  font-weight: 600;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background-color: rgba(0, 153, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
}

.skill-card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
}

.skill-card i {
  font-size: 40px;
  margin-bottom: 15px;
}

.skill-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

/* RESPONSIVE GRID BREAKPOINTS */
@media screen and (min-width: 600px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 900px) {
  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Font scaling for mobile */
@media screen and (max-width: 768px) {
  .overview-heading {
    font-size: 36px;
  }
  .overview-description {
    font-size: 16px;
  }
  .skill-card h3 {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .overview-heading {
    font-size: 30px;
  }
  .overview-description {
    font-size: 15px;
  }
  .skill-card i {
    font-size: 35px;
  }
  .skill-card h3 {
    font-size: 16px;
  }
}

/* Prevent overflow on ultra-small screens */
@media screen and (max-width: 250px) {
  body {
    width: 100%;
    overflow-x: hidden;
  }
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}














.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  box-sizing: border-box;
}

.skill-card {
  background-color: #fff;
  padding: 20px 10px;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  overflow-wrap: break-word;
  word-break: break-word;
}

.skill-card:hover {
  transform: translateY(-5px);
}

.skill-card i {
  font-size: 60px;
  margin-bottom: 10px;
}

.skill-card h3 {
  font-size: 16px;
  margin-top: 10px;
  color: #333;
}

/* Ultra-small screen fix (like <319px) */
@media (max-width: 320px) {
  .skills-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .skill-card {
    width: 100%;
    padding: 15px;
  }

  .skill-card i {
    font-size: 50px;
  }

  .skill-card h3 {
    font-size: 14px;
  }
}
body {
  min-width: 235px;
  overflow-x: auto; /* enables horizontal scroll instead of crash */
}















@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initial hidden state */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

/* Triggered state */
.animate-on-scroll.visible {
  animation: fadeInUp 1s ease forwards;
}



/* Initial hidden state */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* When visible */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}









/*skill section*/


.skills-section {
  background-color: white;
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 40px;
  color: #61DBFB;
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 6px;
  background-color: #61DBFB;
  border-radius: 3px;
  display: block;
  margin: 10px auto 0;
}

.sub-title {
  font-size: 28px;
  color: #61DBFB;
  margin: 50px 0 30px;
}

.icon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.icon-item {
  width: 100px;
  text-align: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.icon-item img {
  width: 60px;
  height: 60px;
}

.icon-item span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #222;
}

.icon-item {
  background-color: white;
  transition: transform 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease, background-color 0.5s ease;
  border-radius: 12px; /* optional rounded corners */
  overflow: hidden;
}

.icon-item:hover {
  background-color: rgba(0, 191, 255, 0.1); /* light sky blue glow background */
  transform: scale(1.15);
  filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.6));
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.4);
}







.icon-item.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

.icon-item.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-in-out;
}




/*experience*/
/* Timeline Section */
.timeline-section {
  background: white;
  padding: 60px 20px;
  text-align: center;
}

.timeline-heading {
  font-size: 36px;
  color: #00BFFF;
  margin-bottom: 20px;
  font-weight: bold;
}

.timeline-subheading {
  font-size: 18px;
  color: #444;
  margin-bottom: 50px;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #00BFFF;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 20px 20px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.left {
  left: 0;
  text-align: left;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 4px solid #00BFFF;
  border-radius: 50%;
  z-index: 2; /* Make sure it's on top */
  transform: translateX(-50%); /* Center dot on the line */
  left: 50%; /* Position on the center line */
}

.timeline-item.left .timeline-dot {
  right: -10px;
}

.timeline-item.right .timeline-dot {
  left: -10px;
}

.timeline-content {
  background: #f8faff;
  padding: 20px 30px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 191, 255, 0.1);
}

.timeline-content h3 {
  margin-top: 0;
  color: #00BFFF;
  text-align: left;
}

.subtitle {
  color: #555;
  margin-bottom: 10px;
  text-align: left;
}

.timeline-content ul {
  padding-left: 20px;
  margin: 0;
  text-align: left;
}

.timeline-content li {
  margin-bottom: 6px;
  font-size: 14px;
  color: #222;
}

.timeline-date {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #777;
  text-align: left;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left;
    margin-bottom: 40px;
  }

  .timeline::after {
    left: 20px;
  }

  .timeline-dot {
    left: 10px !important;
    right: auto;
  }

  .timeline-content {
    margin-left: 40px;
  }
}














.timeline-section {
      background: white;
      padding: 60px 20px;
      text-align: center;
    }

    .timeline-heading {
      font-size: 36px;
      color: #00BFFF;
      margin-bottom: 20px;
      font-weight: bold;
    }

    .timeline-subheading {
      font-size: 18px;
      color: #555;
      margin-bottom: 60px;
    }

    .timeline {
      position: relative;
      max-width: 1200px;
      margin: auto;
      padding: 0 20px;
    }

    .timeline::after {
      content: '';
      position: absolute;
      width: 4px;
      background-color: #00BFFF;
      top: 0;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: 0;
    }

    .timeline-item {
      padding: 20px 40px;
      position: relative;
      width: 50%;
      box-sizing: border-box;
    }

    .timeline-item.left {
      left: 0;
      text-align: left;
    }

    .timeline-item.right {
      left: 50%;
      text-align: left;
    }

    .timeline-dot {
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 4px solid #00BFFF;
  border-radius: 50%;
  z-index: 2; /* Make sure it's on top */
  transform: translateX(-50%); /* Center dot on the line */
  left: 50%; /* Position on the center line */
}


  

    .timeline-content {
      background: #f8faff;
      padding: 20px 30px;
      border-radius: 10px;
      box-shadow: 0 4px 20px rgba(0, 191, 255, 0.2);
      z-index: 2;
      position: relative;
      transition: all 0.3s ease-in-out;
    }

    .timeline-content h3 {
      margin-top: 0;
      color: #00BFFF;
    }

    .subtitle {
      color: #666;
      font-weight: 500;
      margin-bottom: 10px;
    }

    .timeline-content ul {
      padding-left: 20px;
      margin: 0;
    }

    .timeline-content li {
      margin-bottom: 6px;
      font-size: 14px;
      color: #222;
    }

    .timeline-date {
      display: block;
      margin-top: 10px;
      font-size: 13px;
      color: #777;
    }

    @media screen and (max-width: 768px) {
      .timeline::after {
        left: 20px;
      }

      .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left;
        margin-bottom: 50px;
      }

      .timeline-dot {
        left: 10px !important;
        right: auto;
      }

      .timeline-content {
        margin-left: 40px;
      }
    }












.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: #00BFFF; /* Sky blue color */
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-dot-logo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50%;
  border: 3px solid #00BFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot-logo img {
  width: 60%;
  height: auto;
}









@media screen and (max-width: 768px) {
  .timeline::after,
  .timeline::before {
    display: none !important;
  }

  .timeline-dot-logo {
    display: none !important;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left;
    margin-bottom: 50px;
  }

  .timeline-dot {
    display: none !important;
  }

  .timeline-content {
    margin-left: 0 !important;
  }
}
@media screen and (max-width: 768px) {
  .timeline {
    padding: 0 10px; /* Reduce padding */
  }

  .timeline-content {
    margin: 0 !important;       /* Remove side margin */
    padding: 15px 20px !important; /* Adjust inner padding */
    width: 100%;
  }

  .timeline-item {
    padding: 0;
    margin-bottom: 40px;
  }

  .timeline-content h3,
  .subtitle,
  .timeline-content ul,
  .timeline-date {
    text-align: left !important;
  }
}








/*projects*/
.projects-section {
  background: white;
  padding: 60px 30px;
  color: #1e90ff; /* Sky blue */
}

.projects-header {
  text-align: left;
  margin-left: 20px;
  max-width: 1200px;
}

.small-heading {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
  color: #1e90ff;
  margin-bottom: 5px;
}

.main-heading {
  font-size: 40px;
  font-weight: 800;
  color: #1e90ff;
  margin-bottom: 10px;
}

.description {
  font-size: 16px;
  color: #444;
  max-width: 800px;
  margin-bottom: 40px;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.project-card {
  background: #f0faff;
  border-radius: 16px;
  padding: 20px;
  width: 340px;
  box-shadow: 0 8px 16px rgba(0, 191, 255, 0.1);
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.project-card h3 {
  color: #1e90ff;
  margin-top: 15px;
  font-size: 22px;
}

.project-desc {
  font-size: 15px;
  color: #333;
  margin-top: 10px;
  line-height: 1.5;
}

.tech-tags {
  margin-top: 12px;
}

.tech-tags span {
  font-size: 13px;
  color: #1e90ff;
  margin-right: 10px;
}















/* TEXT ANIMATIONS */
.projects-header .small-heading,
.projects-header .main-heading,
.projects-header .description {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.8s ease-out forwards;
}

.projects-header .main-heading {
  animation-delay: 0.3s;
}
.projects-header .description {
  animation-delay: 0.6s;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}








.projects-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 30px 20px;
  scroll-snap-type: x mandatory;
}

.project-card {
  background-color: #ffffff;
  border: 2px solid #00aaff; /* strong blue border */
  border-radius: 12px;
  padding: 20px;
  width: 320px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.3); /* blue glow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(0, 170, 255, 0.6); /* stronger blue glow */
  border-color: #0088cc;
}

.project-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #00aaff;
}

.project-card h3 {
  color: #007acc;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  border-left: 4px solid #00aaff;
  padding-left: 10px;
}

.project-card .project-desc {
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.6;
}

.tech-tags {
  margin-top: 10px;
}

.tech-tags span {
  background-color: #e6f7ff;
  color: #007acc;
  font-size: 12px;
  padding: 6px 12px;
  margin: 4px 4px 0 0;
  border: 1px solid #00aaff;
  border-radius: 20px;
  display: inline-block;
  font-weight: 500;
}






@media screen and (max-width: 400px) {
  .projects-grid {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    align-items: center;
  }

  .project-card {
    width: 100%;
    max-width: 90vw;
    padding: 15px;
  }

  .project-card .project-image {
    height: auto;
  }

  .project-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .project-card h3,
  .project-card .project-desc,
  .tech-tags {
    text-align: center;
  }

  .tech-tags span {
    display: inline-block;
    margin: 4px 6px;
  }
}








.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}






/*reviews*/

.testimonial-section {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  color: #0e3f78;
  font-family: 'Poppins', sans-serif;
}

.sub-heading {
  color: #0e3f78;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.main-heading {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 40px;
  color: #0e3f78;
}

.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial-card {
  background-color: #e6f7ff;
  border-radius: 20px;
  padding: 30px;
  max-width: 350px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: left;
}

.quote {
  font-size: 32px;
  color: #00aaff;
  font-weight: bold;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 20px 0;
}

.author-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author-name {
  font-weight: bold;
  color: #0e3f78;
}

.author-title {
  font-size: 13px;
  color: #666;
}

.author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00aaff;
}












/* Updated heading sizes */
.sub-heading {
  font-size: 18px;
  font-weight: 600;
}

.main-heading {
  font-size: 60px;
  font-weight: 900;
  margin-bottom: 50px;
}

/* Animation styles */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-in-out;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}







.testimonial-card {
  background-color: #e6f7ff;
  border-radius: 20px;
  padding: 30px;
  max-width: 350px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-in-out;
  transform: translateY(40px);
  opacity: 0;
  animation: none;
}

.testimonial-card.animate {
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: var(--delay);
}

@keyframes fadeUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hover effect */
.testimonial-card:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 170, 255, 0.25);
}

/* Smooth appearance of all children */
.testimonial-text,
.author-info,
.author-img {
  transition: all 0.3s ease-in-out;
}








@media (max-width: 768px) {
  .main-heading {
    font-size: 36px;
    line-height: 1.2;
  }

  .sub-heading {
    font-size: 14px;
    letter-spacing: 0.5px;
  }

  .testimonial-text {
    font-size: 15px;
  }
}
.testimonial-section,
.container {
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .testimonial-section,
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}




.testimonial-card {
  background-color: #e6f7ff;
  border-radius: 20px;
  padding: 30px;
  max-width: 350px;
  width: 100%; /* NEW: allow shrinking */
  box-sizing: border-box; /* NEW: keeps padding inside */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: left;
  transition: all 0.4s ease-in-out;
}





@media (max-width: 360px) {
  .testimonial-section {
    padding: 40px 10px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-cards {
    gap: 20px;
  }

  .main-heading {
    font-size: 28px;
    line-height: 1.2;
  }

  .sub-heading {
    font-size: 12px;
  }
}

/*contact*/


.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 40px;
  background-color: white;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-content {
  flex: 1;
  max-width: 600px;
  background-color: #e0f7ff; /* Light sky blue */
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  color: #0ea5e9;
}

.contact-subtitle {
  font-size: 18px;
  color: #0a4e6f;
  margin-bottom: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.contact-heading {
  font-size: 60px;
  font-weight: 900;
  margin-bottom: 30px;
  color: #0ea5e9;
}

.contact-heading .dot {
  color: #0ea5e9;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-btn {
  padding: 12px 20px;
  border: 2px solid #0ea5e9;
  color: #0ea5e9;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-btn i {
  margin-left: 8px;
}

.contact-btn:hover {
  background: #0ea5e9;
  color: white;
}

.contact-image {
  flex: 1;
  max-width: 625px;
 
}

.contact-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Animations */
.animate-left,
.animate-right {
  opacity: 0;
  transform: translateX(80px);
  transition: all 1s ease;
}

.animate-left {
  transform: translateX(-80px);
}

.animate-visible {
  opacity: 1;
  transform: translateX(0);
}


@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .contact-content,
  .contact-image {
    max-width: 100%;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .contact-heading {
    font-size: 40px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .contact-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  .animate-left,
  .animate-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.contact-section {
  align-items: stretch; /* Make both sides equal height */
}
.contact-image img {
  height: 100%;
  object-fit: cover; /* or "contain" if you want full image inside */
}
/* Default: Desktop screens (full height) */
.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1024px) {
  .contact-image img {
    height: auto;
    object-fit: contain;
  }

  .contact-image {
    align-self: flex-start; /* Ensures layout doesn't stretch oddly */
  }
}

/*footer*/
.site-footer {
  background-color: #ffffff; /* Clean white */
  color: #00bfff; /* Sky blue text */
  padding: 50px 40px 20px;
  font-family: 'Poppins', sans-serif;
  transition: all 1s ease;
  opacity: 0;
  transform: translateY(50px);
}

.site-footer.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-left {
  text-align: left;
  max-width: 600px;
}

.footer-left h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: bold;
  color: #00bfff;
}

.footer-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-btn {
  background-color: white;
  color: #00bfff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #00bfff;
  transition: 0.3s ease;
}

.footer-btn:hover {
  background-color: #00bfff;
  color: white;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: #00bfff;
  margin: 25px 0;
}

footer p {
  font-size: 14px;
  color: #00bfff;
  text-align: center;
}



.footer-btn {
  background-color: white;
  color: #00bfff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid #00bfff;
  transition: 0.3s ease;
  text-decoration: none !important; /* 🔥 removes underline */
  display: inline-block;
}

body {
  overflow-x: hidden;
}





/*experience*/

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-in-out;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}







/*nav bar animation*/
/* Keyframe: Clean float + scale + fade */
@keyframes navEntrance {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

nav {
  background-color: #fff;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav h1,
nav ul li {
  opacity: 0;
  animation: navEntrance 0.6s ease-out forwards;
  transform-origin: top center;
}

/* Smooth staggered entrance */
nav h1 {
  animation-delay: 0.2s;
}
nav ul li:nth-child(1) {
  animation-delay: 0.4s;
}
nav ul li:nth-child(2) {
  animation-delay: 0.6s;
}
nav ul li:nth-child(3) {
  animation-delay: 0.8s;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #ff4f8b;
  transition: width 0.3s ease;
}

nav a:hover {
  color: #ff4f8b;
}

nav a:hover::after {
  width: 100%;
}







/*intoduction text animation*/

/* Animation keyframes */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initial hidden state */
.intro-heading,
.overview-heading,
.overview-description {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animated visible state */
.animate-on-scroll {
  animation: fadeSlideUp 0.8s ease-out forwards;
}


.intro-heading {
  animation-delay: 0.2s;
}
.overview-heading {
  animation-delay: 0.4s;
}
.overview-description {
  animation-delay: 0.6s;
}






/*Experience heading animation*/

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initial hidden state */
.timeline-subheading {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Triggered animation */
.animate-on-scroll {
  animation: fadeSlideUp 0.8s ease-out forwards;
}


/*My projects text styling*/
@keyframes elegantFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Initial state */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(2px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
}

/* Triggered class */
.fade-up.visible {
  animation: elegantFadeUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}






/*faqs css*/


.exact-faq-section {
  padding: 100px 20px;
  background: linear-gradient(to bottom right, #f0f9ff, #d2eaff);
  font-family: 'Poppins', sans-serif;
  color: #0e3f78;
  text-align: center;
}

.exact-faq-heading {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #0e3f78;
  opacity: 0;
  transform: scale(0.8) rotateX(80deg);
  transition: all 1s ease;
}

.exact-faq-subheading {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 60px;
  color: #4c9ed9;
  opacity: 0;
  transform: scale(0.8) rotateX(80deg);
  transition: all 1s ease 0.2s;
}

.exact-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.exact-faq-card {
  background: white;
  padding: 25px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
  transform: scale(0.9) translateY(50px);
  opacity: 0;
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.exact-faq-card.visible {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.exact-faq-card:hover {
  transform: scale(1.02) translateY(-6px) rotateX(2deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.6s ease;
}

.exact-faq-question {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0e3f78;
}

.exact-faq-answer {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 768px) {
  .exact-faq-heading {
    font-size: 36px;
  }
  .exact-faq-subheading {
    font-size: 16px;
  }
}

/* Animation on scroll */
.animate-section .exact-faq-heading.visible,
.animate-section .exact-faq-subheading.visible {
  transform: scale(1) rotateX(0);
  opacity: 1;
}


@media (max-width: 279px) {
  .exact-faq-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 10px;
    margin: 0;
  }

  .exact-faq-card {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
  }
}
@media (max-width: 324px) {
  .exact-faq-section {
    padding: 60px 0;
  }

  .exact-faq-grid {
    display: flex;                /* Change from grid to flex */
    flex-direction: column;
    align-items: center;         /* Center cards horizontally */
    gap: 20px;
    padding: 0 15px;             /* ✅ Equal space on both sides */
    box-sizing: border-box;
    width: 100%;
  }

  .exact-faq-card {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
  }
}




/*services i offer*/


 .service-card {
    background: white;
    border: 1px solid #4c9ed9;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateX(100px);
  }

  .service-card.animate-left {
    transform: translateX(-100px);
  }

  .service-card.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .service-card:hover {
    transform: scale(1.05) rotateX(1deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0e3f78;
  }

  .service-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
  }






.services-section {
  background: #ffffff;
  padding: 50px 20px;
  font-family: 'Poppins', sans-serif;
  color: #0e3f78;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services-heading {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #0e3f78;
}

.services-subheading {
  font-size: 18px;
  margin-bottom: 80px;
  color: black;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.service-card {
  background: white;
  border: 1px solid #4c9ed9;
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.6s ease;
  opacity: 0;
  transform: translateX(100px);
}

.service-card.animate-left {
  transform: translateX(-100px);
}

.service-card.visible {
  opacity: 1;
  transform: translateX(0);
}

.service-card:hover {
  transform: scale(1.05) rotateX(1deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0e3f78;
}

.service-text {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

/* 💡 Small screen fix for 270–324px */
@media screen and (max-width: 324px) {
  .services-heading {
    font-size: 28px;
  }

  .services-subheading {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .service-card {
    padding: 20px 15px;
  }

  .service-title {
    font-size: 18px;
  }

  .service-text {
    font-size: 14px;
  }
}
@media screen and (max-width: 324px) {
  .services-grid,
  .exact-faq-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 0 10px;
  }

  .service-card {
    padding: 20px 15px !important;
  }

  .service-title {
    font-size: 18px !important;
  }

  .service-text {
    font-size: 14px !important;
  }

  .exact-faq-heading {
    font-size: 28px !important;
  }

  .exact-faq-subheading {
    font-size: 16px !important;
  }
}



/* Keep your existing styling */
.services-heading {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #0e3f78;
  text-align: center;
  padding: 0 10px;
}

.services-subheading {
  font-size: 18px;
  margin-bottom: 80px;
  color: black;
  text-align: center;
  padding: 0 10px;
}

/* Character animation */
.animated-text span {
  display: inline-block;
  opacity: 0;
  transform: translateX(30px);
  animation: fade-slide-in 0.5s forwards;
}

.animated-text span.left {
  transform: translateX(-30px);
}

/* Keyframes */
@keyframes fade-slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}








/*nav*/
/* Navbar core */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

/* Navbar top section */
.navbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Heading */
.site-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e40af;
  margin: 0;
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

/* Toggle Button (☰) */
.toggle-btn {
  font-size: 26px;
  background: none;
  border: none;
  color: #0e3f78;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1001;
}

/* Sidebar Nav */
.nav-links {
  list-style: none;
  padding: 30px 20px;
  margin: 0;
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  width: 50%;
  background-color: white;
  flex-direction: column;
  gap: 20px;
  transition: right 0.3s ease;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  z-index: 999;
  display: flex;
}

/* Sidebar open state */
.nav-links.show {
  right: 0;
}

/* Close button in sidebar */
.close-btn {
  align-self: flex-end;
  font-size: 24px;
  background: none;
  border: none;
  color: #0e3f78;
  cursor: pointer;
}

/* Navigation links */
.nav-links li a {
  color: #0e3f78;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
  display: block;
}

.nav-links li a:hover {
  color: #4c9ed9;
}

/* Lock scroll on sidebar open */
body.lock-scroll {
  overflow: hidden;
}

/* Responsive behavior */
@media (min-width: 769px) {
  .toggle-btn,
  .close-btn {
    display: none !important;
  }

  .nav-links {
    position: static;
    display: flex !important;
    flex-direction: row;
    height: auto;
    width: auto;
    padding: 0;
    box-shadow: none;
    gap: 20px;
  }

  .nav-links.show {
    right: auto;
  }

  .site-title {
    white-space: nowrap;
  }
}











@media (max-width: 300px) {
  .navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-title {
    flex: 1 1 100%; /* Full width */
    margin-bottom: 10px;
  }

  .toggle-btn {
    align-self: flex-end;
  }
}









@media (max-width: 330px) {
  .navbar-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .site-title {
    flex: 1 1 100%;
    margin-bottom: 8px;
    white-space: normal;
  }

  .toggle-btn {
    align-self: flex-end;
  }
}






.site-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e40af;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.site-title span {
  white-space: nowrap;
}

/* Rule 1: Move 'Aspiring DevOps Engineer' down at ≤ 594px */
@media (max-width: 594px) {
  .site-title .line3 {
    display: block;
    width: 100%;
  }
}

/* Rule 2: Move 'Developer' down at ≤ 280px */
@media (max-width: 280px) {
  .site-title .line2 {
    display: block;
    width: 100%;
  }
}


/*link color on hover*/

.nav-links li a {
  color: #0e3f78;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 5px 0;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0; /* tightly under the text */
  width: 100%;
  height: 2px;
  background-color: #4c9ed9; /* sky blue */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a:focus::after {
  transform: scaleX(1); /* show underline */
}



html, body {
  width: 100%;
  min-height: 100vh; /* ✅ allows full height without hiding content */
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* ✅ remove right scroll */
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}





body::-webkit-scrollbar {
  width: 0px; /* hides scrollbar without removing scroll functionality */
}

/*Here the nav bar styling ends */











 /*intro divs animation*/

@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Initial state */
.skill-card {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Animate when in view */
.skill-card.animate-left {
  animation: slideInLeft 1s ease forwards;
}

.skill-card.animate-right {
  animation: slideInRight 1s ease forwards;
}







.skill-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:nth-child(odd):hover {
  transform: translateX(5px); /* slight move right */
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.skill-card:nth-child(even):hover {
  transform: translateX(-5px); /* slight move left */
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}









/*text animation in introduction*/



/* Fade-up animation only */
@keyframes fadeUpCustom {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Only animation-related styles here */
.animate-fade-up {
  /* Do not override existing layout styles */
  opacity: 0;
  visibility: hidden;
}

.animate-fade-up.in-view {
  visibility: visible;
  animation: fadeUpCustom 0.8s ease-out forwards;
}








/*projects animation*/

@keyframes slideFadeLeft {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFadeRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Initial hidden state */
.project-card {
  opacity: 0;
  transform: translateY(20px); /* fallback position */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* keeps your hover effect */
}

/* Triggered animation from left */
.project-card.animate-left {
  animation: slideFadeLeft 0.8s ease-out forwards;
}

/* Triggered animation from right */
.project-card.animate-right {
  animation: slideFadeRight 0.8s ease-out forwards;
}



/* Base card – keep your current shape/design untouched */
.exact-faq-card {
  position: relative;
  background: #fff;                 /* Or your own background */
  border: 1px solid #ddd;           /* Keep existing border */
  padding: 20px;                    /* Keep your original padding */
  border-radius: 20px;              /* No change in shape */
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  z-index: 0;
  overflow: hidden;
}

/* Hover glow only — beautiful subtle highlight */
.exact-faq-card:hover {
  border-color: #007bff;
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.2);
}

/* Optional glowing gradient effect using pseudo element */
.exact-faq-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

/* Show the glowing gradient slightly on hover */
.exact-faq-card:hover::before {
  opacity: 0.07;
}






/*side bar when open on small screen then lock hole site*/

/* ✅ Lock scroll when menu is open */
.lock-scroll {
  height: 100vh;
  overflow: hidden;
}

/*sidebar designing*/

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 270px;
    height: 100vh;
    background: linear-gradient(to bottom, #ffffff, #e6f7ff); /* White to light sky blue */
    padding: 2rem 1.5rem;
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: right 0.35s ease-in-out;
    border-left: 4px solid #87cefa; /* Light sky blue border */
    border-radius: 10px 0 0 10px;
  }

  .nav-links.show {
    right: 0;
  }

  .nav-links li {
    margin: 1rem 0;
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 18px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #007acc; /* Darker sky blue text */
    background-color: rgba(135, 206, 250, 0.15); /* Light blue background */
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
  }

  .nav-links a:hover {
    background-color: rgba(135, 206, 250, 0.3);
    color: #005f99;
    transform: translateX(4px);
  }

  .close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #007acc;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .close-btn:hover {
    transform: rotate(90deg);
  }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%); /* Completely hide off-screen */
    width: 270px;
    height: 100vh;
    background: linear-gradient(to bottom, #ffffff, #e6f7ff);
    padding: 2rem 1.5rem;
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.35s ease-in-out;
    border-left: 4px solid #87cefa;
    border-radius: 10px 0 0 10px;
  }

  .nav-links.show {
    transform: translateX(0); /* Slide into view */
  }
}



/*services i offered*/
.services-heading {
  text-align: center;
}

/* Responsive: move "Offer" down on small screens */
@media (max-width: 432px) {
  .responsive-break {
    display: block;
    margin-top: 6px;
  }
}

/* Character animation base */
.word span {
  opacity: 0;
  display: inline-block;
  animation: fadeInUp 0.5s forwards;
}

.word span.left {
  animation-name: fadeInLeft;
}

.word span.right {
  animation-name: fadeInRight;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}





/* Works for heading and paragraph */
.animated-text span {
  opacity: 0;
  display: inline-block;
  animation: fadeInUp 0.5s forwards;
}

.animated-text span.left {
  animation-name: fadeInLeft;
}

.animated-text span.right {
  animation-name: fadeInRight;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}









@media (max-width: 300px) {
  .hero {
    margin-top: 60px; /* or padding-top: 100px; */
  }
}
