body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x:hidden;
  scroll-behavior: smooth;
  transition: var(--transition);

}
:root{
    --primary-color:#3498db;
    --secondary-color:#2ecc71;
    --accent-color:#f39c12;
    --dark-color:#2c3e50;
    --light-color:#ecf0f1;
    --text-dark:#2c3e50;
    --text-light:#ecf0f1;
    --bg-light:#ecf0f1;
    --bg-dark:#2c3e50;
    --card-ligt:#ecf0f1;
    --card-dark:#2c3e50;
    --gradient: linear-gradient(
  135deg,
  var(--secondary-color),
  var(--primary-color)
);


    --shadow:0 10px 30px rgba(0,0,0,0.1);
    --transition:all 0.4s ease;


}
html{
    scroll-behavior: smooth;
}
h1,h2,h3,h4,h5,h6{
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text-dark);


}

/* contol */
/* Center carousel controls vertically */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  top: 60%;          /* middle of carousel */
  transform: translateY(-50%); 
  width: 40px;       /* optional: smaller width */
  height: 40px;      /* optional: smaller height */
  background-color: rgba(0,0,0,0.3); /* optional: semi-transparent bg */
  border-radius: 50%; /* optional: round buttons */
}

#heroCarousel .carousel-control-next {
    right: -5% !important;
}

#heroCarousel .carousel-control-prev{
    left: -5% !important;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  background-size: 50%, 50%; /* make icon bigger */
}


.section-service{
    padding: 100px 0px !important;
    
}


.section-title{
    position: relative;
    margin-bottom: 60px;
    text-align: center;
    padding: 20px 0px;
    

}
.about{
    background-color: var(--bg-light);
   padding-bottom: 50px;
}
.section-title::after{
    content: "";
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    

}
a{
text-decoration: none;
}
/* nav-bar */
.navbar{
    padding: 13px 0px;
    transition: var(--transition);
    background-color: var(--text-light);
    

}
/* Default navbar link */
.nav-link {
   color: #0d6efd;
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.3s, border-bottom 0.3s;
}

/* Hover effect for non-active links */
.nav-link:not(.active):hover {
  color: #0d6efd ;
  
}

/* Active link */
.nav-link.active {
  color:var(--gradient) !important;
  font-weight: 400;
  border-bottom: 2px solid #0d6efd;
  pointer-events: none; /* optional: prevents clicking again if needed */
}

/* Optional: you can still allow clicking but prevent hover color change */


.navbar-brand:hover{
    color: #3498db !important;
}
a.navbar-brand  {
 padding: 13px 0px;
    transition: var(--transition);
   color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    
}
/* Remove focus & active styles from nav links */
.navbar .nav-link:focus,
.navbar .nav-link:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Remove focus & active styles from hamburger button */
.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Extra (recommended for Chrome accessibility outline) */
.navbar-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    color: var(--text-dark);
    text-decoration: none; /* important if it's an <a> tag */
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom:0; /* push underline below text */
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient); /* must be a valid color */
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}
.hero{
    background: linear-gradient(135deg,#3498db,#2ecc71);
    color: white;
    padding: 180px 0 290px;
    position: relative;
    overflow: hidden;

}
.hero-content{
    position: relative;
    z-index: 1;

}
.hero h1{
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;

}
.hero p{
    font-size: 1.5rem;
    margin-bottom: 30px;

}
.hero-wave{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 0;
    
}
.profile-img{
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: contain;
    border: 5px solid rgba(255, 255, 255, 0.3);
}
.btn-primary{
border: 2px solid transparent !important;
    background: var(--gradient);
    transition: all 1s ease;
    padding: 12px 30px !important;
    
    font-weight: 500;
    transition: var(--transition) !important;
    box-shadow: var(--shadow);
     border-radius: 40px !important;
}
.btn-primary:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--bg-dark);
   
}

.about-img img{
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
/* .about-img::after{
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;

} */
.about-content{
    background-color: var(--card-ligt);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 20px;

}


.about-content i{
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;


}
.about-content:hover{
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.service-card{
    
    padding: 30px !important;
    border-radius: 20px !important;
    box-shadow: var(--shadow) !important;
    transition: var(--transition);
    height: 100% !important;
    text-align: center;
}
.service-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background: var(--gradient);
    color: white !important;
}
.service-card i{
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);

}
.service-card:hover h3,.service-card:hover i{
    color: white;
}
/* portfolio */
.portfolio-filter{
    margin-bottom: 30px;
}
.filter-btn{
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    margin: 5px;
    transition: var(--transition);
}
.filter-btn:active,.filter-btn:hover{
    background: var(--gradient);
    color: white;
    border-color: transparent;
}
.portfolio-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(52, 152, 219, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: 0.4s ease;
    color: #fff;
}

/* ✅ HOVER EFFECT */
.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-card:hover .portfolio-img {
    transform: scale(1.1);
}
.portfolio-overlay h4,.portfolio-overlay p{
    color: white;
    text-align: center;
}
/* skills */
#skills{
    padding: 50px 0px;
}
.skill-item{
    margin-bottom: 25px;
}
.skill-info{
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.skill-bar{
    height: 10px;
    background: white;
    border: 10px;
    overflow: hidden;
}
.skill-progress{
    height: 100%;
    border-radius: 10px;
    background: var(--gradient);
    width: 0;
    transition: width 1.5s ease;

}
/* testimonials */
#Testimonials{
  padding-bottom: 50px;
}
.tesstimonial-card{
padding: 30px;
border-radius: 20px;
margin: 15px;
box-shadow: var(--shadow);
transition: var(--transition);
}
.tesstimonial-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 50px 30p rgba(0,0, 0,0.1);
}
.testimonial-img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--card-ligt);
    box-shadow: var(--shadow);
    margin: 0 auto 20px;

}
.rating{
    color: #f39c12;
    margin-bottom: 15px;
    
}

/* contact */
.contact{
    position: relative;
    background: linear-gradient(135deg,#3498db,#2ecc71);
    color: white !important;
    padding-top: 50px;
    padding-bottom: 60px;
}
.phone-call a{
    text-decoration: none;
    color: white;
}
.contact .section-title p,.contact
.section-title::after{
    color: white;
}
.contact-info{
    background: rgba(253,250,250,21%);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    height: 100%;
}
.form-control{
    padding: 15px !important;
    border-radius: 10px;
    border: none !important;
    margin-bottom: 20px !important;
    background: rgba(255,255,255, 0.9);

}
.form-control:focus{
    box-shadow: 0 0 0 50px  rgba(255,255,255, 0.9);
}
.social-icons{
    margin-top: 30px;
}
.social-icon{
    display:inline-flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: white;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: var(--transition)

}
.social-icon:hover{
    transform: rotate(3deg) translateY(-5px);
    background:var(--gradient);
    color: white;
}
.contact-detail{
    display: flex;
    align-items: center;
    margin-bottom: 20px;


}
.contact-detail i{
    font-size: 1.5rem;
    margin-right: 15px;
    color: white;
    width: 30px;

}
/* footer */
footer{
    background-color:var(--dark-color);
    color: white;
    padding-top: 30px;
    padding-left: 0px;
    padding-right: 0px;
    text-align: center;
    padding-bottom: 15px;

}
.back-to-top{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
     color: white;
     align-items: center;
     justify-content: center;
     font-size: 1.5rem;
     box-shadow: var(--shadow);
     transition: var(--transition);
     opacity: 0;
     visibility: hidden;
     z-index: 999;
}
.back-to-top:active{
    opacity: 1;
    visibility: visible;

}
.back-to-top:hover{
    transform: translateY(-5px);
}

/* media */
@media (max-width: 480px) {
    #heroCarousel .carousel-control-prev{
        display: none;

    }
    #heroCarousel .carousel-control-next{
        display: none;
    }

}

