 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     scrollbar-width: none;
 }

 body {
     font-family: 'Poppins', sans-serif;
     /* background-color: #121212; */
     color: rgb(255, 255, 255);
 }

 .sub-nav {

     height: 40px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     background-color: rgb(18, 18, 47);
     padding: 10px 50px;
 }

 .sub-nav h3 a {
     font-size: 15px;
 }

 .icons {
     display: flex;
     align-items: center;
     gap: 20px;
     text-decoration: none;
 }

 .sub-nav a,
 .icons a {
     color: white;
     text-decoration: none;
 }

 nav {
     height: 80px;
     background-color: rgba(255, 255, 255, 0.931);
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 10px 30px;
 }

 .nav-logo img {
     height: 70px;
     margin-left: 20px;
 }

 .nav-links ul {
     list-style-type: none;
     display: flex;
     align-items: center;
     gap: 30px;
     margin-right: 20px;
 }

 .nav-links ul li a,
 .nav-links ul li {
     text-decoration: none;
     color: black;
     transition: 0.3s ease-in;
 }

 .nav-links ul li a:hover {
     color: red;
 }

 /* Hamburger style */
 .hamburger {
     display: none;
     /* hidden on large screens */
     flex-direction: column;
     justify-content: space-around;
     width: 25px;
     height: 20px;
     cursor: pointer;
 }

 .hamburger span {
     display: block;
     height: 3px;
     background-color: black;
     border-radius: 2px;
     transition: 0.3s;
 }

 /* footer section */
 footer {
     height: 400px;
     background-color: rgb(18, 18, 47);
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 20px;
     padding: 20px;
 }

 .footer-info {
     width: 300px;
     min-height: 300px;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     gap: 15px;
     /* better than margin-bottom */
     color: white;
     font-size: 16px;
     /* footer text should be smaller */
     text-align: center;
 }

 .footer-info img {
     height: 80px;
     width: auto;
     /* keep logo aspect ratio */
 }

 .footer-info p {
     line-height: 1.6;
 }


 .footer-links {
     height: 300px;
     width: 300px;
     /* margin-left: 100px; */
     /* border: red solid 2px; */
     font-size: 16px;
     padding: 20px;
 }

 .footer-links ul {
     list-style-type: none;
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 .footer-links h1 {
     font-size: 33px;
     margin-bottom: 20px;
 }

 .footer-links ul li a {
     text-decoration: none;
     color: white;
     display: inline-block;
     /* REQUIRED */
     transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
 }

 .footer-links ul li a:hover {
     color: red;
     transform: translateX(10px);
 }

 .footer-contact {
     height: 300px;
     width: 300px;
     font-size: 16px;
     /* border: red solid 2px; */
     padding: 20px;
 }

 .footer-contact h1 {
     font-size: 34px;
     margin-bottom: 20px;
 }

 .footer-contact ul {
     list-style-type: none;
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 .footer-contact ul span {
     line-height: 1.4;
 }

 .footer-map {
     height: 300px;
     width: 300px;
     /* border: red solid 2px; */
 }

 .footer-line {
     border: 0.3px solid white;
     width: 100%;
     opacity: 0.4;
 }

 .footer-bottom {
     width: 100%;
     text-align: center;
     margin-top: 20px;
 }

 .footer-bottom hr {
     border: none;
     height: 1px;
     background: rgba(255, 255, 255, 0.2);
     margin-bottom: 10px;
 }

 .footer-bottom p {
     font-size: 14px;
     color: #ccc;
     margin: 0;
 }


 /* hero section  */
 .hero-carousel {
     height: 88vh;
     width: 100%;
     overflow: hidden;
     position: relative;
 }

 .slides {
     height: 100%;
     width: 100%;
     position: relative;
 }

 .slide {
     position: absolute;
     inset: 0;
     background-size: cover;
     background-position: center;
     opacity: 0;
     transition: opacity 1s ease-in-out;
 }

 .slide.active {
     opacity: 1;
     z-index: 1;
 }

 /* Overlay Content */
 .overlay {
     height: 100%;
     width: 100%;
     background: rgba(0, 0, 0, 0.55);
     display: flex;
     flex-direction: column;
     justify-content: center;
     padding-left: 80px;
     color: white;
     padding: 30px 60px;
 }

 .overlay h1 {
     font-size: 40px;
     margin-bottom: 15px;
     margin-left: -20px;
 }

 .overlay p {
     font-size: 18px;
     margin-bottom: 25px;
     max-width: 500px;
     opacity: 0.9;
     line-height: 1.4;
     margin-left: -20px;
 }

 .overlay a i {
     font-size: 20px;
 }


 .btn {
     width: fit-content;
     padding: 12px 30px;
     background: red;
     color: white;
     text-decoration: none;
     border-radius: 4px;
     transition: 0.3s;
     margin-left: -20px;
 }

 .btn:hover {
     background: rgb(18, 18, 47);
 }

 /* about section */
 .about-section {
     padding: 100px 10%;
     background: white;
     color: white;
 }

 .about-wrapper {
     display: flex;
     align-items: center;
     justify-content: space-around;
 }

 /* IMAGE CONTAINER */
 .about-img-box {
     position: relative;
     width: 420px;
     height: 320px;
 }

 /* FRAME (Hidden by default) */
 .img-frame {
     position: absolute;
     inset: 0;
     border: 10px solid red;
     transform: translate(20px, -20px);
     opacity: 0;
     transition: 0.4s ease;
 }

 /* IMAGE */
 .about-img-box img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     position: relative;
     z-index: 2;
     transition: 0.4s ease;
 }

 /* HOVER EFFECT */
 .about-img-box:hover img {
     transform: translate(-15px, 15px);
 }

 .about-img-box:hover .img-frame {
     opacity: 1;
 }

 /* CONTENT */
 .about-content {
     max-width: 500px;
     color: black;
 }

 .about-content h2 {
     font-size: 40px;
     margin-bottom: 15px;
 }

 .about-content p {
     font-size: 16px;
     line-height: 1.7;
     margin-bottom: 25px;
     opacity: 0.9;
 }

 /* BUTTON */
 .about-btn {
     display: inline-block;
     padding: 12px 30px;
     background: red;
     color: white;
     text-decoration: none;
     border-radius: 4px;
     transition: 0.3s;
 }

 .about-btn:hover {
     background: rgb(18, 18, 47);
 }

 /* RESPONSIVE DESGIN */
 @media (max-width: 900px) {
     .about-wrapper {
         flex-direction: column;
         text-align: center;
     }

     .about-img-box {
         width: 100%;
         max-width: 350px;
     }

     .about-content h2 {
         font-size: 32px;
     }
 }

 /* serivces section  */


 .services-section {
     padding: 100px 10%;
     background: #0b0b0b;
     color: white;
     text-align: center;
 }

 .section-title {
     font-size: 40px;
     margin-bottom: 50px;
 }

 .services-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 30px;
 }

 /* CARD */
 .service-card {
     background: #111;
     padding: 40px 30px;
     border-radius: 10px;
     text-align: left;
     position: relative;
     transition: 0.3s ease;
     transition: transform 0.3s ease, opacity 0.3s ease;
 }


 .service-card:hover {
     transform: translateY(-8px);
     background: #161616;
 }

 /* NUMBER */
 .service-number {
     font-size: 32px;
     font-weight: bold;
     color: red;
     display: block;
     margin-bottom: 15px;
 }

 /* HEADING */
 .service-card h3 {
     font-size: 20px;
 }

 /* HIDDEN CARDS */
 .hidden {
     display: none;
 }

 /* BUTTON */
 .show-more-btn {
     margin-top: 50px;
     padding: 14px 40px;
     font-size: 16px;
     background: red;
     color: white;
     border: none;
     border-radius: 4px;
     cursor: pointer;
     transition: 0.3s;
 }

 .show-more-btn:hover {
     background: white;
     color: red;
 }




 /* Services responsive  */
 @media (max-width: 1024px) {
     .services-grid {
         grid-template-columns: repeat(2, 1fr);
     }
 }

 @media (max-width: 600px) {
     .services-grid {
         grid-template-columns: 1fr;
     }

     .services-section {
         padding: 50px 10% !important;
     }

     .section-title {
         font-size: 19px;
     }
 }

 /* Testimonial Section */
 .testimonial-section {
     padding: 100px 10%;
     background: #111;
     color: white;
     height: 80vh;
 }

 .testimonial-wrapper {
     display: flex;
     align-items: center;
     gap: 80px;
 }

 /* LEFT SIDE */
 .testimonial-left h2 {
     font-size: 42px;
     line-height: 1.3;
 }

 .testimonial-left span {
     color: #f5c518;
 }

 .rating-text {
     margin: 20px 0;
     font-size: 18px;
     color: #ccc;
 }

 .rating {
     color: #f5c518;
     font-weight: bold;
 }

 .avatars {
     display: flex;
     gap: 10px;
 }

 .avatars img {
     border-radius: 50%;
     border: 2px solid #111;
 }

 /* RIGHT SIDE */
 .testimonial-right {
     position: relative;
     max-width: 500px;
     width: 100%;
 }

 .testimonial-slider {
     position: relative;
     min-height: 220px;
 }

 .review-card {
     position: absolute;
     inset: 0;
     background: #1a1a1a;
     padding: 35px;
     border-radius: 12px;
     opacity: 0;
     transform: translateX(30px);
     transition: 0.6s ease;
 }

 .review-card.active {
     opacity: 1;
     transform: translateX(0);
 }

 /* STARS */
 .stars {
     color: #f5c518;
     font-size: 18px;
     margin-bottom: 15px;
 }

 .review-card p {
     font-size: 16px;
     line-height: 1.6;
     margin-bottom: 20px;
     color: #ddd;
 }

 .review-card h4 {
     font-size: 15px;
     color: #aaa;
 }

 /* MODERN NAV BUTTONS */
 .nav-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: #222;
     color: white;
     border: none;
     width: 45px;
     height: 45px;
     border-radius: 50%;
     cursor: pointer;
     font-size: 20px;
     transition: 0.3s;
 }

 .review-header {
     display: flex;
     align-items: center;
     gap: 15px;
     margin-bottom: 20px;
 }

 .review-header img {
     width: 45px;
     height: 45px;
     border-radius: 50%;
     object-fit: cover;
     border: 2px solid #f5c518;
 }

 .review-header h4 {
     font-size: 15px;
     margin-bottom: 4px;
     color: white;
 }

 .review-header .stars {
     font-size: 14px;
 }


 .nav-btn:hover {
     background: #f5c518;
     color: #111;
 }

 .prev {
     left: -60px;
 }

 .next {
     right: -60px;
 }

 /* get in  touch */
 .get-in-touch {
     display: flex;
     align-items: center;
     justify-content: space-between;
     height: 200px;
     background-color: red;
     padding: 0 110px;
     margin: 30px;
     border-radius: 12px;
     z-index: 2;
 }

 .get-in-touch .touch-heads {
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

 .get-in-touch h2 {
     font-size: 32px;
     color: white;
     max-width: 600px;
 }

 .get-in-touch button {
     font-size: 18px;
     color: red;
     height: 40px;
     border-radius: 3px;
     border: none;
     width: 120px;
     transition: 0.2 s ease-in;
 }

 .get-in-touch button a {
     text-decoration: none;
     color: red;
 }

 .get-in-touch button:hover,
 .get-in-touch button:hover a {
     background-color: rgb(18, 18, 47);
     color: white;
     cursor: pointer;
 }


 /* counter section */
 .counter-section {
     padding: 100px 10%;
     background: url("./images/white-background-7425604_960_720.jpg");
     background-repeat: no-repeat;
     background-position: center;
     background-size: cover;
     color: white;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 50px;
 }

 .counter-section h2 {
     font-size: 40px;
     color: black;
 }

 .counter-container {
     display: flex;
     justify-content: center;
     gap: 60px;
 }

 .counter-card {
     position: relative;
     overflow: hidden;
     background: transparent;
     border: 2px solid black;
     padding: 40px 30px;
     ;
     border-radius: 12px;
     color: black;
     z-index: 1;
 }

 /* BACKGROUND LAYER */
 .counter-card::before {
     content: "";
     position: absolute;
     inset: 0;
     background: red;
     transform: translateY(-100%);
     transition: transform 0.9s ease;
     z-index: -1;
 }

 /* HOVER → TOP TO BOTTOM */
 .counter-card:hover::before {
     transform: translateY(0);
     background-color: red;
 }

 /* TEXT COLOR CHANGE */
 .counter-card:hover h3,
 .counter-card:hover span,
 .counter-card:hover p {
     color: white;
 }

 /* TEXT STYLING */
 .counter-card h3 {
     font-size: 42px;
     color: black;
     display: inline-block;
 }

 .counter-card span {
     font-size: 32px;
     margin-left: 4px;
     color: black;
 }

 .counter-card p {
     margin-top: 10px;
     color: black
 }