/* ==========================================
   NUVISTA DESIGN STUDIO
   PART 1 — CORE CSS FOUNDATION
   ========================================== */

/* ---------- GOOGLE FONT IMPORT ---------- */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap");

/* ---------- ROOT VARIABLES ---------- */

:root {
  --primary-color: #1c1c1c;
  --secondary-color: #b68b4c;
  --light-bg: #f8f7f4;
  --white: #ffffff;
  --text-color: #333333;
  --muted-text: #666666;
  --heading-font: "Playfair Display", serif;
  --body-font: "Montserrat", sans-serif;
  --container-width: 1200px;
  --shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* ---------- RESET ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- TYPOGRAPHY ---------- */

h1,
h2,
h3,
h4 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

p {
  font-size: 1rem;
}

/* ---------- GLOBAL CONTAINER ---------- */

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: auto;
}

/* ---------- SECTION SPACING ---------- */

.section {
  padding: 90px 0;
}

.section-small {
  padding: 60px 0;
}

/* =====================================
   HEADER
===================================== */

#header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ---------- Header ---------- */

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

/* Desktop Navigation */

/* Hamburger */

/* ===========================
   MOBILE NAVIGATION
===========================*/

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1002;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  margin: 4px 0;
  background: #b08a4a;
  border-radius: 20px;
  transition: 0.35s;
}

/* Hamburger Animation */

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Desktop */

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Mobile */

@media (max-width: 900px) {
  .site-header {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;

    top: 100%;

    left: 0;

    width: 100%;

    background: #ffffff;

    flex-direction: column;

    align-items: stretch;

    max-height: 0;

    overflow: hidden;

    transition: max-height 0.35s ease;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);

    border-top: 1px solid #ececec;
  }

  .main-nav.open {
    max-height: 500px;
  }

  .main-nav a {
    color: #1e1e1e;

    padding: 18px 25px;

    border-bottom: 1px solid #f2f2f2;

    font-weight: 500;

    transition: 0.3s;
  }

  .main-nav a:hover {
    color: #b08a4a;

    background: #faf8f3;
  }

  .main-nav a::after {
    display: none;
  }
}
/* =====================================
   HEADER NAVIGATION HOVER
===================================== */

.main-nav a:hover {
  color: #b08a4a;
}
.main-nav a:not(.btn) {
  position: relative;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #b08a4a;
  transition: width 0.3s ease;
}

.main-nav a:not(.btn):hover::after {
  width: 100%;
}

/* ---------- LOGO ---------- */

.logo {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-color);
}

.logo span {
  color: var(--secondary-color);
}

.logo-accent {
  color: #b08a4a;
}
/* ---------- NAVIGATION ---------- */

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-menu a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  transition: var(--transition);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ---------- TOP SPACING FIX ---------- */

main {
  margin: 0;
  padding: 0;
}

/* ---------- GLOBAL BUTTON BASE ---------- */

button {
  font-family: var(--body-font);
  cursor: pointer;
  border: none;
}

/* ---------- GOLD ACCENT ELEMENTS ---------- */

.gold-line {
  width: 70px;
  height: 3px;
  background: var(--secondary-color);
  margin: 20px 0;
}

/* ---------- BACKGROUND UTILITIES ---------- */

.bg-light {
  background: var(--light-bg);
}

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

.text-gold {
  color: var(--secondary-color);
}

/* ---------- CARD FOUNDATION ---------- */

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

/* ---------- RESPONSIVE NAVIGATION ---------- */

@media (max-width: 900px) {
  .navbar {
    height: 75px;
  }

  main {
    padding-top: 75px;
  }
}

/* ---------- SMALL MOBILE ---------- */

@media (max-width: 480px) {
  .logo {
    font-size: 1.6rem;
  }

  .section {
    padding: 60px 0;
  }
}

/* ==========================================
   PART 2 — NuVista Design Studio CSS
   Components, Sections & Responsive Styling
   ========================================== */

/* ---------- HERO SECTION ---------- */

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.35));
}

@media (min-width: 1200px) {
  .hero .container {
    padding-left: 80px;
  }
}
@media (max-width: 600px) {
  .hero .container {
    padding-left: 20px;

    padding-right: 20px;
  }

  .hero-content {
    text-align: center;
  }
}
.hero h1 {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
}

.hero p {
  margin-top: 20px;
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 650px;
}

.hero .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* =====================================
   INNER PAGE HERO
===================================== */

.page-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
}
/* ---------- BUTTONS ---------- */

/* ---------- ABOUT SECTION ---------- */

.about {
  padding: 90px 0;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  line-height: 1.8;
  color: #555;
}

/* ---------- SERVICES CARDS ---------- */

.services {
  padding: 90px 0;
  background: #f7f6f3;
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: auto;
}

.section-title h2 {
  font-size: 2.5rem;
}

.section-title p {
  margin-top: 15px;
  color: #666;
}

.service-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ---------- PROJECT PORTFOLIO ---------- */

.projects {
  padding: 90px 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.project-card {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.project-card img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
}

/* ---------- WHY CHOOSE US ---------- */

.features {
  background: #222;
  color: #fff;
  padding: 90px 0;
}

.feature-box {
  text-align: center;
}

.feature-box h3 {
  color: #c49a55;
  margin-bottom: 12px;
}

.feature-box p {
  color: #ddd;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.feature-card {
  background: #fff;
  border: 1px solid #b08a4a;
  border-radius: 18px;
  padding: 36px;
  transition: 0.35s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}
/* ---------- CONTACT SECTION ---------- */

.contact {
  padding: 90px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form textarea {
  height: 150px;
}

/* ---------- FOOTER ---------- */

.footer a {
  color: #c49a55;
}

/*==========================================
    disclaimer
==========================================*/

.site-footer .footer-disclaimer p {
  color: #b8b8b8;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 15px;
}
.site-footer p {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer a {
  color: #cccccc;
  text-decoration: none;
}

.site-footer a:hover {
  color: #b08a4a;
}

/* Footer Headings */

.site-footer h3 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

/* =====================================
   COMPACT FOOTER
===================================== */

.site-footer {
  background: #1e1e1e;
  color: #ffffff;
  padding: 28px 0 18px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-footer .brand {
  color: #ffffff;
}

.site-footer .brand-mark {
  color: #b08a4a;
  width: 40px;
  height: 40px;
}

.site-footer .brand-name {
  color: #ffffff;
}

.site-footer .brand-subtitle {
  color: #bdbdbd;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a,
.footer-email {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover,
.footer-email:hover {
  color: #b08a4a;
}

@media (max-width: 768px) {
  .footer-main,
  .footer-bottom {
    flex-direction: column;

    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;

    justify-content: center;
  }
}
/* ---------- ANIMATION ---------- */

.fade-up {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- TABLET RESPONSIVE ---------- */

@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- MOBILE RESPONSIVE ---------- */

@media (max-width: 600px) {
  .hero {
    min-height: 75vh;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    display: block;
    text-align: center;
    margin-left: 0;
  }

  .service-grid,
  .project-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

/* ==========================================
   NUVISTA DESIGN STUDIO
   PART 3 — ADVANCED POLISH CSS
   ========================================== */

/* ==========================================
   PREMIUM IMAGE EFFECTS
   ========================================== */

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.image-wrapper img {
  display: block;
  width: 100%;
  transition: transform 0.6s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
  opacity: 0;
  transition: 0.4s ease;
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}

/* ==========================================
   PROJECT FILTER / CATEGORY TAGS
   ========================================== */

.project-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.project-tags span {
  padding: 8px 18px;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 0.85rem;
  transition: 0.3s ease;
}

.project-tags span:hover {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

/* ==========================================
   TESTIMONIAL SECTION
   ========================================== */

.testimonials {
  background: var(--light-bg);
  padding: 90px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: white;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.testimonial-card p {
  font-style: italic;
  color: #555;
  line-height: 1.8;
}

.testimonial-author {
  margin-top: 25px;
  font-weight: 600;
  color: var(--primary-color);
}

.testimonial-role {
  font-size: 0.85rem;
  color: #888;
}

/* ==========================================
   FAQ SECTION
   ========================================== */

.faq {
  padding: 90px 0;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

.faq-answer {
  margin-top: 15px;
  color: #666;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================
   PROCESS / HOW WE WORK
   ========================================== */

.process-step {
  text-align: center;
}

.process-step h3 {
  margin-top: 20px;
}

.process-step p {
  color: #666;
}

/* ==========================================
   CTA BANNER
   ========================================== */

.cta {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/cta-background.jpg");
  background-size: cover;
  background-position: center;
  padding: 90px 20px;
  text-align: center;
  color: white;
}

.cta h2 {
  color: white;
}

.cta p {
  max-width: 700px;
  margin: 20px auto;
  color: #eee;
}

/* ==========================================
   MAP SECTION
   ========================================== */

.map-container {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================
   FORM VALIDATION STATES
   ========================================== */

.form-success {
  padding: 15px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 5px;
}

.form-error {
  padding: 15px;
  background: #ffebee;
  color: #c62828;
  border-radius: 5px;
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ==========================================
   SOCIAL MEDIA ICONS
   ========================================== */

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #333;
  color: white;
  transition: 0.3s ease;
}

.social-links a:hover {
  background: var(--secondary-color);
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */

.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 3px;
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
  .header,
  .footer,
  .btn,
  body {
    color: #000;
  }

  main {
    padding-top: 0;
  }
}

/* ==========================================
   FINAL RESPONSIVE OPTIMIZATION
   ========================================== */

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

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .process-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 60px 20px;
  }

  .map-container {
    height: 300px;
  }
}

/* FORCE HERO SPACING FIX */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08)
    ),
    url("../images/hero-home.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero > .container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 60px;
  padding-right: 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .hero > .container {
    padding-left: 25px;
    padding-right: 25px;
  }

  .hero-content {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
/* ==========================================
   BRAND LOGO
   ========================================== */

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #b08a4a;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.5rem;
  color: #1e1e1e;
  font-weight: 700;
}

.brand-subtitle {
  font-size: 0.75rem;
  letter-spacing: 2px;
}

/* Hover effect */

.brand:hover .brand-mark {
  transform: scale(1.05);
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* Mobile */

@media (max-width: 600px) {
  .brand-mark {
    width: 42px;

    height: 42px;
  }

  .brand-name {
    font-size: 1.6rem;
  }

  .brand-subtitle {
    font-size: 0.6rem;

    letter-spacing: 2px;
  }
}
/* ==========================================
   PREMIUM FOOTER
   ========================================== */

.footer {
  background: #111;
  color: #ddd;
  padding: 70px 0 25px;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Footer Brand */

.footer-logo {
  color: white;
}

.footer-logo .brand-mark {
  color: var(--secondary-color);
}

.footer-logo .brand-name {
  color: white;
}

.footer-logo .brand-subtitle {
  color: #aaa;
}

.footer-description {
  margin-top: 25px;
  max-width: 350px;
  line-height: 1.8;
  color: #aaa;
}

/* Footer Columns */

.footer h3 {
  color: white;
  font-family: var(--body-font);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-links a,
.footer-contact a {
  display: block;
  color: #aaa;
  margin-bottom: 12px;
  transition: 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--secondary-color);
}

.footer-contact p {
  color: #aaa;
  margin-bottom: 12px;
}

/* Bottom Bar */

.footer-bottom {
  margin-top: 50px;
  padding: 15px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  color: #999;
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #888;
}

/* Responsive */

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .footer {
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-description {
    margin-left: auto;

    margin-right: auto;
  }
}

/* ==========================================
   BUTTON SYSTEM
   ========================================== */

.btn {
  display: inline-flex;
  padding: 14px 34px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 30px;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  font-family: var(--body-font);
  letter-spacing: 0.3px;
  cursor: pointer;
}

/* Gold Primary Button */

.btn-primary {
  background: var(--secondary-color);
  color: #ffffff;
  border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
  background: #96703b;
  transform: translateY(-3px);
  border-color: #96703b;
  color: #ffffff;
}

/* White Outline Button */

.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  margin-left: 12px;
  background: transparent;
}

.btn-outline:hover {
  background: #ffffff;
  color: #222222;
  transform: translateY(-3px);
}

/* Dark Outline Button (for light backgrounds) */

.btn-dark-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-dark-outline:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.hero .btn + .btn {
  margin-left: 15px;
}

@media (max-width: 600px) {
  .hero .btn + .btn {
    margin-left: 0;

    margin-top: 15px;
  }
}

/* ==========================================
   WHY HOMEOWNERS CHOOSE NUVISTA SECTION
   ========================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.why-grid .card {
  background: #ffffff;
  padding: 38px 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  position: relative;
  transition: all 0.35s ease;
  height: 100%;
}

/* Gold accent line */

.why-grid .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 45px;
  height: 3px;
  background: var(--secondary-color);
  transition: 0.3s ease;
}

/* Card hover */

.why-grid .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.why-grid .card:hover::before {
  width: 80px;
}

/* Heading */

.why-grid .card h3 {
  margin-top: 20px;
  margin-bottom: 18px;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--primary-color);
}

/* Paragraph */

.why-grid .card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

/* Section heading */

.section-head {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 20px;
}

.section-head p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Responsive */

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  .why-grid .card {
    padding: 32px 28px;
  }
}
/* ==========================================
   RESIDENTIAL DESIGN SERVICES
   ========================================== */

.services-section {
  padding: 90px 0;
  background: #faf9f7;
}

.service-card {
  background: white;
  padding: 38px 32px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.35s ease;
  border: 1px solid #e6e2dc;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45px;
  height: 4px;
  background: var(--secondary-color);
}

.service-number {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 1.35rem;
  line-height: 1.4;
}

.service-card p {
  color: #555;
  line-height: 1.75;
  margin-bottom: 25px;
}

.service-card a {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
}

.service-card a:hover {
  text-decoration: underline;
}

@media (max-width: 950px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================
   DESIGN STATEMENT SECTION
   ========================================== */

.design-statement {
  padding: 100px 0;
  background: #ffffff;
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.statement-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 4px;
}

.statement-content {
  max-width: 550px;
}

.statement-content h2 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.statement-content p {
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.statement-content .btn {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .statement-grid {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .statement-image img {
    height: 380px;
  }

  .statement-content h2 {
    font-size: 2.3rem;
  }
}

/* ==========================================
   STATS
   ========================================== */

.stats {
  padding: 80px 0;
}

@media (max-width: 576px) {
  .stats {
    padding: 60px 0;
  }
}

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

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.stat-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  transition: 0.3s ease;
}

.stat-card h2 {
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
  color: var(--secondary-color);
  margin-bottom: 10px;
  word-break: keep-all;
}

.stat-card p {
  font-size: clamp(0.9rem, 3vw, 1rem);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 576px) {
  .stat-card {
    padding: 28px 20px;
  }

  .stat-card h2 {
    font-size: 2.4rem;
  }

  .stat-card p {
    font-size: 0.95rem;
  }
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* ==========================================
   HOW WE WORK
========================================== */

.process-section {
  padding: 100px 0;
  background: #faf9f7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.process-card {
  background: #fff;
  border: 1px solid #e6e2dc;
  border-radius: 10px;
  padding: 40px 32px;
  transition: 0.35s ease;
  position: relative;
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--secondary-color);
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.process-number {
  width: 60px;
  height: 60px;
  margin: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.process-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: var(--primary-color);
}

.process-card p {
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* ======================================
   HOME SERVICES
====================================== */

.services-home {
  padding: 100px 0;
  background: #faf9f7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
}

.services-home .card {
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  transition: 0.35s ease;
}

.services-home .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.services-home p {
  color: #666;
  line-height: 1.8;
  margin-top: 12px;
}

.section-action {
  text-align: center;
  margin-top: 50px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #b08a4a;
  color: #fff;
  font-weight: 700;
  margin-bottom: 22px;
}
.card-grid {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.four-col {
  grid-template-columns: repeat(4, 1fr);
}

/*==========================================
    DESIGN PHILOSOPHY
==========================================*/

.design-philosophy {
  padding: 100px 0;
  background: #faf9f7;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.philosophy-card {
  background: #fff;
  padding: 38px;
  border-radius: 18px;
  border: 1px solid #ece7de;
  position: relative;
  transition: 0.35s ease;
}

.philosophy-card::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  width: 60px;
  height: 4px;
  background: #b08a4a;
}

.philosophy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.bronze-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #b08a4a;
  margin: 18px 0 24px;
}

.philosophy-card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.philosophy-card p {
  color: #666;
  line-height: 1.8;
}

.about-founder {
  padding: 100px 0;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.founder-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 4px;
  object-fit: cover;
}

.section-label {
  color: #b88a44;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 15px;
  display: inline-block;
  text-transform: uppercase;
}

.founder-content h2 {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #1a1a1a;
}

.founder-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 18px;
}

.founder-highlights {
  display: flex;
  gap: 35px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e6e0d7;
}

.highlight-item {
  display: flex;
  flex-direction: column;
}

.highlight-number {
  color: #b88a44;
  font-size: 28px;
  font-weight: 600;
}

.highlight-text {
  color: #555;
  font-size: 13px;
  margin-top: 5px;
  max-width: 140px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founder-image img {
    max-width: 100%;
  }

  .founder-highlights {
    flex-direction: column;
    gap: 20px;
  }
}
