/* ================================
   Global Styles for ÉlanCraft Interiors
   ================================ */

:root {
  /* Color Variables */
  --color-bg: #f7f7f7;
  --color-bg-alt: #f0f0f0;
  --color-primary: #141414;
  --color-primary-dark: #0d0d0d;
  --color-accent: #d4af37;
  --color-accent-soft: #c5a46d;
  --color-text: #222222;
  --color-text-muted: #666666;
  --color-border: #dedede;
  --color-white: #ffffff;

  /* Typography */
  --font-heading: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Sizing */
  --radius-base: 1.25rem;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.06);
}

/* font family */
@font-face {
  font-family: 'ColonnaMT';
  src: url(../assest/Images/font/COLONNA.TTF)
       format('truetype');
  
}


/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* Utility Classes */

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 2vw, 2rem);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Grid Utility */
.grid {
  display: grid;
  gap: 1.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  margin-top: 40px;
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-soft));
  color: var(--color-primary-dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.btn-outline {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: rgba(212, 175, 55, 0.08);
}

.btn-text {
  background: none;
  border: none;
  color: var(--color-accent);
  padding: 0;
  font-size: 0.9rem;
}

/* Text Link */
.text-link {
  font-size: 0.9rem;
  color: var(--color-accent);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Card */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-base);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-soft);
}

/* Placeholder Image Blocks */
.placeholder-image {
  border-radius: calc(var(--radius-base) - 0.25rem);
  background: radial-gradient(circle at top left, #ffffff, #d4d4d4);
  border: 1px dashed rgba(0, 0, 0, 0.08);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  color: var(--color-text-muted);
}

.placeholder-image.small {
  min-height: 120px;
}

/* Center helper */
.centered {
  text-align: center;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(20, 20, 20, 0.96);
  backdrop-filter: blur(14px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
  text-decoration: none;
  color: var(--color-white);
}

.logo span {
  color: var(--color-accent);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #efefef;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.nav-links a.active {
  color: var(--color-accent);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-soft));
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}


/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.22rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 999px;
}

/* =========================
   HERO SLIDER
   ========================= */

.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

}


/* Slides container */
.hero-slides {
  position: absolute;
  inset: 0;
}

/* Each slide */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
   background-image:  linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55));
  filter: blur(0px);
  transition:
    opacity 1.4s ease,
    transform 6.5s ease,
    filter 1.2s ease;
}

/* Active slide */
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide:not(.active){
  filter: blur(3px);
}

/* Overlay */
.hero-overlay {
  /* position: absolute;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.55) 35%,
    rgba(0,0,0,0.35) 60%,
    rgba(0,0,0,0.15) 100%
  ); */
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(212, 175, 55, 0.2), transparent 60%);
  pointer-events: none;
}


/* GRAIN OVERLAY */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.1;
  mix-blend-mode: overlay;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 16rem;
  justify-content: flex-start;
}

/* Buttons */
.hero-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

/* PREMIUM HERO SMOOTHNESS */
.hero-slide {
  will-change: opacity, transform;
}

/* Better overlay gradient  */
.hero-overlay {
  position: absolute;
  inset: 1;
  z-index: 3;

  background: linear-gradient(
  
    rgba(20, 20, 20, 0.85) 0%,
    rgba(20, 20, 20, 0.65) 30%,
    rgba(20, 20, 20, 0.45) 55%,
    rgba(20, 20, 20, 0.25) 75%,
    rgba(20, 20, 20, 0.10) 100%
  );
}
.hero::before {
  content: "";
  position: absolute;
  inset: 1;
  z-index: 3;

  background: linear-gradient(
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.45)
  );
}

/* Smooth text animation */
.hero-text.show h1 {
  transition-delay: 0.1s;
}

.hero-text.show p {
  transition-delay: 0.25s;
}

.hero-btn:hover {
  background: rgba(255,255,255,0.35);
}

.hero-btn.prev,
.hero-btn.next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  background: transparent;
  border: none;
  color: #ffffff;

  font-size: 2rem;
  cursor: pointer;

  opacity: 0.6;
  transition: all 0.3s ease;

}

.hero-btn.prev {
  left: 25px;
}

.hero-btn.next {
  right: 25px;
}

.hero-slide {
  z-index: 0;
}

.hero-slide.active {
  z-index: 1;
}

/* HERO PREMIUM EFFECTS */

.hero-slide {
  transform: scale(1);
  transition: opacity 1.4s ease, transform 6.5s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.06);
}

/* TEXT ANIMATION */
.hero-text h1,
.hero-text p {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.7s ease;
  color: white;
}

.hero-text.show h1{
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.122s;
}
.hero-text.show p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

/* DOTS */
.hero-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dots span {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
}

.hero-dots span.active {
  background: var(--color-accent);
}


/* =========================
   HERO CONTENT BOX (LUXURY)
   ========================= */

.hero-text {
  background:transparent;
  backdrop-filter: none;
  border: none;
  max-width: 520px;
}

/* Heading upgrade */
.hero-text h1 {
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
}

/* Paragraph */
.hero-text p {
  color: rgba(255,255,255,0.85);
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
  font-size: 1rem;
  opacity: 0.9;
}

/* Buttons spacing */
.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ================================
   HOME SECTIONS
   ================================ */

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.7rem;
}

.service-card ul {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.9rem;
}

/* Portfolio preview */
.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
/* ================================
   FEATURED PORTFOLIO CARDS HOVER EFFECT
   Matches services section style
   ================================ */

.portfolio-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border-radius: var(--radius-base);
  overflow: hidden;
}

/* Image zoom effect */
.portfolio-card .portfolio-image img {
  transition: transform 0.3s ease;
}

/* Hover state */
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.13);
  background-color: #ffffff;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.05);
}


.portfolio-image span {
  font-weight: 500;
}

.portfolio-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.portfolio-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}



/* ===============================
   WHY ELANCRAFT AUTO SLIDER
   =============================== */

.why-elancraft-slider {
  background: linear-gradient(180deg, #f7f7f7, #ffffff);
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Header */
.why-elancraft-slider .eyebrow {
  color: var(--color-accent);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* Slider wrap */
.slider-wrap {
  margin-top: 2.8rem;
  overflow: hidden;
  position: relative;
}

/* Moving track*/

.why-slider-track {
  display: flex;
  gap: 1.4rem;
  width: fit-content;
  animation: marquee 42s linear infinite;
  will-change: transform;
  margin-bottom: 2.5rem;
}


/* Pause on hover */
.slider-wrap:hover .why-slider-track {
  animation-play-state: paused;
}

/* Card */
.why-card {
  min-width: 260px;
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease;
}

.why-card:hover {
  transform: translateY(-6px);
}

/* Icon */
.why-card .icon {
  font-size: 2.1rem;
  margin-bottom: 0.7rem;
}

/* Title */
.why-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-primary);
}

.slider-wrap::before,
.slider-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.slider-wrap::before {
  left: 0;
  background: linear-gradient(to right, #f7f7f7, transparent);
}

.slider-wrap::after {
  right: 0;
  background: linear-gradient(to left, #f7f7f7, transparent);
}


/* Animation */

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .why-card {
    min-width: 220px;
  }
}


/* CTA Section */

.cta-section {
  background: linear-gradient(130deg, #181818, #1f1f1f);
  color: var(--color-white);
  padding: 2.8rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.cta-text h2 {
  font-family: var(--font-heading);
  margin-bottom: 0.4rem;
}

.cta-text p {
  color: #f3f3f3;
  font-size: 0.95rem;
}

/* ================================
   PAGE HERO
   ================================ */

.page-hero {
  background: linear-gradient(135deg, #141414, #1f1f1f);
  color: var(--color-white);
  padding: 3.2rem 0 3rem;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 0.35rem;
}

.page-hero p {
  color: #e5e5e5;
  font-size: 0.95rem;
}

/* ================================
   ABOUT PAGE
   ================================ */

.about-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  align-items: flex-start;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0.9rem;
}

.about-highlight h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.7rem;
}

.about-highlight ul {
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

/* Philosophy */
.philosophy-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.philosophy-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

/* Team */
.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.team-photo {
  min-height: 160px;
}

.team-info h3 {
  margin-bottom: 0.2rem;
}

.team-info .role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

/* ================================
   SERVICES PAGE
   ================================ */

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.service-detail.reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
}

.service-detail-text h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.service-detail-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0.7rem;
}

.service-detail-text ul {
  padding-left: 1.1rem;
  font-size: 0.9rem;
  margin: 0;
}

/* ================================
   SERVICES-HERO 
   ================================ */

.services-hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  /* Suggestion area for background image */
  background-image:  linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url("Images/furniture/living_room2.jpg");
  background-size: cover;
  background-position: center;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(212, 175, 55, 0.2), transparent 60%);
  pointer-events: none;
}

.services-hero-content {
  position: relative;
  padding: 5rem 0 4rem;
}

.services-hero-text {
  max-width: 660px;
}

.services-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.services-hero p {
  color: #f1f1f1;
  margin-bottom: 1.8rem;
  font-size: 0.98rem;
}

.services-hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ================================
   PORTFOLIO PAGE
   ================================ */

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}



.filter-btn {
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  font-size: 0.85rem;
  cursor: pointer;
}

.filter-btn.active {
  border-color: var(--color-accent);
  background-color: rgba(212, 175, 55, 0.08);
}

.portfolio-card .meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

/* ================================
   PORTFOLIO-HERO 
   ================================ */

.p-hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  /* Suggestion area for background image */
  background-image:  linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url("Images/furniture/kitchen&living.jpg");
  background-size: cover;
  background-position: center;
}

.p-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(212, 175, 55, 0.2), transparent 60%);
  pointer-events: none;
}

.p-hero-content {
  position: relative;
  padding: 5rem 0 4rem;
}

.p-hero-text {
  max-width: 560px;
}

.p-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.p-hero p {
  color: #f1f1f1;
  margin-bottom: 1.8rem;
  font-size: 0.98rem;
}

.p-hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ================================
   FURNITURE PAGE
   ================================ */

.furniture-grid {
  grid-template-columns: 1fr;
}

/* Each category will have internal grid for items on larger screens */
.furniture-category h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.furniture-category p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.furniture-items {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.furniture-item h3 {
  font-size: 1rem;
  margin: 0.4rem 0;
}

.furniture-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

/* ================================
   PROCESS PAGE
   ================================ */

.process-timeline {
  display: grid;
  gap: 1.4rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.1rem;
}

.step-content h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ================================
   TESTIMONIALS PAGE
   ================================ */

.testimonial-highlight {
  position: relative;
  padding-left: 3rem;
}

.quote-mark {
  position: absolute;
  left: 1.4rem;
  top: 0.8rem;
  font-size: 2.5rem;
  color: rgba(212, 175, 55, 0.6);
  line-height: 1;
}

.testimonial-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.testimonial-meta {
  font-size: 0.9rem;
}

.stars {
  font-size: 0.85rem;
  color: var(--color-accent);
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ================================
   CONTACT PAGE
   ================================ */

.contact-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  align-items: flex-start;
}

.contact-card h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* Form */
.form-row {
  margin-bottom: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 0.6rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 0.9rem;
  background-color: #fcfcfc;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.form-message {
  font-size: 0.85rem;
  min-height: 1.1rem;
}

.form-message.error {
  color: #c0392b;
}

.form-message.success {
  color: #2ecc71;
}

/* Contact info & map */
.contact-info {
  display: grid;
  gap: 1.4rem;
}

.map-card .map-placeholder {
  min-height: 400px;
}

.small-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.popup{
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content{
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  width: 300px;
}

.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: "Sending...";
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
}

/* ================================
   FOOTER
   ================================ */

.site-footer {
  background-color: #111111;
  color: #f5f5f5;
  margin-top: 3rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  justify-content: space-between;
  padding: 2.2rem 0 1.4rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #d9d9d9;
}

.footer-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.footer-col p,
.footer-col li {
  font-size: 0.85rem;
  color: #d9d9d9;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #d9d9d9;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid #202020;
  text-align: center;
  padding: 0.8rem 0 1rem;
  font-size: 0.8rem;
  color: #bbbbbb;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 900px) {
  .about-layout,
  .service-detail,
  .service-detail.reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-detail.reverse {
    /* Keep text first on mobile */
    grid-auto-flow: row;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-columns {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: #141414;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.5rem 1.2rem;
    gap: 0.9rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-content {
    padding: 4rem 0 3.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonial-highlight {
    padding-left: 2.5rem;
  }

  .quote-mark {
    left: 1rem;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 2.2rem);
  }

  .card {
    padding: 1.3rem 1.4rem;
  }

  .page-hero {
    padding: 2.4rem 0 2.2rem;
  }

  .section {
    padding: 3.2rem 0;
  }
}
/* Portfolio images on home & portfolio pages */
.portfolio-image {
  border-radius: var(--radius-base);
  overflow: hidden;
  position: relative;
  background-color: #e0e0e0;
  /* keep a nice aspect ratio */
  aspect-ratio: 4 / 3;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Quote Request Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 420px;
  padding: 20px;
  border-radius: 10px;
}

.close-btn {
  float: right;
  font-size: 22px;
  cursor: pointer;
}

/* ================================
   PROJECT DETAIL PAGES
   ================================ */

.project-hero {
  background: linear-gradient(135deg, #141414, #1f1f1f);
  color: #ffffff;
  padding: 2.8rem 0 2.5rem;
}

.project-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 0.4rem;
}

.project-subtitle {
  color: #e5e5e5;
  font-size: 0.95rem;
  max-width: 640px;
}

.breadcrumb {
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  color: #cccccc;
}

.breadcrumb a {
  color: #e5e5e5;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Layout */
.project-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  align-items: flex-start;
}

.project-details h2,
.project-details h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.6rem;
}

.project-details p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0.8rem;
}

.project-details ul {
  padding-left: 1.2rem;
  font-size: 0.9rem;
}

/* Sidebar */
.project-sidebar h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.project-info-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
}

.project-info-list li {
  margin-bottom: 0.4rem;
}

/* Gallery */
.project-gallery {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-item {
  background-color: #ffffff;
  border-radius: var(--radius-base);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 0.7rem 0.9rem 0.9rem;

}

/* Responsive */
@media (max-width: 900px) {
  .project-layout {
    grid-template-columns: 1fr;
  }
}

/* ================================
   HOME PROCESS TIMELINE
   ================================ */

.process-timeline-home {
  position: relative;
  display: grid;
  gap: 1.6rem;
  margin-top: 1.5rem;
}

/* Add a subtle vertical line */
.process-timeline-home::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(212, 175, 55, 0.6),
    rgba(197, 164, 109, 0.1)
  );
}

/* Each step sits on that line */
.process-timeline-home .process-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: flex-start;
  position: relative;
}

/* Marker (circle with number) */
.step-marker {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid var(--color-accent);
  background-color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.14);
}

.step-marker span {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Step content */
.process-timeline-home .step-content {
  background-color: var(--color-white);
  border-radius: 1rem;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.process-timeline-home .step-content h2 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.process-timeline-home .step-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.process-timeline-home .step-content ul {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .process-timeline-home::before {
    left: 16px;
  }

  .process-timeline-home .step-content {
    padding: 1rem 1.1rem;
  }
}

/* Updated Services Grid */

.services-grid {
  display: grid;
  gap: 1.75rem;
}

/* 2 columns on tablets */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 4 columns on desktops */
@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* Service Card Layout */
/* Service cards – compact, image + text + arrow */
.service-card {
  padding: 0;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

/* Make entire card clickable */
.service-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Image */
.service-media {
  position: relative;
  border-radius: var(--radius-base) var(--radius-base) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: #e0e0e0;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Text + arrow row */
.service-body {
  padding: 1rem 1.2rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.service-body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.service-body p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Arrow ">" – bigger, black, bold */
.service-arrow {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  color: #000000;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Hover effects */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
  background-color: #ffffff;
}

.service-card:hover .service-media img {
  transform: scale(1.05);
}

/* Arrow color changes to theme on hover */
.service-card:hover .service-arrow {
  color: var(--color-accent);
  transform: translateX(4px);
}

/* Image area */
.service-media {
  position: relative;
  border-radius: var(--radius-base) var(--radius-base) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: #e0e0e0;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Text area */
.service-body {
  padding: 1.4rem 1.6rem 1.3rem;
}

.service-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.service-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.service-body ul {
  padding-left: 1.1rem;
  margin: 0 0 0.9rem 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* View more button with arrow (>) */
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--color-accent);
  font-weight: 500;
  padding: 0.35rem 0;
}

.service-arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0px solid rgba(212, 175, 55, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Hover Effects */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  background-color: #ffffff;
}

.service-card:hover .service-media img {
  transform: scale(1.05);
}

.service-card:hover .service-arrow {
  background-color: rgba(212, 175, 55, 0.08);
}


/* Service Card Body Layout */
.service-body {
  padding: 1.1rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* Headings */
.service-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin: 0;
}

/* Short description */
.service-body p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--color-text-muted);
}

/* Arrow below text */
.service-arrow {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  align-self: center; /* Keeps it left aligned */
  color: #111111;
  transition: transform 0.18s ease, color 0.18s ease;
}

/* Hover animation */
.service-card:hover .service-arrow {
  transform: translateX(6px);
  color: var(--color-accent);
}

/* Updated Portfolio Cards */
.portfolio-card {
  background: none;
  border: none;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Make card clickable */
.portfolio-link {
  display: block;
}

/* DOUBLE HEIGHT IMAGE */
.portfolio-image {
  position: relative;
  border-radius: var(--radius-base);
  overflow: hidden;
  height: 420px; /* ⬅️ doubled height (you can adjust) */
  background-color: #e0e0e0;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/* Dark overlay for readability */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.55));
  opacity: 0.8;
  transition: opacity 0.25s ease;
}

/* Title ON image */
.portfolio-title-overlay {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* Hover effects */
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.18);
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 0.6;
}



/* ================================
   PORTFOLIO PAGE
   ================================ */

   /* ===========================
   Kids Featured Section (distinct band)
   Add after main stylesheet
   =========================== */

.kids-featured-section {
  background: linear-gradient(180deg, #faf9f7 0%, #f6f5f3 100%);
  padding: 3.2rem 0;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.kids-featured-inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.5rem;
  align-items: start;
  width: min(1200px, 100%);
  margin: 0 auto;
}

/* left hero card */
.kids-hero-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  min-height: 300px;
  box-shadow: 0 18px 45px rgba(20,20,20,0.06);
  text-decoration: none;
  color: inherit;
}

.kids-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s cubic-bezier(.2,.9,.2,1);
}

/* overlay + title */
.kids-hero-overlay {
  position: absolute;
  /* inset: 0; */
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.44));
  z-index: 1;
  transition: opacity .25s ease;
  min-height: 300px;
}

.kids-hero-title {
  position: absolute;
  left: 1.6rem;
  bottom: 1.6rem;
  z-index: 2;
  font-family: var(--font-heading);
  font-weight: 800;
  color: white;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  text-shadow: 0 4px 18px rgba(0,0,0,0.5);
}

/* right side */
.kids-featured-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kids-featured-head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

.kids-featured-head .muted {
  color: var(--color-text-muted);
  font-size: .95rem;
  margin: 0;
}

/* mini grid */
.kids-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
  margin-top: .6rem;
}

.kids-mini-card {
  display: block;
  overflow: hidden;
  border-radius: .65rem;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: transform .22s ease, box-shadow .22s ease;
  background: white;
}

.kids-mini-card img {
  width: 100%;
  height: 116px;
  object-fit: cover;
  display:block;
}

.kids-mini-card .mini-caption {
  padding: .5rem .6rem;
  font-size: .92rem;
  font-weight: 600;
}

/* hover effects */
.kids-hero-card:hover img,
.kids-mini-card:hover img {
  transform: scale(1.06);
}

.kids-hero-card:hover .kids-hero-overlay {
  opacity: 0.6;
}

/* CTA row */
.kids-cta-row {
  display:flex;
  gap:.8rem;
  margin-top: .6rem;
  align-items:center;
}

.kids-featured-section .small-muted {
  color: var(--color-text-muted);
  font-size: .88rem;
  margin-top: .6rem;
}

/* Responsive */
@media (max-width: 980px) {
  .kids-featured-inner { grid-template-columns: 1fr; }
  .kids-hero-card { min-height: 540px; }
  .kids-mini-grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
}

@media (max-width: 520px) {
  .kids-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .kids-mini-card img { height: 96px; }
  .kids-hero-title { left: 1rem; bottom: 1rem; font-size: 1.05rem; }
  .kids-cta-row { flex-direction: column; align-items: stretch; }
}

/* FORCE hero image height to smaller size (override any other declarations) */
.kids-featured-section .kids-hero-card,
.kids-featured-section .kids-hero-card .kids-hero-overlay,
.kids-featured-section .kids-hero-card img {
  /* Important: set the container height and the visible image area */
  min-height: 540px !important;    /* change value to 250 / 200 if you prefer */
  height: 540px !important;
  max-height: 540px !important;
}

/* Make sure the image fills the container by cropping (cover) */
.kids-featured-section .kids-hero-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Smaller breakpoints */
@media (max-width: 980px) {
  .kids-featured-section .kids-hero-card,
  .kids-featured-section .kids-hero-card img {
    min-height: 540px !important;
    height: 540px !important;
    max-height: 540px !important;
  }
}

@media (max-width: 520px) {
  .kids-featured-section .kids-hero-card,
  .kids-featured-section .kids-hero-card img {
    min-height: 400px !important;
    height: 400px !important;
    max-height: 400px !important;
  }
}



/* =========================
   PREMIUM NAVBAR TRANSITION
   ========================= */

.site-header {
  position: fixed; /* change from sticky */
  width: 100%;
  top: 0;
  left: 0;

  background: transparent;
  z-index: 1000;
  transition: all 0.35s ease;
}

/* When scrolled */
.site-header.scrolled {
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Smooth text color transition */
.site-header .nav-links a,
.site-header .logo {
  transition: color 0.3s ease;
}



/* ================================
   PREMIUM MOBILE SYSTEM (SYNCED WITH COMING SOON)
   ================================ */

@media (max-width: 768px) {

  /* NAVBAR (CLEAN LIKE COMING SOON) */
  .nav-container {
    padding: 0.8rem 1.2rem;
  }

  .logo {
    font-size: 0.9rem;
  }

  /* HERO SECTION FIX */
  .hero {
    height: auto !important;
    min-height: 65vh;
  }

  .hero-content {
    padding: 6rem 1.2rem 3rem;
    align-items: flex-end;
  }

  /* REMOVE HEAVY HERO BOX FEEL */
  .hero-text {
    padding: 0;
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: clamp(1.6rem, 6vw, 2rem);
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  /* BUTTON STACK (IMPORTANT UX FIX) */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* SERVICES GRID */
  .services-grid {
    grid-template-columns: 1fr !important;
  }

  /* PORTFOLIO */
  .portfolio-image {
    height: 280px;
  }

  /* SECTIONS SPACING */
  .section {
    padding: 3rem 0;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

}

/* EXTRA SMALL DEVICES (MATCH COMING SOON) */
@media (max-width: 480px) {

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 0.85rem;
  }

  .container {
    width: calc(100% - 1.8rem);
  }

}

/* LARGE SCREENS CONSISTENCY */
@media (min-width: 1200px) {

  .hero-content {
    padding-left: 5%;
    padding-right: 5%;
  }

}



/* =========================================
   MOBILE HERO PERFECT FIX (ZIYAN INTERIORS)
   ========================================= */

@media (max-width: 768px) {

  /* HERO SECTION HEIGHT */
  .hero {
    height: 90vh;
  }

  /* HERO CONTENT POSITION */
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;   /* pushes content to bottom */
    align-items: flex-start;     /* aligns content to left */
    /* padding: 0 1.5rem 2.5rem; */
    height: 100%;
    

  }

  /* TEXT CONTAINER */
  .hero-text {
    max-width: 100%;
    text-align: left;
  }

  /* HEADING */
  .hero-text h1 {
    font-size: 1.9rem;
    line-height: 1.25;
    text-align: left;
    letter-spacing: 0.02em;
  }

  /* PARAGRAPH */
  .hero-text p {
    font-size: 0.95rem;
    margin-top: 0.4rem;
    text-align: left;
    opacity: 0.9;
  }

  /* BUTTON WRAPPER */
  .hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-start;
    padding-top: 100px;
  
  }

  /* BUTTON STYLE FIX */
  .btn {
    padding: 0.55rem 1.2rem;
    font-size: 1rem;
    border-radius: 999px;
    margin-top: 0;

  }

  /* SLIDER BUTTONS (LEFT RIGHT ARROWS) */
  .hero-btn {
    font-size: 1.4rem;
    padding: 0.4rem 0.7rem;
    opacity: 0.7;
  
  }

  .hero-btn.prev {
    left: 10px;
  }

  .hero-btn.next {
    right: 10px;
  }

  /* DOTS POSITION */
  .hero-dots {
    bottom: 12px;
  }

  /* OVERLAY IMPROVEMENT FOR TEXT VISIBILITY */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.6),
      rgba(0,0,0,0.65)
    );
  }

}







/* =========================================
   MOBILE NAV FIX - PERFECT RIGHT ALIGN
   ========================================= */

@media (max-width: 768px) {

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1rem;
  }

  .logo {
    padding-top: 10px;
    font-size: 0.95rem;
    padding-bottom: 10px;
  }

  .nav-toggle {
    margin-right: 0;      /* REMOVE extra margin */
    margin-left: auto;    /* PUSH it fully to right */
    display: flex;
  }

}






/* =========================================
   CONTACT PAGE FULL RESPONSIVE FIX (FINAL)
   ========================================= */

@media (max-width: 768px) {

  /* FORCE SINGLE COLUMN */
  .contact-layout {
    display: block !important;
  }

  /* CONTAINER SAFE WIDTH */
  .container {
    width: 100% !important;
    padding: 0 1rem;
  }

  /* FIX CARD WIDTH */
  .contact-card {
    width: 100%;
  }

  /* FORM FULL WIDTH */
  .contact-card form {
    width: 100%;
  }

  /* INPUT + TEXTAREA + SELECT */
  .form-row input,
  .form-row textarea,
  .form-row select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  /* TEXTAREA CONTROL */
  .form-row textarea {
    min-height: 110px;
  }

  /* FIX BUTTON */
  .contact-card .btn,
  .contact-card button {
    width: 100%;
    display: block;
    text-align: center;
  }

  /* REMOVE ANY OVERFLOW FROM ANY ELEMENT */
  * {
    max-width: 100%;
  }

  body {
    overflow-x: hidden;
  }

}