/* ==== global  ====*/
:root {
  --bg-color: #0d0d0d;
  --pink-color: #ff5787;
  --light-pink: #ffb6c1;
  --text-color: #635555;
  --text-gray: #ccc;
  --baby-color: #4dd2d4;
  --main-duration: 0.3s;
  --section-padding: 60px;
  --border-radius: 6px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: "Lora", serif;
  background-color: var(--bg-color);
  color: white;
  min-height: 200vh;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: white;
}
::selection {
  background-color: rgba(224, 220, 220, 0.3);
  color: var(--pink-color);
}

/* ==== scrollbar ====*/
::-webkit-scrollbar {
  width: 15px;
}
::-webkit-scrollbar-track {
  background-color: var(--text-gray);
  border-radius: var(--border-radius);
}
::-webkit-scrollbar-thumb {
  background: var(--pink-color);
  border-radius: var(--border-radius);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--light-pink);
}

/* ==== container section ====*/
.container {
  padding: 0 15px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* ==== components styles ====*/
.d-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.d-none {
  display: none;
}
.br-6 {
  border-radius: var(--border-radius);
}
.txt-center {
  text-align: center;
}
.main-transition {
  transition: all var(--main-duration) ease-in;
}

.special-heading {
  color: var(--light-pink);
  font-size: 100px;
  margin: 0;
  font-weight: 900;
}
.special-heading + p {
  color: var(--text-gray);
  margin: -25px 0 0;
  font-size: 22px;
}
@media (max-width: 768px) {
  .special-heading {
    font-size: 80px;
  }
  .special-heading + p {
    font-size: 20px;
    margin: -18px 0 0;
  }
}
@media (max-width: 480px) {
  .special-heading {
    font-size: 40px;
  }
  .special-heading + p {
    font-size: 18px;
    margin: -10px 0 0;
  }
}
.btn {
  border: 1px solid white;
  padding: 8px 20px;
  position: relative;
  margin: 5px;
  cursor: pointer;
}
.btn:hover {
  background-color: var(--pink-color);
}
.btn i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.button {
  background-color: var(--baby-color);
  display: inline-block;
  margin-top: 30px;
  border: 1px solid white;
  padding: 10px 20px;
  cursor: pointer;
  color: black;
  border-radius: 25px;
}
.button:hover {
  background-color: var(--pink-color);
}
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 10px;
  scroll-margin-top: 60px;
}
section:last-child {
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  section {
    padding: 40px 15px 10px;
  }
}
@media (max-width: 768px) {
  section {
    padding: 30px 15px;
  }
}
@media (max-width: 480px) {
  section {
    padding: 20px 10px;
  }
}

/* ==== header ====*/
.header {
  position: fixed;
  top: 0;
  padding: 10px;
  width: 100%;
  z-index: 9999;
  backdrop-filter: blur(7px);
  box-shadow: 0 6px 20px rgba(255, 79, 129, 0.35);
}
.header .name {
  font-family: "Indie Flower", cursive;
  cursor: pointer;
  margin-left: -50px;
  font-weight: 900;
  font-size: 35px;
  width: 60%;
}
.header .link ul {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
}
.header .link ul li a {
  color: white;
  position: relative;
  padding: 8px 10px;
  display: block;
  border-radius: var(--border-radius);
}
.header .link ul li a {
  border: 1px solid transparent;
  transition: all var(--main-duration) ease-in;
}
.header .link ul li a::before,
.header .link ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 1px;
  width: 0;
}
.header .link ul li a::before {
  left: 50%;
}
.header .link ul li a::after {
  right: 50%;
}
.header .link ul li:hover a::before,
.header .link ul li:hover a::after,
.header .link ul li.active a::before,
.header .link ul li.active a::after {
  width: 50%;
}
.header .link ul li:hover a,
.header .link ul li.active a {
  border-color: var(--light-pink);
}

@media (max-width: 1200px) {
  .header .link ul {
    gap: 20px;
  }
  .header .name {
    font-size: 32px;
  }
}
@media (max-width: 992px) {
  .header .link ul {
    gap: 15px;
  }
  .header .name {
    font-size: 30px;
  }
}
/* ==== toggle menu ====*/
@media (max-width: 768px) {
  .header {
    margin: 0;
    position: relative;
    z-index: 1000;
  }
  .header .name {
    margin-left: 0;
  }
  .header .link .icon {
    width: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    cursor: pointer;
  }
  .header .link .icon span {
    height: 3px;
    background-color: var(--text-gray);
    margin-bottom: 5px;
  }
  .header .link .icon span {
    background-color: var(--text-gray);
    margin-bottom: 5px;
    height: 3px;
  }
  .header .link .icon span:first-child,
  .header .link .icon span:last-child {
    width: 100%;
  }
  .header .link .icon span:nth-child(2) {
    width: 60%;
    transition: var(--main-duration);
  }
  .header .link:hover .icon span:nth-child(2) {
    width: 100%;
  }
  .header .link ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0 0 0 /0.78);
    backdrop-filter: blur(7px);
    box-shadow: 0 6px 20px rgba(255, 79, 129, 0.35);
    border-bottom: 1px solid white;
  }
  .header .link:hover ul {
    display: block;
  }
  .header .link ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 12px 0;
    border-bottom: 1px solid white;
    border-radius: 0;
  }
}
@media (max-width: 480px) {
  .header {
    padding: 5px;
  }
  .header .name {
    font-size: 22px;
    width: 70%;
  }
  .header .link .icon {
    width: 25px;
  }
  .header .link .icon span {
    height: 2px;
    margin-bottom: 3px;
  }
  .header .link ul {
    top: 90%;
    padding: 5px 0;
  }
  .header .link ul li a {
    padding: 8px 0;
    font-size: 14px;
  }
}

/* ==== home ====*/
.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  padding: 60px 10%;
}
.home .home-data {
  max-width: 50%;
  flex: 1;
  font-size: 15px;
}
.home .writing {
  color: var(--pink-color);
  font-size: 35px;
  width: 28ch;
  border-right: 1px solid var(--light-pink);
  overflow: hidden;
  white-space: nowrap;
  animation: typing 3s steps(28) 1s infinite, blink 0.5s step-end infinite;
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 20ch;
  }
}
@keyframes blink {
  from {
    border-right-color: var(--light-pink);
  }
  to {
    border-right-color: transparent;
  }
}

.home .home-data p {
  margin: 20px 0;
  line-height: 1.4;
  font-size: 18px;
}
.home .home-data p span {
  color: var(--pink-color);
  font-size: 20px;
}
.home .home-img {
  flex: 1;
  max-width: 50%;
  text-align: center;
}
.home img {
  height: auto;
  max-width: 100%;
}

@media (max-width: 1200px) {
  .home {
    padding: 60px 5%;
  }
}

@media (max-width: 992px) {
  .home {
    padding: 50px 5%;
  }
  .home .writing {
    font-size: 30px;
  }
  .home .home-data p {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .home {
    font-size: 16px;
    padding-top: 100px;
    flex-direction: column;
  }
  .home .writing {
    width: 18ch;
    animation: typing 3s steps(18) 1s infinite, blink 0.5s infinite;
    font-size: 22px;
  }
  .home .icons .btn {
    padding: 5px 15px;
    font-size: 13px;
  }
  .home img {
    margin-top: 40px;
    width: 400px;
    max-width: 100%;
  }
  .home .home-data,
  .home .home-img {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .home {
    font-size: 14px;
    padding: 20px 5%;
  }
  .home .writing {
    font-size: 18px;
    width: 15ch;
    animation: typing 3s steps(15) 1s infinite, blink 0.5s infinite;
  }
  .home .home-data p {
    font-size: 14px;
  }
  .home .icons .btn {
    padding: 3px 10px;
    font-size: 12px;
  }
  .home .button {
    padding: 5px 10px;
    font-size: 12px;
  }
  .home img {
    width: 200px;
    height: auto;
    margin-top: 12px;
  }
}

/* ==== About ====*/
.about .container {
  text-align: left;
  align-items: flex-start;
}
.about .img img {
  width: 480px;
  height: auto;
  border-radius: var(--border-radius);
}
.about .col {
  flex: 1;
}
.about p {
  margin-bottom: 20px;
}
.about .details-col {
  margin-top: -30px;
}
.about .details {
  margin-bottom: 20px;
  position: relative;
}
.about .details strong {
  font-size: 22px;
}
.about .details span {
  color: #d3caca;
  position: absolute;
  left: 50%;
  font-size: 18px;
}
.about .complete strong {
  color: var(--pink-color);
  font-weight: 800;
  font-size: 40px;
}
.about .complete span {
  font-size: 22px;
}

@media (max-width: 1200px) {
  .about .img img {
    width: 400px;
  }
}

@media (max-width: 992px) {
  .about .img img {
    width: 350px;
  }
  .about .details-col {
    margin-top: -20px;
  }
}
@media (max-width: 768px) {
  .about {
    padding-top: 100px;
  }
  .about .container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .about .img {
    display: none;
  }
  .about .details-col {
    margin-top: 0;
  }
  .about .details-col p {
    margin-left: 0;
  }
  .about .details {
    margin-bottom: 15px;
    flex-direction: column;
    position: static;
    display: flex;
  }
  .about .details strong {
    font-size: 20px;
  }
  .about .details span {
    position: static;
    font-size: 18px;
    margin-top: 5px;
  }
  .about .complete {
    text-align: center;
  }
  .about .complete strong {
    font-size: 30px;
  }
  .about .complete span {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .about .details strong {
    font-size: 18px;
  }
  .about .details span {
    font-size: 14px;
  }
  .about .complete strong {
    font-size: 20px;
  }
  .about .complete span {
    font-size: 16px;
  }
  .about .button {
    padding: 5px 10px;
    font-size: 12px;
  }
}

/* ==== resume ====*/
.resume .container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.resume .container .items {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.resume .resume-item {
  width: 100%;
  box-sizing: border-box;
  background-color: #242424;
  padding: 25px;
  border-radius: var(--border-radius);
  transition: all var(--main-duration) ease-in-out;
}
.resume .resume-item:hover {
  transform: scale(0.95);
}
.resume .resume-item .date {
  font-weight: 800;
  font-size: 25px;
  color: var(--pink-color);
  margin: 20px 0;
}
.resume .resume-item .education {
  font-size: 22px;
  margin-bottom: 20px;
}
.resume .resume-item span {
  color: var(--text-gray);
  text-transform: capitalize;
}
.resume .resume-item .det {
  margin: 20px 0 15px;
  color: var(--text-gray);
  line-height: 1.6;
}
.resume .resume-item:last-child {
  align-content: end;
}
.resume .resume-item:last-child .det {
  margin: 58px 0 18px;
}
.resume .resume-item:last-child .education {
  margin-bottom: 40px;
}

@media (max-width: 1200px) {
  .resume .container .items {
    gap: 25px;
  }
  .resume .resume-item {
    padding: 22px;
  }
}
@media (max-width: 992px) {
  .resume .container {
    padding: 0 20px;
  }
  .resume .container .items {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .resume .container {
    padding: 0 20px;
  }
  .resume .resume-item {
    padding: 20px;
  }
  .resume .container .items {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .resume .resume-item .date {
    font-size: 22px;
  }
  .resume .resume-item .education {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .resume .container {
    padding: 0 15px;
  }
  .resume .resume-item {
    padding: 15px;
  }
  .resume .container .items {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .resume .resume-item .date {
    font-size: 20px;
  }
  .resume .resume-item .education {
    font-size: 18px;
  }
}

/* ==== skills ====*/
.skills {
  margin: 80px auto;
  padding: 50px 20px;
}
.skills .skl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin: 80px auto 0;
}
.skills .chart {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-radius: 20px;
  padding: 20px;
}
.skills .chart h3 {
  font-size: 24px;
  margin: 0;
  color: white;
}
.skills .progress {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  transition: all var(--main-duration) ease-in-out;
}
.skills .progress:hover::after {
  transform: rotate(1.2turn);
}
.skills .progress::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--bg-color);
  z-index: 2;
}
.skills .progress::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(
    var(--pink-color) calc(var(--value) * 1%),
    rgba(255, 255, 255, 0.2) 0
  );
  transition: transform var(--main-duration) ease-in;
  z-index: 1;
}
.skills .progress .label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  z-index: 3;
}
.skills .chart:nth-child(1) .progress::after {
  background: conic-gradient(
    #ff6b6b calc(var(--value) * 1%),
    rgba(255, 255, 255, 0.2) 0
  );
}
.skills .chart:nth-child(2) .progress::after {
  background: conic-gradient(
    #4ecdc4 calc(var(--value) * 1%),
    rgba(255, 255, 255, 0.2) 0
  );
}
.skills .chart:nth-child(3) .progress::after {
  background: conic-gradient(
    #6c5ce7 calc(var(--value) * 1%),
    rgba(255, 255, 255, 0.2) 0
  );
}
.skills .chart:nth-child(4) .progress::after {
  background: conic-gradient(
    #f9ca24 calc(var(--value) * 1%),
    rgba(255, 255, 255, 0.2) 0
  );
}

/* ==== projects ====*/
.projects {
  margin: 100px auto 200px;
  padding: 50px 20px;
  text-align: center;
}
.projects .proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 20px;
  margin-top: 50px;
}
.projects .proj-item {
  height: 250px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 6px 15px rgba(255, 79, 129, 0.2);
  transition: all var(--main-duration) ease;
  position: relative;
}
.projects .proj-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--main-duration) ease-in-out;
}
.projects .proj-item:nth-child(2) {
  grid-column: 2/4;
  grid-row: 1/1;
}
.projects .proj-item:nth-child(3) {
  grid-column: 1/3;
}
.projects .proj-item:nth-child(4) {
  grid-row: 2/4;
  grid-column: 3/4;
  height: 520px;
}
.projects .proj-item:nth-child(7) {
  grid-row: 4/6;
  grid-column: 1/3;
  height: 520px;
}
.projects .proj-item:nth-child(10) {
  grid-row: 6/7;
  grid-column: 1/4;
  height: 350px;
}
.projects .proj-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: all var(--main-duration) ease-in-out;
  background-color: rgb(53 53 53 / 0.7);
  color: white;
}
.projects .proj-item:hover img {
  transform: scale(1.04);
}
.projects .proj-item:hover .overlay {
  opacity: 1;
}
.projects .proj-item .overlay p {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}
.projects .proj-item .overlay .demo {
  position: absolute;
  bottom: 10px;
  right: 0;
}
.projects .proj-item .overlay .git,
.projects .proj-item .overlay .viw {
  border: 1px solid var(--baby-color);
  padding: 5px;
  margin: 3px;
  border-radius: var(--border-radius);
}
.projects .proj-item .overlay a {
  color: white;
  font-weight: 800;
}
.projects .proj-item .overlay a i {
  font-weight: 800;
  font-size: 18px;
}
.projects .proj-item .overlay a:hover {
  color: white;
  background-color: var(--pink-color);
  border-color: transparent;
}

@media (max-width: 1200px) {
  .projects .proj-grid {
    gap: 15px;
  }
  .projects {
    padding: 40px 15px;
  }
}
@media (max-width: 992px) {
  .projects .proj-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 15px;
  }
  .projects .proj-item:nth-child(2),
  .projects .proj-item:nth-child(3),
  .projects .proj-item:nth-child(4),
  .projects .proj-item:nth-child(7),
  .projects .proj-item:nth-child(10) {
    grid-column: auto;
    grid-row: auto;
    height: 250px;
  }
}
@media (max-width: 768px) {
  .projects {
    margin: 50px auto 220px;
    padding: 30px 10px;
  }
  .projects .proj-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 15px;
  }
  .projects .proj-item {
    height: 250px;
  }
  .projects .proj-item:nth-child(2),
  .projects .proj-item:nth-child(3),
  .projects .proj-item:nth-child(4),
  .projects .proj-item:nth-child(7),
  .projects .proj-item:nth-child(10) {
    height: 250px;
  }
}
@media (max-width: 480px) {
  .projects {
    margin: 30px auto 150px;
    padding: 20px 5px;
  }
  .projects .proj-grid {
    gap: 10px;
  }
  .projects .proj-item {
    height: 200px;
  }
  .projects .proj-item .overlay p {
    font-size: 18px;
  }
  .projects .proj-item .overlay .git,
  .projects .proj-item .overlay .viw {
    padding: 3px;
    font-size: 14px;
  }
  .projects .proj-item .overlay a i {
    font-size: 14px;
  }
}

/* ==== availabe ====*/
.available {
  margin: 80px auto;
  padding: 50px 0;
  position: relative;
}
.available .container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
  position: relative;
  z-index: 2;
}
.available .container .real {
  margin-bottom: 16%;
  background-color: #242424;
  padding: 20px;
  width: 300px;
  height: 200px;
  text-align: center;
  border-radius: 10px;
  flex: 0 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all var(--main-duration) ease-in-out;
}
.available .container .real:hover {
  transform: translateY(-15px);
}
.available .container .real span {
  font-size: 40px;
  font-weight: 800;
  color: var(--light-pink);
}
.available .container .real h3 {
  font-size: 18px;
  font-weight: 500;
}
.available .work {
  background-image: url("img/availabe.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 450px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
}
.available .work::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.available .work * {
  position: relative;
  z-index: 2;
}
.available .work h2 {
  margin-bottom: 15px;
  font-size: 35px;
}
.available .work p {
  font-size: 20px;
  width: 40%;
}
.available .work p span {
  color: var(--light-pink);
}
.available .work a {
  color: var(--bg-color);
  font-weight: bold;
}
@media (max-width: 1200px) {
  .available .container {
    gap: 15px;
  }
  .available .container .real {
    width: 200px;
    height: 150px;
  }
  .available .container .real span {
    font-size: 30px;
  }
}
@media (max-width: 992px) {
  .available .container {
    align-items: flex-end;
    margin-bottom: 10%;
    gap: 10px;
  }
  .available .container .real {
    width: 180px;
    height: 140px;
  }
  .available .container .real span {
    font-size: 24px;
  }
  .available .container .real h3 {
    font-size: 16px;
  }
  .available .work p {
    width: 80%;
  }
}
@media (max-width: 768px) {
  .available .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    padding: 10px;
    width: 100%;
    margin-top: -30%;
  }
  .available .container .real {
    width: 200px;
    height: 120px;
    margin-bottom: 3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #242424;
  }
  .available .container .real:hover {
    transform: translate(-5px, -5px);
  }
  .available .container .real span {
    font-size: 30px;
    font-weight: 700;
    color: var(--light-pink);
  }
  .available .container .real h3 {
    font-size: 14px;
    margin-top: 5px;
    color: white;
  }
  .available .work {
    height: auto;
    min-height: 600px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
  }
  .available .work p {
    width: 80%;
    font-size: 18px;
    margin-bottom: 5px;
  }
  .available .work h2 {
    font-size: 28px;
    margin: 20px 0;
    width: 100%;
  }
  .available .work a {
    margin-bottom: 20px;
  }
}
@media (max-width: 480px) {
  .available {
    margin: 40px auto;
    padding: 20px 0;
  }
  .available .container {
    margin-top: -30%;
    gap: 5px;
  }
  .available .container .real {
    width: 150px;
    height: 100px;
  }
  .available .container .real span {
    font-size: 20px;
  }
  .available .container .real h3 {
    font-size: 12px;
  }
  .available .work {
    min-height: 400px;
  }
  .available .work h2 {
    font-size: 24px;
  }
  .available .work p {
    font-size: 16px;
    width: 90%;
  }
}

/* ==== contact ====*/
.contact {
  margin: 60px auto 0;
  padding: 50px 0 20px;
}
.contact .details {
  margin: 0 0 40px;
  padding: 0;
}
.contact .details .form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
}
.contact .details .form-sec {
  flex: 1;
  min-width: 300px;
}
.contact .details .form .form-control {
  width: 100%;
  padding: 20px 10px;
  border: 1px solid var(--text-gray);
  background-color: var(--bg-color);
  caret-color: var(--pink-color);
  margin-bottom: 15px;
}
.contact .details .form .form-control:focus {
  outline: none;
  border: 1px solid var(--pink-color);
}
.contact .details .form .form-control:first-child,
.contact .details .form .form-control:nth-child(2) {
  width: calc(50% - 10px);
}
.contact .details .form .form-control[type="submit"] {
  background-color: #242424;
  color: white;
  padding: 15px 30px;
  border: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: var(--border-radius);
  transition: all var(--main-duration) ease-in;
  cursor: pointer;
}
.contact .details .form .form-control[type="submit"]:hover {
  background-color: var(--pink-color);
}
.contact .details .form textarea {
  min-height: 220px;
}

.contact .details .personal-sec {
  min-width: 300px;
  border: 1px solid var(--text-gray);
  padding: 40px 40px;
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 550px;
}
.contact .details .personal-sec .personal {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
}
.contact .details .personal-sec .personal:not(:last-child) {
  border-bottom: 1px solid var(--text-gray);
}
.contact .details .personal-sec .personal .info {
  padding-bottom: 40px;
}
.contact .details .personal-sec .personal i {
  color: var(--pink-color);
  margin-right: 10px;
  margin-bottom: 60px;
  font-size: 24px;
}
.contact .details .personal-sec .personal h3 {
  margin: 15px 0;
  font-size: 20px;
}
.contact .details .personal-sec .personal span {
  color: var(--text-gray);
  width: 100%;
  margin-left: -30px;
}

@media (max-width: 1200px) {
  .contact .details .form {
    gap: 15px;
  }
  .contact .details .personal-sec {
    padding: 30px 30px;
  }
}

@media (max-width: 992px) {
  .contact {
    padding: 40px 0 15px;
  }
  .contact .details {
    margin: 0 0 30px;
  }
  .contact .details .form {
    gap: 10px;
  }
  .contact .details .personal-sec {
    padding: 20px 20px;
    margin-top: 80px;
    height: 500px;
  }
  .contact .details .personal-sec .personal i {
    font-size: 22px;
  }
}
@media (max-width: 768px) {
  .contact {
    margin: 20px auto;
    padding: 20px;
  }
  .contact .details {
    margin: 10px 0;
    padding: 10px 0;
  }
  .contact .details.d-flex {
    flex-direction: column;
  }

  .contact .details .personal-sec {
    width: 100%;
    margin-top: 15px;
    padding: 0;
    height: auto;
  }

  .contact .details .personal-sec .personal {
    margin-bottom: 15px;
    padding: 15px;
  }

  .contact .details .personal-sec .personal i {
    font-size: 20px;
  }
  .contact .details .personal-sec .personal h3 {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .contact {
    padding: 25px 10px;
  }
  .contact .details {
    margin: 30px 0 0;
  }
  .contact .details .form {
    margin-top: 20px;
  }
  .contact .details .form .form-control:first-child,
  .contact .details .form .form-control:nth-child(2) {
    width: 100%;
  }
  .contact .details .form-sec {
    min-width: 100%;
  }
  .contact .details .personal-sec {
    margin-top: 20px;
    padding: 15px 15px;
    align-items: center;
  }
  .contact .details .personal-sec .personal i {
    margin-right: 10px;
    margin-bottom: 35px;
    font-size: 18px;
  }
  .contact .details .personal-sec .personal .info {
    padding-bottom: 10px;
  }
  .contact .details .personal-sec .personal h3 {
    margin: 5px 0;
  }
  .contact .details .personal-sec .personal span {
    margin-top: 5px;
  }
}

/* ==== footer =======*/
footer {
  background: var(--background-color);
  padding: 15px 0;
  margin-top: auto;
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--text-gray);
}
.footer {
  text-align: center;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1200px;
}
.footer p {
  margin: 0;
  font-size: 15px;
  color: white;
  line-height: 1.6;
}
.footer span {
  font-weight: bold;
  color: var(--light-pink);
}
.footer i {
  color: var(--light-pink);
}
.footer:hover i {
  color: var(--text-gray);
}
.footer:hover span {
  color: var(--text-gray);
}

@media (max-width: 1200px) {
  .footer {
    padding: 0 15px;
  }
}
@media (max-width: 992px) {
  .footer {
    padding: 0 10px;
  }
  .footer p {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 0 15px;
  }
  .footer p {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .footer {
    padding: 0 10px;
  }
  .footer p {
    font-size: 12px;
  }
}