
/* ==========================
   MODERN GLASS NAVBAR
========================== */

/* Header */
body{
  background:linear-gradient(135deg,#0f172a,#0b1120);
  color:#fff;
}
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins', sans-serif;
}

.header_area{
  position:fixed;
  width:100%;
  top:0;
  left:0;
  z-index:999;
  transition:0.4s ease;
}
@keyframes fadeUp{
  from{opacity:0; transform:translateY(30px);}
  to{opacity:1; transform:translateY(0);}
}
/* Glass Background */
.navbar{
  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
  padding:20px 0;
  transition:0.4s ease;
  border-bottom:1px solid rgba(0,0,0,0.05);
}

/* Shrink on scroll */
.header_area.scrolled .navbar{
  padding:12px 0;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

/* Nav Items */
.menu_nav .nav-item{
  margin-left:25px;
}

.menu_nav .nav-link{
  position:relative;
  font-weight:600;
  font-size:15px;
  color:#222 !important;
  padding:5px 0;
  transition:0.3s ease;
}

/* Hover Color */
.menu_nav .nav-link:hover{
  color:#4f46e5 !important;
}

/* Animated Underline */
.menu_nav .nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-5px;
  width:0%;
  height:2px;
  background:linear-gradient(90deg,#4f46e5,#9333ea);
  transition:0.4s ease;
}

.menu_nav .nav-link:hover::after,
.menu_nav .active .nav-link::after{
  width:100%;
}

/* Active Color */
.menu_nav .active .nav-link{
  color:#4f46e5 !important;
}

/* Mobile Menu */
@media(max-width:991px){

  .navbar-collapse{
    background:rgba(255,255,255,0.95);
    padding:20px;
    margin-top:15px;
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,0.1);
  }

  .menu_nav .nav-item{
    margin:12px 0;
  }

}

/* Remove default toggler border */
.navbar-toggler{
  border:none;
}

.navbar-toggler:focus{
  box-shadow:none;
}



/*  ICONS*/


.nav-icons{
display:flex;
gap:14px;
align-items:center;
}

/* dark glass */

.nav-icons a{
width:40px;
height:40px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;

font-size:16px;
color:#e2e8f0;

background:linear-gradient(135deg,#0f172a,#0b1120);
border:1px solid rgba(255,255,255,0.12);

backdrop-filter:blur(12px);
-webkit-backdrop-filter:blur(12px);

box-shadow:0 4px 15px rgba(0,0,0,0.3);

transition:.3s;
}

/* simple hover */

.nav-icons a:hover{

color:#10102e;

background:rgba(255,255,255,0.15);

transform:translateY(-2px);

}


/* ===== HERO SECTION ===== */











/*section 1 main*/

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
  background:linear-gradient(135deg,#0f172a,#0b1120);
  overflow:hidden;
  padding-top:120px;
}

/* Glass Card */
.glass-container{
  width:100%;
  max-width:1200px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:50px;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(25px);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:25px;
  padding:70px;
  box-shadow:0 25px 50px rgba(0,0,0,0.6);
}

/* Text */
.hello{
  letter-spacing:3px;
  font-size:14px;
  color:#9aaec4;
  margin-bottom:12px;
}

.name{
  font-size:45px;
  font-weight:800;
  color:#ffffff;
  margin-bottom:15px;
}

.role{
  font-size:24px;
  font-weight:600;
  margin-bottom:20px;
  color:#dce6f2;
}

.role .typed{
  color:#ffd369;
  margin-left:6px;
}

.description{
  color:#aab8c5;
  max-width:500px;
  margin-bottom:35px;
  line-height:1.7;
  font-size:15px;
}

/* Buttons */
.hero-buttons{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.btn-primary{
  padding:13px 35px;
  background: linear-gradient(45deg,#ffd369,#ffb347);
  color:#0a192f;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.btn-primary:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 25px rgba(255,211,105,0.4);
}

.btn-glass{
  padding:13px 35px;
  border:1px solid rgba(255,255,255,0.2);
  border-radius:10px;
  color:#ffffff;
  text-decoration:none;
  transition:0.3s;
}

.btn-glass:hover{
  background:rgba(255,255,255,0.1);
  transform:translateY(-5px);
}

/* Image */
.hero-image img{
  max-width:450px;
  width:100%;
  animation:float 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6));
  will-change:transform;
}




@keyframes float{
  0%{transform:translateY(0)}
  50%{transform:translateY(-15px)}
  100%{transform:translateY(0)}
}

/* Scroll Animation */
.reveal-left,
.reveal-right{
  opacity:0;
  transition:all 1s cubic-bezier(.16,1,.3,1);
}

.reveal-left{
  transform:translateX(-80px);
}

.reveal-right{
  transform:translateX(80px);
}

.reveal-active{
  opacity:1;
  transform:translateX(0);
}

/* Tablet */
@media(max-width:992px){
  .glass-container{
    flex-direction:column;
    text-align:center;
    padding:50px;
  }

  .hero-image{
    order:-1;
  }

  .hero-image img{
    max-width:350px;
    margin-bottom:30px;
  }

  .name{
    font-size:38px;
  }

  .hero-buttons{
    justify-content:center;
  }
}

/* Mobile */
@media(max-width:576px){
  .glass-container{
    padding:30px;
  }

  .name{
    font-size:28px;
  }

  .role{
    font-size:18px;
  }

  .description{
    font-size:14px;
  }

  .hero-image img{
    max-width:250px;
  }
}













































/*about section 2 */



/* ===================== */
/* GLOBAL */
/* ===================== */




/* ===================== */
/* ABOUT SECTION */
/* ===================== */

.about{
  padding:100px 20px;
  display:flex;
  justify-content:center;
}

.about-container{
  max-width:1200px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;

 
}

/* LEFT IMAGE */

.about-image img{
  max-width:450px;
  width:100%;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6));
}

/* RIGHT CONTENT */

.about-content h5{
  color:#9aaec4;
  letter-spacing:2px;
  margin-bottom:10px;
}

.about-content h2{
  font-size:42px;
  font-weight:800;
  margin-bottom:15px;
}

.about-content h3{
  font-size:20px;
  font-weight:600;
  color:#ffd369;
  margin-bottom:20px;
}

.about-content p{
  color:#aab8c5;
  line-height:1.7;
  margin-bottom:20px;
  font-size:15px;
}

.btn-download{
  display:inline-block;
  padding:14px 35px;
  background: linear-gradient(45deg,#ffd369,#ffb347);
  color:#0a192f;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
  margin-top:20px;
}

.btn-download:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 25px rgba(255,211,105,0.4);
}

/* ===================== */
/* TABLET */
/* ===================== */

@media(max-width:992px){
  .about-container{
    flex-direction:column;
    text-align:center;
    padding:50px;
  }

  .about-content h2{
    font-size:32px;
  }

  .about-image img{
    max-width:350px;
  }
}

/* ===================== */
/* MOBILE */
/* ===================== */

@media(max-width:576px){

  .about-container{
    padding:30px;
  }

  .about-content h2{
    font-size:24px;
  }

  .about-content h3{
    font-size:16px;
  }

  .about-content p{
    font-size:14px;
  }

  .about-image img{
    max-width:250px;
  }
}





























/* section 3 service */



/* Section */
.services-section{
    min-height:100vh;
    padding:120px 20px;
    background:linear-gradient(135deg,#0f172a,#0b1120);
    display:flex;
    justify-content:center;
}

.services{
    max-width:1100px;
    width:100%;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
}

/* Card */
.service-card{
    position:relative;
    padding:40px;
    border-radius:20px;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,0.08);

    opacity:0;
    transform:translateY(80px) scale(0.95);
    transition:
        opacity 0.8s cubic-bezier(.16,1,.3,1),
        transform 0.8s cubic-bezier(.16,1,.3,1);
}

/* Visible state */
.service-card.show{
    opacity:1;
    transform:translateY(0) scale(1);
}

/* Hover */
.service-card:hover{
    transform:translateY(-10px) scale(1.02);
    border-color:rgba(255,255,255,0.2);
    box-shadow:0 20px 45px rgba(0,0,0,0.45);
}

/* Icon Box */
.icon-box{
    width:55px;
    height:55px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(56,189,248,0.1);
    margin-bottom:20px;
    transition:0.4s ease;
}

.icon-box svg{
    width:26px;
    height:26px;
    stroke:#38bdf8;
    transition:0.4s ease;
}

/* Icon hover micro animation */
.service-card:hover .icon-box{
    transform:rotate(-6deg) scale(1.08);
    background:rgba(56,189,248,0.2);
}

.service-card:hover svg{
    transform:scale(1.1);
}

/* Text */
.service-card h3{
    font-size:20px;
    font-weight:500;
    color:#ffffff;
    margin-bottom:12px;
}

.service-card p{
    font-size:14px;
    line-height:1.7;
    color:#cbd5e1;
}

/* Responsive */
@media(max-width:992px){
    .services-grid{
        grid-template-columns:1fr;
    }
}



























/* Section  4 jorny*/





/* Section */
.timeline-section{
padding:100px 8%;
}

/* Title */
.timeline-title{
text-align:center;
font-size:28px;
font-weight:600;
margin-bottom:70px;
letter-spacing:1px;
}

/* Timeline Grid */
.timeline{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:50px;
position:relative;
}

/* Horizontal Line */
.timeline::before{
content:"";
position:absolute;
top:20px;
left:0;
width:100%;
height:2px;
background:rgba(255,255,255,0.08);
}

/* Glass Card */
.timeline-item{
position:relative;
padding:30px;
border-radius:20px;
background:rgba(255,255,255,0.05);
backdrop-filter:blur(15px);
border:1px solid rgba(255,255,255,0.08);
transition:all 0.8s cubic-bezier(.17,.67,.37,1);
opacity:0;
transform:translateY(60px);
}

/* Scroll Active */
.timeline-item.show{
opacity:1;
transform:translateY(0);
}

/* Dot */
.timeline-item::before{
content:"";
position:absolute;
top:-30px;
left:30px;
width:14px;
height:14px;
border-radius:50%;
background:#38bdf8;
}

/* Hover */
.timeline-item:hover{
transform:translateY(-8px);
box-shadow:0 15px 30px rgba(0,0,0,0.4);
}

/* Text */
.year{
font-size:13px;
opacity:0.6;
margin-bottom:8px;
}

.timeline-item h3{
font-size:18px;
margin-bottom:10px;
font-weight:600;
}

.timeline-item p{
font-size:14px;
opacity:0.7;
line-height:1.6;
}

/* Responsive */
@media(max-width:768px){

   .timeline{
   grid-template-columns:1fr;
   }

   .timeline::before{
   display:none;
   }

  .heddi h1{
    font-size:42px;
  }
  .heddi p{
    font-size:16px;
  }
  .main_title h2{
    font-size:32px;
  }

  .lightbox .arrow{
    display:none;
  }
}


















/*Section  4 FOOTER*/


.modern-footer{
  width:100%;
  padding:80px 20px;
  display:flex;
  justify-content:center;
  align-items:center;
}

/* ========================= */
/* GLASS CARD */
/* ========================= */

.footer-glass{
  width:100%;
  max-width:800px;
  text-align:center;

  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:20px;

  padding:50px 30px;
  box-shadow:0 25px 60px rgba(0,0,0,0.6);

  animation:fadeUp 1.2s ease forwards;
  opacity:0;
  transform:translateY(50px);
}

/* ========================= */
/* SCROLL STYLE ANIMATION */
/* ========================= */



/* ========================= */
/* TEXT */
/* ========================= */

.copyright{
  color:#aab8c5;
  font-size:15px;
  margin-bottom:30px;
  letter-spacing:1px;
}

/* ========================= */
/* SOCIAL ICONS */
/* ========================= */

.social-icons{
  display:flex;
  justify-content:center;
  gap:20px;
}

.social-btn{
  width:55px;
  height:55px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.15);

  color:#ffffff;
  font-size:18px;
  text-decoration:none;

  transition:0.4s ease;
}

.social-btn:hover{
  transform:translateY(-8px);
  background:rgba(255,255,255,0.15);
  box-shadow:0 15px 30px rgba(0,0,0,0.5);
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media(max-width:576px){

  .footer-glass{
    padding:40px 20px;
  }

  .social-btn{
    width:45px;
    height:45px;
  }

  .copyright{
    font-size:13px;
  }

}






















/*Section 1 resume*/




/* Section Spacing */
.resume-section{
  padding:80px 10%;
}

/* Title */
.section-title{
  font-size:32px;
  font-weight:700;
  margin-bottom:40px;
  position:relative;
  display:inline-block;
}

.section-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-10px;
  width:60px;
  height:4px;
  background:#14b8a6;
  border-radius:10px;
}

/* Layout */
.resume-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
}

/* Card */
.resume-card{
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border:1px solid rgba(255,255,255,0.08);
  padding:25px;
  border-radius:20px;
  margin-bottom:25px;
  transition:0.4s;
}

/* Hover */
.resume-card:hover{
  transform:translateY(-10px);
  box-shadow:0 15px 40px rgba(0,0,0,0.4);
}

/* Date Badge */
.resume-date{
  display:inline-block;
  padding:6px 14px;
  background:#14b8a6;
  color:#0b1120;
  font-size:13px;
  border-radius:20px;
  margin:10px 0;
  font-weight:600;
}

/* Subtitle */
.resume-subtitle{
  font-size:14px;
  color:#94a3b8;
  margin-bottom:10px;
  font-style:italic;
}



/* Scroll Animation */
.fade-up{
  opacity:0;
  transform:translateY(40px);
  animation:fadeUp 1s ease forwards;
}

.fade-up:nth-child(1){animation-delay:0.2s;}
.fade-up:nth-child(2){animation-delay:0.4s;}
.fade-up:nth-child(3){animation-delay:0.6s;}
.fade-up:nth-child(4){animation-delay:0.8s;}


/* Responsive */
@media(max-width:992px){
  .resume-container{
    grid-template-columns:1fr;
  }
}









.resume-column{
  display:flex;
  flex-direction:column;
}





/*Section resume hedding*/
.heddi{
  height:60vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:0 20px;
}

/* Resume Title */
.heddi h1{
  font-size:70px;
  font-weight:700;
  letter-spacing:2px;
  background:linear-gradient(90deg,#14b8a6,#0ea5e9);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:fadeDown 1s ease forwards;
}

/* Description */
.heddi p{
  max-width:700px;
  margin-top:25px;
  font-size:18px;
  line-height:1.8;
  color:#94a3b8;
  animation:fadeUp 1.2s ease forwards;
}

/* Decorative Line */
.heddi::after{
  content:"";
  width:120px;
  height:4px;
  background:#14b8a6;
  margin-top:40px;
  border-radius:20px;
  animation:fadeUp 1.4s ease forwards;
}

/* Animations */
@keyframes fadeDown{
  from{
    opacity:0;
    transform:translateY(-30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}














/*Section 2 resume work%*/

/* Title */
.section-title{
  text-align:center;
  font-size:38px;
  font-weight:700;
  margin-bottom:60px;
  position:relative;
}

.section-title::after{
  content:"";
  width:80px;
  height:4px;
  background:#14b8a6;
  display:block;
  margin:15px auto 0;
  border-radius:10px;
}

/* Layout */
.skills-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px 60px;
}

/* Card */
.skill-card{
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(15px);
  border:1px solid rgba(255,255,255,0.08);
  padding:20px 25px;
  border-radius:18px;
  transition:0.4s;
  opacity:0;
  transform:translateY(40px);
  animation:fadeUp 1s ease forwards;
}

.skill-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(0,0,0,0.5);
}

/* Stagger animation */
.skill-card:nth-child(1){animation-delay:0.1s;}
.skill-card:nth-child(2){animation-delay:0.2s;}
.skill-card:nth-child(3){animation-delay:0.3s;}
.skill-card:nth-child(4){animation-delay:0.4s;}
.skill-card:nth-child(5){animation-delay:0.5s;}
.skill-card:nth-child(6){animation-delay:0.6s;}
.skill-card:nth-child(7){animation-delay:0.7s;}
.skill-card:nth-child(8){animation-delay:0.8s;}
.skill-card:nth-child(9){animation-delay:0.9s;}
.skill-card:nth-child(10){animation-delay:1s;}
.skill-card:nth-child(11){animation-delay:1.1s;}
.skill-card:nth-child(12){animation-delay:1.2s;}



/* Skill name */
.skill-name{
  font-weight:600;
  margin-bottom:12px;
  display:flex;
  justify-content:space-between;
}

/* Progress bar */
.progress{
  height:8px;
  background:rgba(255,255,255,0.08);
  border-radius:20px;
  overflow:hidden;
}

.progress span{
  display:block;
  height:100%;
  background:linear-gradient(90deg,#14b8a6,#0ea5e9);
  border-radius:20px;
  animation:fillBar 2s ease forwards;
}

/* Different widths */
.html{width:90%;}
.css{width:89%;}
.js{width:80%;}
.jquery{width:78%;}
.angular{width:65%;}
.php{width:80%;}
.mysql{width:68%;}
.illustrator{width:98%;}
.photoshop{width:93%;}
.corel{width:90%;}
.animate{width:85%;}
.figma{width:82%;}
.xd{width:80%;}
.wordpress{width:70%;}
.seo{width:67%;}
.smo{width:65%;}
.ppc{width:68%;}

@keyframes fillBar{
  from{width:0;}
}

/* Responsive */
@media(max-width:992px){
  .skills-container{
    grid-template-columns:1fr;
  }
}














/*portfolio-------------------------------------------------------------------------*/



.portfolio_area{
  padding:100px 8%;
}

/* Title */

.main_title{
  text-align:center;
}

.main_title h2{
  font-size:42px;
  font-weight:700;
  background:linear-gradient(90deg,#14b8a6,#0ea5e9);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.main_title p{
  margin-top:20px;
  color:#94a3b8;
  line-height:1.7;
}

/* FILTER BUTTONS */

input[type="radio"]{
  display:none;
}

.filters{
  text-align:center;
  margin:50px 0;
}

.filters label{
  display:inline-block;
  padding:10px 22px;
  margin:8px;
  border-radius:30px;
  cursor:pointer;
  font-size:14px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  transition:0.3s;
}

.filters label:hover{
  transform:translateY(-3px);
}

#all:checked ~ .filters label[for="all"],
#graphics:checked ~ .filters label[for="graphics"],
#branding:checked ~ .filters label[for="branding"],
#uiux:checked ~ .filters label[for="uiux"],
#projects:checked ~ .filters label[for="projects"]{
  background:linear-gradient(90deg,#14b8a6,#0ea5e9);
  color:#0b1120;
}

.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

/* Tablet */
@media(max-width:992px){
  .portfolio-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* Mobile */
@media(max-width:576px){
  .portfolio-grid{
    grid-template-columns:1fr;
  }
}

/* CARD */



/* LIGHTBOX */

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.95);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:0.4s;
    top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:9999;
}


.lightbox.active{
  opacity:1;
  visibility:visible;
}


.lightbox img{
  max-width:90vw;
  max-height:70vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:5px;
  cursor:default;
  user-select:none;
  will-change:transform;
  -webkit-user-drag:none;
  transition: transform 0.08s linear;
  touch-action: pinch-zoom;
}

.lightbox img.zoomed{
  transform: scale(5);
  cursor: grab;
}

.lightbox img.zoomed:active{
  cursor: grabbing;
}





@keyframes zoom{
  from{transform:scale(0.8);opacity:0;}
  to{transform:scale(1);opacity:1;}
}

/* Close Button */

.close{
  position:absolute;
  top:30px;
  right:40px;
  font-size:35px;
  cursor:pointer;
}

/* Arrows */

.arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:50px;
  cursor:pointer;
  padding:20px;
  user-select:none;
}

.prev{
  left:30px;
}

.next{
  right:30px;
}




.lightbox-content{
  max-width:900px;
  width:100%;
  text-align:center;
}
.light-title{
  margin-top:20px;
  font-size:22px;
  font-weight:600;
}

.light-desc{
  margin-top:10px;
  color:#94a3b8;
}


.portfolio-item{
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,0.04);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.08);
  transition:0.35s ease;
  box-shadow:0 10px 30px rgba(0,0,0,0.3);
  animation:fadeUp 0.6s ease;
   position:relative; /* 👈 add this */
}


.portfolio-item:hover{
  transform:translateY(-6px);
  border:1px solid rgba(20,184,166,0.5);
  box-shadow:0 20px 45px rgba(0,0,0,0.45);
}

.portfolio-item img{
  width:100%;
  height:240px;
  object-fit:cover;
  transition:0.4s ease;
}

.portfolio-item:hover img{
  transform:scale(1.05);
}

.content{
  padding:20px;
}

.content h4{
  font-size:18px;
  font-weight:600;
  color:#f1f5f9;
}

.content p{
  margin-top:6px;
  font-size:14px;
  color:#94a3b8;
}
.portfolio-item::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,0.4),transparent);
  opacity:0;
  transition:0.4s;
}

.portfolio-item:hover::before{
  opacity:1;
}







.img-box{
  position:relative;
  overflow:hidden;
}

.overlay-icons{
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,0.85),rgba(0,0,0,0.4));
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  opacity:0;
  transition:0.3s ease;
}

.img-box:hover .overlay-icons{
  opacity:1;
}




.overlay-icons a{
  width:55px;
  height:55px;
  border-radius:50%;
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.2);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  text-decoration:none;
  transition:0.35s ease;
  transform:translateY(20px);
  opacity:0;
}


/* Animate icons separately */
.img-box:hover .overlay-icons a{
  transform:translateY(0);
  opacity:1;
}

.overlay-icons a:nth-child(1){
  transition-delay:0.05s;
}

.overlay-icons a:nth-child(2){
  transition-delay:0.12s;
}

.overlay-icons a:hover{
  background:linear-gradient(
    135deg,
    rgba(255,255,255,0.15),
    rgba(255,255,255,0.05)
  );
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.3);
  transform:scale(1.12);
  box-shadow:0 10px 30px rgba(0,0,0,0.4);
  color:#fff;

}






/* FILTER LOGIC */

#graphics:checked ~ .portfolio-grid .branding,
#graphics:checked ~ .portfolio-grid .uiux,
#graphics:checked ~ .portfolio-grid .projects,

#branding:checked ~ .portfolio-grid .graphics,
#branding:checked ~ .portfolio-grid .uiux,
#branding:checked ~ .portfolio-grid .projects,

#uiux:checked ~ .portfolio-grid .graphics,
#uiux:checked ~ .portfolio-grid .branding,
#uiux:checked ~ .portfolio-grid .projects,

#projects:checked ~ .portfolio-grid .graphics,
#projects:checked ~ .portfolio-grid .branding,
#projects:checked ~ .portfolio-grid .uiux{
  display:none;
}



/* Mobile lightbox controls */






















/*contact-------------------------------------------------------------------------*/



.contact-header{
text-align:center;
padding:120px 20px 60px;
 background:linear-gradient(135deg,#0f172a,#0b1120);
}

.contact-header h1{
font-size:36px;
font-weight:700;
background:linear-gradient(90deg,#22d3ee,#38bdf8);
-webkit-background-clip:text;
color:transparent;
}
.contact-header p{
color:#cbd5f5;
max-width:600px;
margin:auto;
font-size:16px;
line-height:1.6;
}

/* layout */

.contact-body{
background:linear-gradient(135deg,#0f172a,#0b1120);
padding:120px 20px 80px;
color:white;
display:flex;
justify-content:center;
}

/* wrapper */

.contact-wrapper{
max-width:1200px;
width:100%;
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
margin:auto;
}

/* glass */

.glass{
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.15);
backdrop-filter:blur(18px);
border-radius:20px;
padding:50px;
box-shadow:0 20px 40px rgba(0,0,0,0.4);

}



/* title */

.title{
font-size:28px;
margin-bottom:30px;
color:#38bdf8;
font-weight:600;
}

/* info */

.info{
display:flex;
gap:16px;
margin-bottom:25px;
align-items:flex-start;
}

.info i{
font-size:22px;
color:#22d3ee;
}

.info h4{
font-size:17px;
margin-bottom:4px;
}

.info p{
font-size:14px;
opacity:.8;
line-height:1.6;
}

/* form */

.contact-form{
display:flex;
flex-direction:column;
gap:18px;
}

/* row */

.form-row{
display:flex;
gap:15px;
}

/* input */

.form-input{
width:100%;
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.2);
padding:14px;
border-radius:10px;
color:white;
outline:none;
transition:0.3s;
font-size:14px;
}

.form-textarea{
width:100%;
height:160px;
resize:none;
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.2);
padding:14px;
border-radius:10px;
color:white;
outline:none;
transition:0.3s;
font-size:14px;
}

/* hover */

.form-input:hover,
.form-textarea:hover{
border-color:#22d3ee;
}

.form-input:focus,
.form-textarea:focus{
border-color:#22d3ee;
box-shadow:0 0 10px rgba(34,211,238,0.4);
}

/* button */

.send-btn{
background:linear-gradient(135deg,#06b6d4,#14b8a6);
border:none;
padding:14px;
border-radius:30px;
width:180px;
color:white;
cursor:pointer;
transition:.3s;
font-weight:500;
letter-spacing:.5px;
}

.send-btn:hover{
transform:scale(1.05);
background:linear-gradient(135deg,#0ea5e9,#0d9488);
}

/* tablet */

@media (max-width:992px){

.contact-wrapper{
grid-template-columns:1fr;
}

}

/* mobile */

@media (max-width:600px){

.contact-body{
padding:100px 15px 60px;
}

.glass{
padding:30px;
}

.form-row{
flex-direction:column;
}

.send-btn{
width:100%;
}

.contact-header h1{
font-size:28px;
}

.contact-header p{
font-size:14px;
}















