/* General Selector */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  border: none;
}

/* Fonts  */

.inter-light {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}
.inter-light-italic {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: italic;
}
.inter-regular {
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Reuseable Code */

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* navbar css start */

nav,
nav a {
  text-align: center;
  background-color: var(--nav-bg-color);
  color: var(--nav-text-color);
}
nav a {
  display: block;
  padding: 8px;
}

#navbar-container #middle-con ul li :hover {
  background-color: var(--nav-li-hover-bg-color);
}

nav div ul,
nav div ul a {
  list-style: none;
  text-transform: uppercase;
  text-decoration: none;
}

#navbar-container #middle-con ul li:hover {
  cursor: pointer;
  transform: scale(1.2);
}

#navbar-container #middle-con ul li {
  transition: transform 0.3s ease;
}

#navbar-container #middle-con ul li {
  width: 100%;
}

#navbar-container #middle-con {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

#navbar-container #middle-con.show-menu {
  opacity: 1;
  max-height: 300px;
}

#navbar-container #top-con {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
}
#navbar-container #btn-con {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
#navbar-container #middle-con ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#navbar-container #theme-btn {
  display: none;
  background-color: var(--nav-bg-color);
}
#navbar-container #btn-con button {
  background-color: var(--nav-bg-color);
}

@media (min-width: 768px) {
  #navbar-container #theme-btn,
  #navbar-container #middle-con {
    display: block;
  }
  #navbar-container #btn-con {
    display: none;
  }
  #navbar-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  #navbar-container #btn-con,
  #navbar-container #middle-con ul {
    flex-direction: row;
    gap: 3.5rem;
  }
  #navbar-container #middle-con {
    opacity: 1;
    max-height: none;
    overflow: visible;
  }
}

/* navbar css End */

/* Hero Section Start */

#hero {
  height: 95dvh;
  /* background: url("https://images.unsplash.com/photo-1639478795771-b3c1b0d1a6f6"); */
  background: url("../Assets/hero-bg.webp");
  background-size: cover;
  background-position: center;
  color: white;
  font-weight: bold;
  overflow: hidden;
  padding: 0 1.5rem;
  gap: 5rem;
}
#hero #image {
  display: none;
}
#hero #data {
  flex-direction: column;
  align-items: flex-start;
  width: 36rem;
}
#hero .padding {
  padding: 0.3rem 0.5rem;
}
#impLink {
  width: 100%;
  justify-content: space-around;
}
#hero a ,.cta-container a {
  
    text-align: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
  
  
}

@media (min-width: 850px) {
  #hero #image {
    display: block;
    width: 25rem;
  }
}

.slide-button {
  position: relative;
  padding: 12px 24px;
  color: var(--text-color);
  background: none;
  border: 2px solid var(--text-color);
  font-size: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 1;
  border-radius: 25px;
}

/* Create the sliding background effect */
.slide-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--btn-color);
  transition: left 0.3s ease;
  z-index: -1;
}

/* When hovered, slide in the background */
.slide-button:hover::before {
  left: 0;
}

/* Change text color when background slides in */
.slide-button:hover {
  color: var(--btn-hover-color);
}

/* Hero Section End */

/* Service Section Start */
#services {
  background-color: var(--nav-bg-color);
  color: var(--nav-text-color);
  flex-direction: column;
  padding: 2rem 2rem;
}
#services #data {
  text-align: center;
  padding: 1rem;
  max-width: 55rem;
}

#services #data h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 1rem;
}
#services #data p {
  font-size: 16px;
  margin-bottom: 1rem;
}
#services #data button {
  background-color: var(--btn-color);
  color: var(--btn-hover-color);
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
}
#services #component {
  gap: 2rem;
  align-items: baseline;
  flex-wrap: wrap;
}
#services #component .svg-img {
  width: 3.5rem;
}
#services #component #component1:hover,
#services #component #component2:hover,
#services #component #component3:hover,
#services #component #component4:hover {
  cursor: pointer;
  transform: scale(1.1);
}
#services #component #component1,
#services #component #component2,
#services #component #component3,
#services #component #component4 {
  transition: all 0.3s ease-in-out;
}

#services #component .service-component {
  background-color: var(--service-component-bg-color); /* light gray color */
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  height: 25rem;
  width: 15rem;
}

#services #component .service-component:hover {
  cursor: pointer;
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}
#services #component .service-component .svg-icon,
#services #component .service-component h4 {
  margin-bottom: 1.5rem;
}

/* Service Section End */

/* Resume Section Start */

#resume-con {
  background-color: var(--nav-bg-color);
  color: var(--nav-text-color);
}

#resume-con .container {
  max-width: 1200px;
  margin: 0 auto;
}

#resume-con .header {
  text-align: center;
}

#resume-con .header h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--text-color);
}

#resume-con .header p {
  color: var(--light-gray-text-color);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

#resume-con .sidebar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

#resume-con .padding {
  padding: 2rem;
}
#resume-con #data {
  flex-direction: column;
}

#resume-con .sidebar-item {
  margin-bottom: 20px;
  cursor: pointer;
  color: var(--light-gray-text-color);
  transition: color 0.3s ease;
}

#resume-con .sidebar-item.active {
  color: #ff6b00;
}

#resume-con .content-section {
  display: none;
  background-color: var(--resume-con-content-sec);
  border-radius: 10px;
  padding: 30px;
}

#resume-con .content-section.active {
  display: block;
}

#resume-con .education-item,
#resume-con .experience-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

#resume-con .education-item:last-child,
#resume-con .experience-item:last-child {
  border-bottom: none;
}

#resume-con .date {
  display: inline-block;
  background-color: rgba(255, 107, 0, 0.1);
  color: #ff6b00;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 14px;
  margin-top: 10px;
}

#resume-con .university,
#resume-con .company {
  font-size: 20px;
  margin-bottom: 10px;
}

#resume-con .certificate,
#resume-con .position {
  font-size: 20px;
  margin-bottom: 15px;
}

#resume-con .description {
  color: var(--light-gray-text-color);
  line-height: 1.6;
}

#resume-con .skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

#resume-con .skill-item {
  color: var(--text-color);
  padding: 20px;
  border-radius: 8px;
  margin: 0 auto;
}

#resume-con .skill-item svg {
  fill: var(--svg-color);
  transition: var(--transition);
}


#resume-con .education-item,
#resume-con .experience-item {
  transition: all 0.3s ease-in-out;
  margin-bottom: 2rem;
}
#resume-con #skill .skill-item {
  transition: all 0.3s ease-in-out;
}

#resume-con .education-item:hover,
#resume-con .experience-item:hover,
#resume-con .skill-item:hover {
  cursor: pointer;
  border-radius: 8px;
  transform: scale(1.05);
}
#resume-con .skill-item:hover {
  transform: scale(1.15);
}

#resume-con .sidebar-item {
  transition: all 0.3s ease-in-out;
}
#resume-con .sidebar-item:hover {
  color: #ff6b00;
  transform: scale(1.2);
}
#resume-con.skill-item {
  position: relative;
}

#resume-con .skill-item img{
  width:3rem;
}

#resume-con .skill-item::after {
  content: attr(title);
  position: absolute;
  bottom: -15%;
  left: 3.3rem;
  top: 85%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#resume-con .skill-item:hover::after {
  opacity: 1;
}

@media (min-width: 850px) {
  #resume-con #data {
    flex-direction: row;
    gap: 6.5rem;
    align-items: flex-start;
  }
  #resume-con .padding {
    padding: 5rem 6rem;
  }
  #resume-con .sidebar {
    width: 20rem;
    display: block;
  }
  #resume-con .content {
    width: 90rem;
  }
  #resume-con .education-item,
  #resume-con .experience-item {
    grid-template-columns: 1fr 1.6fr;
    gap: 20px;
    padding: 20px 0;
  }
  #resume-con .skills-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1024px) and (max-width: 2550px) {
  #resume-con .skills-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
/* Resume Section End */

/* Project Section Start */

.projects-section {
  padding: 2rem;
  text-align: center;
  background-color: var(--nav-bg-color);
  color: var(--nav-text-color);
}

.projects-section h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.projects-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.project-card {
  background-color: var(--project-card-bg);
  border-radius: 10px;
  overflow: hidden;
  max-width: 70rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.project-image {
  max-width: 25rem;
  height: auto;
}

.project-info {
  padding: 1rem;
  text-align: center;
}

.project-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.tech-stack {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-stack span {
  background-color: #2e2e2e;
  padding: 0.4rem 0.6rem;
  border-radius: 5px;
  font-size: 0.8rem;
  color: #fff;
  transition: background-color 0.3s ease;
  transform: all 0.3s ease-in-out;
}

.tech-stack span:hover {
  background-color: #444;
  cursor: pointer;
  transform: scale(1.05);
}

.project-link {
  text-decoration: none;
  color: #00bfff;
  font-weight: bold;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #00a2d8;
}

@media (max-width: 768px) {
  .projects-section {
    padding: 2rem 1.5rem;
  }
  .projects-container {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    width: 100%;
    padding: 0.5rem 1.5rem;
  }
}
@media (max-width: 800px) {
  .project-card {
    flex-direction: column;
  }
}
@media (max-width: 909px) {
  .project-card {
    padding: 1.5rem 0.9rem;
  }
}
@media (min-width: 910px) {
  .project-card {
    gap: 2rem;
    padding: 0 2rem;
  }
}

@media (max-width: 480px) {
  .projects-section {
    padding: 0.5rem 1.5rem;
  }
  .projects-section h1 {
    font-size: 1.5rem;
  }

  .project-info h2 {
    font-size: 1.2rem;
  }

  .project-info p {
    font-size: 0.8rem;
  }
}

/* Project Section End */

/* CTA Section Start */

#cta {
  height: 90dvh;
  background-color: var(--nav-bg-color);
  color: var(--nav-text-color);
}
#cta .cta-container {
  padding: 2.5rem;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}
#cta #data {
  max-width: 35rem;
  padding: 2.5rem;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}
#cta h1 {
  font-size: 2.5rem;
}

#cta h5 {
  font-size: 0.6rem;
}

#cta h5,
p {
  margin: 1.6rem 0;
}
#cta p {
  font-size: 15px;
}
#cta .get-in-touch {
  background-color: #f78f42;
  color: #000000;
  border: none;
  padding: 8px;
  font-size: 13.5px;
  letter-spacing: 1px;
  font-family: sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
}

#cta .arrow {
  font-size: 20px;
  transition: transform 0.3s ease;
}

#cta .get-in-touch:hover {
  background-color: #d8cfc3;
  cursor: pointer;
  transform: scale(1.05);
}

#cta .get-in-touch:hover .arrow {
  transform: translate(5px, -5px);
}

#cta .get-in-touch:active {
  transform: scale(0.98);
}

@media (max-width: 500px) {
  #cta h1 {
    font-size: 1.9rem;
  }
  #cta p {
    font-size: 10px;
  }
}

@media (min-width: 768px) and (max-width: 2560px) {
  #cta h5 {
    font-size: 0.9rem;
  }
  #cta h1 {
    font-size: 3rem;
  }
  #cta p {
    font-size: 19px;
  }
}

#cta .marquee-container {
  width: 100%;
  background-color: var(--resume-con-content-sec);
  overflow: hidden;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

#cta .marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

#cta .marquee-item {
  color: var(--text-color);
  padding: 10px 15px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 768px) {
  #cta .marquee-item {
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  #cta .marquee-item {
    padding: 6px 10px;
    font-size: 10px;
  }
}

/* Optional: Pause animation on hover */
#cta .marquee-content:hover {
  cursor: pointer;
  animation-play-state: paused;
}

/* CTA Section End */

/* Contact Section Start */
.form-success {
    background: #e6fffa;
    color: #065f46;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.form-error {
    background: #fee2e2;
    color: #7f1d1d;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.contact-section {
  background-color: var(--contact-sec-bg);
  color: var(--text-color);
  padding: 60px 20px;
}

.contact-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.contact-section .title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 20px;
}

.contact-section .subtitle {
  text-align: center;
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.contact-section .contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.contact-section .form-container {
  max-width: 30rem;
  flex: 1;
}

.contact-section .contact-info {
  flex: 0 0 350px;
}

.contact-section .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-section .form-group {
  flex: 1;
  margin-bottom: 20px;
}

.contact-section label {
  display: block;
  margin-bottom: 8px;
  color: (--text-color);
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 12px;
  background-color: var(--contact-sec-content-bg);
  border: none;
  border-radius: 4px;
  color: var(--text-color);
}

.contact-section textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-section .send-button {
  background-color: #ff7f50;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-section .send-button:hover {
  background-color: #ff6b3d;
  cursor: pointer;
}

.contact-section .info-box {
  background-color: var(--contact-sec-content-bg);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  width: 20rem;
}

.contact-section .info-box h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.contact-section .info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.contact-section .label {
  color: var(--text-color);
}

.contact-section .value {
  color: var(--text-color);
  text-align: right;
}

.contact-section #skill {
  gap: 20px;
  flex-wrap: wrap;
}

.contact-section .skill-item {
  color: var(--text-color);
  padding: 20px;
  border-radius: 8px;
  margin: 0 auto;
}

 .skill-item svg {
  fill: var(--svg-color);
  transition: var(--transition);
}



.contact-section #skill .skill-item {
  transition: all 0.3s ease-in-out;
}

.contact-section .skill-item:hover {
  cursor: pointer;
  border-radius: 8px;
  transform: scale(1.05);
}
.contact-section .skill-item:hover {
  transform: scale(1.15);
}



.contact-section .skill-item svg{
  width:24px;
  height:24px;
}


@media (max-width: 992px) {
  .contact-section .contact-info {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .contact-section .contact-wrapper {
    flex-direction: column;
  }
  .contact-section .title {
    font-size: 36px;
  }

  .contact-section .contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap:2rem;
  }

  .contact-section .info-item {
    gap: 5px;
  }

  .contact-section .value {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .contact-section .title {
    font-size: 28px;
  }

  .contact-section .contact-section {
    padding: 40px 15px;
  }

  .contact-section .info-box {
    padding: 15px;
  }
}
/* Contact Section End */

/* Footer Section Start */
#footer{
  background-color: var(--contact-sec-bg);
}
#footer p{
  background-color: var(--contact-sec-content-bg);
  color:var(--text-color);
  width: 100%;
  text-align: center;
  padding:1.2rem;
}
/* Footer Section End */
