*{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}

body{
    background: #000003;
    color: #fff;
}
#header{
    width: 100%;
    height: 100vh;
    background-image: url(images/bg1.jpg);
    background-size: cover;
    background-position: center;
}
.container{
    padding: 10px 10%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: 2;
}

.logo{
    width: 70px;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 25px;
    position: relative;
    font-family: "Bona Nova", serif;
    font-style: normal;
    font-weight: 600;
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}
.header-text{
    margin-top: 20%;
}
.head1 {
font-size: 30px;
}
.head2 { 
    font-size: 30px;
}
.header-text p{
    font-family: "Bona Nova", serif;
}
.header-text h1{
    font-size: 55px;
    margin-top: 20px;
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal
}
.header-text h1 span{
    color: #ff004f;
    font-family: "Libre Baskerville", serif;
    font-weight: 600;
}
.header-text h1 .green{
    color: #006a4e;
    font-family: "Libre Baskerville", serif;
    font-weight: 600;
}
.header-text h1 .red{
    color: #f42a41;
    font-family: "Libre Baskerville", serif;
    font-weight: 600;
}
/* -------------about-------- */
#about{
    padding: 80px 0;
    color: #ababab;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    width: 100%;
    border-radius: 15px;
}
.about-col-2{
    flex-basis: 60%;
}

.sub-title{
    font-size: 40px;
    font-weight: 600;
    color:#fff;
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal
}

.sub-title1{
    font-size: 40px;
    font-weight: 600;
    color:#fff;
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal
}

.me{
    font-family: "Bona Nova", serif;
    font-family: normal;
    font-weight: 200;
    font-size: 20px;
}

.tab-titles{
    display: flex;
    margin: 20px 0 40px;
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: italic;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 4px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after{
    width: 50%;
}

.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
    font-family: "Bona Nova", serif;
    font-weight: 400;
    font-style: normal;
}
.tab-contents ul li span{
    color: #b54769;
    font-size: 20px;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}

/* ======= Skill Progress Bars ======= */
.skills {
  margin-top: 30px;
}

.skill {
  margin-bottom: 20px;
}

.skill p {
  margin-bottom: 5px;
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  font-weight: 500;
}

.skill-bar {
  background: #262626;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 5px #000;
}

.skill-fill {
  height: 100%;
  line-height: 20px;
  color: white;
  text-align: right;
  padding-right: 10px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff004f, #ff6f91);
  width: 0;
  animation: fillBar 2s ease forwards;
}

.skill-fill.htmlcss { width: 90%; }
.skill-fill.js { width: 85%; }
.skill-fill.talcss { width: 65%; }
.skill-fill.bs { width: 60%; }

@keyframes fillBar {
  from { width: 0; }
  to { /* width set per class */ }
}
/* -----------Services--------- */
#services{
    padding: 30px 0;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.services-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}
.services-list div h2{
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 15px;
    font-family: "Libre Baskerville", serif;
}
.services-list div p{
    font-family: "Bona Nova SC", serif;
    font-weight: 200;
    font-style: normal;
    font-size: 14px;
}
.services-list div a{
    text-decoration: none;
    color: white;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
    font-family: "Playfair Display", serif;
}
.services-list div:hover{
    background: #ff004f;
    transform: translateY(-10px);
}
/*-------------------portfolio---------------*/
#portfolio{
    padding: 50px 0;
}
.black{
    color: #080808;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin: 50px;
}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.work img{
    width:100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.layer1{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(22,22,22, 0.06) 0%, #ff9ca8 100%);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer1 h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer1 a{
    margin-top: 20px;
    color: #ff9ca8;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
}
.work:hover img{
    transform: scale(1.1);
}  
.work:hover .layer1{
    height: 100%;
}
.layer2{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(22,22,22, 0.06) 0%, #f6cdb7 100%);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer2 h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer2 a{
    margin-top: 20px;
    color: #fdc1a1;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
}
.work:hover img{
    transform: scale(1.1);
}  
.work:hover .layer2{
    height: 100%;
}
.layer3{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(22,22,22, 0.06) 0%, #ad6439 100%);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer3 h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer3 a{
    margin-top: 20px;
    color: #ad6439;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
}
.work:hover img{
    transform: scale(1.1);
}  
.work:hover .layer3{
    height: 100%;
}
.btn{
    display: flex;
    margin: 50px auto;
    width: fit-content;
    border: 3px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
    box-shadow: 10px 10px 10px -1px rgba(10, 99, 169, 0.16), -10px -10px 10px -1px rgba(0, 0, 0, 0.7);
}
.btn:hover{
    background: #ff004f;
}
.sent{
    font-family: "Bona Nova", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
}

/*------------Contact---------*/
.contact-left{
    flex-basis: 35%;
}
.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 30px;
}
.contact-left .whatsapp i{
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;
}
.contact-left .sent i{
    color: blue;
    margin-right: 15px;
    font-size: 25px;  
}
.social-icons{
    margin-top: 30px;
}
.social-icons .fb{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #1877F2;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons .insta{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ff004f;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons .x{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ffff;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons .linkdn{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #0077B5;
    display: inline-block;
    transition: transform 0.5s;
}
.linkdn:hover{
    color: #ababab;
    transform: translateY(-5px);
}
.fb:hover{
    color: #ababab;
    transform: translateY(-5px);
}
.x:hover{
    color: #ababab;
    transform: translateY(-5px);
}
.insta:hover{
    color: #ababab;
    transform: translateY(-5px);
}
.btn.btn2{
    display: inline-block;
    background: #ff004f;
    transform-origin: all ease 0.5s;
}
.btn.btn2:hover{
    display: inline-block;
    background: transparent;
    transform-origin: all ease 0.5s;
}
button:disabled {
    background-color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262622;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}
form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}
.copyright p{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262622;
    font-weight: 300;
    margin-top: 20px;
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
}
.copyright i{
    color: #ff004f;
}
/*----------css for small screen-------*/
nav .fas{
    display: none;
}

@media only screen and (max-width: 600px){
    #header{
        background-image: url(images/phone-background2.png);
    }
    .header-text{
        margin-top: 140%;
    }
    .logo{
        position: absolute;
        top: 0;
        left: 0;
        margin: 10px;
        width: 70px;
        height: auto;
    }
    .header-text h1{
        font-size: 25px;
    }
    nav{
        position: fixed;
        z-index: 1000;
        display: flex;
        padding: 21.5px 82%;
    }
    nav .fas{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 1000;
        transition: right 0.5s;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .sub-title{
        font-size: 40px;
    }
    .sub-title1{
        font-size: 35px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    .about-col-2{
        font-size: 14px;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    .copyright{
        font-size: 20px;
    }
}
#msg {
    color: #61b752;
    margin-top: -40px;
    display: block;
}
/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: #000003;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.loader-container {
    text-align: center;
}

.loader-logo {
    width: 406px;
    margin-bottom: 30px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

.progress-bar {
    width: 200px;
    height: 10px;
    background-color: #262626;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px auto;
    box-shadow: inset 0 0 5px #000;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, #ff004f, #ff6f91);
    transition: width 0.3s ease;
}

.percent-text {
    font-family: "Libre Baskerville", serif;
    font-size: 18px;
    color: #fff;
    margin-top: 10px;
}
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  background-color: #1c1c1c;
  margin: 10% auto;
  padding: 20px;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  color: white;
  box-shadow: 0 0 30px rgba(255, 0, 80, 0.4);
  animation: zoomIn 0.4s ease;
  position: relative;
}

.modal-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.close {
  color: #ff3366;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

#scrollProgressVertical {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 0%;
  background: linear-gradient(to bottom, #ff004f, #ff6f91);
  z-index: 9999;
  transition: height 0.2s ease-out;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 10px #ff004f;
}
