/* ------------------------------
   FONT & ROOT VARIABLES
--------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --brand: #D41F24;
  --dark: #FDBE33;
  --white: #fff;
  --gray: #6c757d;
  --body: #333333;
  --bg: #f7f8fb;
  --card: #ffffff;
    

  /* Effects */
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
  --radius: 12px;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem; 
  --gap: 20px;

  /* Container widths */
  --container-lg: 1200px;
  --container-md: 960px;
  --container-sm: 720px;

  /* Font scale */
  --fs-xs: 0.75rem;   /* 12px */
  --fs-sm: 0.875rem;  /* 14px */
  --fs-base: 1rem;    /* 16px */
  --fs-lg: 1.25rem;   /* 20px */
  --fs-xl: 1.5rem;    /* 24px */
  --fs-2xl: 2rem;     /* 32px */
  --fs-3xl: 2.5rem;   /* 40px */
  --fs-4xl: 3rem;     /* 48px */
}

/* ------------------------------
   BASE
--------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
}

html, body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

h1 { font-size: var(--fs-4xl); color: var(--brand); }
h2 { font-size: var(--fs-3xl); color: var(--brand); }
h3 { font-size: var(--fs-2xl); color: var(--dark); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-sm); }


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

img {
    max-width: 100%;
} 

/* General icon style */
.icon {
    width: 24px;   /* default size */
    height: 24px;
    stroke: black; /* default color */
}

/* Different sizes */
.icon-sm {
    width: 16px;
    height: 16px;
}
.icon-md {
    width: 32px;
    height: 32px;
}
.icon-lg {
    width: 48px;
    height: 48px;
}

.container {
    width: 80%;
    margin: 0 auto;
}
    
.overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
    
.title {
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}
    
.desc {
    margin-bottom: 50px;
    line-height: 1.2;
    font-size: 48px;
    color: var(--brand);
}

/* header */ 
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    padding: 0;
}

.logo {
    margin-right: 200px;
}

.pre-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    width: 300px;
}

.contact {
    align-items: start;
}

#menuIcon {
    display: none;
}

/* header */ 
.contact {
    display: flex;
    justify-content: space-between;
    flex: 1;
}

.time,
.call,
.email {
    display: flex;
    align-items: center;
}

.time p,
.call p,
.email p {
    font-weight: bold;
}

.time .icon,
.call .icon,
.email .icon {
    stroke: var(--brand);
    margin-right: 8px;
}
/* 
.time img {
    width: 40px;
    margin-right: 16px;
}
 */
.hour {
    display: flex;
    flex-direction: column;
    
}
/* navbar */ 
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .container {
    display: flex;
    background: var(--dark);
    background: #d39100;
    padding: 20px;
    justify-content: space-between;
    align-items: center;
}

ul {
    list-style: none;
}

ul li {
    display: inline-block;
    margin-right: 20px;
    font-weight: bold;
}

ul li a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    transition: 0.5s;
}

ul li a:hover {
    color: var(--brand);
}

.quote {
    border: 2px solid #fff;
    color: #fff;
    border-radius: 2px;
    text-decoration: none;
    padding: 10px 12px;
}

.hero {
    /* background: url(./images/IMG-20250928-WA0010.jpg) no-repeat center/cover; */
    background: url(./images/banner.jpg) no-repeat center/cover;
    height: 100vh;
    position: relative;
}

.hero .overlay {
    position: absolute; 
    left: 0; 
    top: 0; 
    width: 100%;
    height: 100%;
    background: #00000091;
}

.hero .text-box {
    width: 60%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

.hero .text-box h1 {
    color: #fff;
    font-size: 48px;
    margin-bottom: 24px;
}

.hero .text-box p {
    margin-bottom: 30px;
    margin-top: 30px;
}

/* .hero .btn-box {
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    margin: 0 auto;
    border-radius: 3px;
}
 */

.hero .btn-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--brand);
  width: fit-content;
  padding: 12px 20px;
  margin: 0 auto;
}

.hero .btn {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    margin-left: ;
}

.card-wrapper {
    background: var(--brand);
    color: #fff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card-wrapper .card {
    display: flex;
    align-items: center;
    color: #fff;
    transition: 0.5s;
    color: var(--dark);
    padding: 60px 20px;
}

.card-wrapper .card.second {
    background: var(--dark);
    color: var(--brand);
}

.card-wrapper .card.second h3 {
    color: var(--brand);
}

.card-wrapper .card .icons {
    margin-right: 16px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.card-wrapper .card.second .icons .icon {
    stroke: var(--brand);
}

.card-wrapper .card .icons .icon {
    stroke: var(--dark);
}


/* ====================================
   ABOUT
==================================== */
.about {
    padding: 80px 0;
}

.about .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; 
    align-items: center;
}

.about-right .span {
  color: var(--brand);
}

.about-left img {
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

.about-right {
    text-align: left;
}

.about-left .icons {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: -40px;
    z-index: 10;
}

.about .about-div {
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.about .about-div .icon {
    stroke: var(--dark);
    margin-right: 16px;
}

.about .about-div div:last-child p {
    font-weight: 500;
}

.about h1 {
    line-height: 1.2;
    font-size: 36px;
}

/* === About Section Animation === */
.about-left,
.about-right {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.about-left.show,
.about-right.show {
  opacity: 1;
  transform: translateY(0);
}

.about-left {
  transition-delay: 0.1s;
}

.about-right {
  transition-delay: 0.3s;
}

/* ====================================
   CREDENTIALS
==================================== */
.credentials {
    text-align: center;
    padding: 60px 0;
    background-color: #f9f9f9; /* subtle background, adjust if needed */
}

.credentials .title {
    color: var(--dark);
    text-transform: uppercase;
}

.credentials .desc {
    color: var(--brand);
    margin-bottom: 20px;
}

.credentials p {
    font-size: 1rem;
    color: var(--body);
    max-width: 700px;
    margin: 10px auto;
    line-height: 1.6;
}

.credentials .view-certificate-btn {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: #fff;
    background-color: var(--dark); /* button color to match theme */
    padding: 12px 25px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.credentials .view-certificate-btn:hover {
    background-color: #efa501; /* hover color */
    transform: translateY(-3px);
}

.credentials .view-certificate-btn img {
    display: block;
    max-width: 200px; /* thumbnail size */
    margin: 0 auto 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Modal overlay */
.modal-credentials {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); 
}

/* Modal content (image) */
.modal-content-credentials {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 35px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-credentials .icon {
    stroke: #fff;
}


/* ====================================
   GALLERY (Services & Accessories)
==================================== */
.gallery-wrapper {
    padding: 80px 0;
    text-align: center;
}

.gallery-wrapper .title,
.gallery-wrapper .desc {
    max-width: 700px;
    margin: 0 auto 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: start;
}

figure {
    margin: 0;
    width: 100%;
    text-align: center;
}

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    display: block;
    margin-bottom: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

figcaption {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

/* ====================================
   MODAL (Lightbox)
==================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 92%;
    max-height: 92%;
    text-align: center;
}

#modalImg {
    width: auto;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    margin-bottom: 12px;
}

#modalCaption {
    color: #fff;
    font-size: 18px;
    max-width: 90%;
    line-height: 1.3;
}

.close, .prev, .next {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
}

.close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 34px;
}

.prev {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.next {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.close:hover,
.prev:hover,
.next:hover {
    color: var(--brand);
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
}


/* ====================================
   OFFER
==================================== */
.offer {
    padding: 40px 0 80px 0;
    padding-bottom: 50px;
    text-align: center;
}

.offer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 20px;
}

.offer .container .col-3 {
    box-shadow: var(--shadow);
    padding: 30px;
    position: relative;
}

.offer .container .col-3 .build {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: var(--dark);
    line-height: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow);
    margin-top: -48px;
}

.offer .container .col-3 .btn {
  background: var(--brand);
  color: #fff;
  font-weight: bold;
}

.offer .container .col-3:hover .btn {
  background: var(--dark);
}

.offer .build .icon {
    stroke: var(--brand);
}

.offer h3 {
  margin-bottom: 10px;
  margin-top: 50px;
}

.offer .col-3 p {
  margin-bottom: 30px;
}

.offer .card-img {
  position: relative;
  height: 230px;
}

.offer .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer .card-body {
    padding-top: 20px;
}

.offer .btn {
    text-decoration: none;
    color: var(--dark);
    padding: 0;
    border-radius: 2px;
    height: 50px;
    line-height: 50px;
    width: 70%;
    display: block;
    background: var(--brand);
    transition: 0.5s;
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    left: 50%;
    margin-bottom: -25px;
}


/* ====================================
   ACHIEVEMENT
==================================== */
.achievement {
    margin: 80px 0 40px 0; 
}
.achievement .container {
    background: orange;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.achievement h5 {
    text-transform: uppercase;
    text-align: left;
    font-weight: 500;
    font-size: 18px;
}

.achievement .left {
    background: var(--brand);
    color: var(--dark);
    display: flex;
    padding: 20px;
}

.achievement .left h2 {
    color: var(--dark);
}

.achievement .col {
    display: flex;
    flex-basis: 50%;
    padding: 50px 20px;
    justify-content: center;
}

.achievement .text {
    display: flex;
    flex-direction: column;
    align-items: start;
}
.achievement i {
    font-size: 38px;
    margin-right: 1rem;
}

.achievement .right {
    background: var(--dark);
    color: var(--brand);
    display: flex;
}  

.achievement .text {
    margin-left: 1.25rem;
}  

.achievement .left .text h3 {
    color: var(--dark);
}  

.achievement .right .text h3 {
    color: var(--brand);
}  

.achievement .right h2 {
    color: var(--brand);
}


.feather-star svg {
  width: 40px;   /* size control */
  height: 40px;
}

.to-top {
    position: fixed;
    left: 10%;
    bottom: 50px;
    border: 1px solid #fff;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1px;
    z-index: 999;
}

.to-top .icon {
    stroke: #fff;
}


/* ====================================
   PROJECT
==================================== */
.project {
    padding: 80px 0;
    text-align: center;
}

.project .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.project .container .col-3 {
    margin-bottom: 100px;
}
 
.project .pro-img {
    position: relative;
    height: 300px;
}

.project .pro-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project .col-3 .pro-tag h4 {
    margin-bottom: 10px;
}


.project .col-3 .pro-tag span {
    color: #fff;
    background: var(--brand);
    padding: 8px 12px;
    border-radius: 2px;
    font-size: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.project .col-3 .pro-tag p {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project .col-3 .pro-tag p .icon {
    stroke: var(--brand);
    margin-right: 8px;
}

.project .col-3 .pro-tag {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    width: 80%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    margin-bottom: -65px;
}


/* ====================================
   TESTIMONIALS
==================================== */
#testimonial.testimonials { 
    padding: 50px 20px; 
    text-align: center;
    background: #fff;
    /* background: url(./images/banners.jpg); */
    /* background-position: center; */
    /* background-attachment: fixed; */
    /* background-size: cover; */
    /* background-repeat: no-repeat; */
    /* position: relative; */
    /* z-index: 1; */
}

#testimonial.testimonials::after { 
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

.testimonials .title {
    color: var(--dark);
}

.testimonials .desc {
    color: var(--brand);
}

#testimonial .carousel-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

#testimonial .carousel-track {
    display: flex;
    transition: transform 480ms cubic-bezier(.22,.9,.25,1);
    will-change: transform;
}

#testimonial .slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 18px;
    text-align: center;
}

#testimonial .test-img img {
    width: 72px; 
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

#testimonial .rating { 
    margin: 10px 0; 
    color: #f5b50a; 
    font-weight: 700; 
    font-size: 32px;
}

#testimonial .test-text h4 { 
    margin: 6px 0 4px; 
    color: #333; 
}

#testimonial .test-text span { 
    font-size: 13px; 
    color: #666; 
    color: var(--dark); 
    display:block; 
    margin-bottom:8px; 
}

#testimonial .test-text p { 
    margin: 0; 
    color: #333; 
}

#testimonial .carousel-btn {
    position: absolute;
    top: 50%; 
    transform: translateY(-50%);
    /* background: var(--dark); */
    background: transparent;
    /* color: #fff; */
    color: var(--dark);
    border: none;
    /* width: 44px; */ 
    /* height: 44px; */
    border-radius: 50%;
    cursor: pointer;
    /* box-shadow: 0 6px 18px rgba(0,0,0,.12); */
    display: flex; 
    align-items: center; 
    justify-content: center;
    z-index: 30;
    font-size: 32px;
}

#testimonial .carousel-btn.prev { 
    left: 10px; 
}

#testimonial .carousel-btn.next { 
    right: 10px; 
}

#testimonial .carousel-indicators {
    margin-top: 18px;
    display: flex; 
    justify-content: center; 
    gap: 8px;
}

#testimonial .carousel-indicators button {
    width: 10px; 
    height: 10px;
    border-radius: 50%;
    border: none; 
    background: #bbb;
    cursor: pointer;
}

#testimonial .carousel-indicators button.active {
    background: var(--dark);
}

@media (min-width: 1024px) {
    #testimonial .slide { 
        flex: 0 0 50%; 
    }
}

.testimonial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: -1;
  opacity: 0; /* start hidden for animation */
}

/* Fix: testimonial overlay should not block controls & content must be above it */
.testimonial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;                /* sits above background but below main content */
  opacity: 0;                /* GSAP will animate to 1 */
  pointer-events: none;      /* important — don't block clicks */
  will-change: opacity;
}

/* Ensure content and controls are above overlay */
.testimonials .title,
.testimonials .desc,
.testimonials .carousel-wrapper,
.testimonials .carousel-btn,
.testimonials .carousel-indicators {
  position: relative;
  z-index: 2;
}

/* Make sure carousel-track preserves transform performance */
#testimonial .carousel-track {
  will-change: transform;
  touch-action: pan-y;
}

/* optional: make prev/next easy to click on mobile */
#testimonial .carousel-btn {
  z-index: 3;
  pointer-events: auto;
}

/* ====================================
   FOOTER
==================================== */
.footer {
  background: var(--brand);
  color: #fff;
  padding: 100px 0 20px 0;
} 

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.footer h3 {
    color: #fff;
    margin-bottom: 30px;
}

.footer .social-links {
    display: flex;
    margin-top: 30px;
}

.footer .social-links i {
    display: inline-block;
    border: 1px solid var(--dark);
    border-radius: 50%;
    color: #fff;;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    margin-right: 5px;
}

.footer .margin p {
    display: block;
    margin-bottom: 15px;
}

.footer .col-4:last-child i {
  margin-right: 10px;
}

.footer .social {
    width: 40px;
    height: 40px;
    border: 1px solid var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 8px;
}

.footer .links a {
    display: flex;
    align-items: start;
    justify-content: start;
}

.footer .links .icon {
    margin-top: 4px;
}

.question a {
    line-height: 40px;
}

.footer a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    display: inline-block;
}

.footer h5 {
    color: var(--dark);
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.footer h5::after {
    position: absolute;
    content: '';
    left: 0;
    bottom: -10px;
    width: 50%;
    height: 3px;
    background: var(--dark);
}

.footer .icon {
    stroke: #fff;
    margin-right: 8px;
}

.footer-about {
    padding-right: 60px;
}

/* Footer Two */
.footer-two {
    background: var(--brand);
    border-top: 1px solid #fff;
    padding: 10px;
}

.footer-two .container {
    color: #fff;;
    background: var(--brand);
    padding: 20px 0;
    text-align: center;
}

/* Footer certificate link */
.footer-certificate-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-certificate-link img {
    width: 24px; /* small badge icon */
    height: 24px;
}

.footer-certificate-link:hover {
    color: #d19000;
    transform: translateY(-2px);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 50px;
    right: 10%;
    border-radius: 50%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1A9810;
    /* 
    bottom: 50px;
    right: 10%;
    z-index: 1000;
    width: 50px;
    height: 50px; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff; */
    animation: pulse2 2s infinite; /* Apply pulse animation */
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 200px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 50px;
}

/* Pulse animation */
@keyframes pulse2 {
    0% {
        box-shadow: 0 0 0 0  rgba(33,255,125,0.5);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(79, 70, 229, 0);/=
    }
    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

.bounce-up-down {
    display: inline-block;
    font-size: 48px;
    color: #fff;
    animation: upDown 1.5s ease-in-out infinite;
    position: fixed;
    bottom: 100px;
    right: 30px;
}

@keyframes upDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px); /* move up */
    }
}

/* ====================================
   CONTACT SECTION
==================================== */ 
.contact-section {
    padding: 80px 0;
}
.contact-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
}
.contact-hero .title {
    text-transform: uppercase;
    color: var(--dark);
}

.contact-hero .desc {
    margin: 10px 0 20px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 60px 0;
    gap: 30px;
}

.contact-info .contact-item {
    text-align: center;
    flex: 1 1 200px;
}

.contact-info .contact-item .icon {
    stroke: var(--brand);
    margin-bottom: 10px;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-form button {
    padding: 15px;
    background-color: var(--brand);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background-color: #D41F24;
}

/* Location */
.location iframe {
    border-radius: 8px;
    margin-top: 20px;
}

/* WhatsApp CTA */
.whatsapp-btn {
    display: inline-block;
    background-color: #25d366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
}

/* Media query for smaller devices */ 
@media (max-width: 900px){
    .offer .container {
        display: grid;
        grid-template-columns: 1fr;
    }
    
    .offer .container .col-3 {
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 768px){ 
    body { 
        font-size: var(--fs-sm); 
    }

    .hero h1 { 
        font-size: var(--fs-2xl); 
    }
  
    .hero p { 
        font-size: var(--fs-base); 
    }
    
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .desc {
        font-size: 26px;
    }
    
    .pre-header {
        padding-top: 5px;
    }
    
    .logo {
        position: fixed;
        top: 90px;
        left: 10px;
        z-index: 1000;
    }
    
    /* ====================================
       HEADER
    ==================================== */
    header {
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    .right .phone {
        font-size: 10px;
        line-height: 1;
    }
    
    .pre-header .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .contact {
        padding: 0 5px;
        width: 100%;
    }
    
    #logo {
        width: 100px;
        height: 35px;
    }
    
    .contact .right {
        line-height: 1.5;
        text-align: center;
    }
    
    .time, .call, .email {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-right: 0;
    }
    
    .time p,
    .call p,
    .email p {
        font-weight: bold;
        font-size: 10px;
    }
    
    .time span,
    .call span,
    .email span {
        font-size: 11px;
        font-weight: 500;
    }
    
    .time .icon,
    .call .icon,
    .email .icon {
        stroke: var(--brand);
        margin-bottom: 4px;
    }
    
    .navbar {
        height: 50px;
        overflow: hidden;
        transition: all 0.25s;
        flex-direction: column; 
    }
    
    .navbar .container {
        height: 100%;
        flex-direction: column;
    }
    
    #menuIcon {
        display: block;
        top: 90px;
        position: fixed;
        right: 20px;
        border: 1px solid #fff;
        width: 30px;
        height: 30px;
        border-radius: 3px;
        stroke: #fff;
    }
    
    .hero .text-box {
      width: 100%;
      top: 60%;
    }
    
    .hero .text-box h1 {
      font-size: 24px;
    }
    
    #menu {
        width: 100%;
        padding-top: 50px;
        height: 20px;
    }
    
    ul li {
      display: block;
      margin-bottom: 16px;
    }
    
    ul li a {
        width: 100%;
    }
        
    /* ====================================
       CREDENTIALS
    ==================================== */
    .credentials {
        padding: 20px;
    }
    
    /* ====================================
       FEATURE
    ==================================== */
    .feature {
        
    }
    
    .feature .col-single {
      flex-basis: 100%;
    }
    
    .achievement .container {
        padding: 0;
    }
    
    
    /* ====================================
       SERVICES 
    ==================================== */
      /* wrapper to center and limit width */
    
    .gallery-wrapper h2 {
        margin-bottom: 12px;
        text-align: center;
        color: #D41F24;
    }
    
    /* Grid gallery: larger previews, centered */
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
        justify-items: center;
        align-items: start;
    }
    
    figure {
        margin: 0;
        width: 100%;
        /* max-width: 340px; */ /* controls thumbnail max size */
         text-align: center;
    }
    
    .gallery img {
        height: 300px; /* taller thumbnail to make preview more visible */
    }
    
      .gallery img:hover {
        transform: scale(1.03);
        box-shadow: 0 12px 30px rgba(0,0,0,0.18);
      }
    
      figcaption {
        font-size: 15px;
        color: #333;
        font-weight: 600;
      }
    
      /* Modal */
      .modal {
        display: none; /* toggled by JS */
        position: fixed;
        z-index: 1200;
        left: 0; top: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.85);
        align-items: center;
        justify-content: center;
        padding: 30px;
      }
    
      .modal.open { display: flex; }
    
      .modal-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 92%;
        max-height: 92%;
        text-align: center;
      }
    
    /* Large preview size */
      #modalImg {
        width: auto;
        max-width: 100%;
        max-height: 85vh; /* large enough preview */
        border-radius: 10px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
        margin-bottom: 12px;
    }
    
    #modalCaption {
        color: #fff;
        font-size: 18px;
        max-width: 90%;
        line-height: 1.3;
    }
    
    /* Controls */
      .close, .prev, .next {
        background: transparent;
        border: none;
        color: #fff;
        font-size: 30px;
        cursor: pointer;
        padding: 8px;
        line-height: 1;
    }
    
    .close { 
        position: absolute; 
        top: 20px; 
        right: 28px; 
        font-size: 34px; 
    }
    
    .prev {
        position: absolute; 
        left: 18px; 
        top: 50%; 
        transform: translateY(-50%); 
    }
    
    .next { 
        position: absolute; 
        right: 18px; top: 50%; 
        transform: translateY(-50%); 
    }
    
    .close: hover, 
    .prev:hover, 
    .next:hover { 
        color: #D41F24; 
        background: rgba(255,255,255,0.03); 
        border-radius: 6px; 
    }
    
    .offer .container {
        padding: 0;
    }
    
    /* project*/
    .project {
        padding: 100px 0;
      text-align: center;
    }
    
    .project .title {
        margin-bottom: 20px;
    }
    
    .project .container {
      grid-template-columns: 1fr;
    }
    
    .project .col-3 .pro-tag {
      background: #fff;
      padding: 20px;
      border-radius: 5px;
      box-shadow: var(--shadow);
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: 0;
      margin-bottom: -65px;
    }
    
    .team .container {
        grid-template-columns: 1fr;
    }
    
    /* footer */
    .footer .container {
        grid-template-columns: 1fr;
    }
    
    .footer .col-4 {
        margin-bottom: 30px;
    }
    
    .footer-two .container {
        padding: 20px;
    }
    
    
    /* ====================================
       CONTACT PAGE STYLE
    ==================================== */
    /* Contact Hero */
    
    .contact-hero {
        height: 50vh;
        background: url(./img/98061257.jpg);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        position: relative;
    }
    
    .contact-hero .container {
        position: relative;
    }
    
    .contact-hero .text-box {
        margin-top: 130px;
        left: 0;
        transform: translateX(0);
        background: ;
    }
    
    .contact-hero .title {
        text-transform: uppercase;
        color: var(--dark);
    }
    
    .contact-hero .desc {
        margin: 10px 0 20px;
    }
    
    /* Contact Info */
    .contact-info {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        margin: 60px 0;
        gap: 30px;
    }
    
    
    .contact-info .contact-item {
        text-align: center;
        flex: 1 1 200px;
    }
    
    .contact-info .contact-item i {
        font-size: 2rem;
        color: var(--brand);
        margin-bottom: 10px;
    }
    
    /* Contact Form */
    .contact-form {
        max-width: 700px;
        margin: 0 auto 60px auto;
        text-align: center;
    }
    
    .contact-form form {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 1rem;
    }
    
    .contact-form button {
        padding: 15px;
        background-color: var(--brand);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        cursor: pointer;
        transition: background 0.3s ease;
    }
    
    /* Location */
    .location iframe {
        border-radius: 8px;
        margin-top: 20px;
    }
    
    .to-top {
        left: 20px;
    }
        
    /* WhatsApp Floating Button */
    .whatsapp-float {
      bottom: 50px;
      right: 20px
    }
}

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

/* Make cards animate nicely and avoid unexpected overflow */
.card-wrapper {
  padding: 24px;
  gap: 18px;
  align-items: stretch;
}

.card-wrapper .card {
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.28s ease;
  will-change: transform, opacity;
  /* ensure the icon border doesn't expand layout */
  overflow: hidden;
}

/* Ensure icons area stays circular and consistent on small screens */
.card-wrapper .card .icons {
  min-width: 52px;
  min-height: 52px;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.card-wrapper .card {
  transition: box-shadow 0.3s ease;
}
.card-wrapper .card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.overlay-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); 
    display: none;
}