@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Open+Sans:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
  border: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

:root {
  /* --bg-color:rgb(224, 217, 212); */
  --bg-color: rgb(244, 241, 239);
  --second-bg-color: #dfdcd4;
  --text-color: #000000;
  --secondary-text-color: #1e1d1d;
  --main-color: #eb8f04;
  --header-color: #ffffff;
}
html {
  font-size: 64%;
  overflow-x: hidden;
}
body {
  background-color: var(--bg-color);
  user-select: none;  
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 5%;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: 0.3s;
 }

.logo img {
  height: 50px;
  width: 60px;
  max-width: 100%;
}

/* For js  */

.header.sticky {
  background: var(--header-color);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1); /* Light border */

}



.navbar a {
  font-size: 1.7rem;
  color: var(--text-color);
  margin-left: 3.5rem;
  font-weight: 500;
}
.navbar a:hover,
.navbar a.active {
  color: var(--main-color);
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  cursor: pointer;
  display: none;
  transition: transform 0.5s ease-in-out;
}

 
/*===================== 
Home section Design 
=======================
*/



.home {
  display: grid;
  grid-template-columns: 60% 40%;
  position: relative;
  height: 100vh;
  max-height: 800px;
  min-height: 600px;
  align-items: center;
  padding: 2rem 5%;
  overflow: hidden;
}

/* For Animation Image design */
.image-design {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.image-design img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 50%;
  border: 1px solid var(--main-color);
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transform: rotateY(0deg);
  animation: imageTilt 8s infinite alternate ease-in-out;
}

@keyframes imageTilt {
  0% {
    transform: rotateY(-10deg) rotateX(-5deg);
  }
  100% {
    transform: rotateY(10deg) rotateX(5deg);
  }
}

.image-design .design-overlay {
  position: absolute;
  width: 150%;
  height: 110%;
  background: radial-gradient(circle, rgba(255, 145, 0, 0.6), transparent);
  border-radius: 50%;
  z-index: 1;
  animation: pulse 6s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.shape-ring {
  position: absolute;
  width: 100%;
  max-width: 450px;
  height: 450px;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  animation: rotateRing 8s linear infinite;
}

@keyframes rotateRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Fpr video and image tag */
/* .home{
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.home-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 2;
}   */

.home-content {
  z-index: 1;
  max-width: 60rem;
}
.home-content h1,
.home-content h2 {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.3;
  font-family: "Poppins", sans-serif;
}

.home-content h3 {
  font-size: 3.5rem;
  font-weight: 700;
}
.home-content h3:nth-of-type(2) {
  margin-bottom: 2rem;
}
.home-content h1 span,
.home-content .multiple-text {
  color: var(--main-color);
}
.typed-cursor {
  color: var(--main-color);
  font-weight: bold;
}
.home-content p {
  font-size: 1.6rem;
  margin: 2rem 0 4rem;
  line-height: 2.5rem;
  color: var(--secondary-text-color);
  font-family: "Open Sans", sans-serif;
}

/* For test Animation css */
/* .home-content .text-animated{
    position: relative;
    width: 44rem;
}
.home-content .text-animated h3{
    font-size: 3.2rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: .7px var(--main-color);
    background-image: linear-gradient(var(--main-color),var(--main-color));
    background-repeat: no-repeat;
    background-clip: text;
    background-position: -44rem 0;
    animation: homeBgText 6s linear infinite;
    animation-delay: 2s;
}

.home-content .text-animated h3::before{
    content: '';
    position:absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-right: 2px solid var(--main-color);
    z-index: -1;
    animation: homeCursorText 6s linear infinite;
    animation-delay: 2s;
}

@keyframes homeBgText{
    0%,
    10%,
    100%{
        background-position: -44rem 0;
    }
    65%,
    85%{
        background-position: 0, 0;
    }
}
@keyframes homeCursorText{
    0%,
    10%,
    100%{
        width: 0;
    }
    65%,
    75%,
    85%{
        width: 100%;
        opacity: 1;
    }
    75%,
    81%{
        opacity: 0;
    }
} */

.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  margin-right: 1rem;
  background: var(--main-color);
  border-radius: 4rem;
  box-shadow: 0 0 1.5rem var(--main-color);
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
  font-weight: 600;
  transform: 0.5s ease;
  color: var(--second-bg-color);
  font-family: 'Poppins', sans-serif;
}
.btn:hover {
  box-shadow: none;
  background-position: right center;
  color: #fff;
  text-decoration: none;
}

.social-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0.2rem solid var(--main-color);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--main-color);
  margin: 3rem 1rem 3rem 0;
  transition: 0.5s ease;
}

.social-media a:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  box-shadow: 0 0 1rem var(--main-color);
}

.home-sci a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--main-color);
  z-index: -1;
  transition: 0.5s;
}
.home-sci a:hover::before {
  width: 100%;
}

 
/*====================
    About Section  Design
====================== */

.about-section {
  padding: 4rem 5%;
  text-align: center;
  background-color: var(--bg-color);
  background-attachment: fixed;
  z-index: -1;
}

.about-title {
  font-size: 5rem;
  font-weight: 700;
  color: #ff8c42;
  position: relative;
  display: inline-block;
}

.about-title::after {
  content: "";
  width: 150px;
  height: 4px;
  background-color: #ff8c42;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 5rem 0 3rem;
}

.profile-photo-container {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 6px solid #ff8c42;
  box-shadow: 0px 15px 30px rgba(255, 140, 66, 0.4);
  animation: floatEffect 5s ease-in-out infinite;
  transform-origin: center;
}

/* Floating Effect */
@keyframes floatEffect {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
  100% {
    transform: translateY(0);
  }
}

.profile-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(1.2);
  transition: transform 0.8s ease;
}

/* Interactive Hover Animation */
.profile-photo-container:hover img {
  transform: scale(1.1);
}

/* Animated Radial Gradient Background */
.profile-photo-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 140, 66, 0.3) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
  animation: pulseGradient 6s infinite;
}

@keyframes pulseGradient {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
  }
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
}

.about-text {
  max-width: 60%;
  margin: 2rem auto;
  font-size: 1.6rem;
  font-family: "Open Sans", sans-serif;
  line-height: 2.5rem;
  color: var(--secondary-text-color);
}

.btn-grad {
  background-image: linear-gradient(
    to right,
    #ff512f 0%,
    #f09819 51%,
    #ff512f 100%
  );
}
.btn-grad {
  margin: 4rem 10px 10px;
  padding: 10px 45px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
}

.btn-grad:hover {
  background-position: right center;
  color: #fff;
  text-decoration: none;
}
 

 
.feature-box-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem 0;

}

.feature-box {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeIn 1s ease-in-out both;
}
 
 
.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 4.5rem;
  color: #ff8c42;
  margin-bottom: 1.5rem;
  animation: bounce 1.2s infinite;
}

.feature-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-description {
  font-size: 1.5rem;
  line-height: 2.2rem;
  color: #777;
  font-family:'Poppins', sans-serif;
} 

/* @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  } */

/*=========================
      SERVICE SECTION
==========================*/

.services-section {
  padding: 4rem 5%;
  text-align: center;
}

.services-title {
  font-size: 5rem;
  font-weight: 700;
  color: #ff8c42;
  position: relative;
  display: inline-block;
}
.services-section .service-text {
  max-width: 80%;
  margin: 3rem auto;
  font-size: 1.6rem;
  line-height: 2.5rem;
  color: var(--secondary-text-color);
  font-family: "Open Sans", sans-serif;

}

.services-container {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); */
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0;
}

.service-card {
  /* background-image: linear-gradient(135deg, #43cea2, #185a9d); */
  background-image: linear-gradient(#e15802, #c6840b);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.service-card:hover {
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.3), inset 0px 0px 15px #ffffff;
  transform: perspective(1000px) rotateX(10deg) rotateY(10deg);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  transform: scale(0);
  transition: transform 0.4s ease-in-out;
  border-radius: 12px;
}

.service-card:hover::before {
  transform: scale(1);
}

.service-icon {
  font-size: 4.5rem;
  color: var(--header-color);
  margin-bottom: 1.5rem;
  transition: transform 0.5s;
}

.service-card:hover .service-icon {
  transform: rotate(360deg);
}

.service-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--header-color);
}

.service-description {
  font-size: 1.6rem;
  line-height: 2.2rem;
  color: var(--header-color);
}

/*======================
    Skills Section
  ======================*/

.skills-section {
  padding: 4rem 5%;
  text-align: center;
}

.skills-title {
  font-size: 5rem;
  font-weight: 700;
  color: #ff8c42;
  position: relative;
  display: inline-block;
}
.skill-text {
  font-family: "Open Sans", sans-serif;
  max-width: 80%;
  margin: 3rem auto;
  font-size: 1.6rem;
  line-height: 2.5rem;
  color: var(--secondary-text-color);
}
.skills-slider {
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  height: 160px;
  white-space: nowrap;
}

.slider-track {
  display: inline-flex;
  animation: scroll-loop 10s linear infinite;
}

.skill-bubble {
  /* background: linear-gradient(135deg, #ff9966, #ff5e62); */
  background: linear-gradient(135deg, #f16c29e6, #ffa75e);
  color: white;
  font-weight: bold;
  text-align: center;
  width: 180px;
  height: 130px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s;
  padding: 1rem;
}

.skill-bubble i {
  max-width: 50%;
  height: auto;
  font-size: 4.5rem;
  margin-bottom: 0.5rem;
}
.skill-bubble h2 {
  font-size: 2rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.skill-bubble:hover h2 {
  opacity: 1;
}

.skill-bubble:hover {
  transform: scale(1.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* ======================
  Project Section
  ====================== */

.projects-section {
  padding: 4rem 5% 6rem;
  background: linear-gradient(135deg, #293241, #3d5a80);
  text-align: center;
}

.projects-title {
  font-size: 5rem;
  font-weight: 700;
  color: #ff8c42;
  position: relative;
  display: inline-block;
}

.projects-description {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  margin: 2rem auto 5rem auto !important;
  color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
}

.project-card {
  position: relative;
  border-radius: 2rem;
  box-shadow: 0 0 1rem var(--bg-color);
  overflow: hidden;
  display: flex;
}

.project-card img {
  width: 100%;
}
.project-card:hover img {
  transform: scale(1.1);
  transition: 0.5s ease;
}

.project-card .project-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.1), var(--main-color));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 0 4rem;

  transform: translateY(100%);
  transition: 0.5s ease;
}

.project-card:hover .project-layer {
  transform: translateY(0);
}

.project-layer h4 {
  font-size: 3rem;
}
.project-layer p {
  font-size: 1.6rem;
  margin: 0.3rem 0 1rem;
  color: black;
}

.project-layer a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  /* width: 5rem; */
  /* height: 5rem; */
  padding: 1rem;
  background: var(--text-color);
  border-radius: 50%;
}
.project-layer a i {
  font-size: 2rem;
  color: var(--second-bg-color);
}

/* =======================
      CONTACT SECTION
    ======================== */

.contact-section {
  display: flex;
  justify-content: space-around;
  padding: 4rem 5%;
  align-items: center;
}

.contact-left {
  max-width: 45%;
}

.contact-left h2 {
  font-size: 4.5rem;
  font-weight: 700;
  color: #1d3557;
}

.contact-left .subtext {
  font-family: "Open Sans", sans-serif;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #868e96;
}

.email-container {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  background-color: #f1f5f9;
  padding: 1rem;
  border-radius: 8px;
}

.email-container i {
  color: #6366f1;
  font-size: 2rem;
  margin-right: 0.8rem;
}

.contact-right {
  max-width: 45%;
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-right h2 {
  font-size: 3rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #1d3557;
  margin: auto auto 2rem auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1.2rem;
  border: none;
  font-family: inherit;
  width: 100%;
  font-size: 1.5rem;
  color: var(--text-color);
  background-color: #f8f8f8;
  border-radius: 0.8rem;
}

.contact-form textarea {
  height: 100px;
  resize: none;
}

.contact-form button {
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

 


/* ==========================
        FOOTER SECTION
  =========================== */
  .footer {
    /* background-color: #edae70; */
    background: #2e2e2e;  
    /* background: linear-gradient(135deg, #cc7204, #1c1c1c);  */
    color: #FFFFFF;
    color: #f1f1f1;
    padding: 3rem 4%;
    display: grid;
    gap: 2rem;
  }
  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  
  .footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--main-color);
    display: inline-block;
    padding-bottom: 0.5rem;
  }
  
  .footer-section p {
    font-size: 1.4rem;
    line-height: 2;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section ul li {
    margin: 0.5rem 0;
  }
  
  .footer-section ul li a {
    color: #eee;
    text-decoration: none;
    font-size: 1.4rem;
  }
  
  .footer-section ul li a:hover {
    text-decoration: underline;
    color: var(--main-color);
    /* color: #000000; */
  }
  
  .footer-section .social-icons {
    display: flex;
    gap: 1rem;
  }
  
  .footer-section .social-icons a {
    font-size: 2rem;
    color: #eee;
    transition: all 0.3s ease;
  }
  
  .footer-section .social-icons a:hover {
    color: var(--main-color);
  }
  
  .footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding: 1.5rem 0;
    margin-top: 2rem;
    font-size: 1.2rem;
    color: #aaa;
  }
  .footer-section.contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
  }
  
  .footer-section.contact p i {
    font-size: 1.8rem;
    color: var(--main-color);
  }
  


  

/* This is for model */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  padding-top: 60px; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4);
}
.modal-content {
  background-color: #fefefe;
  margin-top: 7%;
  margin-left: 34%;
  padding: 10px;
  border: 1px solid #888;
  width: 31.5%;
  align-items:center;
  text-align: left;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding-left: 0;
}

.close {
  color: #060606;
  float: right;
  font-size: 28px;
  font-weight: bold;
  align-items: center;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
} 
