@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/* === General Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* === Feedback Pop-up (Bottom-Left Below Navbar) === */
.popup {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 90%;
  max-width: 350px;
  background: rgba(0, 0, 0, 0.9); /* Dark transparent */
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s ease-in-out;
  z-index: 999;
}

/* Popup Content */
.popup-content {
  background: linear-gradient(135deg, #000000, #222222); /* Black Gradient */
  padding: 20px;
  border-radius: 12px;
  color: white;
  position: relative;
}

/* Watermark */
.popup-content::before {
  content: "GlobalX"; /* Watermark */
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6); /* More visible */
  font-weight: bold;
  pointer-events: none;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.close-btn:hover {
  transform: rotate(90deg);
}

/* Input Fields */
.popup-content input,
.popup-content textarea {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.popup-content input::placeholder,
.popup-content textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.popup-content input:focus,
.popup-content textarea:focus {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.3);
}

/* Submit Button (White Initially, Green After Sending) */
#send-feedback {
  width: 100%;
  padding: 12px;
  background: white; /* Default White */
  color: black;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);
}

#send-feedback:hover {
  background: #f1f1f1;
  color: black;
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
}

/* After Sending Feedback */
#send-feedback.sent {
  background: #00e676; /* Turns Green */
  color: white;
  box-shadow: 0px 0px 20px rgba(0, 230, 118, 1);
}

/* === Thank You Pop-up (Appears Centered) === */
.thank-you-popup {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #000000, #444444); /* Black Gradient */
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1000;
  width: 80%;
  max-width: 350px;
}

/* Thank You Message Text */
.thank-you-content {
  color: white;
  font-size: 18px;
  font-weight: bold;
}

/* Responsive Design for Mobile */
@media (max-width: 480px) {
  .popup {
    left: 10px;
    width: 95%;
    bottom: 10px;
  }

  .thank-you-popup {
    width: 90%;
    padding: 15px;
  }
}

/* Animations */
@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* Default Light Mode */
:root {
  --bg-color: #ffffff;
  --text-color: #000000;
}

/* Dark Mode */
.dark-mode {
  --bg-color: #1e1e1e;
  --text-color: #ffffff;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
}

.theme-text {
  transition: color 0.5s ease-in-out;
}

/* Theme Toggle Button */
#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  position: relative;
  overflow: hidden;
}

/* SVG Icons */
.icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--text-color);
  stroke-width: 2;
  position: absolute;
  transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
}

/* Default: Moon is hidden */
.moon {
  opacity: 0;
  transform: translateY(10px);
}

/* Dark Mode: Sun is hidden, Moon appears with bounce */
.dark-mode .sun {
  opacity: 0;
  transform: translateY(-10px) rotate(180deg);
}

.dark-mode .moon {
  opacity: 1;
  transform: translateY(0px) scale(1.1);
}

/* Bounce effect on click */
#theme-toggle:active {
  transform: translateY(-3px);
  transition: transform 0.2s ease-out;
}

.xcolor{
  color:red;
}
:root {
  --primary-color: #1e1e1d;
  --primary-color-dark: #161513;
  --primary-color-light: #a3a3a3;
  --white: #ffffff;
}

.light-theme {
  --primary-color: #ffffff;
  --primary-color-dark: #f8f9fa;
  --primary-color-light: #333;
  --white: #000;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--white);
}
:root {
  --primary-color: #1e1e1d;
  --primary-color-dark: #161513;
  --primary-color-light: #a3a3a3;
  --white: #ffffff;
  --max-width: 900px;
  --gradient-1: linear-gradient(to right bottom, #f77d6b, #9e1fdb);
  --gradient-2: linear-gradient(
    to right bottom,
    var(--white) 25%,
    var(--primary-color)
  );
}
h4{
    color:white;
}

.date{
  color:rgb(236, 240, 12);
  justify-content: space-between;
}
.position{
  align-items: center;
  color:white;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.certificate{
  border-radius: 5%;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}
.project1{
  width:200px;
  border-radius: 20%;;
  align-items:center;

}
.project2{
  width:200px;
  border-radius:5%;
  align-items: center;

}
.p1{
  color:white;
}
.text1{
  color:white;
  size:100px;
  text-align: right;
  justify-content: left;

}
p{
  color:lightblue;
}
img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color-dark);
}

.nav__bar {
  position: fixed;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
}

.nav__logo a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--primary-color);
  transition: 0.5s;
  z-index: -1;
  transform: translateY(-100%);
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  color: var(--primary-color-light);
}

.nav__links a:hover {
  color: var(--white);
}

.header__container img {
  max-width: 200px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.header__container h1 {
  margin-bottom: 2rem;
  font-size: 3.5rem;
  line-height: 4rem;
  color: var(--white);
  text-align: center;
}

.header__container h1 span {
  background-image: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header__container p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-inline: auto;
  color: var(--primary-color-light);
  text-align: center;
}

.header__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header__btns .btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--primary-color-dark);
  background-color: var(--white);
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
}

.header__btns a {
  padding: calc(0.75rem - 2px) calc(1.5rem - 2px);
  font-size: 1rem;
  line-height: 1.125rem;
  color: var(--white);
  background-color: transparent;
  border-radius: 5rem;
  border: 2px solid var(--white);
}

.header__btns a:hover {
  color: var(--primary-color-dark);
  background-color: var(--white);
}

.skill__container {
  padding-block: 0;
}

.skill__container h2 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.skill__flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.skill__flex span {
  font-size: 2.5rem;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project__container h2 {
  margin-bottom: 4rem;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(
    to right bottom,
    #f77d6b 25%,
    var(--primary-color-dark)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.project__grid {
  display: grid;
  gap: 2rem;
}

.project__card {
  max-width: 450px;
  margin-inline: auto;
  background-color: var(--primary-color);
  border-radius: 1rem;
  overflow: hidden;
}

.project__card__details {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project__card__details p {
  color: var(--primary-color-light);
}

.project__card__details h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
}

.project__card__details a {
  font-size: 1.5rem;
  color: var(--white);
}

.experience__container h2 {
  margin-bottom: 4rem;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(
    to right bottom,
    #9e1fdb 25%,
    var(--primary-color-dark)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.experience__list {
  color:white;
  display: grid;
  gap: 3rem;
}

.experience__header {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.experience__header div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.experience__header img {
  max-width: 25px;
}

.experience__header h4 {
  font-display: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.experience__header p {
  color: var(--primary-color-light);
  white-space: nowrap;
}

.experience__list li p {
  color: var(--primary-color-light);
}

footer {
  background-color: var(--primary-color);
}

.footer__container h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.footer__container p {
  margin-bottom: 1rem;
  color: var(--primary-color-light);
}

.footer__container .mail__to a {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color-light);
}

.mail__to a span {
  font-size: 1rem;
}

.footer__container .mail__to:hover a {
  color: var(--white);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  font-size: 1.25rem;
  color: var(--primary-color-light);
}

.footer__socials a:hover {
  color: var(--white);
}

@media (width > 768px) {
  nav {
    background-color: var(--primary-color);
  }

  .nav__bar {
    position: static;
    padding: 1.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .nav__header {
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    flex-direction: row;
    justify-content: flex-end;
    gap: 4rem;
    background-color: transparent;
    transform: none;
    z-index: 1;
  }

  .skill__flex {
    gap: 2rem;
  }

  .project__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  gap: 15px;
}

.footer-links li {
  display: inline;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #1e90ff;
}
/* PROJECTS SECTION */

#projects {
  position: relative;
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}

.project-img {
  border-radius: 1rem;
  width: 70%;
  height: 70%;
}

.project-title {
  margin: 1rem;
  color: rgb(124, 119, 126);
}

.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
}
.section__text__p1 {
  text-align: center;
}
.title {
  color: rgb(102, 73, 73);
 
  font-size: 3rem;
  text-align: center;
}
.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}
.details-container {
  padding: 1.5rem;
  flex: 1;
  background: white;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: center;
}
.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
}
.experience-sub-title {
  color: rgb(85, 85, 85);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}
/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background: rgb(53, 53, 53);
  color: white;
}

.btn-color-1:hover {
  background: rgb(0, 0, 0);
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container {
  gap: 1rem;
}
/* Thank You Popup */
.thank-you-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #cc2626, #222);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1000;
}

/* Thank You Message Text */
.thank-you-content {
  color: white;
  font-size: 18px;
  font-weight: bold;
}
