/* Fonts: Montserrat (UI), Playfair Display (headings) */

:root {
  --bg: #f1f1f1;
  --text: #151515;
  --muted: #111;
  --gold: #d4af37;
  --gold-strong: #b9931a;
  --surface: #fafafa;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

#viewer {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute; left: -9999px; top: auto;
}

.scroll-progress { position: fixed; left: 0; top: 0; width: 100%; height: 3px; background: transparent; z-index: 60; }
.scroll-progress__bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--gold-strong)); box-shadow: 0 0 8px rgba(212,175,55,0.6); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--gold); color: var(--gold-strong); font-weight: 800; letter-spacing: 0.5px; }
.brand-name { font-weight: 700; }

.nav-toggle { display: none; width: 44px; height: 36px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle .bar { display: block; width: 26px; height: 2px; background: var(--text); margin: 6px auto; }

.nav-list { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-list a { opacity: 0.85; }
.nav-list a:hover { color: var(--gold-strong); opacity: 1; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 12px 20px; font-weight: 600; border: 1px solid #ddd; transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-small { padding: 8px 14px; font-size: 14px; }
.btn-large { padding: 16px 28px; font-size: 18px; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-strong)); color: #fff; border-color: transparent; }
.btn-outline { background: transparent; color: var(--text); border-color: rgba(0,0,0,0.2); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-strong); }

/* Hero */
.hero { padding: 30px 0 36px; background: linear-gradient(180deg, #fafafa, #f1f1f1); }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.headline { font-family: "Playfair Display", Georgia, serif; font-size: clamp(32px, 5vw, 56px); line-height: 1.1; margin: 0 0 14px; }
.accent { color: var(--gold-strong); }
.subhead { color: var(--muted); margin: 0 0 20px; max-width: 56ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.trust-badges { display: flex; gap: 18px; color: var(--muted); padding: 0; margin: 0; list-style: none; flex-wrap: wrap; }

.hero-card { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.hero-card img { height: 520px; width: 100%; object-fit: cover; filter: saturate(1) contrast(1.02); }
.media-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(212,175,55,0.0), rgba(212,175,55,0.15)); pointer-events: none; }
.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none; /* Allows clicks to pass through */
}
/* Logos */
.logos { padding: 22px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; background: #fff; }
.logos-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: center; text-align: center; color: #9b8a5a; font-weight: 600; opacity: 0.85; }
.logo { padding: 8px 6px; }

/* Sections */
.section { padding: 10px 0; }
.section-head { text-align: center; margin-bottom: 28px; }
.title { font-family: "Playfair Display", Georgia, serif; font-size: clamp(26px, 3.5vw, 40px); margin: 0 0 6px; }
.kicker { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 20px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.card .icon { font-size: 24px; color: var(--gold-strong); margin-bottom: 8px; }
.card h3 { margin: 6px 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }

/* Stats */
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; background: var(--surface); border-radius: 14px; padding: 20px; }
.stat { text-align: center; }
.stat .num { font-family: "Playfair Display", Georgia, serif; font-size: clamp(28px, 5vw, 44px); color: var(--gold-strong); }
.stat .label { color: var(--muted); }

/* Portfolio */
.filters { display: flex; gap: 10px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.chip { border: 1px solid #e6e6e6; padding: 8px 14px; border-radius: 999px; background: #fff; cursor: pointer; }
.chip.is-active, .chip:hover { border-color: var(--gold); color: var(--gold-strong); }
.portfolio-grid { grid-template-columns: repeat(3, 1fr);  gap: 5px; }
.portfolio-actions {display: flex;  justify-content: center;align-items: center;  margin-top: 28px;  padding: 20px 0;}
.tile { position: relative; overflow: hidden; border-radius: 14px; background: #f3f3f3; }
.tile img { width: 100%; height: 290px; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,0.85); padding: 6px 10px; border-radius: 999px; font-weight: 600; border: 1px solid rgba(0,0,0,0.06); }

/* Before / After */
/* Before / After - Enhanced Bigger & Responsive */
.ba-wrap { 
  display: grid; 
  justify-items: center; 
  padding: 1rem 0; /* Added padding for breathing room */
}

.service-note {
  font-size: 0.9rem;
  color: #2b2b2b;
  margin-left: 24px; /* aligns under the checkbox text */
}

.ba { 
  position: relative; 
  width: 100%; 
  max-width: 1200px; /* Bigger max-width for desktop */
  margin: 0 auto; 
  height: clamp(400px, 50vw, 700px); /* Responsive height: scales with viewport */
  aspect-ratio: 16 / 10; /* Fallback for consistent proportions */
  border-radius: 14px; 
  overflow: hidden; 
  box-shadow: var(--shadow); 
}

.ba__img { 
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  pointer-events: none; /* Allow slider drags to pass through */
}

.ba__img--before { 
  filter: grayscale(0.2) contrast(0.95); 
  z-index: 1; 
}

.ba__img--after { 
  z-index: 2; 
  transition: clip-path 0.1s ease; /* Smooth reveal on slide (JS-triggered) */
}

.ba__slider { 
  position: absolute; 
  inset: 0; /* Full overlay for larger draggable area */
  appearance: none; 
  width: 100%; 
  height: 100%; 
  background: transparent; 
  outline: none; 
  cursor: ew-resize; 
  z-index: 3; 
  margin: 0; 
  /* Vertical center track for better UX */
  top: 50%; 
  transform: translateY(-50%); 
  height: 4px; /* Thin track, but full height area for drag */
}

/* Custom track (hidden default, but transparent overlay) */
.ba__slider::-webkit-slider-runnable-track {
  background: transparent;
  height: 100%;
  width: 100%;
}

.ba__slider::-moz-range-track {
  background: transparent;
  height: 100%;
  width: 100%;
  border: none;
}

/* Thumb - Bigger and responsive */
.ba__slider::-webkit-slider-thumb { 
  -webkit-appearance: none; 
  appearance: none; 
  width: 22px; 
  height: 22px; 
  border-radius: 50%; 
  background: #fff; 
  border: 2px solid var(--gold-strong); 
  box-shadow: var(--shadow); 
  cursor: ew-resize; 
  margin-top: -9px; /* Center vertically on thin track */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba__slider::-webkit-slider-thumb:hover,
.ba__slider::-webkit-slider-thumb:focus {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}

.ba__slider::-moz-range-thumb { 
  width: 22px; 
  height: 22px; 
  border-radius: 50%; 
  background: #fff; 
  border: 2px solid var(--gold-strong); 
  box-shadow: var(--shadow); 
  cursor: ew-resize; 
  border: none; /* Override default */
  margin-top: -9px; /* Center */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba__slider::-moz-range-thumb:hover,
.ba__slider::-moz-range-thumb:focus {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}

/* Optional: Vertical divider line (reveals transformation) */
.ba::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #fff, transparent);
  z-index: 4;
  transform: translateX(-50%);
  transition: left 0.1s ease; /* JS can update this based on slider value */
  pointer-events: none;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .ba {
    max-width: 900px;
    height: clamp(350px, 45vw, 500px);
  }
  
  .ba__slider::-webkit-slider-thumb,
  .ba__slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    margin-top: -11px;
  }
}

@media (max-width: 768px) {
  .ba {
    max-width: 100%;
    height: clamp(300px, 60vw, 400px); /* Shorter on mobile for usability */
    margin: 0 1rem; /* Use container padding */
    border-radius: 10px; /* Slightly smaller radius */
  }
  
  .ba-wrap {
    padding: 0.5rem 0;
  }
  
  .ba__slider {
    cursor: grab; /* Better mobile cursor */
  }
  
  .ba__slider::-webkit-slider-thumb,
  .ba__slider::-moz-range-thumb {
    width: 30px; /* Larger for touch (min 44px effective area) */
    height: 30px;
    margin-top: -14px;
    border-width: 3px; /* Thicker border for visibility */
  }
  
  .ba__slider::-webkit-slider-thumb:hover,
  .ba__slider::-moz-range-thumb:hover {
    transform: scale(1.1); /* Slightly less scale on mobile */
  }
  
  /* Hide divider on very small screens if it interferes */
  @media (max-width: 480px) {
    .ba::after {
      display: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .ba__img--after,
  .ba::after,
  .ba__slider::-webkit-slider-thumb,
  .ba__slider::-moz-range-thumb {
    transition: none;
  }
}

/* Process */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 56px 1fr; align-items: start; background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.step-num { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; border: 2px solid var(--gold); font-weight: 700; color: var(--gold-strong); }
.step-body h3 { margin: 4px 0 6px; }
.step-body p { margin: 0; color: var(--muted); }

/* Testimonials */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 0; transform: translateX(0); transition: transform .5s ease; }
.slide { padding: 22px; background: #fff; border: 1px solid #eee; border-radius: 14px; box-shadow: var(--shadow); min-height: 180px; display: grid; place-items: center; text-align: center; }
.slide blockquote { font-family: "Playfair Display", Georgia, serif; font-size: clamp(18px, 2.6vw, 24px); margin: 0 0 8px; }
.slide .author { color: var(--muted); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: 1px solid #ddd; width: 40px; height: 40px; border-radius: 999px; cursor: pointer; }
.carousel-btn:hover { border-color: var(--gold); color: var(--gold-strong); box-shadow: var(--shadow); }
.carousel-btn.prev { left: 6px; }
.carousel-btn.next { right: 6px; }

/* Full-width testimonials */
.testimonials .container { width: 100%; max-width: none; }
.testimonials .slide { border-left: 0; border-right: 0; border-radius: 0; }

/* CTA */
.cta { background: linear-gradient(135deg, #ffffff, #fbfaf2); border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.cta-inner { text-align: center; }
.cta h2 { margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 36px); }
.cta p { margin: 0 0 16px; color: var(--muted); }

/* About 
.about-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: center; }
.about-copy p { color: var(--muted); }
.bullets { padding-left: 18px; }
.about-media img { border-radius: 14px; box-shadow: var(--shadow); }
*/
/* ===== ABOUT PAGE SPECIFIC STYLES ===== */

/* About Company Section */
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}

.about-copy .subtitle {
  font-size: 24px;
  margin: 20px 0 10px;
  color: var(--gold-strong);
}

/* Achievements & Awards Section */
.achievements-grid {
  grid-template-columns: repeat(3, 1fr); /* 3 per row on desktop */
  gap: 20px;
}

.achievement {
  text-align: center;
  position: relative;
}

.achievement img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.achievement .icon {
  font-size: 32px;
  color: var(--gold-strong);
  margin-bottom: 8px;
}

.achievement h3 {
  font-size: 18px;
  margin: 8px 0 10px;
}

.achievement p {
  margin: 0 0 12px;
  color: var(--muted);
}

.achievement .year {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #fff;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Team Section */
.team-grid {
  grid-template-columns: repeat(3, 1fr); /* 3 per row on desktop */
  gap: 20px;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.team-member h4 {
  margin: 8px 0 4px;
  font-size: 18px;
}

.team-member .role {
  color: var(--gold-strong);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-member p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 980px) {
  .about-inner {
    grid-template-columns: 1fr; /* Stack on tablets */
  }
  .achievements-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 720px) {
  .achievements-grid,
  .team-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}

/* Contact */
.contact-grid { grid-template-columns: 1.1fr .9fr; }
.form .field { display: grid; gap: 6px; margin-bottom: 12px; }
.form label { font-size: 14px; color: var(--muted); }
.form input, .form textarea { padding: 12px 12px; border-radius: 10px; border: 1px solid #ddd; font: inherit; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.15); }
.form .actions { display: flex; align-items: center; gap: 12px; justify-content: flex-start; margin-top: 6px; }
.contact-side { display: grid; gap: 10px; }
.contact-side .map img { border-radius: 10px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #ddd; border-radius: 999px; }
.socials a:hover { border-color: var(--gold); color: var(--gold-strong); box-shadow: var(--shadow); }

/* Footer social icon colors */
.footer-socials a i { font-size: 18px; line-height: 1; }
.footer-socials a[aria-label="WhatsApp"] i { color: #25D366; }
.footer-socials a[aria-label="Instagram"] i { color: #E1306C; }
.footer-socials a[aria-label="Facebook"] i { color: #1877F2; }
.footer-socials a[aria-label="YouTube"] i { color: #FF0000; }
.footer-socials a[aria-label="Pinterest"] i { color: #E60023; }
.footer-socials a[aria-label="LinkedIn"] i { color: #0A66C2; }
.footer-socials a:hover i { color: var(--gold-strong); }

/* Footer */
.site-footer { padding: 26px 0; background: #fff; border-top: 1px solid #eee; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-nav { display: flex; gap: 16px; justify-content: center; }
.footer-inner .copyright { text-align: right; color: var(--muted); }

/* Back to top */
.to-top { position: fixed; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 999px; border: 1px solid #ddd; background: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }

.whatsapp { position: fixed; right: 16px; bottom: 70px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 999px; background: linear-gradient(135deg, var(--gold), var(--gold-strong)); color: #fff; text-decoration: none; box-shadow: var(--shadow); font-size: 22px; }
.whatsapp:hover { transform: translateY(-2px); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav-list { position: fixed; inset: 60px 10px auto 10px; background: rgba(255,255,255,0.98); border: 1px solid #eee; border-radius: 12px; padding: 12px; flex-direction: column; gap: 10px; transform-origin: top right; transform: scale(0.98); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .nav-list.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .logos-inner { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-inner .copyright { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}


/* ===== INTERIOR PRICE ESTIMATOR ===== */
.estimator-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}

.estimator .card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.estimator .card:hover {
  transform: translateY(-4px);
}

.estimator .field {
  margin-bottom: 1.5rem;
}

.estimator label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.estimator input[type="number"],
.estimator input[type="range"] {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.checkboxes label {
  display: block;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.budget-output {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold, #d4af37);
}

.timeline-estimator h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-slider-wrap {
  margin-top: 1rem;
}

.timeline-output {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold, #d4af37);
}

/* === Trusted Partners Slider === */
.partners {
  background: #fff;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
}

.partners .section-head {
  margin-bottom: 50px;
}

.partner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100px;
}

.slide-track {
  display: flex;
  width: calc(250px * 10); /* 10 slides total */
  animation: scroll 25s linear infinite;
}

.slide1 {
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.slide1 img {
  width: 140px;
  height: auto;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.3s ease;
  opacity: 0.8;
}

.slide1 img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
  border-radius: 8px;
}

/* Infinite scroll animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 5)); } /* half track width */
}

/* Responsive */
@media (max-width: 768px) {
  .slide1 img {
    width: 100px;
  }
}
/* ===== End of Trusted Partners Slider ===== */

/* === Client Info Pop-up Styles === */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.popup-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.popup-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s ease;
}

.popup-overlay.show .popup-box {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #555;
  cursor: pointer;
}
.popup-close:hover {
  color: var(--gold, #d4af37);
}

.popup-title {
  font-family: "Playfair Display", serif;
  color: var(--gold, #d4af37);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.popup-text {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.5;
}

.popup-form input,
.popup-form select {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 30px;
  font-size: 0.95rem;
}

.popup-btn {
  font-size: 1rem;
  padding: 12px 25px;
  border-radius: 30px;
  width: 100%;
  transition: all 0.3s ease;
}
.popup-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(212,175,55,0.4);
}

.form-msg {
  margin-top: 10px;
  font-size: 0.9rem;
  color: green;
}

@media (max-width: 480px) {
  .popup-box {
    padding: 30px 20px;
  }
  .popup-title {
    font-size: 1.4rem;
  }
}

/* ===== PORTFOLIO MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.modal-gallery {
  position: relative;
  display: flex;
  align-items: center;
}

#modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.modal-prev, .modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.modal-prev { left: 10px; }
.modal-next { right: 10px; }

.modal-indicators {
  text-align: center;
  margin-top: 10px;
}

.modal-indicators span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
}

.modal-indicators span.active {
  background: var(--gold);
}

.modal.active {
  display: flex;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

#modal-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
}

.modal-prev { left: -50px; }
.modal-next { right: -50px; }

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 30px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}

.modal-indicators {
  text-align: center;
  margin-top: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  background: #666;
  border-radius: 50%;
  margin: 0 4px;
}

.dot.active {
  background: #fff;
}
#modal-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

#modal-image.fade-in {
  opacity: 1;
}

/* === End of Client Info Pop-up Styles === */