/* ===== GLOBAL RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Main background color - Dark classic blue */
body {
  background: #0a1828;
}

/* ===== SCROLL BEHAVIOR & NAVIGATION ===== */
/* Fix scroll offset for fixed navbar to prevent content overlap */
#about,
#skills,
#education,
#interests,
#projects,
#contact {
  scroll-margin-top: 100px;
}

/* ===== BASE LINK STYLES ===== */
a {
  color: #fff;
  text-decoration: none;
}

/* ===== NAVIGATION BAR ===== */
/* Fixed navbar with glassmorphism effect */
.navbar {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  padding: 25px 9%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;

  /* Glassmorphism background effect */
  background: rgba(10, 24, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(23, 133, 130, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Initial hidden state for animation */
  visibility: hidden;
  opacity: 0;
  animation: show-content 1.5s linear forwards;
  animation-delay: 1.2s;
}

/* ===== ANIMATIONS ===== */
/* Fade-in animation for navbar and sections */
@keyframes show-content {
  100% {
    visibility: visible;
    opacity: 1;
  }
}

/* ===== NAVIGATION ELEMENTS ===== */
/* Logo styling */
.navbar .logo {
  font-size: 30px;
  font-weight: 700;
}

/* Navigation menu container */
.navbar ul.nav-menu {
  display: flex;
  list-style: none;
}

/* Individual menu items */
.navbar ul.nav-menu li {
  margin-left: 35px;
  font-size: 20px;
  font-weight: 500;
  transition: 0.5s;
  position: relative;
}

/* Menu item links */
.navbar ul.nav-menu li a {
  position: relative;
  transition: 0.5s;
}

/* Underline effect for menu items */
.navbar ul.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #13716e;
  transition: width 0.3s ease;
}

/* Show underline on hover and active state */
.navbar ul.nav-menu li:hover a::after,
.navbar ul.nav-menu li.active a::after {
  width: 100%;
}

.navbar ul.nav-menu li:hover a,
.navbar ul.nav-menu li.active a {
  color: #199490;
}

/* ===== MOBILE HAMBURGER MENU ===== */
/* CSS-only hamburger menu implementation */

/* Hidden checkbox for hamburger menu toggle */
.nav-toggle {
  display: none;
}

/* Hamburger menu button (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

/* Hamburger menu lines */
.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hamburger animation when checkbox is checked */
.nav-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== HOME SECTION ===== */
/* Hero section with flexbox layout */
.home {
  display: flex;
  align-items: center;
  gap: 50px;
  height: 100vh;
  padding: 60px 9% 0;
  color: #fff;
  background: #0a1828;

  /* Initial hidden state for animation */
  visibility: hidden;
  opacity: 0;
  animation: show-content 1.5s linear forwards;
  animation-delay: 1.6s;
}

.home-info h1 {
  font-size: 55px;
  margin-bottom: 0;
}

.home-info h2 {
  font-size: 32px;
  margin: 15px 0 20px 0;
  line-height: 1.2;
  color: #199490;
  font-weight: 600;
  text-align: left;
}

.home-info p {
  font-size: 16px;
  margin: 30px 0 25px;
}

/* ===== CLEAN HOME ACTIONS LAYOUT ===== */
.home-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

ul.social-links {
  list-style: none; /* no bullets */
  padding: 0; /* remove left padding */
  margin: 0; /* reset margin */
  display: flex; /* align horizontally */
  gap: 10px;
}
.social-links li a {
  width: 35px;
  height: 35px;
  font-size: 16px;
}

.cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #13716e;
  border: 2px solid #13716e;
  border-radius: 25px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cv-btn:hover {
  background: transparent;
  color: #199490;
  transform: translateY(-2px);
}

.cv-btn i {
  font-size: 18px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #13716e;
  border-radius: 50%;
  color: #13716e;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #13716e;
  transform: scale(0);
  transition: transform 0.3s ease;
  z-index: -1;
}

.social-links a:hover::before {
  transform: scale(1);
}

.social-links a i:hover {
  color: #fff;
  transform: translateY(-3px);
}

.social-links a i {
  color: #199490;
}

/* Keep old button styles for other sections */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #13716e, #0a1828);
  border: 2px solid #13716e;
  border-radius: 50px;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: linear-gradient(135deg, #0a1828, #13716e);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(23, 133, 130, 0.4);
}

.home-img .img-box {
  position: relative;
  width: 32vw;
  height: 32vw;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(45deg, #13716e, #0a1828, #13716e);
  background-size: 300% 300%;
  /* box-shadow: 0 0 30px rgba(23, 133, 130, 0.3),
    inset 0 0 30px rgba(23, 133, 130, 0.1); */
}

.home-img .img-box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent,
    #13716e,
    transparent,
    #0a1828,
    transparent
  );
  z-index: 1;
}

.home-img .img-box::after {
  content: "";
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(23, 133, 130, 0.2) 0%,
    transparent 70%
  );
  /* animation: glow-pulse 2.5s ease-in-out infinite; */
  z-index: 2;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: rotate(180deg) scale(1.1);
    opacity: 0.4;
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.2;
  }
}

.home-img .img-box .img-item {
  position: relative;
  width: 85%;
  height: 85%;
  background: #0a1828;
  border-radius: 50%;
  border: 3px solid rgba(23, 133, 130, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(23, 133, 130, 0.2),
    inset 0 0 20px rgba(23, 133, 130, 0.1);
  transition: all 0.3s ease;
}

.home-img .img-box .img-item:hover {
  transform: scale(1.05);
  border-color: rgba(23, 133, 130, 0.6);
  box-shadow: 0 0 30px rgba(23, 133, 130, 0.4),
    inset 0 0 30px rgba(23, 133, 130, 0.2);
}

.home-img .img-box .img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* ABOUT SECTION */
.about {
  padding: 120px 9% 50px;
  color: #fff;
  background: #0a1828;
  visibility: hidden;
  opacity: 0;
  animation: show-content 1.5s linear forwards;
  animation-delay: 2s;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text h2 {
  font-size: 45px;
  margin-bottom: 20px;
  color: #199490;
  text-align: center;
}

.about-text p {
  font-size: 16px;
  margin: 30px 0 25px;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 35px;
  color: #13716e;
  margin-bottom: 5px;
  text-align: center;
}

.stat p {
  font-size: 14px;
  margin: 0;
  text-align: center;
}

/* SKILLS SECTION */
.skills {
  padding: 120px 9% 50px;
  color: #fff;
  background: #0a1828;
  visibility: hidden;
  opacity: 0;
  animation: show-content 1.5s linear forwards;
  animation-delay: 2.2s;
}

.skills h2 {
  font-size: 45px;
  text-align: center;
  margin-bottom: 50px;
  color: #199490;
}

.skills-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 50px;
}

.skill-category h3 {
  font-size: 25px;
  margin-bottom: 30px;
  color: #fff;
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-item span {
  font-size: 16px;
  font-weight: 500;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: #13716e;
  border-radius: 4px;
  animation: skill-fill 2s ease-in-out;
}

@keyframes skill-fill {
  from {
    width: 0;
  }
}

/* EDUCATION SECTION */
.education {
  padding: 120px 9% 50px;
  color: #fff;
  background: #0a1828;
  visibility: hidden;
  opacity: 0;
  animation: show-content 1.5s linear forwards;
  animation-delay: 2.4s;
}

.education h2 {
  font-size: 45px;
  text-align: center;
  margin-bottom: 50px;
  color: #199490;
}

.education-content {
  max-width: 800px;
  margin: 0 auto;
}

.education-item {
  background: rgba(23, 133, 130, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(23, 133, 130, 0.3);
  padding: 30px;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
  position: relative;
}

.education-item:hover {
  transform: translateY(-5px);
}

.education-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.education-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #13716e;
  border-radius: 50%;
  color: #fff;
}

.education-icon i {
  font-size: 30px;
}

.education-date {
  flex-shrink: 0;
}

.education-date span {
  background: #13716e;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.education-item.current .education-date span {
  background: #5c56e1;
  /* animation: pulse 2s infinite; */
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
  }
}

.education-info h3 {
  font-size: 22px;
  margin-bottom: 5px;
  color: #fff;
}

.education-info h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.education-info p {
  font-size: 16px;
  line-height: 1.6;
}

/* INTERESTS SECTION */
.interests {
  padding: 120px 9% 50px;
  color: #fff;
  background: #0a1828;
  visibility: hidden;
  opacity: 0;
  animation: show-content 1.5s linear forwards;
  animation-delay: 2.6s;
}

.interests h2 {
  font-size: 45px;
  text-align: center;
  margin-bottom: 50px;
  color: #199490;
}

.interests-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.interest-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(23, 133, 130, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(23, 133, 130, 0.3);
  transition: transform 0.3s ease;
}

.interest-item:hover {
  transform: translateY(-5px);
}

.interest-item i {
  font-size: 50px;
  color: #199490;
  margin-bottom: 20px;
}

.interest-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #fff;
}

.interest-item p {
  font-size: 14px;
  line-height: 1.6;
}

/* PROJECTS SECTION */
.projects {
  padding: 120px 9% 50px;
  color: #fff;
  background: #0a1828;
  visibility: hidden;
  opacity: 0;
  animation: show-content 1.5s linear forwards;
  animation-delay: 2.8s;
}

.projects h2 {
  font-size: 45px;
  text-align: center;
  margin-bottom: 50px;
  color: #199490;
}

.projects-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.project-item {
  background: rgba(23, 133, 130, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(23, 133, 130, 0.3);
  transition: transform 0.3s ease;
  padding: 30px;
}

.project-item:hover {
  transform: translateY(-5px);
}

.project-info h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #fff;
}

.project-info p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-tech {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.project-tech span {
  background: #13716e;
  color: #fff;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #1b9d99;
  font-size: 14px;
  transition: color 0.3s ease;
}

.project-links a:hover {
  color: #fff;
}

.project-status {
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.project-status.completed {
  background: #13716e;
  color: #fff;
}

.project-status.coming-soon {
  background: #5c56e1;
  color: #fff;
}

/* CONTACT SECTION */
.contact {
  padding: 120px 9% 50px;
  color: #fff;
  background: #0a1828;
  visibility: hidden;
  opacity: 0;
  animation: show-content 1.5s linear forwards;
  animation-delay: 3s;
}

.contact h2 {
  font-size: 45px;
  text-align: center;
  margin-bottom: 50px;
  color: #199490;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 18px;
  font-size: 18px;
  color: #fff;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(23, 133, 130, 0.1);
  border: 1px solid rgba(23, 133, 130, 0.3);
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #13716e;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form .btn i {
  font-size: 18px;
}

/* ===== FOOTER ===== */
/* Footer section with centered text */
.footer {
  background: #0a1828;
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(23, 133, 130, 0.2);
}

.footer-content p {
  color: #fff;
  font-size: 14px;
  margin: 0;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-content p:hover {
  opacity: 1;
}

/* RESPONSIVE DESIGN */

/* Large Tablets and Small Laptops */
@media (max-width: 1024px) {
  .home {
    padding: 50px 5% 0;
    gap: 25px;
  }

  .home-info h1 {
    font-size: 45px;
  }

  .home-info h2 {
    font-size: 28px;
    margin: 12px 0 18px 0;
    text-align: left;
  }

  .home-actions {
    gap: 20px;
  }

  .cv-btn {
    padding: 10px 20px;
    font-size: 15px;
  }

  .cv-btn i {
    font-size: 16px;
  }
  .social-links {
    list-style: none; /* no bullets */
    padding: 0; /* remove left padding */
    margin: 0; /* reset margin */
    display: flex; /* align horizontally */
    gap: 10px;
  }

  .social-links li {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .about,
  .skills,
  .education,
  .interests,
  .projects,
  .contact {
    padding: 50px 5% 30px;
  }

  .skills-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .projects-content {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .contact-content {
    max-width: 500px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .navbar {
    padding: 20px 5%;
  }

  .navbar .logo {
    font-size: 25px;
  }

  .navbar ul.nav-menu li {
    margin-left: 20px;
    font-size: 16px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background: rgba(10, 24, 40, 0.95);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding-top: 80px;
    height: 100vh;
    z-index: 1000;
  }

  .nav-toggle:checked ~ .nav-menu {
    left: 0;
  }

  .nav-menu li {
    margin: 20px 0;
    font-size: 18px;
  }

  .nav-menu li a::after {
    display: none;
  }

  .home {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding: 70px 5% 35px;
    min-height: auto;
  }

  .home-info h1 {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .home-info h2 {
    font-size: 20px;
    margin: 10px 0 15px 0;
    text-align: center;
    line-height: 1.3;
  }

  .home-info p {
    font-size: 15px;
    margin: 20px 0;
    line-height: 1.6;
    padding: 0 15px;
    text-align: center;
  }

  .home-img .img-box {
    width: 260px;
    height: 260px;
    margin: 0 auto;
  }

  .home-img .img-box .img-item {
    width: 82%;
    height: 82%;
  }

  .home-actions {
    gap: 15px;
  }

  .cv-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .cv-btn i {
    font-size: 15px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  .sci a {
    padding: 6px;
    font-size: 18px;
    margin: 0 6px;
  }

  .about-content {
    text-align: center;
  }

  .about-text p {
    text-align: center;
    padding: 0 20px;
    line-height: 1.6;
  }

  .education-info p {
    text-align: center;
    padding: 0 15px;
    line-height: 1.6;
  }

  .project-info p {
    text-align: center;
    padding: 0 15px;
    line-height: 1.6;
  }

  .about-stats {
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .stat h3 {
    font-size: 32px;
    text-align: center;
  }

  .stat p {
    font-size: 14px;
    margin: 0;
    text-align: center;
  }

  .skills-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .skill-category h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 25px;
  }

  .skill-item {
    margin-bottom: 20px;
  }

  .skill-item span {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .education-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .education-icon {
    margin: 0 auto;
  }

  .education-info h3,
  .education-info h4 {
    text-align: center;
  }

  .interests-content {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  .interest-item {
    padding: 25px 20px;
  }

  .interest-item p {
    text-align: center;
  }

  .projects-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .project-info h3 {
    text-align: center;
  }

  .project-info p {
    text-align: center;
  }

  .project-tech {
    justify-content: center;
  }

  .project-links {
    justify-content: center;
    gap: 25px;
  }

  .contact-content {
    max-width: 100%;
  }

  .contact-form .btn {
    text-align: center;
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 250px;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  .navbar {
    padding: 15px 4%;
  }

  .navbar .logo {
    font-size: 22px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background: rgba(10, 24, 40, 0.95);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding-top: 80px;
    height: 100vh;
    z-index: 1000;
  }

  .nav-toggle:checked ~ .nav-menu {
    left: 0;
  }

  .nav-menu li {
    margin: 20px 0;
    font-size: 18px;
  }

  .nav-menu li a::after {
    display: none;
  }

  .home {
    flex-direction: column;
    text-align: center;
    padding: 60px 4% 30px;
    gap: 20px;
    min-height: auto;
    height: auto;
  }

  .home-info h1 {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .home-info h2 {
    font-size: 18px;
    margin: 10px 0 15px 0;
    text-align: center;
    line-height: 1.3;
  }

  .home-info p {
    font-size: 14px;
    margin: 20px 0;
    line-height: 1.6;
    padding: 0 10px;
    text-align: center;
  }

  .home-img .img-box {
    width: 220px;
    height: 220px;
    margin: 0 auto;
  }

  .home-img .img-box .img-item {
    width: 80%;
    height: 80%;
  }

  .home-actions {
    gap: 12px;
    justify-content: center;
  }

  .cv-btn {
    padding: 6px 12px;
    font-size: 13px;
  }

  .cv-btn i {
    font-size: 14px;
  }

  .social-links {
    gap: 6px;
  }

  .social-links a {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .sci a {
    padding: 5px;
    font-size: 16px;
    margin: 0 4px;
  }

  .about,
  .skills,
  .education,
  .interests,
  .projects,
  .contact {
    padding: 60px 4% 25px;
  }

  .about-text h2,
  .skills h2,
  .education h2,
  .interests h2,
  .projects h2,
  .contact h2 {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .about-text p {
    font-size: 14px;
    margin: 15px 0 10px;
  }

  .about-stats {
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
  }

  .stat h3 {
    font-size: 26px;
    text-align: center;
  }

  .stat p {
    font-size: 13px;
    margin: 0;
    text-align: center;
  }

  .skill-category h3 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
  }

  .skill-item {
    margin-bottom: 15px;
  }

  .skill-item span {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .education-item {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .education-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .education-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto;
  }

  .education-icon i {
    font-size: 24px;
  }

  .education-date span {
    font-size: 11px;
    padding: 6px 12px;
  }

  .education-info h3 {
    font-size: 18px;
    text-align: center;
  }

  .education-info h4 {
    font-size: 16px;
    text-align: center;
  }

  .education-info p {
    font-size: 14px;
    padding: 0 10px;
    text-align: center;
    line-height: 1.6;
  }

  .interests-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .interest-item {
    padding: 20px 15px;
  }

  .interest-item i {
    font-size: 40px;
  }

  .interest-item h3 {
    font-size: 18px;
  }

  .interest-item p {
    font-size: 13px;
    padding: 0 10px;
    text-align: center;
  }

  .projects-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-item {
    padding: 20px 15px;
  }

  .project-info h3 {
    font-size: 18px;
    text-align: center;
  }

  .project-info p {
    font-size: 13px;
    padding: 0 10px;
    text-align: center;
    line-height: 1.6;
  }

  .project-tech {
    justify-content: center;
    gap: 8px;
  }

  .project-tech span {
    font-size: 11px;
    padding: 4px 8px;
  }

  .project-links {
    justify-content: center;
    gap: 20px;
  }

  .project-links a {
    font-size: 13px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px;
    font-size: 14px;
  }

  .contact-form .btn {
    font-size: 14px;
    padding: 12px 25px;
    text-align: center;
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 200px;
  }

  .footer {
    padding: 20px 0;
  }

  .footer-content p {
    font-size: 12px;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .home-info h1 {
    font-size: 26px;
  }

  .home-info h2 {
    font-size: 16px;
    margin: 8px 0 12px 0;
    text-align: center;
    line-height: 1.3;
  }

  .home-info p {
    font-size: 12px;
    margin: 12px 0;
    line-height: 1.6;
    padding: 0 8px;
    text-align: center;
  }

  .home-img .img-box {
    width: 180px;
    height: 180px;
  }

  .home-img .img-box .img-item {
    width: 75%;
    height: 75%;
  }

  .home-actions {
    gap: 8px;
    justify-content: center;
  }

  .cv-btn {
    padding: 4px 8px;
    font-size: 12px;
  }

  .cv-btn i {
    font-size: 13px;
  }

  .social-links {
    gap: 4px;
  }

  .social-links a {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .btn {
    padding: 8px 18px;
    font-size: 12px;
  }

  .sci a {
    padding: 4px;
    font-size: 14px;
    margin: 0 3px;
  }

  .about-text h2,
  .skills h2,
  .education h2,
  .interests h2,
  .projects h2,
  .contact h2 {
    font-size: 24px;
  }

  .about,
  .skills,
  .education,
  .interests,
  .projects,
  .contact {
    padding: 50px 3% 20px;
  }

  .about-text p {
    font-size: 12px;
    margin: 10px 0 8px;
  }

  .education-item {
    padding: 15px 10px;
  }

  .project-item {
    padding: 15px 10px;
  }

  .interest-item {
    padding: 15px 10px;
  }

  .contact-form .btn {
    font-size: 12px;
    padding: 10px 20px;
    max-width: 180px;
  }
}

/* Small Tablets */
@media (max-width: 600px) {
  .home-info h1 {
    font-size: 30px;
  }

  .home-info h2 {
    font-size: 18px;
  }

  .home-info p {
    font-size: 13px;
    margin-top: 10px;
    line-height: 1.6;
    padding: 0 15px;
    text-align: left;
  }

  .about-text p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 40px;
    padding: 0 15px;
    text-align: left;
  }

  .stat h3 {
    font-size: 26px;
    text-align: center;
  }

  .stat p {
    font-size: 13px;
    margin: 0;
    text-align: center;
  }

  .skill-category h3 {
    font-size: 19px;
    text-align: center;
  }

  .education-info p {
    font-size: 13px;
    padding: 0 10px;
    text-align: left;
  }

  .project-info p {
    font-size: 12px;
    padding: 0 10px;
    text-align: left;
  }

  .interest-item p {
    font-size: 12px;
    padding: 0 10px;
    text-align: left;
  }

  .contact-form .btn {
    font-size: 13px;
    padding: 10px 20px;
    text-align: center;
    display: block;
    margin: 0 auto;
  }
}

/* Medium Tablets */
@media (max-width: 900px) and (min-width: 601px) {
  .home-info h1 {
    font-size: 42px;
  }

  .home-info h2 {
    font-size: 26px;
  }

  .about-text p {
    text-align: left;
    padding: 0 25px;
  }

  .education-info p {
    text-align: left;
    padding: 0 20px;
  }

  .project-info p {
    text-align: left;
    padding: 0 20px;
  }

  .contact-form .btn {
    text-align: center;
    display: block;
    margin: 0 auto;
  }
}

/* Large Tablets */
@media (max-width: 1200px) and (min-width: 901px) {
  .home-info h1 {
    font-size: 48px;
  }

  .home-info h2 {
    font-size: 30px;
    min-width: 380px;
  }

  .about-text p {
    text-align: left;
    padding: 0 30px;
  }

  .education-info p {
    text-align: left;
    padding: 0 25px;
  }

  .project-info p {
    text-align: left;
    padding: 0 25px;
  }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .home {
    height: auto;
    min-height: 100vh;
    padding: 80px 5% 20px;
  }

  .home-img .img-box {
    width: 200px;
    height: 200px;
  }

  .about,
  .skills,
  .education,
  .interests,
  .projects,
  .contact {
    padding: 80px 5% 30px;
  }
}

/* Desktop Large Screens */
@media (min-width: 1201px) {
  .home-info h1 {
    font-size: 55px;
  }

  .home-info h2 {
    font-size: 32px;
    min-width: 400px;
  }

  .about-text p {
    text-align: left;
    padding: 0 40px;
  }

  .education-info p {
    text-align: left;
    padding: 0 30px;
  }

  .project-info p {
    text-align: left;
    padding: 0 30px;
  }

  .contact-form .btn {
    text-align: center;
    display: block;
    margin: 0 auto;
  }
}

/* Ultra Wide Screens */
@media (min-width: 1400px) {
  .home-info h1 {
    font-size: 60px;
  }

  .home-info h2 {
    font-size: 35px;
    min-width: 450px;
  }

  .about-text p {
    text-align: left;
    padding: 0 50px;
  }

  .education-info p {
    text-align: left;
    padding: 0 40px;
  }

  .project-info p {
    text-align: left;
    padding: 0 40px;
  }
}
