@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary-color: #FB9F00;
  --secondary-color: #e5306f;
  --text-dark: #0e0d16;
  --text-light: #767268;
  --extra-light: #f7f8fd;
  --white: #ffffff;
  --max-width: 1200px;
}
.txt{
  position: relative;
 right: 5px; 
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
  border-radius: 20px;
 
}

.btn:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 999; /* Badha diya taaki sabse upar rahe */
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #000000;
}

.background{
  background-color: #000000;
}

.white{
  color: #ffffff;
}

.nav__logo a {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.5rem;
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background-color: var(--primary-color);
  transition: transform 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(100%);
}

.nav__links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
}

.nav__btns {
  display: none;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  color: #f0f9ff;
}

.section__description {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.5rem;
  text-align: center;
}

.header__container {
  position: relative;
  top: 0px;
  display: grid;
  gap: 2rem;
  overflow: hidden;
}

.header__image img {
  
  max-width: 100%;
  margin-inline: auto;
  border-radius: 20px;
  background-color: #000000;
}

.header__content h1 {
  margin-bottom: 1rem;
  font-size: 4rem;
  font-weight: 800;
  color: #f0f9ff;
  line-height: 4.75rem;
  text-align: center;
}

.header__content h1 span {
  color: #FB9F00;
}

.header__btns {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header__btns a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.header__btns a span {
  margin-right: 0.5rem;
  width: 2.5rem;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 2px solid var(--text-dark);
  border-radius: 100%;
}

.service {
  background-color: #000000;
}

.service__container.section__header {
  max-width: 750px;
  margin-inline: auto;
}

.service__grid {
  margin-block: 4rem;
  display: grid;
  gap: 1rem;
  
}

.service__card {
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: var(--white);
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  background-color: #ffffff;
}

.service__card:hover {
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.service__card:nth-child(1):hover {
  border-color: #FB9F00;
  box-shadow: 0 5px 20px #FB9F00;
}

.service__card:nth-child(2):hover {
  border-color: #2ab626;
  box-shadow: 0 5px 20px #2ab626;

}

.service__card:nth-child(3):hover {
  border-color: #FB9F00;
  box-shadow: 0 5px 20px #FB9F00;
}

.service__card:nth-child(4):hover {
  border-color: #2ab626;
  box-shadow: 0 5px 20px #2ab626;
}

.service__card div {
  margin-bottom: 1rem;
  max-width: max-content;
  padding: 5px 8px;
  font-size: 1.75rem;
  border-radius: 5px;
}

.service__card:nth-child(1) div {
  color: #FB9F00;
  background-color: #f0fdfa;
}

.service__card:nth-child(2) div {
  color: #2ab626;
  background-color: #fff1f2;
}

.service__card:nth-child(3) div {
  color: #FB9F00;
  background-color: #faf5ff;
}

.service__card:nth-child(4) div {
  color: #2ab626;
  background-color: #f0f9ff;
}

.service__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.service__card .section__description {
  text-align: left;
}

.service__btn {
  display: flex;
  justify-content: center;
}

.about__container {
  display: grid;
  gap: 2rem;
}

.about__image img {
  max-width: 450px;
  margin-inline: auto;
}

.about__content .section__header {
  margin-bottom: 2rem;
  text-align: left;
  color: #fdfdfd;
}

.about__list {
  display: grid;
  gap: 2rem;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about__list li span {
  max-width: max-content;
  padding: 5px 8px;
  font-size: 1.75rem;
  border-radius: 5px;
}

.about__list li:nth-child(1) span {
  color: #FB9F00;
  background-color: #000000;
}

.about__list li:nth-child(2) span {
  color: #FB9F00;
  background-color: #000000;
}

.about__list li:nth-child(3) span {
  color: #FB9F00;
  background-color: #000000;
}

.about__list h4 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #f0f9ff;
}

.btn:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

.about__list .section__description {
  text-align: left;
}

.portfolio {
  background-color: var(--extra-light);
  overflow: hidden;
}

.portfolio__header {
  margin-bottom: 4rem;
  display: grid;
  gap: 2rem;
}

.portfolio__image {
  position: relative;
  isolation: isolate;
}

@media (max-width: 768px) {
  .portfolio__image__content {
    right: 50%; /* Center me laane ke liye */
    transform: translate(50%, -50%); /* Center alignment fix */
    width: 90%; /* Taaki text cut na ho */
    justify-content: center;
  }
}

.portfolio__image__content div {
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.portfolio__image__content div:nth-child(1) {
  border-right: 1px solid var(--extra-light);
}

.portfolio__image img {
  border-radius: 0.5rem;
}

.portfolio__image__content h4 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.portfolio__image__content p {
  font-size: 0.9rem;
  color: var(--extra-light);
}

.portfolio__content {
  display: grid;
  gap: 2rem;
}

.portfolio__list {
  display: grid;
  gap: 2rem;
}

.portfolio__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.portfolio__list li span {
  width: 5rem;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  background-color: #FB9F00;
  border-radius: 0.25rem;
}

.portfolio__list h4 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
}

.portfolio__list .section__description {
  text-align: left;
}

.feedback__container {
  padding-bottom: 3rem;

}

.swiper {
  padding-block: 4rem 2rem;
  width: 100%;
}

.swiper-slide {
  /* Fixed width hata di */
  width: 100%; 
  max-width: 100%;

  background-color: #f0f9ff;
  border-radius: 20px;
}

.feedback__card {
  padding: 1.5rem 1rem;
  /* ... baki codes ... */
  width: 100%; /* Ab ye screen ke hisab se adjust hoga */
  box-sizing: border-box;
}

.feedback__card:hover {
  box-shadow: 0 5px 20px #FB9F00;
  border-radius: 20px;
}

.feedback__card .section__description {
  text-align: left;
}

.feedback__details {
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.feedback__user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feedback__user img {
  max-width: 50px;
  border-radius: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feedback__user h4 {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
}

.feedback__user h5 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

.feedback__rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.feedback__rating span {
  font-size: 1rem;
  color: goldenrod;
}

.subscribe__content {
  padding: 5rem 1rem;
  border-radius: 1rem;
  background-color: #ffffff;

  /* ❌ default me koi glow nahi */
  box-shadow: none;

  /* smooth transition */
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}

/* ✅ glow ONLY on hover */
.subscribe__content:hover {
  box-shadow:
    0 0 0 1px rgba(251, 159, 0, 0.15),
    0 20px 45px rgba(251, 159, 0, 0.35);
  transform: translateY(-2px);
}


.subscribe__content .section__header {
  margin-bottom: 2rem;
  max-width: 750px;
  margin-inline: auto;
  color: #FB9F00;
}

.subscribe__content form {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding: 0.25rem;

  display: flex;
  align-items: center;
  background-color: var(--white);
  border-color: #FB9F00;
  border-style: solid ;
  border-radius: 0.5rem;
}

.subscribe__content input {
  width: 100%;
  padding-inline: 1rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--text-dark);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__logo {
  margin-bottom: rem;
  width: 200px;
}

.footer__logo a {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}

.footer__logo a span {
  color: var(--secondary-color);
}

.footer__col .section__description {
  margin-bottom: 2rem;
  text-align: left;
  color: #f3f3f3;
}

.footer__col h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__socials a {
  padding: 4px 6px;
  font-size: 1.125rem;
  color: #fffefe;
  border: 1px solid #FB9F00;
  border-radius: 100%;
}

.footer__socials a:hover {
  color: #ffffff;
  background-color: #FB9F00;
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f0f9ff;
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.footer__links a:hover {
  color: #FB9F00;
}

.footer__links a span {
  margin-right: 0.5rem;
  font-size: 1.2rem;
  color: #FB9F00;
}

.footer__bar {
  padding: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color:#f0f9ff;
  text-align: center;
}

@media (width > 540px) {
  .service__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width > 768px) {
  nav {
    position: static;
    padding: 1rem;
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 2px solid var(--extra-light);
  }

  .nav__header {
    flex: 1;
    padding: 0;
    background-color: transparent;
  }

  .nav__logo a {
    color: var(--text-dark);
  }

  .nav__logo a span {
    color: var(--secondary-color);
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    width: fit-content;
    padding: 0;
    flex-direction: row;
    background-color: transparent;
    transform: none !important;
  }

  .nav__links a {
    color: var(--text-light);
  }

  .nav__links a:hover {
    color: var(--primary-color);
  }

  .nav__btns {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    background-color: #FB9F00;
    border-radius: 10px;
  }

  .header__container {
    padding-top: 2rem;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 0;
  }

  .header__image {
    grid-area: 1/2/2/3;
  }

  .header__content :is(h1, .section__description) {
    text-align: left;
  }

  .header__btns {
    justify-content: flex-start;
  }

  .service__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .portfolio__header {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio__header :is(.section__header, .section__description) {
    text-align: left;
  }

  .portfolio__content {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .portfolio__image {
    grid-area: 1/2/2/3;
  }

  .footer__container {
    grid-template-columns: repeat(5, 1fr);
  }

  .footer__col:nth-child(1) {
    grid-column: 1/3;
    max-width: 350px;
  }
}

@media (width > 1024px) {
  .service__grid {
    gap: 1.5rem;
  }

  .feedback__card {
    padding: 2rem 1.5rem;
  }
}

/* WHATSAPP FLOAT STYLE - NEW */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366; /* WhatsApp Green */
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100; /* Sabse upar dikhne ke liye */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1); /* Hover karne par bada hoga */
}

.whatsapp-float img {
  width: 70%;
  height: auto;
}

/* ===== CONTACT POPUP (POLISHED) ===== */
.contact-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.55);
  display:flex;
  align-items:center;
  justify-content:center;

  opacity:0;
  pointer-events:none;
  transition:opacity .35s ease;
  z-index:5000;
}

.contact-overlay.active{
  opacity:1;
  pointer-events:auto;
}

.contact-modal{
  position:relative;
  width:90%;
  max-width:440px;
  background:#ffffff;
  padding:28px;
  border-radius:18px;

  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    0 0 0 1px rgba(0,0,0,.05);

  transform:translateY(20px) scale(.95);
  opacity:0;
  transition:all .4s cubic-bezier(.22,1,.36,1);
}

/* Animate in */
.contact-overlay.active .contact-modal{
  transform:translateY(0) scale(1);
  opacity:1;
}

/* Close button */
.contact-close{
  position:absolute;
  top:14px;
  right:14px;
  width:34px;
  height:34px;
  border-radius:50%;
  border:none;
  background:#f2f2f2;
  font-size:16px;
  cursor:pointer;
  transition:.25s;
}

.contact-close:hover{
  background:#FB9F00;
  color:#fff;
}

/* Inputs polish */
#contactForm{
  display:grid;
  gap:14px;
  margin-top:20px;
}

#contactForm input,
#contactForm select{
  padding:14px;
  border-radius:10px;
  border:1px solid #ddd;
  font-size:14px;
}

#contactForm input:focus,
#contactForm select:focus{
  outline:none;
  border-color:#FB9F00;
  box-shadow:0 0 0 2px rgba(251,159,0,.15);
}

#contactBtn{
  margin-top: 32px;  
}


/* =========================
   MOBILE RESPONSIVE FIX
   Desktop layout untouched
   ========================= */
   @media (max-width: 768px) {

    /* Global padding control */
    .section__container {
      padding: 3rem 1rem;
    }
  
    /* HEADER FIX */
    .header__container {
      grid-template-columns: 1fr;
      gap: 2rem;
      text-align: center;
    }
  
    .header__content h1 {
      font-size: 2.2rem;
      line-height: 2.8rem;
    }
  
    .header__image img {
      max-width: 100%;
      height: auto;
    }
  
    /* BUTTON CENTER */
    .contact-btn-left {
      display: flex;
      justify-content: center;
    }
  
    /* SERVICES GRID */
    .service__grid {
      grid-template-columns: 1fr;
    }
  
    /* ABOUT SECTION */
    .about__container {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .about__image img {
      max-width: 100%;
    }
  
    .about__content .section__header {
      text-align: center;
    }
  
    /* PORTFOLIO FIX */
    .portfolio__content {
      grid-template-columns: 1fr;
    }
  
    .portfolio__image__content {
      position: static;
      transform: none;
      margin-bottom: 1rem;
      width: 100%;
      justify-content: center;
    }
  
    /* FOUNDER CARD */
    .feedback__details {
      flex-direction: column;
      align-items: flex-start;
    }
  
    /* SUBSCRIBE FORM */
    .subscribe__content form {
      flex-direction: column;
      gap: 0.75rem;
    }
  
    .subscribe__content button {
      width: 100%;
    }
  
    /* FOOTER */
    .footer__container {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .footer__links {
      justify-items: center;
    }
  
    /* WHATSAPP FLOAT SMALL */
    .whatsapp-float {
      width: 52px;
      height: 52px;
      bottom: 20px;
      right: 20px;
    }
  }
  

  /* CONTACT SUBMIT LOADING */
#contactSubmitBtn.loading {
  opacity: 0.7;
  pointer-events: none;
}

#contactSubmitBtn.loading #contactBtnText::after {
  content: " ⏳";
}


/* ================= LOGIN POPUP (FIXED & POLISHED) ================= */

.popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 10000; /* 🔥 nav se upar */
}

.popup-overlay.active{
  opacity: 1;
  pointer-events: auto;
}

.popup-box{
  background: #ffffff;
  width: 90%;
  max-width: 360px;
  padding: 26px 24px;
  border-radius: 16px;
  position: relative;

  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: translateY(20px) scale(.95);
  opacity: 0;
  transition: all .35s cubic-bezier(.22,1,.36,1);
}

.popup-overlay.active .popup-box{
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Close button */
.close-popup{
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

/* Heading */
.popup-box h3{
  text-align: center;
  margin-bottom: 12px;
  font-weight: 700;
}

/* Toggle */
.login-toggle{
  position: relative;
  display: flex;
  background: #eee;
  border-radius: 30px;
  overflow: hidden;
  margin: 16px 0;
}

.login-toggle button{
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  z-index: 2;
}

#toggleSlider{
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: #FB9F00;
  border-radius: 30px;
  transition: .3s;
  z-index: 1;
}

/* Login form */
#loginForm{
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

#loginForm input{
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

#loginForm input:focus{
  outline: none;
  border-color: #FB9F00;
  box-shadow: 0 0 0 2px rgba(251,159,0,.15);
}

#loginForm button{
  margin-top: 6px;
}

/* ================= SUBSCRIBE FORM ================= */

.subscribe-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

/* Email Input */
.subscribe-form input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
  outline: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-form input:focus {
  border-color: #ff6b00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

/* Subscribe Button (Contact Us style) */
.subscribe-btn {
  padding: 14px 22px;
  background: linear-gradient(135deg, #ff6b00, #ff8c1a);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;

  transition: 
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.3s ease;
}

/* Hover Effect */
.subscribe-btn:hover {
  background: linear-gradient(135deg, #ff8c1a, #ff6b00);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.35);
  transform: translateY(-1px);
}

/* Click / Press Effect */
.subscribe-btn:active {
  transform: scale(0.96);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================= DESKTOP WIDTH FIX ================= */

body {
  overflow-x: hidden; /* horizontal scroll + gaps prevent */
}

/* Full-width background, centered content */
.section__container {
  max-width: 1320px;   /* 1200 se thoda wide – professional */
  padding-left: 24px;
  padding-right: 24px;
}

@media (width > 768px) {
  nav {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Move ONLY header text slightly up */
.header__content {
  margin-top: 50px;
}

/* ================= MOBILE NAV OVERLAP FIX ================= */
@media (max-width: 768px) {

  /* nav fixed hai, isliye header ko neeche dhakelo */
  .header__container {
    margin-top: 80px; /* nav height ke approx equal */
  }

}

/* ================= MOBILE OVERFLOW FIX ================= */
@media (max-width: 768px) {

  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  /* koi bhi element screen se bahar na ja sake */
  * {
    max-width: 100%;
  }

  img {
    height: auto;
    max-width: 100%;
  }

  /* nav dropdown width control */
  .nav__links {
    width: 100%;
    left: 0;
    right: 0;
  }
}

/* ================= FINAL MOBILE RESPONSIVE FIX ================= */

/* Kill horizontal scroll */
html, body{
  max-width:100%;
  overflow-x:hidden;
}

/* Universal safety */
*, *::before, *::after{
  box-sizing:border-box;
  max-width:100%;
}

/* Images responsive */
img{
  max-width:100%;
  height:auto;
}

/* Sections padding reduce on mobile */
@media (max-width:768px){

  .section__container{
    padding:3rem 1rem;
  }

  /* Header */
  .header__container{
    grid-template-columns:1fr;
    text-align:center;
  }

  .header__content h1{
    font-size:2.2rem;
    line-height:2.8rem;
  }

  /* Services */
  .service__grid{
    grid-template-columns:1fr;
  }

  /* About */
  .about__container{
    grid-template-columns:1fr;
    text-align:center;
  }

  .about__image img{
    max-width:100%;
  }

  /* Portfolio */
  .portfolio__content{
    display:flex;
    flex-direction:column;
    gap:18px;
  }

  .portfolio__image__content{
    width:90%;
    left:50%;
    transform:translateX(-50%);
    justify-content:center;
  }

  /* Navigation menu fix */
  .nav__links{
    width:100%;
    left:0;
  }

  /* Buttons full width */
  .btn{
    width:100%;
  }

  /* Whatsapp button */
  .whatsapp-float{
    width:50px;
    height:50px;
  }
}

/* Small phone extra safety */
@media (max-width:480px){

  .header__content h1{
    font-size:1.9rem;
    line-height:2.4rem;
  }

  .section__header{
    font-size:1.6rem;
  }
}
/* ================= CONTACT POPUP CLOSE BUTTON FIX (MOBILE) ================= */

@media (max-width:768px){

  #contactOverlay .popup{
    width:94%;
    max-height:92vh;
    padding:18px 16px 22px;
  }

  #contactOverlay .close-btn{
    position:fixed;     /* 🔥 absolute → fixed */
    top:12px;
    right:12px;
    z-index:999999;
    width:38px;
    height:38px;
    font-size:20px;
    border-radius:50%;
    background:#FB9F00;
    color:#fff;
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
  }
}
#contactOverlay{
  padding-top:60px;
}