*{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root{
    --color-primary: #6c63ff;
    --color-success: #00bf8e;
    --color-warning: #f7c94b;
    --color-danger: #f75842;
    --color-danger-variant: rgba(247, 88, 66, 0.4);
    --color-white: #fff;
    --color-light: rgba(255, 255, 255, 0.7);
    --color-black: #000;
    --color-bg: #1f2641;
    --color-bg1: #2e3267;
    --color-bg2: #424890;
    
    --container-width-lg: 80%;
    --container-width-md: 90%;
    --container-width-sm: 94%;

    --transition: all 400ms ease;
}

body{
    font-family: "Montserrat", sans-serif;
    line-height: 1.7; 
}

.container{
    width: var(--container-width-lg);
    margin: 0 auto;
}

section{
    padding: 6rem 0;
}

section h2{
    text-align: center;
    margin-bottom: 4rem;
}

h1, h2, h3, h4, h5{
    line-height: 1.2;
}

h1{
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3{
    font-size: 1.6rem;
}

h4{
    font-size: 1.3rem;
}

a{
    color: var(--color-white);
}

img{
    width: 100%;
    display: block;
    object-fit: cover;
}

.btn{
    display: inline-block;
    background: var(--color-white);
    color: var(--color-black);
    padding: 1rem 2rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover{
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-primary{
    background: var(--color-danger);
    color: var(--color-white);
}

/*================ NAVBAR =======================*/
nav{
    background: white;
    width: 100vw;
    height: 5rem;
    position: fixed;
    top: 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 11;
}

.window-scroll{
    background: var(--color-white);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.nav_container{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_container a{
    align-items: center;
    display: flex;
    gap: .21rem;
}
.nav_container a img{
    width: 70px;
}

.nav_container a h4{
    color: #000;
}

.nav_container a h4 span{
    color: #FFD500;
}

nav button{
    display: none;
}

.nav_menu{
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.nav_menu a{
    color: #000;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav_menu a:hover{
    color: var(--color-bg2);
}

/* ==================== locksmith-section ================= */
.locksmith-section {
  padding: 0;
  margin-top: 5rem;
}

.locksmith-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

/* === LEFT SIDE === */
.locksmith-content {
  flex: 1 1 50%;
  background: url('../images/key\ duplication.jpeg') center/cover no-repeat;
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.locksmith-content .overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 3rem;
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; 
  text-align: left;        
}

.subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.underline {
  width: 90px;
  height: 2px;
  background: #FFD500;
  display: inline-block;
}

.heading {
  text-align: left;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1;
}

.heading span {
  color: #FFD500;
}

.overlay .description{
  font-size: 1rem;
  color: #c8c8c8;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-yellow {
  background: #FFD500;
  color: #000;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
  width: fit-content; 
}

.btn-yellow:hover {
  background: #e6c200;
}

/* === RIGHT SIDE (SLIDER) === */
.locksmith-slider {
  flex: 1 1 50%;
  position: relative;
  height: 550px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  height: 100%;
  width: calc(100% * 5); 
  animation: scrollSlides 25s linear infinite;
}

.slider-track img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
  border-radius: 0;
}

@keyframes scrollSlides {
  0% { transform: translateX(0); }
  100% { transform: translateX(-95%); } 
}

    /* ==================== About us =================== */
.experience-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 4rem 2rem;
  align-items: center;
  justify-content: center;
}

.left-experience,
.right-experience {
  flex: 1 1 45%;
}

.left-experience {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* Yellow background rectangle */
.bg-yellow-box {
  background: #FFD500;
  width: 40%;
  height: 450px;
  position: absolute;
  margin-left: 330px;
  z-index: 1;
}

.left-img-1 {
  position: relative;
  z-index: 2;
  width: 80%;
  height: auto;
  object-fit: cover;
}

.left-img-2 {
  position: absolute;
  z-index: 3;
  width: 280px;
  height: auto;
  top: 60%;
  right: 0%;
  border: 8px solid white;
  transform: translateY(-50%);
  background: white;
}

/* Right Side Styling */
.right-experience .tag {
  font-size: 1rem;
  font-weight: 600;
  color: #535353;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.right-experience .tag .underline {
  height: 2px;
  width: 100px;
  background: #FFD500;
  display: inline-block;
}

.right-experience h2 {
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: left;
}

.right-experience p {
  font-size: 1rem;
  color: #898989;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-points .point {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: #898989;
}

.point i {
  background: #FFD500;
  border-radius: 50%;
  color: #ffffff;
  padding: 0.4rem;
  font-size: 1rem;
}

/* Button */
.btn-about {
  background: #FFD500;
  color: #3d3d3d;
  padding: 0.8rem 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  display: inline-block;
}

.btn-about:hover {
  background: #e6c200;
}

    /* ==================== Why choose US =================== */
.why-choose {
  height: 400px;
  position: relative;
  padding: 5rem 2rem;
  color: #fff;
  text-align: center;
  z-index: 1;
}
.why-choose .overlay {
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: -1;
}
.why-choose .tagline {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: white;
}
.why-choose .underline {
  width: 90px;
  height: 2px;
  background: #FFD500;
  display: inline-block;
}
.why-choose .heading {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  font-weight: bold;
}
.why-choose .description {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #ddd;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.feature-box {
  padding: 2rem 1.5rem;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.feature-box.white {
  background: #fff;
  color: #000;
}
.feature-box.yellow {
  background: #FFD500;
  color: #000;
}
.feature-box.black {
  background: #000;
  color: #fff;
}
.feature-box .circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}
.circle.yellow {
  background: #FFD500;
  color: #000;
}
.circle.black {
  background: #000;
  color: #fff;
}
.feature-box h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.feature-box p {
  font-size: 0.95rem;
  color: inherit;
  margin: 0;
}

/* ==================== ALL SERVICES ================= */
.services-section {
  background: #fff;
  padding: 4rem 2rem;
  margin-top: 6rem;
}

.services-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.services-intro {
  grid-column: 1 / 2;
}

.service-box {
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.service-box img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.service-box h4 {
  font-size: 1.1rem;
  color: #000;
}

.service-box p {
  font-size: 0.95rem;
  color: #7a7a7a;
}

.services-grid {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.services-grid-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tagline {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.underline {
  width: 90px;
  height: 2px;
  background: #FFD500;
  display: inline-block;
}

.title {
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 1rem;
  text-align: left;
}

.description {
  color: #7a7a7a;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-yellow {
  background: #FFD500;
  color: #000;
  padding: 0.7rem 1.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
  border-radius: 5px;
}

.btn-yellow:hover {
  background: #e6c200;
}










/* ==================== FOOTER ================= */
footer{
    position: relative;
    background: url(../images/footer\ bg.jpg) no-repeat center center/cover;
    padding-top: 5rem;
    font-size: 1rem;
    z-index: 1;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); 
    z-index: -1;
}
.footer_container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    margin: 0 auto;
}

.footer_container > div h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    letter-spacing: 0.05rem;
}

.footer_1 .footer_logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: max-content;
    background: transparent;
}

.footer_1 .footer_logo img {
    width: 60px;
    height: auto;
}

.footer_1 .footer_logo h4 {
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}


.footer_logo h4 span{
    color: #FFD500;
}

.footer_1 p{
    color: #bbbbbb;
    margin-top: 1.2rem;
}

footer ul li{
    margin-bottom: 0.7rem;
}

footer ul li a:hover{
    text-decoration: underline;
}

.footer_2{
    color: #b4b4b4;
}

.footer_2 h4{
    position: relative;
    display: inline-block;
    color: #fff;
    letter-spacing: .11rem;
}

.footer_2 h4::after {
    content: "";
    display: block;
    width: 50px; 
    height: 2px; 
    background-color: yellow;
    margin-top: 10px; 
}

.footer_2 .links li a{
    color: #b4b4b4;
}

.footer_3 h4{
    position: relative;
    display: inline-block;
    color: #fff;
    letter-spacing: .091rem;
}

.footer_3 h4::after{
    content: "";
    display: block;
    width: 60px; 
    height: 2px; 
    background-color: yellow;
    margin-top: 10px;
}

.footer_3 .privacy li a{
    color: #b4b4b4;
}

.footer_4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin: 0 auto;
}

.footer-box {
  flex: 1 1 300px;
  max-width: 300px;
  background: #fff;
  margin-top: 3rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

.footer-box a, 
.footer-box p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  font-size: .81rem;
  color: #000;
  line-height: 1.25;
}

.footer-box i {
  font-size: 2.3rem;
  background: #FFD500;
  padding: .1rem;
  border-radius: 100%;
  color: #000;
}

.box-yellow {
  background-color: #fff; 
}

.box-dark{
  background-color: #FFD500;
}

.box-dark i{
    background: #000;
    color: #fff;
}

.box-dark a{
    color: #000;
}

.footer_copyright{
    text-align: center;
    margin-top: 4rem;
    padding: 1.2rem 0;
    border-top: 1px solid #343434;
}

.footer_copyright small{
    color: #cfcfcf;
}




/* ==================== MEDIA QUERIES(TABLETS) ==================== */
@media screen and (max-width: 1024px) {
    .container{
        width: var(--container-width-md);
    }
    body{
        overflow-x: hidden;
    }
    h1{
        font-size: 2.2rem;
    }
    h2{
        font-size: 1.7rem;
    }
    h3{
        font-size: 1.4rem;
    }
    h4{
        font-size: 1.2rem;
    }

    /* ==================== NAVBAR =================== */
    nav button{
        display: inline-block;
        background: transparent;
        font-size: 1.8rem;
        color: var(--color-black);
        cursor: pointer;
    }

    nav button#close-menu-btn{
        display: none;
    }

    .nav_menu{
        position: fixed;
        top: 5rem;
        right: 5%;
        height: fit-content;
        width: 18rem;
        flex-direction: column;
        gap: 0;
        display: none;
    }

    .nav_menu li{
        width: 100%;
        height: 5.8rem;
        animation: animateNavItems 400ms linear forwards;
        transform-origin: top right;
        opacity: 0;
    }

    .nav_menu li:nth-child(2){
        animation-delay: 200ms;
    }

    .nav_menu li:nth-child(3){
        animation-delay: 400ms;
    }
    .nav_menu li:nth-child(4){
        animation-delay: 600ms;
    }

    @keyframes animateNavItems {
        0%{
            transform: rotateZ(-90deg) rotateX(90deg) scale(0.1);
        }
        100%{
            transform: rotateZ(0) rotateX(0) scale(1);
            opacity: 1;
        }
    }

    .nav_menu li a{
        background: var(--color-black);
        box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.6);
        width: 100%;
        height: 100%;
        display: grid;
        color: #FFD500;
        place-items: center;
    }

    .nav_menu li a:hover{
        background: var(--color-white);
        color: var(--color-black);

    }
 
    /* ==================== Locksmith-section =================== */
    .locksmith-wrapper {
    flex-direction: column;
  }

  .locksmith-content,
  .locksmith-slider {
    flex: 1 1 100%;
    width: 100%;
    height: auto;
    min-height: 500px;
  }

  .locksmith-content .overlay {
    padding: 2rem;
  }

  .heading {
    font-size: 2.5rem;
  }

  .locksmith-slider {
    height: 400px;
    overflow: hidden;
  }

 .slider-track {
    display: flex;
    flex-wrap: nowrap;
    width: calc(100% * 5);
    animation: scrollResponsive1024 15s linear infinite;
  }

  @keyframes scrollResponsive1024 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-55%); }
  }

  .slider-track img {
    height: 400px;
    width: auto;
    object-fit: cover;
    flex-shrink: 0;
  }

    /* ==================== About Us =================== */
  .experience-section {
    flex-direction: column;
    padding: 3rem 1.5rem;
  }

  .left-experience,
  .right-experience {
    flex: 1 1 100%;
    width: 100%;
    text-align: center;
  }

  .bg-yellow-box {
    position: absolute;
    margin-left: 0;
    left: 20%;
    width: 60%;
    height: 350px;
  }

  .left-img-1 {
    width: 90%;
  }

  .left-img-2 {
    width: 220px;
    top: 65%;
    right: 10%;
  }

  .right-experience h2 {
    font-size: 2rem;
    text-align: left;
  }

  .right-experience p {
    text-align: left;
  }

  .service-points {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .btn-about {
    margin: 0 auto;
  }

    /* ==================== Why Choose Us =================== */
.why-choose {
    padding: 3rem 1.5rem;
    height: auto;
  }

  .why-choose .heading {
    font-size: 1.8rem;
  }

  .why-choose .description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .features {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }

  .feature-box {
    padding: 1.5rem 1rem;
  }

  .feature-box h4 {
    font-size: 1.1rem;
  }

  .feature-box p {
    font-size: 0.9rem;
  }

  .circle {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

    /* ==================== All Services =================== */
.services-section{
  margin-top: 0;
}
    .services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .services-intro {
    width: 100%;
  }

  .services-grid,
  .services-grid-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .service-box {
    width: 100%;
  }

    /* ==================== Footer =================== */

     .footer_container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .footer_4 {
    gap: 1rem;
  }

  .footer-box {
    flex: 1 1 45%;
    max-width: 100%;
  }

  .footer-box a,
  .footer-box p {
    font-size: 0.9rem;
  }

  .footer-box i {
    font-size: 2rem;
  }
}



/* ==================== MEDIA QUERIES(PHONES) ======================= */
    @media screen and (max-width: 600px) {
        .container{
            width: var(--container-width-sm);
        }

    /* ==================== NAVBAR ======================= */
    .nav_container a img{
        width: 50px;
    }
    .nav_container a h4{
        font-size: 1.15rem;
    }
    
    .nav_menu{
        right: 3%;
    }

    /* ==================== Locksmith-section =================== */
    .locksmith-content,
  .locksmith-slider {
    min-height: 250px;
  }

  .locksmith-content .overlay {
    padding: 1.5rem;
  }

  .subtitle {
    margin-top: 1.9rem;
    font-size: 0.9rem;
  }

  .heading {
    font-size: 2rem;
    line-height: 1.2;
  }

  .description {
    font-size: 0.9rem;
  }

  .btn-yellow {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }

  .locksmith-slider {
    height: 250px;
    overflow: hidden;
    position: relative;
  }

  .slider-track {
    display: flex;
    flex-wrap: nowrap;
    width: calc(100vw * 5);
    animation: scrollResponsive600 6s linear infinite;
  }

  @keyframes scrollResponsive600 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-80%); }
  }

  .slider-track img {
    height: 350px;
    width: 100vw;
    display: block;
    object-fit: cover;
    flex-shrink: 0;
  }

    /* ==================== About Us =================== */
.experience-section {
    padding: 2rem 1rem;
    gap: 0;
  }

  .bg-yellow-box {
    width: 75%;
    height: 230px;
    left: 25%;
  }
.left-experience{
  min-height: 320px;
}
  .left-img-1 {
    width: 80%;
    height: 270px;
  }

  .left-img-2 {
    width: 180px;
    top: 65%;
    right: 5%;
    border: 6px solid white;
  }

  .right-experience { 
    margin-top: 0;
  text-align: left;
}

  .right-experience .tag {
    text-align: left;
    font-size: 0.85rem;
  }
  .right-experience h2 {
    text-align: left;
    font-size: 1.6rem;
  }

  .right-experience p {
    text-align: left;
    font-size: 0.95rem;
  }

  .service-points {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    justify-items: start;
  }

  .point {
    font-size: 0.95rem;
  }

  .btn-about {
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
}

    /* ==================== Why Choose Us =================== */
  .why-choose {
    height: auto;
    padding: 2.5rem 1rem;
  }

  .why-choose .heading {
    font-size: 1.6rem;
  }

  .why-choose .description {
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
  }

  .features {
    margin-bottom: 2rem;
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .feature-box {
    padding: 1.2rem 1rem;
    text-align: center;
  }

  .feature-box h4 {
    font-size: 1rem;
  }

  .feature-box p {
    font-size: 0.85rem;
  }

  .circle {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

    /* ==================== All Services =================== */


    /* ==================== Footer =================== */

    .footer_container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1.2rem;
    align-items: center;
  }

  .footer_1 .footer_logo {
    justify-content: center;
  }

  .footer_4 {
    flex-direction: column;
    align-items: center;
    padding: 0 .5rem;
    margin-top: 1rem;
  }

  .footer-box {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    margin-top: 0;
  }

  .footer-box a,
  .footer-box p {
    font-size: 0.9rem;
    flex-direction: column;
  }

  .footer-box i {
    font-size: 1.9rem;
    margin-bottom: 0.35rem;
  }

  .footer_copyright {
    padding: 1rem 0;
    margin-top: 2rem;
  }
}