/* ----- POPPINS FONT Link ----- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ----- VARIABLES ----- */

:root {

    --color-primary: #7a49fe;
    --color-primary-dark: #7016ff;
    --color-primary-lighten: #c8b6fa;
    --color-gradient: linear-gradient(121.77deg, #7141fb 13.51%, #4b14e8 174.68%);
    --color-secondary: #212736;
    --color-secondary-dark: #1d2230;
    --color-gray: #747474;
    --color-gray-light: #b8bbc7;
    --color-gray-lighten: #f6f8fe;
    --color-white: #fff;
    --color-title: #3f396d;
    --color-border: #2b3142;
  
    --font-family-primary: "Rubik", sans-serif;
    --fs-xs: 1.2rem;
    --fs-sm: 1.4rem;
    --fs-md: 1.6rem;
    --fs-lg: 2rem;
    --fs-xl: 2.4rem;
    --fs-xxl: clamp(2.4rem, 5vw, 4.2rem);
    --fs-biggest: clamp(3.2rem, 5vw, 5.8rem);
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --zindex-fixed: 1000;
    --zindex-menu: 1010;
    --width-container: 110rem;
    --height-header: 8rem;
    --height-header--scroll: 8rem;
    --transition: 0.4s ease-in-out;
    --shadow-primary: 0 0 85px 0 #e9eefc;
    --shadow-secondary: 0px 30px 60px 2px rgba(0, 0, 0, 0.1);
    --shadow-header: 0px 2px 5px rgba(0, 0, 0, 0.05);
    --b-radius: 1.5rem;
  }
  
/* ----- BASE ----- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope';
}

/* ----- SMOOTH SCROLL ----- */
html{
    scroll-behavior: smooth;
}

/* ----- CHANGE THE SCROLL BAR DESIGN ----- */
::-webkit-scrollbar{
    width: 10px;
    border-radius: 25px;
}
::-webkit-scrollbar-track{
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 30px;
}
::-webkit-scrollbar-thumb:hover{
    background: #bbb;
}


/* ---##-- REUSABLE CSS --##--- */

/* ----- GLOBAL BUTTON DESIGN ----- */
.btn{
    font-weight: 500;
    padding: 12px 20px;
    color: #f1f1f1;
    background-color: #141c22;    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: .4s;
}
.btn>i{
    margin-left: 10px;
}
.btn:hover{
    background: #f1f1f1;
    color: #141c22;
}

/* ----- GLOBAL ICONS DESIGN ----- */
i{
    font-size: 16px;
}

/* ------- BASE -------- */
body{
    background: #0F151A;
}
.container{
    width: 100%;
    position: relative;
}

/* ----- NAVIGATION BAR ----- */
nav{
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 90px;
    line-height: 90px;
    background: #141c22;
    padding-inline: 9vw;
    transition: .3s;
    z-index: 100;
    
}
.nav-logo{
   position: relative;
}
.nav-name{
    font-size: 30px;
    font-weight: 600;
    color: #f1f1f1;
}
.nav-logo span{
    position: absolute;
    top: -15px;
    right: -20px;
    font-size: 5em;
    color: #FFFFFF;
}
.nav-menu, .nav_menu_list{
    display: flex;
}
.nav-menu .nav_list{
    list-style: none;
    position: relative;
}
.nav-link{
    text-decoration: none;
    color: #f1f1f1;
    font-weight: 500;
    padding-inline: 15px;
    margin-inline: 20px;
}
.nav-menu-btn{
    display: none;
}
.nav-menu-btn i{
    font-size: 20px;
    cursor: pointer;
    margin-top: 20px;
}
.active-link{
    position: relative;
    color: #F53FA1;
    transition: .3;
}
.active-link::after{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    background: #F53FA1;
    border-radius: 50%;
}

.about__wrapper {
    justify-items: center;
  }
  
  .about__content {
    text-align: center;
  }
  
  .about__description {
    margin-bottom: 2rem;
  }
  
  .about__img {
    max-height: 450px;
    border-radius: 20%;
  }
/* ----- WRAPPER DESIGN ----- */
.wrapper{
    padding-inline: 10vw;
}

/* ----- FEATURED BOX ----- */
.featured-box{
    position: relative;
    display: flex;
    height: 100vh;
    min-height: 700px;
}

/* ----- FEATURED TEXT BOX ----- */
.featured-text{
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    min-height: 80vh;
    flex-direction: column;
    width: 50%;
    padding-left: 20px;
}
.featured-text-card span{
    background: rgba(255, 255, 255, 0.062); /* لون خلفية شفاف */
    color: #F53FA1;
    padding: 3px 8px;
    font-size: 45px;
    border-radius: 5px;
}

.featured-name{
    font-size:40px;
    font-weight: 600;
    color: #f1f1f1;
    margin-block: 20px;
}
.typedText{
    text-transform: capitalize;
    color: #f1f1f1;
}
.featured-text-info{
    font-size: 20px;
    margin-bottom: 30px;
    color: #f1f1f1;
}

.featured-text-btn>.blue-btn{
    
    color: #00B5E7;
    background-color: #141c22;
}
.featured-text-btn>.blue-btn:hover{
    
    background: #f1f1f1;
    color: #141c22
}
.social_icons{
    
    color: #4C1432;
    font-size: 10px;
    font-weight: 900;
    display: flex;
    margin-top: 5em;
    gap: 30px;
}
.icon{
    border: 1px solid #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: #f1f1f1;
    background-color: #141c22;
    
}
.icon:hover{
    background-color: #f1f1f1;
    color: #141c22;
}

/* ----- FEATURED IMAGE BOX ----- */
.featured-image{
    display: flex;
    justify-content: right;
    align-content: center;
    min-height: 80vh;
    width: 50%;
}
.image{
    margin: auto 0;
    width: 380px;
    height: 380px;
    border-radius: 55% 45% 55% 45%;
    overflow: hidden;
    animation: imgFloat 7s ease-in-out infinite;
}
.image img{
    width: 380px;
    height: 380px;
    object-fit: cover;
}
@keyframes imgFloat {
    50%{
        transform: translateY(10px);
        border-radius: 45% 55% 45% 55%;
    }
}
.scroll-btn{
   position: absolute;
   bottom: 0;
   left: 50%;
   translate: -50%;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 150px;
   height: 40px;
   gap: 5px;
   text-decoration: none;

   border-radius: 30px;
   background-color: #141c22;
   color: #00B5E7;
}
.scroll-btn:hover{
    background-color: #141c22;
    color: #F53FA1;
}
.scroll-btn i{
    font-size: 10px;
}
.imp{
    color: #F53FA1;
    font-weight: 900;
    font-size: 28px;
    
}

.section {
    padding: 12rem 0;
  }
  

  
  .section__header {
    max-width: 50rem;
    margin: auto;
    text-align: center;
    padding-bottom: 5rem;
  }
  
  .section__title {
    font-size: 40px;
    margin: 0.5rem 0 1.5rem;
    color: #f1f1f1;
  }
  .section__subtitle {
    font-weight: var(--fw-bold);
    font-size: var(--fs-md);
    color: var(--color-primary);
  }
  .con{
    color: #f1f1f1;
  }
  .d-grid {
    display: grid;
    gap: 3rem;
  }
  .about__wrapper {
    justify-items: center;
  }
  .about__wrapper {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .section__subtitle {
    font-weight: var(--fw-bold);
    font-size: var(--fs-md);
    color: #F53FA1;
  }
/* ----- MAIN BOX ----- */
.section{
    padding-block: 5em;
}
.row{
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
}
.col{
    display: flex;
    width: 50%;
}

/* -- ## --- RESUABLE CSS -- ## -- */
.top-header{
    text-align: center;
    margin-bottom: 5em;
}
.top-header h1{
    font-weight: 600;
    color: var(--text-color-second);
    margin-bottom: 10px;
}
.top-header span{
    color: #999;
}
h3{
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color-second);
    margin-bottom: 15px;
}

/* ----- ABOUT INFO ----- */
.about-info{
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-block: 30px 70px;
    padding-inline: 20px;
    width: 100%;
    background: var(--color-white);
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    border-radius: 20px;
}
.about-info p{
    text-align: center;
    font-size: 15px;
    color: #777;
}
.about-btn button{
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: var(--first-color);
    color: var(--color-white);
    border-radius: 30px;
}
.about-btn button:hover{
    background: var(--first-color-hover);
}

/* ----- ABOUT / SKILLS BOX ----- */


/* ----- PROJECTS BOX ----- */
.project-container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.blog__title{
    color: #f1f1f1;
    font: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.project-box{
color: #f1f1f1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 30%;
    height: 250px;
    background: #141c22;
    border-radius: 20px;
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    overflow: hidden;
}

@keyframes scrolltopAnimation {
    0% {
      box-shadow: 0px 0px 0px 10px rgb(113 67 245 / 99%);
    }
  
    100% {
      box-shadow: 0px 0px 0px 40px rgb(113 67 245 / 1%);
    }
  }
  
  ::-webkit-scrollbar {
    width: 1rem;
    background-color: var(--color-gray-lighten);
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: var(--color-gray);
    border-radius: 0.5rem;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-primary);
  }
  
  @media screen and (min-width: 480px) {
    .counter__wrapper {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media screen and (min-width: 768px) {
    .home__wrapper {
      grid-template-columns: repeat(2, 1fr);
      align-items: center;
    }
  
    .home__content {
      text-align: initial;
    }
  
    .home__content .social {
      justify-content: initial;
    }
  
    .about__wrapper {
      grid-template-columns: repeat(2, 1fr);
      align-items: center;
    }
  
    .about__content {
      text-align: initial;
    }
  
    .about__img {
      order: -1;
    }
  
    .skills__wrapper {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .counter__wrapper {
      grid-template-columns: repeat(4, 1fr);
    }
  
    .portfolio__wrapper {
      grid-template-columns: repeat(2, 28rem);
      justify-content: center;
    }
  
    .blog__wrapper {
      grid-template-columns: repeat(2, max-content);
      justify-content: center;
    }
  
    .contact__wrapper {
      grid-template-columns: repeat(2, 1fr);
      align-items: center;
    }
  
    .contact__content {
      order: -1;
    }
  }
    
  .btn--primary {
    background-color: var(--color-primary);
  }
  
  .btn--primary:hover {
    background-color: var(--color-primary-dark);
  }
  @media screen and (min-width: 968px) {
    .nav__menu {
      margin-left: auto;
      margin-right: 3rem;
    }
  
    .nav__list {
      display: flex;
      column-gap: 4rem;
    }
  
    .nav__toggle,
    .nav__icon {
      display: none;
    }
  
    .nav__link {
      position: relative;
    }
  
    .nav__link::before {
      position: absolute;
      content: "";
      background: var(--color-gradient);
      width: 100%;
      height: 0.4rem;
      bottom: -3rem;
      border-top-left-radius: 0.5rem;
      border-top-right-radius: 0.5rem;
      transition: var(--transition);
      transform: scaleX(0);
    }
  
    .nav__link--active {
      color: var(--color-primary);
    }
  
    .nav__link--active::before {
      transform: scaleX(1);
    }
  
    .education__wrapper {
      grid-template-columns: repeat(2, 3fr);
      align-items: center;
    }
  
    .education__content {
      text-align: initial;
    }
  
    .education__card {
      flex-direction: initial;
      align-items: center;
    }
  
    .education__card:nth-child(2) {
      margin-right: -4rem;
    }
  
    .portfolio__wrapper {
      grid-template-columns: repeat(3, 1fr);
    }
  
    .blog__wrapper {
      grid-template-columns: repeat(3, 1fr);
    }
  }



.project-box:hover.project-box::after,
.contact-info:hover.contact-info::after{
    bottom: 0;
}
.project-box:hover.project-box i,
.project-box:hover.project-box>h3,
.project-box:hover.project-box>label{
    color: var(--color-white);
    z-index: 2;
}

/* ----- CONTACT BOX ----- */
.contact-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    width: 100%;
    height: 315px;
    background:#141c22;
    align-items: center;
    border-radius: 10px;
    box-shadow: 1px 15px 10px 12px var(--first-shadow-color);
    overflow: hidden;
    color: #f1f1f1;
    border: 2px solid #f1f1f1;
}


/* ----- CONTACT FORM ----- */
.form-control{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.form-inputs{
    display: flex;
    gap: 10px;
    width: 100%;
}
.input-field{
    width: 50%;
    height: 55px;
    background: transparent;
    border: 2px solid #f1f1f1;
    border-radius: 10px;
    padding-inline: 20px;
    outline: none;
    color: #f1f1f1;
    font-size: 20px;
}
textarea{
    font-size: 20px;
    width: 100%;
    height: 250px;
    background: transparent;
    border: 2px solid #f1f1f1;
    color: #f1f1f1;
    border-radius: 10px;
    padding: 15px 20px;
    outline: none;
    resize: none;
}
.form-button>.btn{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #141c22;
    color: #f1f1f1;
}
.form-button>.btn:hover{
    background: #f1f1f1;
    color: #141c22;
}
.form-button i{
    font-size: 18px;
    rotate: -45deg;
}

/* ----- FOOTER BOX ----- */
footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 30px;
    background: #0F151A;
    padding-block: 40px 60px;
}
.top-footer p{
    font-size: 30px;
    font-weight: 600;
    color: #f1f1f1;
}
.middle-footer .footer-menu{
    display: flex;
    color: #f1f1f1;
    font-size: 20px;

}
.footer-menu a:hover{
    color: #F53FA1;
    font-size: 20px;
}
.footer_menu_list{
    list-style: none;
}
.footer_menu_list a{
    text-decoration: none;
    color: var(--text-color-second);
    font-weight: 500;
    margin-inline: 20px;
}
.footer-social-icons{
    display: flex;
    gap: 30px;   
}
.bottom-footer{
    font-size: 20px;
    margin-top: 10px;
    color: #f1f1f1;
}
.bottom-footer a{
    color: #00B5E7;
}


/* ----- MEDIA QUERY == 1024px / RESPONSIVE ----- */
@media only screen and (max-width: 1024px){
    .featured-text{
        padding: 0;
    }
    .image, .image img{
        width: 320px;
        height: 320px;
    }
}
.jus{
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ----- MEDIA QUERY == 900px / RESPONSIVE ----- */
@media only screen and (max-width: 900px) {
    .social_icons{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 2em;
        margin-bottom: 4em;
    }

    .featured-text-card span{
        background: rgba(255, 255, 255, 0.062); /* لون خلفية شفاف */
        box-shadow: 0 8px 8px rgba(255, 255, 255, 0.1); /* ظل خفيف */
        color: #F53FA1;
        padding: 3px 8px;
        font-size: 25px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;  
        
}
    .nav-button{
        display: none;
    }
    .nav-menu.responsive{
        left: 0;
    }
    .nav-menu{
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #141c22;
        backdrop-filter: blur(20px);
        width: 100%;
        min-height: 450px;
        height: 90vh;
        transition: .3s;
    }
    .nav_menu_list{
        flex-direction: column;
    }
    .nav-menu-btn{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .featured-box{
        flex-direction: column;
        justify-content: center;
        height: 100vh;
    }
    .featured-text{
        width: 100%;
        order: 2;
        justify-content: center;
        align-content: flex-start;
        min-height: 60vh;
    }
    .social_icons{
        margin-top: 2em;
    }
    .featured-image{
        order: 1;
        justify-content: center;
        min-height: 150px;
        width: 100%;
        margin-top: 65px;
    }
    .image, .image img{
        width: 150px;
        height: 150px;
    }
    .row{
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 50px;
    }
    .col{
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .about-info, .contact-info{
        width: 100%;
    }
    .project-container{
        justify-content: center;
    }
    .project-box{
        width: 80%;
    }

}

/* ----- MEDIA QUERY == 540px / RESPONSIVE ----- */

@media only screen and (max-width: 540px){
    .social_icons{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 2em;
        margin-bottom: 4em;
    }
    .featured-text-btn{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    .featured-text-card span{
        background: rgba(255, 255, 255, 0.062); /* لون خلفية شفاف */
        box-shadow: 0 8px 8px rgba(255, 255, 255, 0.1); /* ظل خفيف */
        color: #F53FA1;
        padding: 3px 8px;
        font-size: 25px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;  
        
}
    .featured-name{
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }
    .project-box{
        width: 100%;
    }
    .form-inputs{
        flex-direction: column;
    }
    .input-field{
        width: 100%;
    }
}

/* ----- MEDIA QUERY == 768px / RESPONSIVE ----- */
@media only screen and (max-width: 768px) {
    .about__wrapper {
        grid-template-columns: 1fr;
    }

    .about__img {
        margin-top: 2em;
        height: 300px;
        
    }

    .about__content {
        text-align: center;
    }

    .about__description {
        margin-bottom: 2em;
    }

    .featured-text-btn {
        flex-direction: column;
        gap: 10px;
    }
    .section__title {
        font-size: 30px;
        margin: 0.5rem 0 1.5rem;
        
      }
}
@media only screen and (max-width: 768px) {
    .featured-box {
        flex-direction: column; /* Stack elements vertically on small screens */
        text-align: center; /* Center text within its container on small screens */
    }
}
/* Remove default button styles */
.featured-text-btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    color: #00B5E7;

}

/* Add hover effect */
.featured-text-btn:hover {
    color: #555; /* Set the desired hover color */
}

/* ----- MEDIA QUERY == 768px / RESPONSIVE ----- */
@media only screen and (max-width: 768px) {
    .featured-text-btn {
        padding: 10px; /* Adjust padding for smaller screens */
        display: block;
        text-align: center;
    }
}



.blog__post {
    background-color: #141c22;
    width: 100%;
    max-width: 35rem;
    border-radius: var(--b-radius);
    justify-self: center;
    padding: 2.5rem;
  }
  
  .blog__img-wrapper {
    position: relative;

  }
  
  .blog__category {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background-color: #141c22;
    font-weight: var(--fw-medium);
    font-size: var(--fs-sm);
    padding: 1rem;
    color: #F53FA1;
    border-radius: 3rem;
  }
  
  .blog__img {
    border-radius: var(--b-radius);
  }
  
  
  
/* Styles for individual blog posts */
.blog__post {
    /* Add any styles you need for each blog post */
    margin-bottom: 20px; /* Add margin between blog posts */
}

/* Styles for images within blog posts */
.blog__img {
    /* Add any styles you need for blog images */
    max-width: 100%; /* Make sure images are responsive */
    height: auto;

}

/* Add media queries for responsiveness */
@media only screen and (max-width: 768px) {
    /* Adjust styles for smaller screens */
    .blog__wrapper {
        grid-template-columns: 1fr; /* Display a single column on smaller screens */
    }
    
   
}
  .blog__category {
    font-size: 14px; /* Adjust the font size to make it smaller */
    padding: 5px 8px; /* Add padding to control the space around the category text */
}

  .blog__description {
    margin-bottom: 2rem;
    color: #f1f1f1;
    font-size: 16px;
  }
  
  .blog__link {
    display: flex;
    column-gap: 0.1rem;
    align-items: center;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    font-weight: var(--fw-medium);
    color: #F53FA1;
    transition: var(--transition);
  }
  
  .blog__link {
    font-size: 13px;
    text-decoration: none;
  }
  
  .blog__link:hover {
    color: #00B5E7;
    gap: 0.5    rem;
  }
  
  .contact_us_2 * {
    font-family: Nunito, sans-serif;
  }
  
.contact__form {
    width: 100%;
    max-width: 40rem;
    display: flex;
    align-items: center;
    justify-self: center;
    display: grid;
    gap: 3rem;
  }
  
  .form__label {
    display: block;
    margin-bottom: 1rem;
    color: #f1f1f1;
  }
  
  .form__input {
    border: 0.1rem solid transparent;
    width: 100%;
    padding: 1.8rem 2.5rem;
    border-radius: var(--b-radius);
    color: #1d2230;
    transition: var(--transition);
    background-color: #f1f1f1;

  }
  
  .form__input::placeholder {
    color: var(--color-gray-light);
  }
  
  .form__input:focus {
    border-color: var(--color-primary);
  }
  
  .form__textarea {
    resize: none;
    height: 20rem;
  }
  
  .contact__form .btn {
    justify-self: center;
  }
  
  .contact__content {
    background: var(--color-primary) var(--color-gradient);
    padding: 5rem 3rem;
    width: 100%;
    max-width: 40rem;
    border-radius: var(--b-radius);
    justify-self: center;
    gap: 5rem;
  }
  
  .contact__info {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .contact__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 0.1rem solid var(--color-gray-lighten);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--color-gray-lighten);
  }
  
  .contact__title {
    margin-bottom: 1rem;
    font-weight: var(--fw-semibold);
    color: var(--color-white);
  }
  
  .contact__description {
    color: var(--color-gray-lighten);
  }
/* Base styles for larger screens */
.d-grid {
    display: grid;
    gap: 3rem;
}

.contact_us_2 * {
    font-family: Nunito, sans-serif;
}

.contact__form {
    width: 100%;
    max-width: 40rem;
    margin: 0 auto; /* Center the form horizontally */
    display: grid;
    gap: 3rem;
}

/* ... (other styles) ... */

/* Media query for smaller screens */
@media only screen and (max-width: 768px) {
    .d-grid {
        grid-template-columns: 1fr; /* Change to a single column layout */
    }

    .contact__form {
        padding: 0 1.5rem; /* Add padding to the form for better spacing on smaller screens */
    }

    .contact__content,
    .contact__wrapper {
        max-width: 100%; /* Allow content to take full width on smaller screens */
        padding: 0 1.5rem; /* Add padding for better spacing on smaller screens */
    }

    .contact__form .form__input,
    .form__textarea {
        width: 100%; /* Make text input and textarea full width */
    }
}
