header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px;
  background: linear-gradient(to right, #292929 0%, #2b2b2b 100%);
  color:#9b9099 ;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease-in-out;
  /* add transition for smooth effect */
}

/* add pseudo element for changing background color */
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #f8b500 0%, #f26a24 100%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

/* change background color and text color on scroll */
header.scrolled {
  background: #fff;
  color: #292929;
}

header.scrolled::before {
  opacity: 1;
}

/* add media query for smaller screens */
@media (max-width: 768px) {
  header {
    padding: 10px;
  }
}


header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: -1;
  background-image: radial-gradient(circle closest-corner at center, #202124, #3d1e32);
  animation: animate-gradient 10s ease infinite;
}

@keyframes animate-gradient {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.5);
  }

  100% {
    transform: scale(1);
  }
}

header #canvas {
  /* existing styles */
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.3));
  animation: animate-canvas 5s ease-in-out infinite alternate;
  /* new styles */
  transform-origin: center;
  animation: rotate 5s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


:root {
  --title-colors: #f9d5e5, #f8b195, #b8b8d1, #f67280, #c06c84;
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px; /* Set the height of the container */
}

.title span {
  color: var(--title-colors);
  position: relative;
  transition: transform 0.5s ease;
  margin: 0 0.5rem; /* Add margin to separate each span */
}

.title:hover span {
  animation: hover-effect 2s ease-in-out infinite alternate;
}

@keyframes hover-effect {
  0% {
    transform: translate(0px, 0px);
  }
  100% {
    transform: translate(0px, 10px);
  }
}


@keyframes glow {
  0% {
    filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.5));
  }

  100% {
    filter: drop-shadow(0px 0px 20px rgba(255, 255, 255, 0.8));
  }
}

@keyframes animate-text {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

header nav {
  display: flex;
  position: relative;
  /* add position relative for pseudo element */
}

header nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

header nav li {
  margin-left: 20px;
  position: relative;
  /* add position relative for pseudo element */
}

header nav a {
  /* existing styles */
  position: relative;
  overflow: hidden;
  /* new styles */
  animation: bounce 0.5s ease-in-out infinite alternate;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-5px);
  }
}



header nav a:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #ffdb58;
  z-index: -1;
  transition: height 0.3s ease, transform 0.3s ease;
  /* add transition for transform */
  transform: translateY(100%);
}

header nav a:hover:before {
  height: 100%;
  transform: translateY(0);
}

header nav a:hover {
  color: #ffdb58;
  text-shadow: 2px 2px #444;
  animation: shake 0.5s;
}

@keyframes shake {
  0% {
    transform: rotate(0deg);
  }

  10% {
    transform: rotate(-10deg);
  }

  20% {
    transform: rotate(10deg);
  }

  30% {
    transform: rotate(-10deg);
  }

  40% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

header nav a:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #ffdb58;
  z-index: -1;
  transition: height 0.3s ease, transform 0.3s ease;
  transform-origin: bottom;
}

header nav a:hover:before {
  height: 100%;
  transform: scaleY(1.5);
}

header nav a.active:before {
  height: 100%;
  transform: scaleY(1.5);
}

header nav a.active {
  color: #ffdb58;
  text-shadow: 2px 2px #444;
  animation: none;
}

header nav a.active:before {
  transition: none;
}

header #canvas {
  width: 100%;
  max-width: 100px;
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.3));
  /* animation: pulse 2s ease infinite; */
}

/* @keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 219, 88, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 219, 88, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 219, 88, 0);
  }
} */

@media (max-width: 940px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 10px;
  }

  header #canvas {
    margin-bottom: 10px;
  }


  header nav {
    margin-top: 10px;
    justify-content: center;
  }

  header nav li {
    margin-left: 10px;
  }

  header nav a {
    font-size: 21px;
  }
}

/* Style for the unordered list */
/* ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
} */


/* Style for the list items */
/* li {
  position: relative;
  margin: 0 20px;
  cursor: pointer;
} */

/* Style for the links */
 a {
  text-decoration: none;
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
} 

/* Style for the link hover effect */
/* a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
} */

/* a:hover::before {
  visibility: visible;
  transform: scaleX(1);
} */

/* Style for the active link */
/* a.active {
  color: #f8b500;
} */

/* a.active::before {
  background-color: #f8b500;
} */

/* Style for each individual link */
/* a[href="#about"] {
  color: #b9a3d7;
} */

/* a[href="#game"] {
  color: #e91e63;
} */

/* a[href="#projects"] {
  color: #00bcd4;
} */

/* a[href="#contact"] {
  color: #4caf50;
} */

/* Style for the animation effect */
/* li:hover a {
  transform: translateY(-5px);
}

li:hover a::before {
  transform: scaleY(1);
  transform-origin: top center;
  transition-delay: 0.2s;
} */

/* li.active a::before {
  transform: scaleY(1);
  transform-origin: bottom center;
  transition-delay: 0.2s;
}

li.active a {
  transform: translateY(-5px);
} */




/* About */
/* Style the "about" section */

#about {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 105vh;
  background-color: #3F51B5;
  background-image: linear-gradient(358deg, #f74b4b 10%, #ffcc33 100%);
  background-blend-mode: multiply;
  overflow: hidden;
}




/* Style the container and add padding */
.container {
  margin-top: 70px;
  max-width: 1000px;
  padding: 50px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}



/* Style the text */
p {
  font-size: 1.6rem;
  line-height: 1.2;
  color: #666;
  text-align: justify;
  display: inline;
}

.highlight {
  position: relative;
  display: inline-table;
  background:linear-gradient(90deg, #ff6600, #d9b399) ;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 2px 8px;
  border-radius: 40px;
  overflow: hidden;
  transform: skew(-10deg);
  transition: transform 0.3s ease-out;
}

.highlight:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 4%;
  height: 100%;
  /* background: linear-gradient(90deg, #ff9900, #ff6600); */
  opacity: 0.3;
  animation: moveLeftRight 5s linear infinite;
  transform: skew(10deg);
  transition: transform 36.3s ease-out;
}

.highlight:after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 6%;
  height: 100%;
  /* background: linear-gradient(90deg, #ff9900, #ff6600); */
  opacity: 0.3;
  animation: moveRightLeft 5s linear infinite;
  transform: skew(-10deg);
  transition: transform 56.3s ease-out;
}

@keyframes moveLeftRight {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes moveRightLeft {
  0% {
    left: 100%;
  }

  50% {
    left: -100%;
  }

  100% {
    left: -100%;
  }
}

.highlight:hover:before,
.highlight:hover:after {
  opacity: 0.8;
  transform: skew(0deg);
}

.highlight:hover {
  transform: skew(10deg);
}


.about-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  margin-top: 50px;
  text-align: center;
}

.about-image {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(0.8) saturate(1.2);
  transition: all 0.5s ease-in-out;
}

.about-image:hover {
  transform: scale(1.1);
  filter: brightness(1.2) saturate(1.5);
  z-index: 2;
}

.about-image:before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -30px;
  right: -30px;
  bottom: -30px;
  left: -30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px 30px rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.about-image:hover:before {
  opacity: 1;
}

.about-image:after {
  content: '';
  position: absolute;
  z-index: -2;
  top: -30px;
  right: -30px;
  bottom: -30px;
  left: -30px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.about-image:hover:after {
  opacity: 1;
}

.about-image-container:hover .about-image {
  filter: brightness(0.8) saturate(1.2) blur(5px);
  z-index: 2;
}




/* New styles for the "about" section */

/* Style the container's background */
.container {
  background: linear-gradient(120deg, #d5a67f5b, #3d2032, #3d1e32) ;
}

/* Style the heading */
/* Style the heading */
h2 {
  margin-top: 70px;
  font-size: 5rem;
  font-weight: bold;
  color: #333;
  text-align: left;
  position: relative;
}

/* Style the text */
h2 .me {
  display: inline-block;
  font-size: 2rem;
  color: #ff6600;
  text-transform: uppercase;
  letter-spacing: 5px;
  position: relative;
  z-index: 1;
}

/* Create the background effect */
h2:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(354deg, #1a1711, #18150f, #3e3728, #3f3728 );
  background-size: 600% 600%;
  filter: blur(60px);
  opacity: 0.8;
  z-index: -1;
  animation: gradient 10s ease-in-out infinite;
}

/* Animate the background gradient */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Add hover effect */
h2:hover:before {
  opacity: 1;
}

/* Add transform effect on hover */
h2:hover .me {
  transform: rotateY(360deg);
  transition: transform 0.8s ease-in-out;
}


/* Style the text */
p {
  color: #e9e9e9;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}



/* Style the images */
.about-image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-top: 70px;
  position: relative;
}

.about-image {
  width: 240px;
  height: 240px;
  border-radius: 43% 21% 80% 20% / 83% 8% 48% 27%;
  ;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);

}

.about-text {
  margin-top: 40px;
  font-size: 20px;
  line-height: 1.5;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text ul {
  margin-left: 20px;
}

.about-text ul li {
  margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
  .about-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-image {
    margin-bottom: 40px;
  }
}

@media only screen and (max-width: 950px) {
  #about {
    min-height: auto;
    height: 1100px;
  }

  .container {
    margin-top: 100px;
    /* Add margin-top */
    max-width: 100%;
    padding: 5px;
  }

  .about-image-container {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .about-image {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .about-text {
    margin-top: 30px;
  }

  h2 {
    font-size: 4.3rem;
  }

  p {
    font-size: 1.4rem;
  }
}







/* Game */

/* Game section styles */
#game {
  border-radius: 10px;
  background-color: #0f0901;
  color: #fff;
  padding: 200px 0;
  text-align: center;
  background-image: linear-gradient(to bottom right, #2f2f2f, #080808);
}

#game h1 {
  font-size: 48px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 2px #00000055;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

#game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#game button {
  background-color: #1c1c1c;
  color: #fff;
  font-size: 24px;
  border: none;
  border-radius: 50px;
  padding: 20px 40px;
  margin-top: 30px;
  cursor: pointer;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  font-family: 'Orbitron', sans-serif;
}

#game button:hover {
  transform: translateY(-5px);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.3);
  background-color: #fff;
  color: #161514da;
}

#spaceman-container {
  margin-bottom: 20px;
}

#spaceman-image {
  width: 250px;
  height: 350px;
  transition: transform 0.5s ease-in-out;
  filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.3));
}

#spaceman-image.incorrect {
  transform: rotate(30deg) translate(20px, 20px);
}

#spaceman-image.hide {
  visibility: hidden;
}

#word-container {
  font-size: 36px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 2px #00000055;
  font-family: 'Orbitron', sans-serif;
}

#hidden-word {
  display: inline-block;
  border-bottom: 4px solid #fff;
  margin-right: 10px;
}

#guesses-remaining {
  font-size: 24px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 2px #00000055;
  font-family: 'Orbitron', sans-serif;
}

#guesses {
  font-weight: bold;
}

#input-container {
  margin-bottom: 20px;
}

#guess-input {
  font-size: 24px;
  padding: 10px;
  margin-right: 10px;
  border: none;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  outline: none;
  font-family: 'Orbitron', sans-serif;
  background-color: #1c1c1c;
  color: #fff;
}

#guess-input:focus {
  box-shadow: 0 2px 5 px rgba(0, 0, 0, 0.3), 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Styling for the win and lose messages */
#message-container {
  margin-top: 20px;
}

.hide {
  display: none;
}

#win-message {
  font-size: 36px;
  font-weight: bold;
  color: #00ff00;
  text-shadow: 2px 2px 2px #00000055;
  margin-bottom: 20px;
}

#lose-message {
  font-size: 36px;
  font-weight: bold;
  color: #ff0000;
  text-shadow: 2px 2px 2px #00000055;
  margin-bottom: 20px;
}

/* Responsive styles for smaller screens */
@media screen and (max-width: 768px) {
  #spaceman-image {
    width: 150px;
    height: 250px;
  }

  #word-container {
    font-size: 24px;
  }

  #guesses-remaining {
    font-size: 18px;
  }

  #guess-input {
    font-size: 18px;
  }

  #guess-button {
    font-size: 18px;
    padding: 8px 16px;
  }

  #win-message,
  #lose-message {
    font-size: 24px;
  }
}

/* Professional, futuristic gaming feel  */
#game {
  border-radius: 0px;
  background-color: #0d0d0d;
  color: #ffffff;
  padding-top: 189px;
  text-align: center;
  background-image: linear-gradient(180deg, #3d1835, #1e1e1e);
}

#game h1 {
  font-size: 34px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 2px #00000055;
  color: #ffffff87;
}

#game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#game button {
  background-color: #ff0000;
  color: #ffffff;
  font-size: 24px;
  border: none;
  border-radius: 50px;
  padding: 20px 40px;
  margin-top: 30px;
  cursor: pointer;
  box-shadow: 0px 10px 20px rgba(255, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  text-shadow: 1px 1px 1px #00000055;
}

#game button:hover {
  transform: translateY(-5px);
  box-shadow: 0px 15px 30px rgba(255, 0, 0, 0.3);
}

#spaceman-container {
  margin-bottom: 20px;
}

#spaceman-image {
  width: 250px;
  height: 350px;
  transition: transform 0.5s ease-in-out;
  filter: drop-shadow(0px 5px 10px rgba(255, 0, 0, 0.3));
}

#spaceman-image.incorrect {
  transform: rotate(30deg) translate(20px, 20px);
}

#spaceman-image.hide {
  visibility: hidden;
}

#word-container {

  font-size: 36px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 2px #00000055;
}

#hidden-word {
  display: inline-block;
  border-bottom: 4px solid #fff;
  margin-right: 10px;
}

#guesses-remaining {
  font-size: 24px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 2px #00000055;
}

#guesses {
  font-weight: bold;
}

#input-container {
  margin-bottom: 20px;
}

#guess-input {
  font-size: 24px;
  padding: 10px;
  margin-right: 10px;
  border: none;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  outline: none;
}

#guess-input:focus {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), 0 0 2px rgba(255, 255, 255, 0.5);
  background-color: #222;
  color: #fff;
}

#guess-button {
  font-size: 24px;
  padding: 10px 20px;
  background-color: #fff;
  border: none;
  border-radius: 3px;
  color: #222;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  text-shadow: 1px 1px 1px #00000055;
}

#guess-button:hover {
  background-color: #aaa;
  color: #fff;
}

#message-container {
  margin-top: 5px;
}

.hide {
  display: none;
}

#win-message {
  font-size: 36px;
  font-weight: bold;
  color: #00ff00;
  text-shadow: 2px 2px 2px #00000055;
  margin-bottom: 20px;
}

#lose-message {
  font-size: 36px;
  font-weight: bold;
  color: #ff0000;
  text-shadow: 2px 2px 2px #00000055;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  #spaceman-image {
    width: 150px;
    height: 150px;
  }

  #word-container {
    font-size: 24px;
  }

  #guesses-remaining {
    font-size: 18px;
  }

  #guess-input {
    font-size: 18px;
  }

  #guess-button {
    font-size: 18px;
    padding: 8px 16px;
  }

  #win-message,
  #lose-message {
    font-size: 24px;
  }
}









/* Projects */
/* This CSS sets the responsive width of the iframe wrapper to the same width as its parent element, and the height to a percentage of the width, in this case 50% */
/* Style for Projects Section */
/* Projects section */
/* Section Title */
.section-title {
  position: relative;
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-top: 110px;
  margin-bottom: 40px;
  color: #333;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 90%;
  height: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to right, #fa9b4a, #f0f0f0);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}







/* Project List */
/* Projects section styles *
/* Add a stunning visual effect and stylish look to the project section */

#projects {
  background-color: #1e1e1e;
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}

#projects:before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  right: -50px;
  bottom: -50px;
  background: linear-gradient(135deg, #3a416f, #b76e79);
  z-index: -1;
}

#projects h2 {
  color: #ffffff87;
  font-size: 4rem;
  text-align: start;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 50px;
  letter-spacing: 1px;
  padding-left: 80px;
}

#projects .project-item {
  width: calc(33.33% - 30px);
  margin: 15px;
  background-color: transparent;
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  transform-style: preserve-3d;
}

#projects .project-item:hover {
  transform: scale(1.05) rotateY(15deg) rotateX(15deg) translateY(-10px) translateZ(20px);
  box-shadow: 0px 30px 60px rgba(0, 0, 0, 0.3);
}

#projects .project-item:nth-child(odd) {
  animation: rotate-left 8s ease-in-out infinite;
}

#projects .project-item:nth-child(even) {
  animation: rotate-right 8s ease-in-out infinite;
}

#projects .project-item .front {
  background-color: #fff;
  padding: 30px;
  text-align: center;
  transform: translateZ(60px);
  transition: all 0.3s ease-in-out;
}

#projects .project-item .front img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

#projects .project-item .back {
  background-color: #1e1e1e;
  padding: 30px;
  text-align: center;
  transform: rotateY(180deg) translateZ(60px);
  transition: all 0.3s ease-in-out;
}

#projects .project-item .back p {
  font-size: 1.6rem;
  line-height: 2.6rem;
  margin-bottom: 20px;
  color: #fff;
}

#projects .project-item .back a {
  display: inline-block;
  background-color: #b76e79;
  color: #fff;
  font-size: 1.4rem;
  padding: 10px 20px;
  border-radius: 20px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  margin-top: 20px;
}

#projects .project-item .back a:hover {
  background-color: #3a416f;
}

#projects .project-item:hover .front {
  transform: rotateY(180deg) translateZ(60px);
}

/* Styling for the front face of the project items on hover */
#projects .project-item:hover .front {
transform: rotateY(-180deg) translateZ(60px);
}

/* Styling for the back face of the project items on hover */
#projects .project-item:hover .back {
transform: rotateY(0deg) translateZ(60px);
}

/* Styling for the project info container on hover */
#projects .project-item:hover .project-info {
transform: translateX(0);
}

/* Styling for the project info container on hover */
#projects .project-item:hover .project-info a {
background-color: #3c3838 ;
}

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
#projects .project-item {
width: calc(50% - 30px);
}
}

@media screen and (max-width: 480px) {
#projects .project-item {
width: 100%;
}
}







/* Adjust styles for smaller screens */
@media (max-width: 992px) {
  #projects {
    padding: 60px 0;
  }

  #projects h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }

  #projects .project-item {
    width: calc(50% - 30px);
    margin: 15px;
  }
}

@media (max-width: 576px) {
  #projects .project-item {
    margin: 10px 0;
    width: 100%;
  }

  #projects .project-info {
    padding: 15px;
  }
}






/* Section title styles */
.section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  color: #333;
  margin-bottom: 60px;
}

/* Project list styles */
.project-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-right: 40px;
}

/* Project item styles */

.project-item {
  width: calc(33.33% - 30px);
  margin: 15px;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 50% 20% 50% 20%/20% 50% 20% 50%;
}






/* Project item hover effect */
.project-item:hover {
  transform: translateY(-10px);
}

/* Project preview styles */
.project-preview {
  height: 250px;
  position: relative;
}

/* iFrame wrapper styles */
.iframe-wrapper {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/* iFrame styles */
.iframe-wrapper iframe {
  height: 100%;
  width: 100%;
  border: none;
}



/* Project info styles */
.project-info {
  justify-items: end;
  display: grid;
  padding: 10px;
  position: relative;
  perspective: 1000px;
}



.project-info:hover::before {
  opacity: 0.4;
}

.project-info h2 {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px #000;
  animation-name: text-pulse;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.project-info:hover h2 {
  transform: translateX(0%);
  opacity: 1;
}

@keyframes text-pulse {
  0% {
    text-shadow: 2px 2px #000;
  }

  50% {
    text-shadow: 4px 4px #000;
  }

  100% {
    text-shadow: 2px 2px #000;
  }
}

.project-image .project-info p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #fff;
  text-shadow: 1px 1px #000;
  animation-name: text-fade-in;
  animation-duration: 2s;
  animation-iteration-count: 1;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.project-info:hover p {
  transform: translateY(0%);
  opacity: 1;
}

@keyframes text-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.project-info a {
  display: inline-block;
  background-color:#9e9e9e6e ;
  color: #000;
  font-weight: 500;
  /* padding: 1rem 2rem; */
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  font-size: 1.2rem;
  text-shadow: 1px 1px #000;
  position: relative;
  z-index: 1;
  animation-name: button-slide-in;
  animation-duration: 2s;
  animation-iteration-count: 1;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.project-info:hover a {
  transform: translateY(0%);
  opacity: 1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@keyframes button-slide-in {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0%);
  }
}

.project-info a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 18px 1px #4c4c4c;
}

.project-info:hover h2 {
  color:#9e9e9e ;
  text-shadow: 2px 2px #fff;
}

.project-info:hover p {
  color: #331f2d5c;
  text-shadow: 1px 1px #cccccc;
}

.project-info a:hover::before {
  transform: translate(-50%, -50%) scale(3);
  opacity: 0.5;
  box-shadow: 0 0 10px 3px #fff;
}

.project-info a:hover::after {
  transform: translate(-50%, -50%) scale(3);
  opacity: 0.5;
  box-shadow: 0 0 10px 3px #fff;
}

.project-info a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  border-radius: 50%;
  background-color: #fff;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.project-info a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  border-radius: 50%;
  background-color: #292028;
  z-index: -2;
  transition: all 0.3s ease-in-out;
}

.project-info a:hover::before {
  transform: translate(-50%, -50%) scale(3);
  opacity: 0.5;
  box-shadow: 0 0 10px 3px #fff;
}

.project-info a:hover::after {
  transform: translate(-50%, -50%) scale(3);
  opacity: 0.5;
  box-shadow: 0 0 10px 3px #fff;
}








/* Project description styles */
.project-description {
  font-size: 18px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 30px;
}




/* Project image styles */
.project-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.7;
  transition: opacity 0.3s ease-in-out;
}

/* Project image hover effect */
.project-item:hover .project-image {
  opacity: 1;
  filter: grayscale(50%) brightness(110%);
}

/* Project overlay styles */
.project-overlay {
  height: 100%;
  width: 100%;
  position: unset;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transition: opacity 0.3s ease-in-out;
}

/* Project overlay hover effect */
.project-item:hover .project-overlay {
  opacity: 1;
}

/* Project title styles */
.project-title {
  font-size: 28px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 0;
}

/* Add diagonal overlay effect on project preview */
.project-preview:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: skewY(-12deg);
  transform-origin: 100%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Adjust project overlay position */
.project-overlay {
  z-index: 2;
}

/* Add gradient background to project title */
.project-title {
  background: linear-gradient(90deg, #FF00FF 0%, #00FFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Add neon glow effect to project preview text on hover */
.project-preview:hover h3,
.project-preview:hover p {
  transition: color 0.3s ease-in-out;
  filter: drop-shadow(0px 0px 5px #fff) drop-shadow(0px 0px 10px #fff) drop-shadow(0px 0px 15px #fff);
}

/* Add zoom in effect to project image on hover */
.project-item:hover .project-image {
  transform: scale(1.05);
}

/* Add rotate effect to project item on hover */
.project-item {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  perspective: 1000px;
}

.project-item:hover .project-overlay {
  transform: translateX(0);
}

.project-item:hover .project-image {
  transform: translateX(-30%);
}

.project-item:hover .project-details {
  transform: translateY(-20%);
  opacity: 1;
}

.project-item .project-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://source.unsplash.com/random');
  background-size: cover;
  background-position: center;
  transform: translateX(0);
  transition: transform 0.5s ease-in-out;
}

.project-item .project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
}

.project-item .project-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8);
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.project-item .project-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.project-item .project-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.project-item .project-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #fff;
  color: #000;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 2rem;
  transition: all 0.3s ease-in-out;
}

.project-item .project-button:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-10%);
}







/* Add neon glow effect to project link on hover */
/* ---------1347---------------------- */


.project-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  background-color: #1c1c1c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: scale(0.5);
  border-radius: 50%;
  border: none;
}

.project-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #321f2d75, #1e1e1e);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: scale(1.3) rotate(45deg);
}

.project-link:hover::before {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

.project-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 10px 10px rgba(0, 0, 0, 0.1);
  border-radius: 20%;
}

.project-link:hover .overlay {
  opacity: 1;
  transform: translateY(0%);
}

.project-link .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 0%;
  height: 0%;
  background-color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.project-link .overlay h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #1c1c1c;
  text-align: center;
  margin-bottom: 0.5rem;
}

.project-link .overlay p {
  font-size: 1.2rem;
  color: #1c1c1c;
  text-align: center;
  margin-bottom: 1.5rem;
}

.project-link .overlay a {
  display: inline-block;
  background-color: #1c1c1c;
  color: #fff;
  font-weight: 500;
  padding: 1rem 2rem;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  font-size: 1.2rem;
}

.project-link .overlay a:hover {
  background-color: #fff;
  color: #FF6B6B;
  transform: scale(1.1);
}

/* Additional CSS for 3D effects */
.project-link::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: -2;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background-color: rgba(0, 0, 0, 0.4);
  transform: rotateX(90deg) translateZ(-10px);
  transition: transform 0.5s ease;
}

.project-link::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: -2;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background-color: rgba(0, 0, 0, 0.4);
  transform: rotateY(90deg) translateZ(-10px);
  transition: transform 0.5s ease;
}

.project-link:hover::after {
  transform: rotateX(0deg) translateZ(-10px);
}

.project-link:hover::before {
  transform: rotateY(0deg) translateZ(-10px);
}

/* Additional CSS for the backface of the project cards */
.project-backface {
  transform: rotateY(180deg);
  background-color: #4CAF50;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.project-backface h3 {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.project-backface p {
  color: #fff;
  font-size: 16px;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 20px;
}

.project-backface a {
  color: #fff;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  border: 2px solid #fff;
  border-radius: 4px;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.project-backface a:hover {
  background-color: #fff;
  color: #4CAF50;
}

/* Additional CSS for the "see more" button */
.see-more {
  text-align: center;
  margin-top: 30px;
}

.see-more a {
  font-size: 18px;
  color: #4CAF50;
  text-decoration: none;
  border: 2px solid #4CAF50;
  border-radius: 4px;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.see-more a:hover {
  background-color: #4CAF50;
  color: #fff;
}

/* Additional CSS for the page title */
.page-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}

/* Additional CSS for the page subtitle */
.page-subtitle {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
}

/* Additional CSS for the footer */
.footer {
  background-color: #4CAF50;
  color: #fff;
  text-align: center;
  padding: 30px 0;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #4CAF50;
  border-bottom: 2px solid #4CAF50;
}








/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background-color: #f4f4f4;
}

.contact-section form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
}

.contact-section input:focus,
.contact-section textarea:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.contact-section textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-section button[type="submit"] {
  background-color: #1c1c1c;
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.contact-section button[type="submit"]:hover {
  background-color: #fff;
  color: #1c1c1c;
}

@media screen and (max-width: 768px) {
  .contact-section form {
    padding: 1rem;
  }
}








/* Add diagonal overlay animation */
/* Create a gradient overlay with a transition effect */
/* Create a 3D project preview with a diagonal overlay */

.project-preview {
  position: relative;
  width: 330px;
  height: 150px;
  margin: 5px auto;
  background: #fff;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(10deg) rotateY(-10deg) rotateZ(2deg);
  transition: all 0.5s ease-in-out;
}

.project-preview:before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: linear-gradient(to bottom right, #f16a6a, #4f52a4);
  opacity: 0.8;
  z-index: -1;
  transition: all 0.8s ease-in-out;
}

.project-preview:hover:before {
  opacity: 0.9;
}

.project-preview:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.project-preview:hover:after {
  width: 200%;
  height: 200%;
  opacity: 1;
  transform: translate(-50%, -50%);
}

.project-preview .project-details {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.project-preview:hover .project-details {
  opacity: 1;
}

.project-preview .project-details h3 {
  font-size: 24px;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.project-preview .project-details p {
  font-size: 14px;
  line-height: 1.4;
}

.project-preview .project-details a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #fff;
  color: #f16a6a;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.project-preview:hover .project-details a {
  background: #f16a6a;
  color: #fff;
}

.project-preview .project-details a:hover {
  transform: scale(1.1);
}

.project-preview .project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.project-preview:hover .project-overlay {
  opacity: 1;
}

.project-preview .project-overlay:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.project-preview .project-overlay h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2rem;
  z-index: 2;
}

.project-preview:hover .project-overlay {
  opacity: 1;
}

/* Gallery Section */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 3rem;
}

.gallery img {
  width: 32%;
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 768px) {
  .gallery img {
    width: 48%;
  }
}

@media screen and (max-width: 480px) {
  .gallery img {
    width: 100%;
  }
}



/* RESPONSIVE MEDIA QUERIES */
@media screen and (max-width: 1024px) {
  .navbar {
    justify-content: space-between;
  }

  .navbar-brand {
    order: 1;
  }

  .navbar-toggler {
    order: 3;
  }

  .navbar-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #343a40;
    text-align: center;
    display: none;
  }

  .navbar-nav .nav-item {
    width: 100%;
    margin: 0;
  }

  .navbar-nav .nav-link {
    padding: 1rem;
    color: #f8f9fa;
  }

  .navbar-nav .nav-link:hover {
    color: #ffc107;
  }

  .navbar-collapse.show .navbar-nav {
    display: block;
  }

  .project-img {
    height: 40vh;
  }

  .project-title {
    font-size: 2rem;
    margin-top: 1rem;
  }

  .project-description {
    font-size: 1.5rem;
  }

  .project-overlay {
    opacity: 0.9;
    padding: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .container {
    max-width: 90%;
    padding-bottom: 90px;
  }

  .hero-text {
    font-size: 3rem;
  }

  .hero-btn {
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
  }

  .project-img {
    height: 30vh;
  }

  .project-title {
    font-size: 1.5rem;
    margin-top: 0.5rem;
  }

  .project-description {
    font-size: 1.2rem;
  }

  .project-overlay {
    opacity: 0.8;
    padding: 0.5rem;
  }
}

@media screen and (max-width: 576px) {
  .hero-text {
    font-size: 2.5rem;
  }

  .hero-btn {
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
  }

  .project-img {
    height: 25vh;
  }

  .project-title {
    font-size: 1rem;
    margin-top: 0.3rem;
  }

  .project-description {
    font-size: 1rem;
  }

  .project-overlay {
    opacity: 0.7;
    padding: 0.3rem;
  }
}



/* Media query for small devices */
@media only screen and (max-width: 479px) {
  .project-item {
    width: calc(100% - 30px);
  }
}

/* Media query for small devices with one column */
@media only screen and (max-width: 479px) {
  .project-item {
    width: calc(100% - 30px);
  }

  .project-item:nth-of-type(odd) {
    margin-right: 0;
  }
}

/* Media query for medium devices */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .project-item {
    width: calc(50% - 30px);
  }
}

/* Media query for medium devices with one column */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .project-item {
    width: calc(100% - 30px);
  }

  .project-item:nth-of-type(odd) {
    margin-right: 0;
  }
}

/* Media query for medium devices */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .project-item {
    width: calc(33.33% - 30px);
  }
}

/* Media query for medium devices with one column */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .project-item {
    width: calc(50% - 30px);
  }

  .project-item:nth-of-type(odd) {
    margin-right: 0;
  }
}




/* Contact */

/* General styles */

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  margin: 0;
}

a {
  color: #725a3b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  border-radius: 0 0 100% 100% / 0 0 50% 50%;

  transform: scaleY(0.7);

  max-width: 900px;
  margin: 90px auto;
 
}

.section-heading {
  font-size: 36px;
  margin-bottom: 30px;
}











/* Contact section styles */
/* Style for Contact Section */
/* Style for Contact Section */

/* Styling the contact section */

#contact {
  background-color:#1e1e1e ;
  padding: 50px 0;
}

#contact h2 {
  padding-left: 40px;
  font-size: 30px;
  font-weight: 600;
  color: #1e1e1e ;
  margin-bottom: 30px;
}

#contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0 0 20px rgb(114 87 85);
  padding: 40px;
}

#contact-form label {
  font-size: 18px;
  font-weight: 600;
  color: #555;
  margin-bottom: 10px;
  display: block;
}

#contact-form input,
#contact-form textarea {
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #666;
}

#contact-form button {
  background-color: #222;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

#contact-form button:hover {
  background-color: #333;
}


.contact-toggle {
  display: inline-block;
  padding: 10px 40px;
  background-color:#1e1e1e ;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
  box-shadow: 0 0 7px rgb(86 49 77);
  text-shadow: 0 0 6px rgb(80 58 75);
  }
  
  .contact-toggle:hover {
  background-color:  #1e1e1e;
  color: #fff;
  box-shadow: 0 0 20px  #1e1e1e;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: pulse 1s infinite;
  }
  
  










/* Styling the footer section */
footer {
  background-color: #222;
  color: #fff;
  padding: 40px 10px;
}

.container-footer {
  max-width: 1200px;
  margin: 0 auto;
}

.container-footer p {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
}

.contact-info li {
  margin-bottom: 10px;
}

.contact-info li i {
  margin-right: 10px;
  color: #ccc;
}

.social-media-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.social-media-contact li {
  display: inline-block;
  margin-left: 20px;
}

.social-media-contact li a {
  color: #ccc;
  font-size: 24px;
  transition: color 0.3s ease-in-out;
}

.social-media-contact li a:hover {
  color: #fff;
}














/* Media queries for responsive design */
@media (max-width: 767px) {
  #contact h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }
  
  #contact-form {
    padding: 20px;
  }
  
  .container-footer p {
    font-size: 18px;
  }
  
  .contact-info li {
    font-size: 16px;
  }
  
  .social-media-contact li a {
    font-size: 20px;
  }
}

@media (max-width: 575px) {
  #contact h2 {
    font-size: 24px;
  }
  
  #contact-form {
    padding: 10px;
 
    @media (max-width: 575px) {
      #contact h2 {
      font-size: 24px;
      }
      
      #contact-form {
      padding: 10px;
      }
      
      #contact-form .form-group label {
      font-size: 16px;
      }
      
      #contact-form .form-control {
      font-size: 14px;
      padding: 8px;
      }
      
      #contact-form textarea {
      resize: none;
      }
      
      #contact-form button[type="submit"] {
      padding: 8px 16px;
      font-size: 14px;
      }
      
      .container-footer {
      padding: 24px;
      }
      
      .container-footer .contact-info li,
      .container-footer .social-media-contact li {
      display: inline-block;
      margin-right: 16px;
      }
      
      .container-footer p {
      font-size: 14px;
      }
      
      .container-footer .list-unstyled {
      margin-bottom: 0;
      }
      }


  


 


  
  
  