:root {
   --primary: #ff4904;
   --secondary: rgb(255 1 79);
   --accent: #f59e0b;
   --bg: #0f172a;
   --surface: #f5f5f5;
   --text: #ffffff;
   --text-secondary: #e5e7eb;
   --pa-font-family: 'Open Sans', sans-serif;
   --but-font-family: 'Montserrat', sans-serif;
   --bla: #2b2b2b;
}


/* NEW PRELOADER STYLES */

#preloader {
   position: fixed;
   left: 0;
   top: 0;
   width: 100vw;
   height: 100vh;
   background: var(--bg);
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 9999;
   transition: opacity 2s cubic-bezier(.7, 0, .3, 1);
}

#loader-text {
   font-size: 6rem;
   font-family: 'Pacifico', cursive;
   font-weight: 800;
   color: #fff;
   letter-spacing: 7px;
   animation: loaderAnim 1.3s infinite alternate cubic-bezier(.7, 0, .3, 1);
}

body.loaded #preloader {
   opacity: 0;
   pointer-events: none;
}

.container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}

/* END PRELOADER */


body {
   font-family: 'Poppins', sans-serif;
   background-color: var(--bg);
   margin: 0;

}

.main {
   /* border: 1px solid red; */
   height: auto;
   width: 100%;
   background-color: var(--bg);
}

.head {
   /* border: 1px solid red; */
   height: 140px;
   width: 100%;
   align-content: center;
   justify-items: center;
}

.head-main {
   /* border: 1px solid red; */
   height: 80px;
   width: 90%;
   border-radius: 12px;
   display: flex;
   justify-content: space-evenly;
   align-items: center;
   background-color: var(--text-secondary);
}

.first {
   /* border: 1px solid red; */
   height: 50px;
   width: 20%;
   font-size: 35px;
   font-weight: 700;
   font-family: var(--but-font-family);
   color: var(--accent);
   text-align: center;
   align-content: center;
}

.second {
   /* border:1px solid red; */
   height: 50px;
   width: 50%;
   align-content: center;
}


.btn {
   background-color: var(--bg);
   color: var(--text);
   padding: 18px 32px;
   border: none;
   border-radius: 8px;
   font-size: 22px;
   font-weight: 600;
   cursor: pointer;
   transition: all 0.3s ease;
}


.btn:hover {
   background-color: var(--text-secondary);
   color: var(--bg);
   border: 2px solid #2b2b2b;
   transform: translateY(-2px);
   box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

ul {
   display: flex;
   list-style: none;
   font-size: 20px;
   gap: 14px;
   color: var(--heading-color);
   font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
}

.icon1{
   display: none;
}

ul li {
   position: relative;
   margin: 0px 10px;
   font-family: var(--but-font-family);
   font-weight: 500;
}

ul li:before {
   position: absolute;
   width: 0%;
   bottom: -7px;
   height: 3px;
   background-color: var(--accent);
   content: '';
   padding: 0px -10px;
   margin-left: 50%;
   transition: .5S;
}

ul li:hover::before {
   width: 100%;
   margin-left: 0px;
}

.icon {
   height: 50px;
   width: 50px;
   display: none;
   font-size: 26px;
   text-align: center;
   align-content: center;
}

.baner {
   height: auto;
  justify-items: center;
   width: 100%;
   padding: 40px 0px;
}

.main1{
   width: 90%;
   display: flex;
   justify-content: space-between;
}

.left {
   /* border: 1px solid yellow; */
   height: auto;
   width: 50%;
   /* justify-items: center; */
   align-content: center;
}

.right {
   width: 50%;
   justify-items: center;
   align-content: center;
}

.circle {
   /* border:1px solid red; */
   height: 400px;
   width: 400px;
   border-radius: 50%;
   animation: glow 1s infinite alternate;
   background-image: url(../img/md.jpg);
   background-size: cover;
}

.name {
   /* border: 1px solid red; */
   height: 60px;
   width: 65%;
   align-content: center;
   color: var(--primary);
   font-family: var(--pa-font-family);
   font-size: 30px;
   font-weight: 700;
   letter-spacing: 1px;

}

.about {
   /* border: 1px solid red; */
   height: 60px;
   align-content: center;
   font-size: 32px;
   font-weight: 800;
   font-family: var(--but-font-family);
   color: var(--text-secondary);
   width: 100%;


}

.text {
   /* border: 1px solid yellow; */
   height: auto;
   width: 100%;

}

.p {
   width: 83%;
   color: var(--text-secondary);
   font-family: var(--pa-font-family);
   line-height: 30px;
   font-weight: 500;
}

.about-me {
   /* border: 1px solid red; */
   height: auto;
   width: 100%;
   background-color: var(--bg);
}

.first-about {
   /* border: 1px solid black; */
   height: 80px;
   text-align: center;
   align-content: center;
   width: 100%;
   font-family: 'Pacifico', cursive;
   font-size: 45px;
   font-weight: 800;
   color: var(--text);
}

.about-main {
   /* border: 1px solid red; */
   height: auto;
   width: 100%;
   justify-items: center;
}

.side {
   /* border: 1px solid red; */
   height: auto;
   display: flex;
   width: 82%;
}

.about-right {
   /* border: 1px solid red; */
   height: 500px;
   width: 50%;
   align-content: center;
}

.about-left {
   /* border: 1px solid floralwhite; */
   height: 500px;
   width: 50%;
}

.img {
   /* border: 2px dashed var(--text-secondary); */
   height: 500px;
   width: 80%;
   justify-items: center;
   align-content: center;
   margin-top: 20px;
}

.main-img {
   border: 2px solid #00f2ff;
   box-shadow: 0 0 15px #00f2ff;
   height: 440px;
   width: 390px;
    background-image: url(../img/md2.jpg);
   background-size: cover;
   transition: transform 0.8s ease;

}

.img:hover .main-img {
   transform: rotateY(180deg);
}

.who {
   /* border: 1px solid red; */
   height: 70px;
   width: 60%;
   color: var(--accent);
   font-size: 27px;
   font-family: var(--but-font-family);
   align-content: center;
   font-weight: 800;
}

.about-text {
   /* border: 1px solid red; */
   height: auto;
   width: 100%;
   color: var(--text);
   line-height: 30px;
   margin-top: 16px;
}

.d {
   background-color: var(--surface);
   color: var(--bg);
   padding: 18px 32px;
   border: none;
   border-radius: 8px;
   font-size: 20px;
   font-weight: 600;
   cursor: pointer;
   transition: all 0.3s ease;
   margin-top: 20px;
}

.d:hover {
   background-color: var(--bg);
   color: var(--text-secondary);
   border: 3px solid var(--text-secondary);
   transform: translateY(-2px);
   box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.first-skill {
   /* border: 1px solid red; */
   height: auto;
   width: 100%;
   padding-bottom: 40px;
}

.my-skill {
   /* border: 1px solid black; */
   height: 80px;
   text-align: center;
   align-content: center;
   width: 100%;
   font-family: 'Pacifico', cursive;
   font-size: 45px;
   font-weight: 800;
   color: var(--text);
   margin-top: 15px;
   letter-spacing: 2PX;
}

.skills {
   width: 90%;
   margin: auto;
   padding: 20px;
   background: #0f172a;
   border-radius: 10px;
   color: white;
   max-width: 800px;
}


.skill {
   margin-bottom: 20px;
}

.skill-info {
   display: flex;
   justify-content: space-between;
   margin-bottom: 10px;
   font-size: 18px;
}

.skill-info span:first-child {
   font-size: 26px;
   font-weight: bold;
   letter-spacing: 1px;
}

.prog {
   width: 100%;
   height: 14px;
   appearance: none;
   -webkit-appearance: none;
   background: transparent;
}

.prog::-webkit-progress-bar {
   background-color: white;
   border-radius: 10px;
}

.prog::-webkit-progress-value {
   background: #ff4904;
   border-radius: 10px;
}



.project-title {
   text-align: center;
   font-size: 45px;
   font-weight: 800;
   color: white;
   /* margin-top: 9px; */
   letter-spacing: 1px;
   font-family: 'Pacifico', cursive;
}

.project-title span {
   color: #ff4904;
}

.projects {
   padding: 38px 0;
   display: flex;
   justify-content: center;
}

.container {
   width: 85%;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 35px;
}

.card {
   position: relative;
   overflow: hidden;
   border-radius: 12px;
   cursor: pointer;
}


.card img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: 0.5s;
}

.overlay {
   position: absolute;
   inset: 0;
   background: rgba(0, 0, 0, 0.7);
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   text-align: center;

   opacity: 0;
   transform: translateY(100%);
   transition: 0.4s;
}

.overlay h3 {
   color: white;
   margin: 0;
   font-size: 22px;
   transform: translateY(20px);
   transition: 0.4s;
}

.overlay p {
   color: #ddd;
   font-size: 20px;
   margin: 10px 0;
   transform: translateY(20px);
   transition: 0.4s;
}

.overlay button {
   padding: 10px 25px;
   border: none;
   background: var(--primary);
   color: white;
   border-radius: 25px;
   cursor: pointer;

   transform: translateY(20px);
   transition: 0.4s;
}

.card:hover .overlay {
   opacity: 1;
   transform: translateY(0);
}

.card:hover h3 {
   transform: translateY(0);
}

.card:hover p {
   transform: translateY(0);
   transition-delay: 0.1s;
}

.card:hover button {
   transform: translateY(0);
   transition-delay: 0.2s;
}





.contact {
   /* border: 1px solid red; */
   height: auto;
   width: 100%;
   justify-items: center;

}

.my-contact {
   /* border: 1px solid black; */
   height: 80px;
   text-align: center;
   align-content: center;
   width: 100%;
   font-family: 'Pacifico', cursive;
   font-size: 45px;
   font-weight: 800;
   color: var(--text);
}

.contact-sub {
   /* border: 1px solid red; */
   height: auto;
   width: 87%;
   display: flex;
   margin-top: 20px;
   justify-content: space-between;
}

.contact-sub1 {
   /* border: 1px solid #7c3aed; */
   height: 550px;
   width: 54%;
   backdrop-filter: blur(10px);
   border-radius: 20px;
   padding: 24px;
   background: #121b30;
}

.first-con-sub {
   /* border:1px solid red; */
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 20px;
}

.ss {
   padding: 16px;
   border-radius: 12px;
   border: 1px solid rgba(123, 97, 255, 0.1);
   background: transparent;
   color: white;
   outline: none;
   font-size: 20px;
}

.ss::placeholder {
   color: white;
}

.first-con-sub input:focus {
   border-color: #7c3aed;
   box-shadow: 0 0 10px #7c3aed;
}

.dd {
   padding: 16px;
   margin-top: 20px;
   width: 98%;
   border-radius: 12px;
   border: 1px solid rgba(123, 97, 255, 0.1);
   background: transparent;
   color: white;
   outline: none;
   width: 100%;
   font-size: 20px;
   background: #121b30;
}

.contact-sub1 textarea {
   padding: 16px;
   margin-top: 20px;
   width: 100%;
   box-sizing: border-box;
   border-radius: 12px;
   border: 1px solid rgba(247, 247, 252, 0.1);
   background: transparent;
   color: white;
   outline: none;
   font-size: 20px;
   min-height: 150px;
   max-height: 200px;
   resize: none;
}

.contact-sub1 textarea::placeholder {
   color: white;
}

select:focus {
   border-color: #7c3aed;
   box-shadow: 0 0 10px #7c3aed;
}

.contact-sub1 textarea:focus {
   border-color: #7c3aed;
   box-shadow: 0 0 10px #7c3aed;
}

.lj {
   padding: 12px;
   width: 100%;
   margin-top: 25px;
   background-color: var(--text-secondary);
   border-radius: 10px;
   color: var(--bla);
   font-family: var(--but-font-family);
   font-size: 17.5px;
   font-weight: 800;
   transition: all 0.3s ease;
   border: 3px solid transparent;
}

.lj:hover {
   transform: translateY(-6px);
   background-color: var(--bg);
   color: var(--text-secondary);
   border: 3px solid var(--text-secondary);
   box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.contact-sub2 {
   height: auto;
   width: 40%;
   border-radius: 20px;
   background: #121b30;
   justify-items: center;
   padding-bottom: 40px;
}

.phone {
   border-bottom: 1px solid rgba(123, 97, 255, 0.1);
   height: 120px;
   width: 80%;
   /* border:1px solid red; */
   display: flex;
   align-items: center;
}

.icon-circle {
   height: 55px;
   width: 55px;
   border-radius: 50%;
   text-align: center;
   align-content: center;
   color: var(--text-secondary);
   font-size: 27px;
   background-color: var(--primary);
   transition: all 0.3s ease;
}

.icon-circle:hover {
   transform: rotate(100deg);
}

.icon-side {
   height: auto;
   width: auto;
   /* font-size: 20px; */
   color: var(--text-secondary);
   margin-left: 20px;
}

.need {
   /* border: 1px solid red; */
   height: 300px;
   width: 80%;
   background: rgb(47 35 108 / 10%);
   border-radius: 10px;
}

.need-custom {
   /* border: 1px solid red; */
   height: auto;
   width: auto;
   padding: 8px 65px;
   font-size: 22px;
   font-weight: 800;
   color: var(--text-secondary);
}

.need-get {
   /* border: 1px solid red; */
   height: auto;
   width: auto;
   padding: 12px 51px;
   font-size: 16px;
   color: var(--text-secondary);
}

.need-icon {
   /* border: 1px solid red; */
   height:auto;
   width: auto;
   padding: 6px 51px;
    font-size: 16px;
   color: var(--text-secondary);
}
.need-icon i{
   color: var(--primary);
}
.lr{
     padding: 12px;
   width: 40%;
   margin-top: 20px;
   margin-left: 40px;
   background-color: var(--text-secondary);
   border-radius: 5px;
   color: var(--bla);
   font-family: var(--but-font-family);
   font-size: 17.5px;
   font-weight: 800;
   transition: all 0.3s ease;
   border: 3px solid transparent;
}
.lr:hover {
   transform: translateX(8px);
   background-color: var(--bg);
   color: var(--text-secondary);
   border: 3px solid var(--text-secondary);
   box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}
























/* PRELOADER */
@keyframes loaderAnim {
   0% {
      letter-spacing: 5px;
      filter: blur(0px);
      opacity: .95;
   }

   100% {
      letter-spacing: 15px;
      filter: blur(1px);
      opacity: .7;
   }
}

/* END PRELOADER */

@keyframes glow {
   from {
      box-shadow: 0 0 5px yellow;
   }

   to {
      box-shadow: 0 0 20px yellow;
   }
}








