
*{ 
    margin: 0;
    padding: 0;
    font-family: 'Poppins' , 'sans-serif';
    box-sizing: border-box;

}
html{
    scroll-behavior: smooth;
}
body{
   background-image:
   linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
   url(../images/GPT_Image_1_As_a_professional_graphic_design_expert_a_highend_0\ \(1\).png);
  color: #fff;
  background-size: cover;
  background-position: center;
  
  background-repeat: no-repeat;
  background-attachment: fixed;
    
}
#header{
    width: 100%;
    height: 100vh;
    background-image: url(images/background\ 2.png);
    
    background-size: cover;
    background-position: center;
}
.container{
    padding: 10px 10%;


}
.hero{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
}
.header-image{
    flex-basis: 40%;
    text-align: right;
}

.header-image img{
    width: 100%;
    max-width: 400px;
    border: 4px solid #D69DB4;
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(214,157,180,0.6);
    animation: floatImage 4s ease-in-out infinite;
    transition: transform 0.4s;
    
    
}
.header-image img:hover{
    transform: scale(1.05);
}
@keyframes floatImage{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-15px);
    }
    100%{
        transform: translateY(0);
    }
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo{
    width: 140px;
}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #EBA4C6;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;

}
/* ===== Header Text ===== */
.header-text{
    font-size: 22px;
    color: #fff;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

/* ===== Main Title ===== */
.header-text h1{
    font-size: 48px;
    margin-top: 15px;
    color: #fff;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.3s;
}

/* ===== Name Highlight ===== */
.header-text h1 span{
    color: #EBA4C6;
    text-shadow: 0 0 15px rgba(235,164,198,0.6);
    animation: glow 2s ease-in-out infinite alternate;
}

/* ===== Animations ===== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(235,164,198,0.4);
    }
    to {
        text-shadow: 0 0 20px rgba(235,164,198,0.9);
    }
}


.hero-buttons{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:18px;
  margin-top:35px;
}

/* Base Button */
.hero-btn{
  position:relative;
  width:220px;
  padding:14px 0;
  font-size:16px;
  font-weight:600;
  border-radius:50px;
  text-decoration:none;
  text-align:center;
  letter-spacing:0.4px;
  transition:all .25s ease;
  cursor:pointer;
  overflow:hidden;
}

/* Light sweep effect */
.hero-btn::before{
  content:'';
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transition:.6s;
}

.hero-btn:hover::before{
  left:120%;
}

/* Primary Button */
.hero-btn.primary{
  background:#EBA4C6;
  color:#fff;
  border:none;
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
}

/* Secondary Button */
.hero-btn.secondary{
  background:transparent;
  color:#EBA4C6;
  border:2px solid #EBA4C6;
}

/* Hover */
.hero-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,0.3);
}

/* Click */
.hero-btn:active{
  transform:translateY(1px);
}
/*-------------------- 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%;
    color: #fff;
}
.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
    
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #EBA4C6;
    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;
}
.tab-contents ul li span{
    color: #EBA4C6;
    font-size: 14px;

}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}
/*--------------------services-------------------*/
#services{
    margin: 0;
    padding: 0;
    
   
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
    
}
.services-list div{
    background: #EBA4C6;
    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: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.services-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.services-list div:hover{
    background: #986E9F;
    transform: translateY(-10px);
}
.details-section{
    min-height: 100vh;
    padding: 40px 0;
    display: none;
    
    
}

.details-section h1{
    font-size: 40px;
    margin-bottom: 0px;
}

.details-section h3{
    margin-top: 0px;
    color: #EBA4C6;
}

.details-section ul{
    margin-top: 10px;
    line-height: 1.8;
}

.back-btn{
    display: inline-block;
    margin-top: 40px;
    text-decoration: none;
    color: #fff;
    background: #EBA4C6;
    padding: 12px 25px;
    border-radius: 6px;
}

.details-section:target{
    display: block;
}
form .btn2 {
    display: block;      
    margin-bottom: 18px;  
}

#status {
    margin: 0;            
    font-size: 16px;
    font-weight: 500;
    text-align: left; 
}


/*--------------------portfolio-------------------*/
#portfolio{
    padding: 1px 0;
    

}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.work img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
    
}
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6), #EBA4C6);
    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;
}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;

}
.layer a{
    margin-top: 20px;
    color: #EBA4C6;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;

}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #EBA4C6;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}
.btn:hover{
    background: #EBA4C6;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}
.project-content{
  

  max-width: 900px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 15px;
  overflow-y: auto;
  max-height: 100vh;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(152, 110, 159, 0.4);
}

.project-content h2{
  margin-bottom: 10px;
  color: #EBA4C6;
}

.project-intro{
  margin-bottom: 20px;
  color: #fff;
}

.project-section{
  margin-top: 20px;
}

.project-section h3{
  margin-bottom: 10px;
  color: #EBA4C6;
}

.project-section img{
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
}
.project-overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  z-index: 999;
}
.project-img {
  width: 100%; 
  height: auto; 
  display: block; 
  margin: 0 auto; 
}

/* ================= Portfolio Buttons Only ================= */
.portfolio-filter{
  margin-bottom: 30px;
  text-align: center;
}
.portfolio-filter button{
  margin: 0 10px;
  padding: 10px 25px;
  margin-top: 20px;
  background: #EBA4C6;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.portfolio-filter button:hover{
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.portfolio-filter button.active{
  background: #986E9F;
  transform: translateY(-2px);
}


/*--------------------contact-------------------*/
.contact-left{
    flex-basis: 35%;

}
.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color:  #EBA4C6;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #262626;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: #986E9F;
    transform: translateY(-5px);
}
.btn.btn2{
    display: inline-block;
    background: #EBA4C6;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    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{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
}
.copyright i{
    color: #EBA4C6;

}
.project-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 9999;
}

.project-overlay:target{
    opacity: 1;
    pointer-events: auto;
}

.project-img{
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    transform: scale(1);
    transition: transform 0.4s ease;
    
}
.project-overlay:target .project-img{
    transform: scale(1);
}

.close-btn{
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 45px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
     
    
}

.close-btn:hover{
    color: #EBA4C6;
    transform: rotate(90deg);
}

/*--------------------css for small screens-------------------*/
nav .fa-solid{
    display: none;
}
@media only screen and (max-width: 768px){
    #header {
        height: auto;
        min-height: 90vh;
        padding: 30px 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
        
    }

    .hero {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 25px;
        padding: 20px 0;
    }

/* ===== Header Text (Mobile) ===== */
.header-text {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    line-height: 1.5;

    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 0.8s ease forwards;
}

/* ===== Title ===== */
.header-text h1 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;

    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.3s;
}

/* ===== Name Highlight ===== */
.header-text h1 span {
    font-size: 40px;
    color: #EBA4C6;
    text-shadow: 0 0 20px rgba(235,164,198,0.7);

    animation: glowMobile 2s ease-in-out infinite alternate;
}

/* ===== Animations ===== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glow*/
@keyframes glowMobile {
    from {
        text-shadow: 0 0 8px rgba(235,164,198,0.4);
    }
    to {
        text-shadow: 0 0 16px rgba(235,164,198,0.8);
    }
}

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
        letter-spacing: 0.5px;
        color: #fff;
    }

    .header-image {
        flex-basis: 100%;
        margin-top: 15px;
        text-align: center;
    }

    .header-image img {
        width: 95%;
        max-width: 400px;
        margin: 0 auto;
        border-radius: 50%;
        border: 4px solid rgba(214,157,180,0.6);
        box-shadow: 0 10px 30px rgba(214,157,180,0.5);
        animation: floatImage 3s ease-in-out infinite;
        transition: transform 0.5s, box-shadow 0.5s;
    }

.hero-buttons{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  margin-top:25px;
}

/* Base Button */
.hero-btn{
  position:relative;
  width:220px;
  padding:14px 0;
  font-size:16px;
  font-weight:600;
  border-radius:50px;
  text-decoration:none;
  text-align:center;
  letter-spacing:0.4px;
  transition:all .25s ease;
  cursor:pointer;
  overflow:hidden;
}

/* Light micro effect */
.hero-btn::before{
  content:'';
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transition:.6s;
}

.hero-btn:hover::before{
  left:120%;
}

/* Primary Button */
.hero-btn.primary{
  background:#EBA4C6;
  color:#fff;
  border:none;
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
}

/* Secondary Button */
.hero-btn.secondary{
  background:transparent;
  color:#EBA4C6;
  border:2px solid #EBA4C6;
}

/* Hover */
.hero-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,0.3);
}

/* Click */
.hero-btn:active{
  transform:translateY(1px);
}
    nav .fa-solid{
    display: block;
    font-size: 25px; 
}
nav ul{
    background: #EBA4C6;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2;
    transition: right 0.5s;
    

}
nav ul li{
    display: block;
    margin: 25px;

}
nav ul .fa-solid{
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;

}
.sub-title{
    font-size: 40px;
}
.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: 14px;
    
}

}
#status{
    margin-top: -10px;
    display: block;
}
@media (max-width: 768px){
    .close-btn{
        position: fixed;
        top: 18px;
        right: 20px;
        z-index: 10000;
        font-size: 30px;
        color: #fff;
        background: none;
        width: auto;
        height: auto;
        display: block;
        border-radius: 0;
        text-shadow: 0 2px 8px rgba(0,0,0,0.8);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .close-btn:active{
        transform: scale(0.85);
        opacity: 0.7;
    }
}
/* Portfolio Buttons Responsive */

@media (max-width: 768px) {
  .portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 42px; /* move buttons slightly down */
  }

  .portfolio-filter button {
    margin: 7px;
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .portfolio-filter {
    gap: 6px;
    margin-top: 32px; /* adjust for smaller screens */
  }

  .portfolio-filter button {
    padding: 7px 14px;
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  .work-list {
    grid-template-columns: 1fr; /* projects stacked */
    gap: 20px;
  }
}
