*{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background: hsl(0, 0%, 3%);
    color: #fff;
}
#header {
  width: 100%;
  height: 100vh;
  background-image: url("image/backg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  #header {
    background-image: url("image/backg-mobile.jpg"); /* replace with your actual mobile image */
  }
}


.container{
    padding: 10px 10%;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo{
    width: 140px;
}
nav ul li{
    display: inline-block;
    margin: 10px 20px;
    list-style: none;
}
nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    position: relative;
}
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%;
    font-size: 28px;
}
.header-text h1{
    font-size: 50px;
    margin-top: 20px;
}
.header-text h1 span{
    color: #ff004f;
}

/*   about */
.about{
    padding: 80px 0;
    color: #ababab;
}

.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    width: 100%;
    border-radius: 15px;
    height: auto;
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-2{
    width: 60%;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
    align-items: center;
  }

  .about-col-1,
  .about-col-2 {
    width: 100%;
    text-align: center;
  }

  .about-col-2 p {
    padding: 0 20px;
    font-size: 15px;
    line-height: 1.6;
  }

  .sub_title {
    font-size: 32px;
  }
}
@media (max-width: 768px) {
  .tab-titles {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .tab-links {
    margin-right: 0;
    font-size: 16px;
  }

  .tab-contents ul li {
    font-size: 15px;
    text-align: center;
  }

  .tab-contents ul li span {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
  }
}


.sub_title{
    font-size: 50px;
    font-weight: 600;
}
.tab-titles{
    display: flex;
    padding: 20px 0 40px;
    transition: 0.4s;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    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;
}
.tab-contents ul li span{
    color: #b54769;
    font-size: 15px;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}

/*   Service */
.services{
    padding: 30px 0;
}
.service-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.service-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
    
}
.service-list div i {
    font-size: 50px;
    margin-bottom: 30px;
    color: #ff004f; /* make the icon red */
}

.service-list div h2{
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 30px;
}
.service-list div a{
    text-decoration: none;
    font-size: 12px;
    color: #fff;
    margin-top: 20px;
    display: inline-block;

}
.service-list div:hover {
    background: #ff004f;
    transform: translateY(-10px);
}
.sub_titl{
    font-size: 50px;
    font-weight: 600;
    padding-left: 140px;
}
#portfolio{
    padding: 50px 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%;
    display: block;
}
.contact-left{
    flex-basis: 35%;

}
.contact-left p {
  margin-top: 30px; 
  display: flex;
  align-items: center;
  gap: 10px; 
  font-size: 16px;
}

.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 30px 0;
}
.contact-left p i{
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;
}
.contact-left p a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-left p a:hover {
  color: #ff004f;
}

.btn{
    display: inline-block;
    background: #ff004f;
    margin: 50px auto;
    width: fit-content;
    border-radius: 6px;
    padding: 15px 50px;
    color: #fff;
    text-decoration: none;
}
.social-icon{
    margin-top: 30px;
}
.social-icon a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icon a :hover{
    color: #ff004f;
    transform: scale(1.3);
    transition: .4s;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    font-size: 18px;
    border-radius: 8px;
}
form button.btn {
    background: #ff004f;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

form button.btn:hover {
    background: #e60047;
    transform: scale(1.05);
}

form button.btn:hover {
    background: #e60047;
    transform: scale(1.05);
}
/* Make form placeholder text italic */
::placeholder {
    font-style: italic;
    color: #bbb;
}

/* Make typed input text white */
form input, form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    font-size: 18px;
    border-radius: 8px;
    color: #fff; /* typed text color */
}
.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.tech-icons img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s;
}

.tech-icons img:hover {
    transform: scale(1.2);
}
@media (max-width: 600px) {
    .tech-icons img {
        width: 40px;
        height: 40px;
    }
}
.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.tech-item p {
    margin-top: 8px;
    font-size: 14px;
    color: #fff;
    text-align: center;
}
/* Responsive Hamburger Menu */
.menu-icon {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 10%;
    z-index: 1000;
}
.menu-icon {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 25px;
  right: 10%;
  z-index: 1000;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    position: absolute;
    top: 60px;
    right: 10%;
    z-index: 999;
    border-radius: 8px;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
    text-align: center;
  }

  .menu-icon {
    display: block;
  }
}
@media (max-width: 768px) {
  nav ul {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    display: none;
  }

  nav ul.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  nav ul {
    flex-direction: column;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    padding: 20px;
    position: absolute;
    top: 60px;
    right: 10%;
    z-index: 999;
    border-radius: 12px;
    min-width: 150px;
  }

  nav ul li {
    margin: 12px 0;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .header-text {
    text-align: center;
    margin-top: 30%;
  }

  .header-text p {
    font-size: 16px;
  }

  .header-text h1 {
    font-size: 30px;
    line-height: 1.3;
  }
}
@media (max-width: 768px) {
  #header {
    height: auto;
    padding-bottom: 30px;
  }
}
@media (max-width: 768px) {
  #header {
    height: 70vh; /* Reduce from 100vh */
    background-position: center top;
  }

  .header-text {
    margin-top: 10%;
    margin-right: 200px;
    text-align: left;
  }

  .header-text h1 {
    font-size: 20px;
    line-height: 1.4;
  }

  .header-text p {
    font-size: 20px;
  }
}
.typing-text {
  border-right: 2px solid #ff004f;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  font-size: 18px;
  color: #fff;
  animation: blinkCursor 0.8s steps(1) infinite;
}

@keyframes blinkCursor {
  50% {
    border-color: transparent;
  }
}
.footer {
  width: 100%;
  background-color: #111;
  color: #bbb;
  padding: 30px 0;
  text-align: center;
  clear: both;
}

.footer-content {
  max-width: 100%;
  margin: 0 auto;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  color: #bbb;
  margin: 0 10px;
  font-size: 20px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #ff004f;
}
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ff004f;
  color: white;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 18px;
  display: none;
  z-index: 1000;
}

.scroll-top.show {
  display: block;
}
