/* general css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --bg: #0f1724;
    --card: #0b1220;
    --accent: #a855f7;
    --muted: #9aa4b2;
}
html, body {
  overflow-x: hidden;
} 
body {
    background: #0b0f14;
    color: #e6eef6;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
/* navbar */
.navbar {
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.6);
  transition: 0.3s;
}

.navbar .nav-link {
  color: #ddd;
  margin-right: 18px;
  transition: 0.3s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #fff;
}

.navbar-brand {
  letter-spacing: 1px;
}
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.navbar .btn-outline-light:hover {
  background: #a855f7;
  color: #fff;
  border-color: #a855f7;
}
.navbar .nav-link.active {
  color: #a855f7 !important;
}
img, .btn, .nav-link {
  transition: all 0.3s ease;
}
/* hero section */
.hero {
    padding: 6rem 0;
    text-align: left;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
} 
.hero img{
    height: 420px;
    object-fit: cover;
     transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero img:hover{
    transform: scale(1.02);

}
.text-muted {
    color: rgb(193 198 203 / 75%) !important;
}
.hero h1 {
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem)
}
.my-btn{
    background-color: #a855f7;
    border: none;
}
.my-btn:hover{
    background-color: rgb(158, 121, 226);
}
.work-btn:hover{
    background-color: rgb(158, 121, 226);
    color: white;
    border: none;
}
/* about section */
.experience{
    border-left: 5px solid #a855f7;
    padding-left: 15px;
}
.experience h6{
    font-size: 20px;
}
.experience p{
    font-size: 20px;
}
.download-btn:hover{
    background-color: rgb(158, 121, 226);
    color: white;
    border: none;
}
#about img{
    height: 385px;
    width: 430px;
    object-fit: cover;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
#about img:hover {
  transform: scale(1.02);
}
.lead {
    color: var(--muted)
}
/* service section */
.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(168,85,247,0.2);
  border-color: rgba(168,85,247,0.4);
}
.text-purple {
  color: #a855f7;
}
/* Portfolio Section */
.portfolio-card {
  background: transparent;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.img-wrap {
  position: relative;
}

.portfolio-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: all 0.4s ease;
  border-radius: 10px;
}

.portfolio-card:hover img {
  transform: scale(1.1);
  filter: brightness(50%);
}

/* Overlay effect */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.portfolio-card:hover .overlay {
  opacity: 1;
}

/* Overlay content */
.overlay-content {
  text-align: center;
  color: #fff;
  padding: 20px;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.portfolio-card:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h5 {
  color: #a855f7;
  margin-bottom: 10px;
  font-weight: 600;
}

.overlay-content p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 12px;
}

.overlay-content a {
  display: inline-block;
  color: #a855f7;
  text-decoration: none;
  font-weight: 500;
}

.overlay-content a:hover {
  color: #c293fa;
}

/* Filter Buttons */
.filter-btn {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  padding: 8px 22px;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 120px;
}
.filter-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
  color: #a855f7;
}
.filter-btn.active {
  background-color: #a855f7;
  border-color: #a855f7;
}
/* contact section */
#contact .form-control {
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-btn{
    background-color: #a855f7;
    border: none;
}
.contact-btn:hover{
    background-color: rgb(158, 121, 226);
}

.form-control {
    color: rgb(193 198 203 / 75%) !important;
    border: 2px solid rgb(193 198 203 / 75%);
}
.form-control:focus{
    outline: none;
    box-shadow: none;
    border: 2px solid rgb(193 198 203 / 75%);

}
::placeholder {
  color: rgba(193 198 203 / 75%) !important;
}
/* footer section */
.items li a {
    text-decoration: none;
}

.items li a:hover {
    color: rgb(158, 121, 226);
}

.footer-item {
    background-color: #f8fbfe;
}

.footer-item a {
    font-size: 18px;
    background: #a855f7;
    color: #fff;
    line-height: 1;
    padding: 8px 10px;
    margin-right: 4px;
    border-radius: 5px;
}

.footer-item a:hover {
    background:  rgb(158, 121, 226);
    color: #fff;
}

.footer-box h3 {
    font-size: 26px;
    font-weight: 300;
}

.footer-box p {
    font-size: 14px;
    line-height: 24px;
    color: #777777;
    padding-top: 20px;
}

.items h4 {
    font-size: 16px;
    font-weight: bold;
    color: #a855f7;
    margin-bottom: 15px;
}

.items li a i {
    padding-right: 2px;
    color:  #a855f7;
    font-size: 18px;
}

.items li a {
    color: #777777;
    line-height: 1;
}

.items ul li {
    margin: 10px 0;
}

.items p {
    font-size: 14px;
    line-height: 24px;
    color: #777777;
    padding-top: 20px;
}

.items form {
    margin-top: 30px;
    background: #fff;
    padding: 6px 10px;
    position: relative;
    border-radius: 5px;
    border: 1px solid #cde5f6;
}

.sub-box {
    position: absolute;
    top: -1px;
    right: -2px;
    bottom: -1px;
    border: 0;
    font-size: 16px;
    padding: 0 20px 2px 20px;
    background:  #a855f7;
    color: #fff;
    border-radius: 0 5px 5px 0;
    box-shadow: 0px 2px 15px rgb(0 0 0 / 10%);
}

.sub-box:hover {
    background-color: rgb(158, 121, 226);
}

.mail-box {
    border: none;
}

.mail-box:focus {
    border: none;
    outline: 0;
}

/* back to top button */

#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  z-index: 999;
  background-color: #a855f7;
  border: none;
}
#backToTop:hover {
  background-color: rgb(158, 121, 226);
}
























