*{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
:root {
        --primary: #252525;
        --secondary: #515151;
        --accent: #e63946;
        --light: #f8f9fa;
        --dark: #212529;
        --gray: #6c757d;
        --light-gray: #e9ecef;
}

html {
        scroll-behavior: smooth;
    }

body {
        line-height: 1.6;
        color: var(--dark);
        background-color: #fff;
        overflow-x: hidden;
}
::-webkit-scrollbar{
  width: 0px;
}
body::selection{
 background-color: var(--secondary);
 color: var(--dark);
}
.span{
width: 22ch;
animation: tpying 2s steps(24) blink 0.5s step-end infinite alternate;
/* animation-name: typing;
animation-duration: 2s;
animation-timing-function: steps(24);
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: step-end;
animation-iteration-count: infinite;
animation-delay: calc(alternate); */
white-space: nowrap;
overflow: hidden;
border-right: 2px solid;
font-family: monospace;
font-size: 1em;
}
.container p{
  /* height: 100vh; */
}
@keyframes typing {
from {
  width: 0;
}
}
@keyframes blink {
  50%{
border-color: transparent;
}
}
.container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;

}

      section {
        padding: 80px 0;
      }

      h1,
      h2,
      h3,
      h4 {
        color: var(--primary);
        margin-bottom: 1rem;
        font-weight: 700;
        line-height: 1.2;
      }

      h1 {
        font-size: 3.5rem;
      }

      h2 {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 3rem;
        position: relative;
      }

      h3 {
        font-size: 1.8rem;
      }

      p {
        margin-bottom: 1rem;
        color: var(--gray);
      }

      .btn {
        display: inline-block;
        background-color: var(--secondary);
        color: white;
        padding: 12px 30px;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.9rem;
      }

      .btn:hover {
        background-color: var(--primary);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
      }

      .btn-accent {
        background-color: var(--accent);
      }

      .btn-accent:hover {
        background-color: #c1121f;
      }

      header {
        background-color: rgb(0, 0, 0);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        /* height: 7.5rem; */
      }

      .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
      }

      .logo {
        font-size: 1.8rem;
        font-weight: 800;
        color: var(--primary);
        text-decoration: none;
        display: flex;
        align-items: center;
      }

      .logo span {
        color: var(--accent);
      }

      .logo i {
        margin-right: 10px;
        color: var(--secondary);
      }

      nav {
        display: flex;
        align-items: center;
      }

      .nav-links {
        display: flex;
        list-style: none;
        /* background-color: var(--secondary); */
      }

      .nav-links li {
        margin-left: 30px;
      }

      .nav-links a {
        text-decoration: none;
        color: rgb(255, 255, 255);
        font-weight: 600;
        font-size: 1rem;
        transition: color 0.3s ease;
        position: relative;
      }

      .nav-links a:hover,
      .nav-links a.active {
        color: gray;
      }

      .nav-links a:after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        background: var(--secondary);
        left: 0;
        bottom: -5px;
        transition: width 0.3s ease;
      }

      .nav-links a:hover:after,
      .nav-links a.active:after {
        width: 100%;
      }

      .toggle-menu {
        display: none;
        /* background: none; */
        border: none;
        font-size: 1.5rem;
        color: var(--primary);
        cursor: pointer;
        /* margin-left: 20rem; */
        /* width: 10rem; */
        /* justify-content: left; */
      }

      .hero {
        background: linear-gradient(
            rgba(0, 0, 0, 0.856),
            rgba(22, 22, 22, 0.532)
          ),
          url("assets/mohd-fikri-uyT9b-FT_zk-unsplash.webp");
        background-size: cover;
        background-position: center;
        color: white;
        padding: 180px 0 100px;
        text-align: center;
        margin-bottom:3% ;
        margin-top: -1rem;
      } 

      .hero h1 {
        color: white;
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
      }

      .hero p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto 2rem;
      }

      .work-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 40px;
      }

      .work-item {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
      }

      .work-item:hover {
        transform: translateY(-10px);
      }

      .work-img {
        height: 250px;
        width: 100%;
        background-size: cover;
        background-position: center;
      }

      .work-content {
        padding: 20px;
        background-color: white;
      }

      .services {
        background-color: var(--light);
      }

      .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 40px;
      }

      .service-card {
        background-color: white;
        padding: 40px 30px;
        border-radius: 8px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
      }

      .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
      }

      .service-icon {
        font-size: 2.5rem;
        color: var(--secondary);
        margin-bottom: 20px;
      }

      .testimonial-slider {
        max-width: 800px;
        margin: 40px auto 0;
        position: relative;
      }

      .testimonial {
        background-color: white;
        padding: 40px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        text-align: center;
        margin: 0 20px;
        display: none;
      }

      .testimonial.active {
        display: block;
        animation: fadeIn 0.8s ease;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }

      .client-img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        margin: 0 auto 20px;
        background-size: cover;
        background-position: center;
        border: 3px solid var(--light-gray);
      }

      .client-name {
        font-weight: 700;
        color: var(--primary);
        margin-top: 20px;
      }

      .slider-controls {
        display: flex;
        justify-content: center;
        margin-top: 30px;
      }

      .slider-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: var(--light-gray);
        margin: 0 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
      }

      .slider-dot.active {
        background-color: var(--secondary);
      }

      .faq {
        background-color: var(--light);
      }

      .faq-container {
        max-width: 800px;
        margin: 40px auto 0;
      }

      .faq-item {
        background-color: white;
        margin-bottom: 15px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
      }

      .faq-question {
        padding: 20px;
        font-weight: 600;
        color: var(--primary);
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .faq-answer {
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
      }

      .faq-answer.open {
        padding: 0 20px 20px;
        max-height: 300px;
      }

      .faq-toggle {
        transition: transform 0.3s ease;
      }

      .faq-item.active .faq-toggle {
        transform: rotate(45deg);
      }

      /* Pages */
      .page {
        display: none;
        padding-top: 120px;
      }

      .page.active {
        display: block;
      }

      .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
      }

      .about-img {
        height: 450px;
        background-size: cover;
        background-position: center;
        border-radius: 8px;
      }

      .service-detail {
        margin-bottom: 60px;
      }

      .contact-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
      }

      .contact-info {
        margin-bottom: 30px;
      }

      .contact-info i {
        color: var(--secondary);
        margin-right: 15px;
        width: 20px;
      }

      .contact-form input,
      .contact-form textarea {
        width: 100%;
        padding: 15px;
        margin-bottom: 20px;
        border: 1px solid var(--light-gray);
        border-radius: 4px;
        font-size: 1rem;
      }

      .contact-form textarea {
        height: 150px;
        resize: vertical;
      }

      footer {
        background-color: var(--primary);
        color: white;
        padding: 70px 0 30px;
      }

      .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
        margin-bottom: 50px;
      }

      .footer-column h3 {
        color: white;
        font-size: 1.3rem;
        margin-bottom: 25px;
        position: relative;
      }

      /* .footer-column h3:after {
        content: "";
        position: absolute;
        width: 40px;
        height: 3px;
        background-color: var(--accent);
        bottom: -8px;
        left: 0;
      } */

      .footer-links {
        list-style: none;
      }

      .footer-links li {
        margin-bottom: 10px;
      }

      .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;
      }

      .footer-links a:hover {
        color: white;
      }

      .social-icons {
        display: flex;
        margin-top: 20px;
      }

      .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        margin-right: 10px;
        color: white;
        text-decoration: none;
        transition: background-color 0.3s ease;
      }

      .social-icons a:hover {
        background-color: var(--accent);
      }

      .copyright {
        text-align: center;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
      }

      @media (max-width: 992px) {
        h1 {
          font-size: 2.8rem;
        }

        h2 {
          font-size: 2.2rem;
        }

        .about-content,
        .contact-container {
          grid-template-columns: 1fr;
        }

        .about-img {
          height: 300px;
        }
      }
      
      
      @media (max-width: 768px) {
        .toggle-menu {
          display: block;
          justify-content: right;
          background: #252525;
          color: #4d4a4a;
          border: none;
          width: 2.5rem;
          height: 2.5rem;
          border-radius: 0.3rem;
          margin-left: 20rem;
        }

        .nav-links {
          position: fixed;
          top: 80px;
          left: 0;
          width: 100%;
          background-color: var(--secondary);
          flex-direction: column;
          align-items: center;
          padding: 20px 0;
          box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
          transform: translateY(-100%);
          opacity: 0;
          visibility: hidden;
          transition: all 0.3s ease;
          z-index: 999;
        }

        .nav-links.active {
          transform: translateY(0);
          opacity: 1;
          visibility: visible;
        }

        .nav-links li {
          margin: 20px 0;
        }

        .hero {
          padding: 150px 0 80px;
        }

        .hero h1 {
          font-size: 2.5rem;
        }

        section {
          padding: 60px 0;
        }
      }
      @media (max-width: 580px){
        .toggle-menu {
          display: block;
          margin-left: 12rem;
          width: 2.5rem;
          height: 2.5rem;
          background: #252525;
          color: #4d4a4a;
        }
        .nav-links {
          background-color: var(--secondary);
        }
        .header-container a img{
          height: 2rem;
          width: 17rem;
        }
        h1 {
          font-size: 2.2rem;
        }

        h2 {
          font-size: 1.8rem;
        }

        .hero h1 {
          font-size: 2rem;
        }

        .work-grid,
        .services-grid {
          grid-template-columns: 1fr;
        }

        .testimonial {
          padding: 30px 20px;
        }
      }  
            @media (max-width: 550px){
        .toggle-menu {
          display: block;
          margin-left: 9rem;
          width: 2.5rem;
          height: 2.5rem;
          background: #252525;
          color: #4d4a4a;
        }
        .header-container a img{
          height: 2rem;
          width: 17rem;
        }
        .nav-links {
          background-color: var(--secondary);
        }
      }
      @media (max-width: 511px){
        .toggle-menu {
          display: block;
          margin-left: 7rem;
          width: 2.5rem;
          height: 2.5rem;
          background: #252525;
          color: #4d4a4a;
        }
        .nav-links {
          background-color: var(--secondary);
        }
        .header-container a img{
          height: 2rem;
          width: 17rem;
        }
      }
      @media (max-width: 400px){
        .toggle-menu {
          display: block;
          margin-left: 1rem;
          width: 2.5rem;
          height: 2.5rem;
          padding:0rem 0.5rem;
          /* background:none; */
          color: #4d4a4a;
        }
        .nav-links {
          background-color: var(--primary);
        }
        .container a img{
          width: 14rem;
          height: 6rem;

        }
      }
      
      .slider-controls{
        /* position: absolute; */
        margin-bottom: 2rem;
      }
    