* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
    }
    html, body {
      height: 100%;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f5f6fa;
      color: #2c3e50;
    }
    header {
      position: fixed;
      top: 0;
      width: 100%;
      height: 80px;
      z-index: 1000;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 4rem;
      background: white;
      box-shadow: 0 5px 7px rgba(0,0,0,0.05);
    }
    header h1 {
      color: #1F456E;
      font-size: 2.2rem;
    }
    nav a {
      margin-left: 2rem;
      text-decoration: none;
      color: #2c3e50;
      font-weight: 500;
      font-size: 1.1rem;
      transition: color 0.3s ease, transform 0.2s ease;
    }
    nav a:hover {
      color: #03166c;
      transform: translateY(-2px);
    }

    .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 4rem 8%;
      margin-top: 100px;
      flex-wrap: wrap;
      min-height: calc(100vh - 120px);
    }
    .text-section {
      max-width: 50%;
    }
    .text-section h2 {
      font-size: 4rem;
      color: #2c3e50;
    }
    .text-section h3 {
      font-size: 2.5rem;
      color: #1F456E;
      margin-top: 1.5rem;
    }
    .text-section p {
      margin-top: 1.5rem;
      color: #555;
      line-height: 1.8;
      font-size: 1.2rem;
    }
    .icons {
      margin-top: 2rem;
    }
    .icons a {
      margin-right: 1.2rem;
      text-decoration: none;
      font-size: 1.5rem;
      color: #1F456E;
      background-color: white;
      padding: 0.8rem;
      border-radius: 55%;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      display: inline-block;
      transition: all 0.3s ease;
    }
    .icons a:hover {
      background-color: #1F456E;
      color: white;
      transform: scale(1.1);
    }
    .image-section {
      max-width: 45%;
      text-align: center;
    }
    .profile-img {
      width: 120%;
      max-width: 400px;
      border-radius: 50%;
      margin-right: 5rem;
      border: 8px solid white;
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }




    .about-section {
      background-color: white;
      padding: 4rem 8%;
      color: #2c3e50;
    }
    .about-container {
      display: flex;
      margin-top: 50px;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 4rem;
    }
    .about-left {
      flex: 1 1 55%;
      max-width: 50%;
    }
    .about-left h2 {
      font-size: 2.5rem;
      margin-bottom: 2rem;
      color: #1F456E;
    }
    .about-left p {
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 2rem;
      color: #555;
      text-align: left;
    }
    .resume-button {
      display: inline-block;
      padding: 0.8rem 2rem;
      font-size: 1.1rem;
      color: white;
      background-color: #1F456E;
      border: none;
      border-radius: 8px;
      text-decoration: none;
      transition: background-color 0.3s ease;
      box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .resume-button:hover {
      background-color: #163456;
    }
    .about-right {
      flex: 1 1 40%;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }
    .edu-card {
      align-items: center;
      gap: 1.5rem;
      background-color: #f5f6fa;
      border-left: 6px solid #1F456E;
      padding: 1.5rem 2rem;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .edu-icon {
      font-size: 2.5rem;
      color: #1F456E;
      flex-shrink: 0;
    }
    .edu-card h3 {
      font-size: 1.3rem;
      color: #1F456E;
      margin-bottom: 0.5rem;
    }
    .edu-card p {
      font-size: 1rem;
      color: #333;
    }
    .edu-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }


.tech-skills-section {
  padding: 4rem 2rem;
  max-width: 100%;
  background: #f7f9fc;  
}

.section-title {
  font-size: 2.5rem;
  margin-top: 50px;
  margin-bottom: 2rem;
  color: #1F456E;
}

.skills-container {
  max-width: 1200px;
  margin: 0 auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
}

.skill-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease;
  height: 100%;
}

.skill-card:hover {
  transform: translateY(-15px);
}

.skill-icon {
  font-size: 2rem;
  color: #1F456E;
  margin-bottom: 1rem;
}

.skill-card h3 {
  font-size: 1.3rem;
  color: #1F456E;
  margin-bottom: 1rem;
}

.skill-card ul {
  list-style-type: none;
  padding: 0;
}

.skill-card ul li {
  margin: 0.5rem 0;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
}

.skill-stats {
  width: 100%;
  background: #ffffffc7;
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.skill-stats:hover {
  transform: translateY(-15px);
}   

.skill-stats h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  text-align: center;
}


.project-section {
  background-color: #f5f6fa;
  padding: 3rem 8%;
}

.project-section h2 {
  text-align: center;
  font-size: 3rem;
  color: #1F456E;
  margin-top: 50px;
  margin-bottom: 3rem;
}

.project-category {
  margin-bottom: 4rem;
}

.project-category h3 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.category-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.project-scroll {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 1rem 0;
  width: 100%;
}

.project-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.project-card {
  flex: 0 0 calc(25% - 1.5rem); /* Show exactly 4 cards (25% width minus gap) */
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: fill;
}

.project-card-content {
  padding: 1rem;
}

.project-card-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3436;
}

.project-card-content p {
  margin: 1rem 0;
  font-size: 1rem;
  color: #636e72;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tags span {
  background-color: #E0E8F0;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.project-links {
  margin-top: 1rem;
}

.project-links a {
  color: #1F456E;
  font-size: 0.9rem;
  margin-right: 1rem;
  text-decoration: none;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease;
}

.scroll-btn:hover {
  background: #1F456E;
  color: white;
}

.left-btn {
  left: -20px;
}

.right-btn {
  right: -20px;
}

.scroll-btn i {
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
  .project-card {
    flex: 0 0 calc(33.333% - 1.33rem); /* 3 cards */
  }
}

@media screen and (max-width: 992px) {
  .project-card {
    flex: 0 0 calc(50% - 1rem); /* 2 cards */
  }
}

@media screen and (max-width: 768px) {
  .project-card {
    flex: 0 0 calc(100% - 1rem); /* 1 card */
  }
  
  .scroll-btn {
    width: 35px;
    height: 35px;
  }
  
  .left-btn {
    left: -15px;
  }
  
  .right-btn {
    right: -15px;
  }
}

.experience-section {
  margin-top: 50px;
  padding: 4rem 8%;
  background-color: #f5f6fa;
}

.timeline {
  position: relative;
  margin-left: 30px;
  padding-left: 20px;
  border-left: 3px solid #1F456E;
}

.exp-card {
  background-color: #fff;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.exp-card h4 {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.exp-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2d3436;
}

.exp-card p {
  font-size: 1rem;
  color: #636e72;
}

/* Timeline dot */
.exp-card .dot {
  position: absolute;
  left: -28px;
  width: 12px;
  height: 12px;
  background-color: #1F456E;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px #1F456E;
}



.achievements-section {
  padding: 4rem 8%;
  background-color: #f5f6fa;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  color: #1F456E;
  margin-bottom: 2rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.achievement-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.achievement-card .icon {
  font-size: 2.2rem;
  color: #5985A2;
  margin-bottom: 1rem;
}

.achievement-card h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.achievement-card p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}

.achievement-card a {
  color: #5985A2;
  text-decoration: none;
  font-weight: 500;
}

.achievement-card a:hover {
  text-decoration: underline;
}




.follow-me {
  background-color: #f5f6fa;
  color: #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 5rem;
  flex-wrap: wrap;
  border-top: 4px solid #1F456E;
  border-bottom: 4px solid #1F456E;
}

.follow-me h2 {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.follow-me p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 1000px;
}

.follow-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.follow-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  text-decoration: none;
  border: 2px solid #1F456E;
  border-radius: 50%;
  color: #1F456E;
  font-size: 2rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.follow-icons a:hover {
  background-color: #1F456E;
  color: #fff;
}



.contact-section {
  padding: 4rem 8%;
  background-color: #fff;
}

.section-title {
  font-size: 3rem;
  color: #1F456E;
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.contact-column {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card {
  background: #f5f6fa;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-card h4 {
  margin: 0;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: #5985A2;
}

.contact-card p {
  margin: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-card i {
  color: #5985A2;
}

.contact-card a {
  color: #1a1a1a;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}


    @media screen and (max-width: 768px) {
      .container {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
      }
      .text-section, .image-section {
        max-width: 100%;
      }
      .text-section h2 {
        font-size: 2.5rem;
      }
      .text-section h3 {
        font-size: 1.8rem;
      }
      .text-section p {
        font-size: 1.1rem;
      }
      .profile-img {
        max-width: 300px;
        margin-top: 2rem;
      }

      .about-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 1rem;
      }
      .about-left {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: left;
      }
      .about-left p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        text-align: left;
        padding: 0 0.5rem;
      }
      .about-right {
        flex: 1 1 100%;
        width: 100%;
      }
      .edu-card {
        width: 100%;
        text-align: left;
      }
    }

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .container {
    padding: 4rem 5%;
  }
  
  .text-section h2 {
    font-size: 3.5rem;
  }
  
  .text-section h3 {
    font-size: 2.2rem;
  }
  
  .profile-img {
    width: 120%;
  }
  
  .about-container {
    padding: 0 5%;
  }
  
  .skills-container {
    padding: 0 5%;
  }
}

@media screen and (max-width: 992px) {
  header {
    padding: 1rem 2rem;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  nav a {
    font-size: 1.2rem;
    margin-left: 1.5rem;
  }
  
  .text-section h2 {
    font-size: 3rem;
  }
  
  .text-section h3 {
    font-size: 2rem;
  }
  
  .text-section p {
    font-size: 1.5rem;
  }
  
  .about-left h2 {
    font-size: 2.2rem;
  }
  
  .about-left p {
    font-size: 1.4rem;
  }
  
  .edu-card h3 {
    font-size: 1.5rem;
  }
  
  .edu-card p {
    font-size: 1.3rem;
  }
  
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  header {
    height: auto;
    flex-direction: column;
    padding: 1rem;
  }
  
  nav {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  nav a {
    margin: 0.5rem;
    font-size: 1.1rem;
  }
  
  .container {
    flex-direction: column;
    text-align: center;
    padding: 2rem 5%;
  }
  
  .text-section {
    max-width: 100%;
    margin-bottom: 3rem;
  }
  
  .image-section {
    max-width: 100%;
  }
  
  .profile-img {
    width: 80%;
    margin-right: 0;
  }
  
  .about-container {
    flex-direction: column;
  }
  
  .about-left, .about-right {
    flex: 1 1 100%;
  }
  
  .skills-container {
    flex-direction: column;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .skill-stats {
    margin-top: 2rem;
  }
  
  .project-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    padding: 2rem 1rem;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-wrapper {
    flex-direction: column;
  }
  
  .contact-column {
    flex: 1 1 100%;
  }
}

@media screen and (max-width: 480px) {
  header h1 {
    font-size: 1.8rem;
  }
  
  nav a {
    font-size: 1rem;
    margin: 0.3rem;
  }
  
  .text-section h2 {
    font-size: 2.2rem;
  }
  
  .text-section h3 {
    font-size: 1.6rem;
  }
  
  .text-section p {
    font-size: 1rem;
  }
  
  .icons a {
    font-size: 1.5rem;
    padding: 0.6rem;
  }
  
  .about-left h2 {
    font-size: 2.5rem;
  }
  
  .about-left p {
    font-size: 1.2rem;
  }
  
  .resume-button {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
  }
  
  .edu-card {
    padding: 1rem;
  }
  
  .edu-card h3 {
    font-size: 1.3rem;
  }
  
  .edu-card p {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .skill-card h3 {
    font-size: 1.5rem;
  }
  
  .skill-card ul li {
    font-size: 1.1rem;
  }
  
  .project-card-content h3 {
    font-size: 1.5rem;
  }
  
  .project-card-content p {
    font-size: 1.1rem;
  }
  
  .project-tags span {
    font-size: 0.9rem;
  }
  
  .exp-card h3 {
    font-size: 1.3rem;
  }
  
  .exp-card p {
    font-size: 1.1rem;
  }
  
  .achievement-card h3 {
    font-size: 1.3rem;
  }
  
  .achievement-card p {
    font-size: 1.1rem;
  }
  
  .contact-card h4 {
    font-size: 1.3rem;
  }
  
  .contact-card p {
    font-size: 1.1rem;
  }
}

/* Add smooth transitions for responsive changes */
.container, .about-container, .skills-container, .project-grid, .achievements-grid, .contact-wrapper {
  transition: all 0.3s ease-in-out;
}

/* Fix for mobile menu */
@media screen and (max-width: 768px) {
  nav {
    width: 100%;
  }
  
  nav a {
    display: inline-block;
    padding: 0.5rem;
  }
}

/* Improve touch targets on mobile */
@media (hover: none) {
  .icons a, .resume-button, .project-links a, .contact-card a {
    padding: 1rem;
  }
  
  .skill-card, .project-card, .achievement-card, .contact-card {
    cursor: default;
  }
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #2c3e50;
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: white;
    padding: 80px 20px;
    flex-direction: column;
    align-items: center;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    margin: 15px 0;
    font-size: 1.2rem;
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Hamburger Animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Overlay when menu is open */
  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .overlay.active {
    display: block;
  }
}

footer {
  font-size: 1rem;
}

/* Responsive adjustments for skills section */
@media screen and (max-width: 1200px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .skill-stats {
    margin-top: 2rem;
  }
}