
/* Css styles */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

html {
    font-size: 62.5%;
    /* 1rem = 10px */
    
}

:root {
    --white:#fff;
    --blue: blue;
    --red:red;
    --solid-black-color:#000;
    --body-background-color:#f8faff;
    --primary-background-color: #fff;
    --secondary-background-color: #f8f8f8;
    --primary-text-color: #333333;
    --primary-button-backgrond-color: #4A90E2;
    --primary-button-background-color-hover: #f4f4f8;
    --secondary-button-backgrond-color: #f4f4f8;
    --secondary-button-background-color-hover: #4A90E2;
    --button-border-color:#4A90E2;
    --color-border-background-rogdge: dodgerblue;
    --section-3-background-color:#f9fafb;
    --border-bottom-color:#00428d;
    --ice-blue-color:#e6f0ff;
    --cold-blue-color:#2463f3;
    --gmail-btn-color:#D44638;
    --gmail-btn-hover-color:#c0392b;
    --whatsapp-btn-color:#25d366;
    --whatsapp-btn-hover-color:#1ebe5c;
  }

body {
    color:var(--primary-text-color);
    background-color: var(--body-background-color);
    font-size: 1.6rem;  /* dont write this font-size: 1.6px; */
}



/* Section one */

.section-1 {
    padding: 2rem 7rem; 
}

.section-1__header {
    border-radius: 5rem;
    display: flex;
    position: relative;
    background-color: var(--primary-background-color);
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transition: all 0.8s;
    cursor: pointer;
    
}

.section-1__header__nav {
    margin-left: 30rem;
    display: flex;
    gap: 8rem;
    font-size: 2rem;
    
}

.section-1__header__nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 4rem;  
    
}



.section-1__header__nav a {
    text-decoration: none;
    color: var(--primary-text-color);
}

.nava:hover {
    text-decoration: none;
    color: var(--secondary-button-background-color-hover);
}

.section-1__header__dwnld-resume {
    font-size: 1.7rem;
    padding: 7px;
    color: #000;
    border-radius: 1rem;
    border: 2px solid var(--primary-button-backgrond-color);
    background: linear-gradient(to left, #f4f4f8, #4A90E2);
    cursor: pointer;
}


/* section Two */

.section-2 {
    margin-top: 5rem;
    
}

.section-2__main{
    display: flex;
    gap: 20rem;
    background-color: var(--body-background-color);
    padding-right: 2rem;
}


.section-2__main__intro {
    display: flex;
    flex-direction: column;
    /* gap: 20rem; */
    padding-left: 6rem;
    
}

.section-2__main__introduction {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.section-2__main__introduction h1 {
    font-size: 4rem;
    line-height: 5rem;
    animation: glowa 3s ease-in-out infinite;
    
}

@keyframes glowa {
  0%, 100% { text-shadow: 0 0 5px #4A90E2; }
  50% { text-shadow: 0 0 15px #4A90E2; }
}

.section-2__main__introduction h1::after {
    content: "👋";
    display: flex;
     font-size: 7rem;
  display: inline-block; /* Allows transform properties to work */
  transform-origin: 75% 75%; /* Sets the pivot point for the wave */
  animation: wave-animation 2.5s ease-in-out infinite; /* Applies the animation */
}


@keyframes wave-animation {
  0% {
    transform: rotate(0deg);
  }
  15% {
    transform: rotate(14deg);
  }
  30% {
    transform: rotate(-8deg);
  }
  45% {
    transform: rotate(14deg);
  }
  60% {
    transform: rotate(-4deg);
  }
  75% {
    transform: rotate(10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.section-2__main__introduction p {
    font-size: 2.5rem;
    font-weight: 600;
}

.section-2__main__about {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    line-height: 3rem;
}

.section-2__main__about  h4 {
    font-size: 2rem;
}
.buttons {
    display: flex;
    gap: 2rem;
    
}

.buttons a {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 2rem;
    transition: all 0.6s;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.ph-whatsapp-logo {
  font-size: 3rem;
  color: green;
}

.buttons a:nth-child(1) {
    background-color: var(--primary-button-backgrond-color);
    color: var(--solid-black-color);
}

.buttons a:nth-child(1):hover{background-color: var(--secondary-button-backgrond-color); border: 2px solid var(--button-border-color); }
.buttons a:nth-child(2):hover{background-color: var(--primary-button-backgrond-color); border: 2px solid var(--button-border-color);}

.buttons a:nth-child(2) {
    background-color: var(--secondary-button-backgrond-color);
    border: 1px solid var(--button-border-color);
    color: #000;
}

.section-2__main__mypict img {
  height: 40rem;
  border-radius: 50%;
  border: 1px solid var(--color-border-background-rogdge);
  background:linear-gradient(135deg, #eaf2f8 0%, #ffffff 100%);
   animation: float 6s ease-in-out infinite;
  cursor: pointer;
  
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}


/* ---- Fade + Slide Up Animation for Text & Buttons ---- */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Fade + Slide Right Animation for Image ---- */
@keyframes fadeSlideRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Apply animations to elements */
.animate-fade-slide {
  opacity: 0; /* start hidden */
  animation: fadeSlideUp 1s forwards;
}

.animate-fade-slide-right {
  opacity: 0; /* start hidden */
  animation: fadeSlideRight 1s forwards;
}

/* Stagger delays for buttons */
.animate-fade-slide.delay-1 { animation-delay: 0.5s; }
.animate-fade-slide.delay-2 { animation-delay: 0.8s; }


/* Section--3 */

.section-3 {
    margin-top: 4rem;
    background-color: var(--section-3-background-color);
    padding-left: 15rem;
    padding-right: 10rem;
    display: flex;
    flex-wrap: wrap;
}




.prof-section__container {
    background-color: var(--white);
    padding: 5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15rem;
}



.prof-section__container--2  {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.prof-section__container--2 h2 {
    margin-top: 5rem;
    font-size: 3.5rem;
    border-bottom: 2px solid var(--border-bottom-color);
    width: 60rem;   /* might damage */
}

.prof-section__container--2__1  {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.prof-section__container--card {
    display: flex;
    gap: 2rem;
}


.prof-section__container--2 h2,
.prof-section__container--2__1 h4,
.card h3, 
.card p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlide 0.5s forwards;
}

.prof-section__container--2 h2 { animation-delay: 0.1s; }
.prof-section__container--2__1 h4 { animation-delay: 0.2s; }
.card h3 { animation-delay: 0.3s; }
.card p { animation-delay: 0.4s; }

@keyframes fadeSlide {
    to { opacity: 1; transform: translateY(0); }
}






.card {
    display: flex;
    flex-direction: column;
    height: 20rem;
    gap: 3rem;
    width: 30rem;
    border: 1px solid var(--solid-black-color);
    justify-content: center;
    align-items: center;
    padding: 2rem;
    padding-top: 3rem;
    padding-bottom: 5rem;
    transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.25s ease, 
              border-color 0.25s ease;
              border-radius: 3rem;
}

.card:hover {
    transform: translateY(-8px) scale(1.05) rotateZ(-1deg);

  box-shadow: 10px 10px 0 10px blue;

  box-shadow: 0 0 0 50px blue; 

  transform: translateY(-6px);
  cursor: pointer;
  border: 2px solid var(--color-border-background-rogdge);
}

.card:nth-child(1):hover {
  box-shadow: rgba(0, 102, 255, 0.56) 0px 22px 70px 4px;
}


.card:nth-child(2):hover {
  box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}


.card:nth-child(3):hover {
  box-shadow: rgba(255, 2, 2, 0.56) 0px 22px 70px 4px;
}

.aproach-icon-1 {
    color: var(--blue);
    font-size: 6rem;
    position: relative;
    bottom: 2rem;
}
.aproach-icon-2 {
    color: var(--solid-black-color);
    font-size: 6rem;
    position: relative;
    bottom: 2rem;
}
.aproach-icon-3 {
    color: var(--red);
    font-size: 6rem;
    position: relative;
    bottom: 2rem;
}



.aproach-icon-1, 
.aproach-icon-2, 
.aproach-icon-3 {
    font-size: 6rem;
    position: relative;
    bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: iconPop 0.6s forwards;
}

.aproach-icon-2 { animation-delay: 0.1s; }
.aproach-icon-3 { animation-delay: 0.2s; }

@keyframes iconPop {
    0% { opacity: 0; transform: translateY(20px) scale(0.8); }
    60% { opacity: 1; transform: translateY(-5px) scale(1.1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}





.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 128, 255, 0.3);
  border-color: var(--color-border-background-rogdge);
  cursor: pointer;
  background-color: var(--ice-blue-color);  /* new*/
}

.section-3 .card {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease-out;
}

.section-3 .card.show {
  opacity: 1;
  transform: translateY(0);
}




/* Section 4 */


/* Tech Section */
.tech-section {
  padding: 6rem 2rem;
  background-color: #f3f4f6;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  color: #111827;
}

.tech-section h2 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: #111827;
  border-bottom: 4px solid #3b82f6;
  display: inline-block;
  padding-bottom: 8px;
}

/* Grid */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* Individual Card */
.tech-card {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.tech-card i {
  font-size: 3rem;
  color: #3b82f6;
  transition: transform 0.3s ease;
}

/* Hover effect */
.tech-card:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  background-color: #e0f2fe;
}

/* Icon bounce slightly on hover */
.tech-card:hover i {
  transform: scale(1.2) rotate(10deg);
}

/* Tooltip */
.tech-card::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #111827;
  color: #ffffff;
  padding: 0.3rem 0.7rem;
  font-size: 0.85rem;
  border-radius: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  white-space: nowrap;
}

/* Show tooltip on hover */
.tech-card:hover::after {
  opacity: 1;
  bottom: -3.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .tech-card {
    width: 100px;
    height: 100px;
  }
  .tech-card i {
    font-size: 2.5rem;
  }
}

@media (max-width: 500px) {
  .tech-card {
    width: 90px;
    height: 90px;
  }
  .tech-card i {
    font-size: 2rem;
  }
}



.tool-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem;
  text-align: center;
}
.tool-text h2 {
  font-size: 3rem;
  font-weight: 700;
  animation: glow1 3s ease-in-out infinite;
}



@keyframes glow1 {
  /* 0%, 100% { text-shadow: 0 0 5px #4A90E2; }
  50% { text-shadow: 0 0 15px #4A90E2; } */

  0%, 100% {
  text-shadow: 0 0 5px #ff0000;
}

50% {
  text-shadow: 0 0 1.8remx #ff0000;
}

}

.tool-text p {
  font-size: 2rem;
  line-height: 1.5;
  font-weight: 600;
}
.tool-container {
  max-width: 1200px;
  margin: 10rem auto 0;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 0 2rem;

  /* animation */
  opacity: 0;
  transform: translateX(-60px);
  transition: all 1.2s ease;
}

.tool-container.show {
  opacity: 1;
  transform: translateX(0);
}


.tool-kitImage {
  max-width: 260px;
  background: #fee2e2;
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease;
}

.tool-kitImage:hover {
  transform: translateY(-6px);
}

.tool-kitImage img {
  width: 100%;
  object-fit: contain;
}

.tool-text {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 0;
  text-align: left;
  max-width: 600px;
}
.tool-text p {
  font-size: 1.7rem;
  line-height: 1.7;
  font-weight: 500;
  color: #4b5563;
}
@media (max-width: 768px) {
  .tool-container {
    flex-direction: column;
    text-align: center;
  }

  .tool-text {
    text-align: center;
  }
}

/* section 5 */

.skills-section {
  padding: 80px 20px;
  background-color: #f3f4f6;/* deep navy / dark */
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
}

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

.skills-title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
  color: #0f172a; 
}

.skills-subtitle {
  text-align: center;
  font-size: 16px;
  color: #000b18;
  margin-bottom: 50px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.skill-card {
  background-color: #020617;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.skill-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: #38bdf8;
}


/* responsive */
/* Tablet */
@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .skills-title {
    font-size: 28px;
  }

  .skills-subtitle {
    font-size: 14px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-card {
    padding: 25px;
  }
}



/* section-6 */

.projects {
  margin-top: 10rem;
  background: var(--body-background-color);
}

.section-title {
  font-size: 3.5rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 7rem;
}

.section-subtitle {
  text-align: center;
  color: #333333;
  margin-bottom: 4rem;
  font-size: 2rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}




.project-card {

  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.07);
  transition: 0.3s ease;
  background-color: var(--body-background-color);
}



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

.project-card img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.project-card img:hover {
  cursor: pointer;
  transform: scale(1.02);
}

.project-content {
  padding: 2rem;
}

.project-content h3 {
  margin-top: 2rem;
  font-size: 2rem;
  margin-bottom: 8px;
}

.tags {
  margin: 1.2rem 0;
  margin-top: 3rem;
}

.tags span {
  background: var(--ice-blue-color);
  padding: 5px 1rem;
  border-radius: 8px;
  margin-right: 6px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cold-blue-color);
}

.project-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 1.8rem;
  border-radius: 1rem;
  background: var(--cold-blue-color);
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  transition: 0.3s ease;
  font-weight: 700;
}

.project-btn:hover {
  transform: scale(1.05);
}


.project-btn--icon {
  font-size: 2rem;
  margin-right: 1rem;
}




.projects-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 5rem;
  animation: fadeUp 0.8s ease-out;
}

.projects-grid {
  display: flex;
  gap: 2.5rem;
  transition: transform 0.5s ease;
}

.project-card {
  min-width: calc(33.333% - 20px); 
  /* Show 3 cards only */
}




/* section-7 */

/* CONTACT SECTION STYLES */
.contact-section {
  padding: 8rem 2rem;
  background: var(--body-background-color);
}
.section-title {
  text-align: center;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: var(--primary-text-color);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 5rem;
  max-width: 1000px;
  margin: auto;
  
}
.contact-box {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1.6rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.contact-box h3 {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary-text-color);
}
.contact-box form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border-radius: 1rem;
  border: 2px solid var(--ice-blue-color);
  font-size: 1.6rem;
}
.contact-box textarea {
  height: 12rem;
  resize: none;
}
.btn {
  margin-top: 5px;
  padding: 1.4rem;
  border: none;
  border-radius: 1.2rem;
  font-size: 1.7rem;
  cursor: pointer;
  transition: 0.3s ease;
  color: var(--white);
}
.gmail-btn {
  background: var(--gmail-btn-color);
}
.gmail-btn:hover {
  background: var(--gmail-btn-hover-color);
}
.whatsapp-btn {
  background: var(--whatsapp-btn-color);
}
.whatsapp-btn:hover {
  background: var(--whatsapp-btn-hover-color);
}




.connection {
  padding: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap:5rem;
  
}

.connection a {
  text-decoration: none;
}
.ph-plugs-connected {
  color: var(--red);
  font-size: 3rem;
}

.connection h2 {
  color: var(--gmail-btn-color);
  font-size: 4rem;
  transition:  all 0.6s;
}
.connection h2:hover {
  color: var(--primary-button-backgrond-color);
}

.socials {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.socials h3 {
  color: var(--primary-button-backgrond-color);
  transition:  all 0.6s;
}
.socials h3:hover {
  color: var(--gmail-btn-color);
}

.social-icon {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding: 3rem;
  cursor: pointer;
}
.so1 {
  background-color: var(--solid-black-color);
  color: var(--white);
  padding: 1rem;
  border-radius: 1rem;
  font-size: 3rem;
  transition:  all 0.6s;
}

.so2 {
  background-color: var(--blue);
  color: var(--white);
  padding: 1rem;
  border-radius: 1rem;
  font-size: 3rem;
  transition:  all 0.6s;
}

.so3 {
  background-color: var(--red);
  color: var(--white);
  padding: 1rem;
  border-radius: 1rem;
  font-size: 3rem;
  transition:  all 0.6s;
}

.so1:hover{
  background-color: var(--white);
  color: var(--solid-black-color);
}
.so2:hover,
.so3:hover {
  color: var(--solid-black-color);
}


  /* Footer Styles */
    footer {
      background-color: var(--secondary-background-color);
      color: var(--primary-text-color);
      padding: 2rem 0;
      text-align: center;
      font-family: 'Inter', sans-serif;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    footer p {
      margin: 5px 0;
      font-weight: 700;
    }

    footer a {
      text-decoration: none;
      margin: 0 5px;
      transition: color 0.3s;
    }

    footer a.twitter { color: var(--solid-black-color); }
    footer a.instagram { color: #C13584; }
    footer a.youtube { color: #FF0000; }
    footer a.email { color: #007BFF; }

    footer a:hover {
      opacity: 0.7;
    }




    /* ============================= */
/* 📱 MOBILE & TABLET RESPONSIVE */
/* ============================= */

/* Tablet screens */
@media (max-width: 1024px) {

  html {
    font-size: 55%;
  }

  .section-1 {
    padding: 2rem 3rem;
  }

  .section-1__header {
    flex-wrap: wrap;
    padding: 2rem;
  }

  .section-1__header__nav {
    margin-left: 0;
    gap: 3rem;
    flex-wrap: wrap;
  }

  .section-2__main {
    gap: 8rem;
  }

  .section-2__main__intro {
    padding-left: 3rem;
  }

  .section-2__main__mypict img {
    width: 100%;
    max-width: 380px;
  }

  .tool-container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .toolkit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* =============================== */
/* 📱 MOBILE SCREENS (768px below) */
/* =============================== */

@media (max-width: 768px) {

  html {
    font-size: 50%;
  }

  /* NAV */
  .section-1__header {
    flex-direction: column;
    gap: 2rem;
  }

  .section-1__header__nav ul {
    gap: 2rem;
  }

  .section-1__header__dwnld-resume {
    margin-top: 1rem;
  }

  /* HERO section */
  .section-2__main {
    flex-direction: column;
    text-align: center;
    padding: 3rem;
    gap: 5rem;
  }

  .section-2__main__intro {
    padding-left: 0;
  }

  .section-2__main__mypict {
    display: flex;
    justify-content: center;
  }

  .section-2__main__mypict img {
    max-width: 300px;
  }

  /* ABOUT CARDS */
  .prof-section__container--card {
    flex-direction: column;
    gap: 3rem;
  }

  /* TOOLKIT */
  .toolkit-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  /* PROJECTS */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card img {
    width: 100%;
    height: auto;
  }

  /* CONTACT */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* SOCIALS */
  .social-icon {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  /* FOOTER */
  footer {
    text-align: center;
    padding: 2rem;
  }
}

/* ============================== */
/* 📱 VERY SMALL DEVICES (480px) */
/* ============================== */

@media (max-width: 480px) {

  html {
    font-size: 45%;
  }

  h1 {
    font-size: 3.2rem !important;
  }

  .buttons {
    flex-direction: column;
    gap: 1.5rem;
  }

  .section-2__main__mypict img {
    max-width: 250px;
  }

  .tool-card,
  .project-card {
    padding: 2rem;
  }

  .social-icon i {
    font-size: 3.5rem;
  }
}


/* =============================== */
/* DEFAULT DESKTOP NAV STYLES */
/* =============================== */

.header {
  width: 100%;
  padding: 2rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.logo {
  font-size: 2.4rem;
  font-weight: 700;
  color: #222;
}

.nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
  align-items: center;
}

.nav ul li a {
  text-decoration: none;
  font-size: 1.6rem;
  color: #222;
  transition: 0.3s;
}

.nav ul li a:hover {
  color: #555;
}

/* =============================== */
/* HIDE HAMBURGER ON DESKTOP */
/* =============================== */

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #222;
  border-radius: 2px;
  transition: 0.4s;
}

/* =============================== */
/* 📱 RESPONSIVE (700px) */
/* =============================== */

@media (max-width: 700px) {

  /* Show burger */
  .hamburger {
    display: flex;
  }

  /* Hide desktop nav */
  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: white;
    padding: 2rem 0;
    display: none;
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .nav ul li a {
    font-size: 2rem;
  }

  /* Hamburger animation (X) */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

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

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}






/* =============================== */
/* ENHANCED RESPONSIVE STYLES */
/* =============================== */

/* Base Mobile-First Adjustments */
@media (max-width: 1200px) {
  .section-2__main {
    gap: 10rem;
  }
  
  .prof-section__container {
    gap: 8rem;
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 58%;
  }
  
  .section-2__main {
    gap: 6rem;
    padding: 0 2rem;
  }
  
  .section-2__main__intro {
    padding-left: 3rem;
  }
  
  .tool-container {
    gap: 100px;
    padding-left: 3rem;
  }
  
  .prof-section__container--card {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .card {
    width: 28rem;
  }
}

/* Tablet and Large Mobile */
@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  /* Header & Navigation */
  .header {
    padding: 1.5rem 3rem;
  }
  
  /* Hero Section */
  .section-2__main {
    flex-direction: column-reverse;
    text-align: center;
    gap: 4rem;
    margin-top: 3rem;
  }
  
  .section-2__main__intro {
    padding-left: 0;
    padding: 0 2rem;
  }
  
  .section-2__main__mypict img {
    height: 30rem;
    max-width: 30rem;
  }
  
  .buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* About Section */
  .section-3 {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  
  .prof-section__container {
    padding: 3rem;
    gap: 5rem;
  }
  
  .prof-section__container--2 h2 {
    width: 100%;
    font-size: 3rem;
  }
  
  /* Tool Container */
  .tool-container {
    flex-direction: column;
    text-align: center;
    gap: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-top: 6rem;
  }
  
  .tool-kitImage {
    max-width: 250px;
  }
  
  .tool-text {
    padding: 1rem;
  }
  
  /* Toolkit Grid */
  .toolkit-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 3rem;
    gap: 2rem;
  }
  
  /* Projects */
  .projects-wrapper {
    padding: 3rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 2rem;
  }
  
  /* Connection Section */
  .connection {
    padding: 3rem 2rem;
  }
  
  .connection h2 {
    font-size: 3rem;
    text-align: center;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  html {
    font-size: 52%;
  }
  
  /* Header */
  .header {
    padding: 1.2rem 2rem;
  }
  
  .logo {
    font-size: 2rem;
  }
  
  /* Hero Section */
  .section-2__main__introduction h1 {
    font-size: 3.2rem;
    line-height: 4rem;
  }
  
  .section-2__main__mypict img {
    height: 25rem;
    max-width: 25rem;
  }
  
  .buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .buttons a {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
  
  /* About Cards */
  .prof-section__container--card {
    flex-direction: column;
    align-items: center;
  }
  
  .card {
    width: 100%;
    max-width: 300px;
  }
  
  /* Toolkit */
  .toolkit h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
  }
  
  .toolkit-sub {
    font-size: 2rem;
    margin-bottom: 3rem;
  }
  
  .toolkit-grid {
    padding: 2rem;
    gap: 1.5rem;
  }
  
  .tool-card {
    padding: 2rem 1.5rem;
  }
  
  /* Projects */
  .section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
  }
  
  .section-subtitle {
    font-size: 1.8rem;
    margin-bottom: 3rem;
  }
  
  .project-content {
    padding: 1.5rem;
  }
  
  .project-btn {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  /* Contact Forms */
  .contact-box {
    padding: 2rem;
  }
  
  .btn {
    font-size: 1.6rem;
    padding: 1.2rem;
  }
  
  /* Social Icons */
  .social-icon {
    flex-wrap: wrap;
  }
  
  /* Footer */
  footer {
    padding: 2rem;
    text-align: center;
  }
  
  footer p {
    font-size: 1.4rem;
  }
}

/* Very Small Screens */
@media (max-width: 360px) {
  html {
    font-size: 50%;
  }
  
  .section-2__main__mypict img {
    height: 22rem;
    max-width: 22rem;
  }
  
  .toolkit-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card img {
    height: 15rem;
  }


}

/* =============================== */
/* TOUCH-FRIENDLY ENHANCEMENTS */
/* =============================== */

/* Improve touch targets */
@media (hover: none) and (pointer: coarse) {
  .buttons a,
  .project-btn,
  .btn,
  .card,
  .tool-card {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav ul li a {
    padding: 1rem 1.5rem;
    display: block;
  }
  
  .social-icon i {
    padding: 1.5rem;
    min-width: 60px;
    text-align: center;
  }
}

/* Prevent horizontal scrolling */
body {
  overflow-x: hidden;
  width: 100%;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Improve image loading */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =============================== */
/* ACCESSIBILITY IMPROVEMENTS */
/* =============================== */

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #4A90E2;
  outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .section-2__main__mypict img {
    animation: none;
  }
  
  .section-2__main__introduction h1::after {
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-text-color: #000000;
    --body-background-color: #ffffff;
  }
  
  .card,
  .tool-card,
  .project-card {
    border: 2px solid #000000;
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  /* You can add dark mode styles here if desired */
}



/* =============================== */
/* ENHANCED PROJECTS SECTION */
/* =============================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 0 2rem;
}

/* Project card enhancements */
.project-card {
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.07);
  transition: all 0.3s ease;
  background-color: var(--body-background-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cold-blue-color), var(--primary-button-backgrond-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1rem;
}

.project-content h3 {
  font-size: 2rem;
  margin: 0;
  color: var(--primary-text-color);
  font-weight: 700;
}

.project-content p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
  font-size: 1.5rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.tags span {
  background: var(--ice-blue-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cold-blue-color);
  transition: all 0.3s ease;
}

.tags span:hover {
  background: var(--cold-blue-color);
  color: white;
  transform: translateY(-2px);
}

.project-buttons {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 0.8rem;
  background: var(--cold-blue-color);
  color: var(--white);
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  font-weight: 600;
  flex: 1;
  min-height: 44px;
  border: 2px solid transparent;
}

.project-btn:hover {
  background: transparent;
  border-color: var(--cold-blue-color);
  color: var(--cold-blue-color);
  transform: translateY(-2px);
}

.project-btn--icon {
  font-size: 1.6rem;
  margin-right: 0.6rem;
}

/* =============================== */
/* MOBILE RESPONSIVE ENHANCEMENTS */
/* =============================== */

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
    padding: 0 rem;
  }
  
  .project-card {
    margin: 0 auto;
    max-width: 400px;
    width: 100%;
  }
  
  .project-card img {
    height: 180px;
  }
  
  .project-content {
    padding: 1.5rem;
    gap: 0.8rem;
  }
  
  .project-content h3 {
    font-size: 1.8rem;
  }
  
  .project-content p {
    font-size: 1.4rem;
  }
  
  .tags {
    margin: 0.8rem 0;
    gap: 0.6rem;
  }
  
  .tags span {
    font-size: 1.2rem;
    padding: 5px 10px;
  }
  
  .project-buttons {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
  }
  
  .project-btn {
    font-size: 1.4rem;
    padding: 1rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .projects-wrapper {
    padding: 2rem 0.5rem;
  }
  
  .project-card {
    max-width: 100%;
  }
  
  .project-card img {
    height: 160px;
  }
  
  .project-content {
    padding: 1.2rem;
  }
  
  .project-content h3 {
    font-size: 1.7rem;
  }
  
  .project-content p {
    font-size: 1.3rem;
  }
  
  .tags span {
    font-size: 1.1rem;
    padding: 4px 8px;
  }
  
  .project-btn {
    font-size: 1.3rem;
    padding: 0.9rem 1rem;
  }
}

/* =============================== */
/* PROJECT FILTERING (Optional) */
/* =============================== */

.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

.filter-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--cold-blue-color);
  background: transparent;
  color: var(--cold-blue-color);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--cold-blue-color);
  color: white;
}

/* =============================== */
/* PROJECT COUNTER */
/* =============================== */

.projects-header {
  text-align: center;
  margin-bottom: 3rem;
}

.projects-count {
  font-size: 1.4rem;
  color: #666;
  margin-top: 0.5rem;
}


@media (max-width: 768px) {
  .tool-container {
    flex-direction: column;  /* Stack image + text */
    align-items: center;
    gap: 3rem;               /* Smaller gap */
    padding-left: 0;         /* Remove large padding */
    padding-right: 0;
  }

  .tool-kitImage {
    max-width: 220px;        /* Reduce image size */
  }

  .tool-text {
    padding: 2rem;           /* Reduce padding */
  }
}




/* =============================== */
/* SECTION 2 HERO IMAGE FIX */
/* =============================== */

.section-2 {
    margin-top: 5rem;
    padding: 0 2rem;
}

.section-2__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.section-2__main__intro {
    flex: 1;
    max-width: 600px;
    padding-left: 2rem;
}

.section-2__main__mypict {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}

.section-2__main__mypict img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 50%;
    border: 2px solid var(--color-border-background-rogdge);
    background: linear-gradient(135deg, #eaf2f8 0%, #ffffff 100%);
    animation: float 6s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.section-2__main__mypict img:hover {
    transform: scale(1.02);
}

/* Improved hero section layout for large screens */
@media (min-width: 1200px) {
    .section-2__main {
        gap: 10rem;
        padding: 4rem 2rem;
    }
    
    .section-2__main__mypict img {
        max-width: 450px;
    }
}

@media (min-width: 1400px) {
    .section-2__main {
        gap: 12rem;
    }
    
    .section-2__main__mypict img {
        max-width: 500px;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .section-2__main {
        gap: 6rem;
    }
    
    .section-2__main__intro {
        padding-left: 1rem;
    }
    
    .section-2__main__mypict img {
        max-width: 350px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .section-2__main {
        flex-direction: column-reverse;
        text-align: center;
        gap: 4rem;
        padding: 1rem;
    }
    
    .section-2__main__intro {
        padding-left: 0;
        max-width: 100%;
    }
    
    .section-2__main__mypict img {
        max-width: 300px;
    }
    
    .section-2__main__introduction h1 {
        font-size: 3.2rem;
        line-height: 4rem;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .section-2__main {
        gap: 3rem;
    }
    
    .section-2__main__mypict img {
        max-width: 250px;
    }
    
    .section-2__main__introduction h1 {
        font-size: 2.8rem;
        line-height: 3.5rem;
    }
}

/* =============================== */
/* IMPROVED BUTTON LAYOUT */
/* =============================== */

.buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.buttons a {
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 2rem;
    transition: all 0.4s ease;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    border: 2px solid transparent;
}

.buttons a:nth-child(1) {
    background-color: var(--primary-button-backgrond-color);
    color: var(--white);
    border-color: var(--primary-button-backgrond-color);
}

.buttons a:nth-child(1):hover {
    background-color: transparent;
    color: var(--primary-button-backgrond-color);
    transform: translateY(-2px);
}

.buttons a:nth-child(2) {
    background-color: transparent;
    border: 2px solid var(--button-border-color);
    color: var(--primary-text-color);
}

.buttons a:nth-child(2):hover {
    background-color: var(--primary-button-backgrond-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Button responsive adjustments */
@media (max-width: 768px) {
    .buttons {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .buttons a {
        min-width: 140px;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .buttons a {
        width: 100%;
        max-width: 280px;
    }
}

/* =============================== */
/* IMPROVED TEXT CONTENT */
/* =============================== */

.section-2__main__introduction {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.section-2__main__introduction h1 {
    font-size: 4rem;
    line-height: 5rem;
    animation: glowa 3s ease-in-out infinite;
    margin-bottom: 1rem;
}

.section-2__main__about {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    line-height: 2.8rem;
}

.section-2__main__about h4 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
}

.section-2__main__introduction p {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-button-backgrond-color);
}

/* Text responsive adjustments */
@media (max-width: 1024px) {
    .section-2__main__introduction h1 {
        font-size: 3.5rem;
        line-height: 4.5rem;
    }
    
    .section-2__main__about h4 {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .section-2__main__introduction h1 {
        font-size: 3rem;
        line-height: 4rem;
    }
    
    .section-2__main__introduction p {
        font-size: 2rem;
    }
    
    .section-2__main__about h4 {
        font-size: 1.6rem;
        line-height: 1.5;
    }
}

/* =============================== */
/* ACCESSIBILITY IMPROVEMENTS */
/* =============================== */

/* Ensure proper contrast */
.section-2__main__introduction h1 {
    color: var(--primary-text-color);
}

/* Focus states for better accessibility */
.buttons a:focus {
    outline: 3px solid var(--primary-button-backgrond-color);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .section-2__main__mypict img {
        animation: none;
    }
    
    .buttons a:hover {
        transform: none;
    }
    
    .section-2__main__introduction h1 {
        animation: none;
    }
}

.section-2__main__mypict img {
  height: 45rem;
  width: 45rem;
}