/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

/*===== VARIABLES CSS =====*/
:root {
  /* Theme variables - default to dark mode */
  --body-bg-color: rgb(24, 26, 27);
  --header-bg-color: rgba(24, 26, 27, 0.8);
  --card-bg-color: #242526;
  --card-bg-color-alt: #2c2d2e;
  --text-color: #ffffff;
  --text-color-alt: #d1d1d1;
  --text-color-light: #b0b0b0;
  --border-color: rgba(255, 255, 255, 0.1);
  --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  
  /* Original Variables */
  --header-height: 3rem;
  --font-semi: 600;
  /*===== Colors =====*/
  /*Purple 260 - Red 355 - Blue 224 - Pink 340*/
  /* HSL color mode */
  --hue-color: 224;
  --first-color: hsl(var(--hue-color), 89%, 60%);
  --second-color: var(--text-color);

  /*===== Font and Typegraphy =====*/
  --body-font: 'poppins', sans-serif;
  --big-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;
  --smaller-font-size: .75rem;
  /*===== Margins =====*/
  --mb-2: 1rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;
  /*===== z index =====*/
  --z-back: -10;
  --z-fixed: 100;
}

/* Light theme variables */
[data-theme="light"] {
  --body-bg-color: #f5f5f5;
  --header-bg-color: rgba(245, 245, 245, 0.8);
  --card-bg-color: #ffffff;
  --card-bg-color-alt: #f0f0f0;
  --text-color: #333333;
  --text-color-alt: #555555;
  --text-color-light: #777777;
  --border-color: rgba(0, 0, 0, 0.1);
  --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  
  /* Second color changes when in light mode */
  --second-color: var(--text-color);
}

@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3.5rem;
    --h2-font-size: 2rem;
    --normal-font-size: 1rem;
    --smaller-font-size: .875rem;
  }
}

/*===== BASE =====*/
*,
::before,
::after {
  box-sizing: border-box;
}

/* Apply to the root and body to ensure full coverage */
html,
body {
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  /* Ensure smooth vertical scrolling */
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
  scroll-behavior: smooth;
}

/* Hide the scrollbar */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar for Webkit browsers (Chrome, Safari) */
}

html {
  scrollbar-width: none;
  /* Hide scrollbar for Firefox */
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--second-color);
  background-color: var(--body-bg-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*===== CLASS CSS ===== */
.section-title {
  position: relative;
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-top: var(--mb-2);
  margin-bottom: var(--mb-4);
  text-align: center;
}

.section-title::after {
  position: absolute;
  content: '';
  width: 64px;
  height: 0.18rem;
  left: 0;
  right: 0;
  margin: auto;
  top: 2rem;
  background-color: var(--first-color);
}

.section {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

/*===== LAYOUT =====*/
.bd-grid {
  max-width: 1450px;
  display: grid;
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--header-bg-color);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

/*===== NAV =====*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--font-semi);
}

/* Set the header to be transparent */
.l-header {
  position: fixed;
  /* Fixes the header at the top */
  width: 100%;
  /* Ensures it spans the full width */
  background-color: rgba(24, 26, 27, 0.95);
  /* Semi-transparent black background */
  backdrop-filter: blur(10px);
  /* Optional: Adds a glass-like blur effect */
  z-index: 1000;
  /* Ensures the header is above other content */
  /* padding: 10px 20px;   Adjust padding as needed */
  transition: background-color 0.3s ease;
  /* Smooth transition effect for background */
}

@keyframes blink {
  50% {
      opacity: 0;
  }
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background-color: #209cee;
  animation: blink 0.8s infinite;
}

/* Ensure nav items are visible against transparency */
.nav__logo,
.nav__link {
  color: white;
  /* White text for contrast */
  text-decoration: none;
  font-weight: bold;
}

/* Add hover effects to links */
.nav__link:hover {
  color: #1C83E5;
  /* Highlight color on hover */
}

/* Mobile Menu Toggle Styling - Complete Rewrite */
@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    top: var(--header-height);
    right: -100%; /* Start off-screen */
    width: 80%;
    height: 100%;
    padding: 2rem;
    background-color: rgba(24, 26, 27, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    transition: all 0.3s ease-out;
    z-index: 100;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  }
  
  .nav__menu.show {
    right: 0; /* Slide in when show class is applied */
  }
  
  .nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    padding-top: 1rem;
  }
  
  .nav__item {
    margin-bottom: 0;
    text-align: center;
  }
  
  .nav__link {
    font-size: 1.2rem;
    display: inline-block;
    width: 100%;
    padding: 0.5rem 0;
  }
  
  .nav__toggle {
    display: block !important;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--second-color);
    transition: color 0.3s;
  }
  
  .nav__toggle:hover {
    color: var(--first-color);
  }
  
  /* Prevent scrolling when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

.nav__item {
  margin-bottom: var(--mb-4);
}

.nav__link {
  position: relative;
  color: #ffffff;
  transition: color 0.3s ease;
}

.nav__link:hover {
  position: relative;
  color: var(--first-color);
}

.nav__link:hover::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: var(--first-color);
}

.nav__logo {
  color: var(--second-color);
}

.nav__toggle {
  color: var(--second-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/*Active menu*/
.active::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: var(--first-color);
}

/*=== Show menu ===*/
.show {
  right: 0;
}

/* Hamburger Menu Styling */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Hamburger animation when active */
.nav__toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav__toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile footer navigation */
.mobile-footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(24, 26, 27, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px;
  display: none;
  z-index: 99;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-footer-nav.show {
  transform: translateY(0);
}

.mobile-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.mobile-footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.mobile-footer-links a:hover, 
.mobile-footer-links a:active {
  background-color: var(--first-color);
  transform: translateY(-3px);
}

/* Theme Toggle Styles */
.theme-toggle-wrapper {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  color: var(--text-color);
  background-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle:hover {
  background-color: rgba(28, 131, 225, 0.2);
  transform: scale(1.1);
}

.theme-toggle i {
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.theme-toggle .dark-icon {
  opacity: 0;
  position: absolute;
  transform: scale(0.5);
}

.theme-toggle .light-icon {
  opacity: 1;
  transform: scale(1);
}

/* When light theme is active */
[data-theme="light"] .theme-toggle .dark-icon {
  opacity: 1;
  transform: scale(1);
}

[data-theme="light"] .theme-toggle .light-icon {
  opacity: 0;
  transform: scale(0.5);
}

/*===== HOME =====*/
.typed-text {
  font-size: 2em;
  /* Adjust as needed */
}

.home {
  position: relative;
  row-gap: 5rem;
  padding: 4rem 0 5rem;
}

.home__data {
  align-self: center;
}

.home__title {
  font-size: var(--big-font-size);
  margin-bottom: var(--mb-5);
}

.home__title-color {
  color: var(--first-color);
}

.home__social {
  display: flex;
  flex-direction: column;
}

.home__social-icon {
  width: max-content;
  margin-bottom: var(--mb-2);
  font-size: 1.5rem;
  color: var(--second-color);
}

.home__social-icon:hover {
  color: var(--first-color);
}

.home__img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 260px;
}

.home__blob {
  fill: var(--first-color);
}

.home__blob-img {
  width: 290px;
}

/* Responsive adjustments for home section */
@media screen and (max-width: 768px) {
  .home {
    padding: 6rem 0 2rem;
  }
  
  .home__data {
    text-align: center;
  }
  
  .home__title {
    font-size: 2.2rem;
  }
  
  .home__img {
    position: relative;
    width: 70%;
    max-width: 300px;
    margin: 0 auto;
    top: -2rem; /* Moved up from 2rem to -2rem to position it higher */
  }
  
  .home__social {
    flex-direction: row;
    justify-content: center;
    padding-top: 2rem;
  }
  
  .home__social-icon {
    margin: 0 1rem;
  }
}

@media screen and (max-width: 480px) {
  .home__title {
    font-size: 1.8rem;
  }
  
  .home__img {
    width: 85%;
  }
  
  .button {
    padding: .6rem 1.8rem;
    font-size: 0.9rem;
  }
}

/*BUTTONS*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: .75rem 2.5rem;
  font-weight: var(--font-semi);
  border-radius: 2.5rem;
  transition: .3s;
}

.button:hover {
  box-shadow: 0px 10px 36px rgba(131, 131, 131, 0.15);
}

/* ===== ABOUT =====*/
.about__container {
  row-gap: 2rem;
  text-align: center;
}

.about__subtitle {
  margin-bottom: var(--mb-2);
}


.about__img {
  justify-self: center;
}

.about__img img {
  width: 200px;
  border-radius: .5rem;
}

/* ===== SKILLS =====*/
.skills__container {
  row-gap: 2rem;
  text-align: center;
}

.skills__subtitle {
  margin-bottom: var(--mb-2);
}

.skills__text {
  margin-bottom: var(--mb-4);
}

.skills__data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  font-weight: var(--font-semi);
  padding: .5rem 1rem;
  margin-bottom: var(--mb-4);
  border-radius: .5rem;
  box-shadow: 0px 4px 25px rgba(194, 194, 194, 0.15);
}

.skills__icon {
  font-size: 2rem;
  margin-right: var(--mb-2);
  color: var(--first-color);
}

.skills__names {
  display: flex;
  align-items: center;
  text-align: justify;
}

.skills__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: var(--first-color);
  height: .25rem;
  border-radius: .5rem;
  z-index: var(--z-back);
}

.skills__html {
  width: 95%;
}

.skills__css {
  width: 85%;
}

.skills__js {
  width: 65%;
}

.skills__ux {
  width: 85%;
}

.skills__img {
  border-radius: .5rem;
}

/* ===== WORK =====*/
.work__container {
  row-gap: 2rem;
}

.work__img {
  box-shadow: 0px 4px 25px rgb(36, 80, 255);
  border-radius: .5rem;
  overflow: hidden;
}


.work__img img {
  transition: 1s;
}


.works__data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  font-weight: var(--font-semi);
  padding: .5rem 1rem;
  margin-bottom: var(--mb-4);
  border-radius: .5rem;
  /* box-shadow: 0px 4px 25px rgb(0, 0, 0); */
}

.work__img img:hover {
  transform: scale(1.1);
}

/* =====Coding Profiles===== */
.coding-profile-link {
  margin-top: 10px;
  font-size: 1rem;
  color: #1e90ff;
  /* Link color */
  text-decoration: none;
}

.coding-profile-link:hover {
  text-decoration: underline;
}


/* ===== PROJECT ===== */
.projects__container {
  display: flex;
  gap: 30px; /* Space between each project card */
  justify-content: center; /* Center the cards */
  flex-wrap: wrap;
  margin: 3rem auto;
  max-width: 1200px;
  padding: 0 20px;
}

.project__title {
  font-family: 'Roboto';
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: black;
  margin-bottom: 10px;
}

.project__card {
  position: relative;
  width: 30%; /* Three items per row */
  min-width: 280px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #d3d3d3;
  display: flex;
  flex-direction: column;
  padding: 15px;
  transition: all 0.3s ease-in-out;
  margin-bottom: 30px;
}

.project__card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-10px); /* Slight lift effect */
}

.project__image-container {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
}

.project__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project__image-container:hover .project__image {
  transform: scale(1.1); /* Zoom-in effect on hover */
}

.project__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(168, 168, 168, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project__image-container:hover .project__overlay {
  opacity: 1;
}

.project__overlay-btn {
  background-color: #040404;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 24px;
  margin-top: 10px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.project__overlay-btn:hover {
  background-color: #858585;
}

.project__description {
  font-family: 'Nunito'; 
  text-align: justify;
  font-size: 16px;
  color: #000000;
  margin-bottom: 15px;
  flex-grow: 1;
}

.tag-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.project__tags {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  margin-top: 5px;
}

.project__tag {
  font-family: 'Quicksand'; 
  font-weight: bold;
  background-color: #f1f1f1;
  padding: 5px 10px;
  margin: 0 2px;
  border-radius: 24px;
  font-size: 12px;
  color: #333;
}

.project__links {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 5px;
}

.project__link {
  color: black;
  margin: 0 10px;
  transition: transform 0.3s ease;
}

.project__link:hover {
  transform: translateY(-5px);
}

.project__link i {
  font-size: 30px;
}

/* Project card styles for light theme */
[data-theme="light"] .project__card {
  background-color: var(--card-bg-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .project__title {
  color: var(--text-color);
}

[data-theme="light"] .project__description {
  color: var(--text-color-alt);
}

[data-theme="light"] .project__link {
  color: var(--text-color);
}

/* Skill and work item styles for light theme */
[data-theme="light"] .skills__data {
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .work__img {
  box-shadow: 0px 4px 25px rgba(36, 80, 255, 0.7);
}

/* Timeline item styles for light theme */
[data-theme="light"] .timeline-content {
  background: var(--card-bg-color);
}

[data-theme="light"] .timeline-content::before {
  background: var(--card-bg-color);
}

[data-theme="light"] .timeline-title {
  color: var(--text-color);
}

[data-theme="light"] .timeline-body p {
  color: var(--text-color-alt);
}

/* Contact form styles for light theme */
[data-theme="light"] .contact-form {
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
}

[data-theme="light"] .contact-card {
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
}

/* Hamburger menu styles for light theme */
[data-theme="light"] .hamburger-line {
  background-color: #333333;
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
  .project__card {
    width: calc(50% - 30px);
    min-width: 250px;
  }
}

@media (max-width: 900px) {
  .projects__container {
    gap: 20px;
  }
  
  .project__card {
    width: calc(50% - 20px);
    min-width: 220px;
  }
}

@media (max-width: 600px) {
  .projects__container {
    margin: 2rem 15px;
    gap: 15px;
  }
  
  .project__card {
    width: 100%;
    min-width: unset;
    margin-bottom: 20px;
  }
  
  .project__description {
    font-size: 14px;
  }
  
  .project__tag {
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .project__link i {
    font-size: 24px;
  }
}

/* ===== CONTACT =====*/
.contact__input {
  width: 100%;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi);
  padding: 1rem;
  border-radius: .5rem;
  border: 1.5px solid var(--second-color);
  outline: none;
  margin-bottom: var(--mb-4);
}

.contact__button {
  display: block;
  border: none;
  outline: none;
  font-size: var(--normal-font-size);
  cursor: pointer;
  margin-left: auto;
}

/* ===== FOOTER =====*/
.footer {
  background-color: hsl(var(--hue-color), 56%, 12%);
  color: #fff;
  text-align: center;
  font-weight: var(--font-semi);
  padding: 2rem 0;
}

.footer__title {
  font-size: 2rem;
  margin-bottom: var(--mb-4);
}

.footer__Address {
  color: #cccccc;
  font-size: 1rem;
  margin-bottom: var(--mb-4);
}

.footer__Address a {
  color: #cccccc;
}

.footer__social {
  margin-bottom: var(--mb-4);
}

.footer__icon {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 var(--mb-2);
}

.footer__copy {
  font-size: var(--smaller-font-size);
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== MEDIA QUERIES=====*/
@media screen and (max-width: 320px) {
  .home {
    row-gap: 2rem;
  }

  .home__img {
    width: 200px;
  }
}

@media screen and (min-width: 576px) {
  .home {
    padding: 4rem 0 2rem;
  }

  .home__social {
    padding-top: 0;
    padding-bottom: 2.5rem;
    flex-direction: row;
    align-self: flex-end;
  }

  .home__social-icon {
    margin-bottom: 0;
    margin-right: var(--mb-4);
  }

  .home__img {
    width: 300px;
    bottom: 25%;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    text-align: initial;
  }

  .skills__container {
    grid-template-columns: .7fr;
    justify-content: center;
    column-gap: 1rem;
  }

  .work__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    padding-top: 2rem;
  }

  .contact__form {
    width: 360px;
    padding-top: 2rem;
  }

  .contact__container {
    justify-items: center;
  }
}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .section-title {
    margin-bottom: var(--mb-6);
  }

  .section-title::after {
    width: 80px;
    top: 3rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__list {
    display: flex;
    padding-top: 0;
  }

  .nav__item {
    margin-left: var(--mb-6);
    margin-bottom: 0;
  }

  .nav__toggle {
    display: none;
  }

  .nav__link {
    color: var(--second-color);
  }

  .home {
    padding: 8rem 0 2rem;
  }

  .home__img {
    width: 400px;
    bottom: 10%;
  }

  .about__container {
    padding-top: 2rem;
  }

  .about__img img {
    width: 400px;
  }

  .skills__container {
    grid-template-columns: repeat(2, 1fr);
    /* justify-content: space-between; */
    column-gap: 2rem;
    row-gap: 20rem;
    align-items: center;
    text-align: initial;
  }

  .work__container {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
  }

  .Exp__container {
    background-color: #000000;
    /* Box background color */
    box-shadow: 0 4px 8px rgb(18, 107, 240);
    /* Box shadow */
    padding: 20px;
    /* Internal padding */
    margin-bottom: 20px;
    /* Space between boxes */
    width: 80%;
    /* Box width, adjust as necessary */
    max-width: 600px;
    /* Max width of the box */
    border-radius: 10px;
    /* Rounded corners */
  }

  .Expe__container {
    display: flex;
    flex-direction: column;
    /* Arrange items vertically */
    align-items: center;
    /* Center items horizontally */
    width: 100%;
    max-width: 1200px;
    /* Adjust based on your layout needs */
    margin: 0 auto;
    /* Center the container */
    padding: 20px;
    /* Add some padding for spacing */
  }

  .project-placeholder {
    text-align: center;
    padding: 20px;
  }

  .project-placeholder h1 {
    margin-bottom: 10px;
  }

  .work__caption {
    text-align: center;
    color: #ffffff;
    /* Black color */
    font-weight: bold;
    margin-top: 10px;
    font: poppins;
  }

  .Links {
    text-align: center;
  }

  .below__caption {
    text-align: justify;
    color: rgb(255, 255, 255);
    /* Black color */
    font-weight: bolder;
    margin-bottom: 20px;
    margin-top: 20px;
    font: robotto;
  }

  .contact-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-left-title h2 {
    font-weight: 600;
    color: var(--first-color);
    font-size: 40px;
    margin-bottom: 5px;
  }

  .contact-left-title hr {
    border: none;
    width: 120px;
    height: 5px;
    background-color: rgba(30, 30, 184, 0.736);
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .contact-inputs {
    background-color: #000000;
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 100;
    color: rgb(255, 255, 255);
    border-radius: 50px;
  }

  .contact-left textarea {
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;

  }

  .contact-inputs:focus {
    border: 2px solid black;
  }

  .contact-inputs::placeholder {
    color: grey;
  }

  .contact-left button {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: black;
    gap: 10px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(270deg, white, rgb(0, 0, 0));
    cursor: pointer;
  }

  .Contact__title {
    font-size: var(--big-font-size);
    margin-bottom: var(--mb-5);
  }
}

@media screen and (min-width: 992px) {
  .bd-grid {
    margin-left: auto;
    margin-right: auto;
  }

  .home {
    padding: 10rem 0 2rem;
  }

  .home__img {
    width: 450px;
  }
}


#blogss {
  /* padding: 2em 0; */
  background-color: rgb(24, 26, 27);
  color: rgb(255, 255, 255);
}

#blogss h2 {
  text-align: center;
  margin-bottom: 1em;
  font-size: 2em;
}

#blog-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-post {
  background: rgb(0, 0, 0);
  border-radius: 15px;
  margin: 1em;
  padding: 1em;
  flex: 1 1 30%;
  max-width: 400px;
  width: 300px;
  box-shadow: 0 4px 8px rgb(18, 103, 230);
  transition: transform 0.3s;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post img {
  max-width: 100%;
  border-radius: 5px;
}

.blog-post h3 {
  font-size: 1.5em;
  margin: 0.5em 0;
}

.blog-post p {
  font-size: 1em;
  line-height: 1.5;
}

.blog-post a {
  display: inline-block;
  margin-top: 1em;
  color: #007BFF;
  text-decoration: none;
  transition: color 0.3s;
}

.blog-post a:hover {
  color: #0056b3;
}


@media (max-width: 768px) {
  .contact-container {
    padding: 20px;
    /* Adjust padding for better fit on smaller screens */
  }

  .contact-left {
    width: 100%;
    /* Make the form take full width */
    max-width: 100%;
    /* Ensure it doesn't exceed the viewport width */
    padding: 10px;
    /* Add padding for better spacing */
  }

  .contact-inputs,
  .contact-left button {
    width: calc(100% - 20px);
    /* Adjust width to account for padding */
    margin: 10px 0;
    /* Add some vertical margin for spacing */
    font-size: 16px;
    /* Adjust font size for better readability */
  }

  .contact-inputs input,
  .contact-inputs textarea {
    width: 100%;
    /* Make sure input fields take full width */
    padding: 12px;
    /* Add padding for better touch experience */
    box-sizing: border-box;
    /* Include padding in width calculation */
    border: 1px solid #ccc;
    /* Add border for better visibility */
    border-radius: 40px;
    /* Rounded corners for input fields */
    font-size: 16px;
    /* Adjust font size for input fields */
  }

  .contact-left-title h2 {
    font-size: 22px;
    /* Adjust title font size for better readability */
    margin-bottom: 20px;
    /* Add margin for better spacing */
  }

  .contact-left button {
    display: flex;
    /* To align the text and image inside the button */
    justify-content: center;
    /* Center the content */
    align-items: center;
    /* Align items vertically */
    padding: 12px;
    /* Add padding for better touch experience */
    font-size: 18px;
    /* Increase font size for better readability */
    background-color: grey;
    /* Button background color */
    color: #fff;
    /* Button text color */
    border: none;
    /* Remove border */
    border-radius: 5px;
    /* Rounded corners for button */
    cursor: pointer;
    /* Change cursor to pointer */
    transition: background-color 0.3s;
    /* Smooth transition for hover effect */
  }

  .contact-left button:hover {
    background-color: #0056b3;
    /* Darker background color on hover */
  }

  .contact-left button img {
    width: 20px;
    /* Adjust the arrow image size if necessary */
    margin-left: 10px;
    /* Add some space between the text and the image */
  }
}


@media (max-width: 768px) {
  .work__caption {
    text-align: center;
    color: #ffffff;
    /* Black color */
    font-weight: bold;
    margin-top: 10px;
  }

  .below__caption {
    text-align: center;
    color: rgb(255, 255, 255);
    /* Black color */
    font-weight: bolder;
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .Links {
    text-align: center;
  }

}



@media (max-width: 768px) {
  .contact-inputs {
    background-color: #000000;
    width: 300px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 100;
    color: rgb(255, 255, 255);
    border-radius: 50px;
  }

}


@media (max-width: 768px) {
  .works__data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-weight: var(--font-semi);
    padding: .5rem 1rem;
    margin-bottom: var(--mb-4);
    border-radius: .5rem;
    /* box-shadow: 0px 4px 25px rgb(0, 0, 0); */
  }

  .skills__names {
    display: flex;
    align-items: center;
    text-align: justify;
  }

  .Exp__container {
    background-color: #000000;
    /* Box background color */
    box-shadow: 0 4px 8px rgb(18, 107, 240);
    /* Box shadow */
    padding: 20px;
    /* Internal padding */
    margin-bottom: 20px;
    /* Space between boxes */
    width: 80%;
    /* Box width, adjust as necessary */
    max-width: 600px;
    /* Max width of the box */
    border-radius: 10px;
    /* Rounded corners */
  }
}
