*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:        #050c0e;
  --bg2:       #071217;
  --surface:   #0a1a20;
  --panel:     #0d2030;
  --emerald:   #1a6b4a;
  --emerald-l: #2a9b6a;
  --emerald-g: #3dbf82;
  --silver:    #c8d8e0;
  --silver-l:  #e8f0f5;
  --silver-d:  #8aa0ac;
  --gold:      #c9a84c;
  --gold-l:    #e8c97a;
  --blue:      #1e3f6e;
  --blue-l:    #2e5fa0;
  --blue-g:    #4a87d0;
  --text:      #ddeaf0;
  --muted:     #4a6570;
  --border:    #112030;
  --font-serif: 'Playfair Display', serif;
  --font-body:  'Cormorant Garamond', serif;
  --font-sans:  'Josefin Sans', sans-serif;
}
html { 
  scroll-behavior: smooth; 
  overflow-x: hidden; /* Add this to force iOS to respect boundaries */
  width: 100%;        /* Add this */
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  overflow-x: hidden;
  width: 100%;        /* Add this */
  position: relative; /* Add this to contain absolute elements like the horse */
}

/* NAV */
nav {
  position: fixed; top:0; left:0; right:0; z-index:200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 56px;
  transition: background .4s, padding .4s, border-bottom .4s;
}
nav.scrolled {
  background: rgba(5,12,14,0.96);
  backdrop-filter: blur(16px);
  padding: 18px 56px;
  border-bottom: 1px solid rgba(26,107,74,0.2);
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--silver-l);
  display: flex; align-items: center; gap: 10px;
}
.logo em { color: var(--emerald-g); font-style: normal; }

/* New rule for the logo image */
.nav-logo-img {
  height: 35px; /* Adjust this value up or down to change the logo size */
  width: auto;
  display: block;
}
.flogo-img {
  height: 50px; /* Adjust this value up or down to change the logo size */
  width: auto;
  display: block;
}
.buttomlogo-img {
  height: 40px; /* Adjust this value up or down to change the logo size */
  width: auto;
  display: block;
}

.nav-links { display: flex; gap: 44px; list-style: none; }
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.68rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--silver-d); text-decoration: none;
  transition: color .25s;
}
.nav-links a:hover { color: var(--emerald-g); }
.nav-btn {
  font-family: var(--font-sans);
  font-size: 0.65rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 11px 28px;
  border: 1px solid var(--emerald);
  color: var(--emerald-g); background: transparent;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.nav-btn:hover { background: var(--emerald); color: #fff; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 56px 80px;
  position: relative; overflow: hidden;
}
.hero-turf {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(26,107,74,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(30,63,110,0.25) 0%, transparent 65%),
    linear-gradient(165deg, #050c0e 0%, #071a24 40%, #071217 100%);
}

.hero-horse {
  position: absolute; right:-2%; bottom:0;
  width: 55%; max-width: 820px;
  opacity: 0.15; pointer-events: none;
  animation: horseFloat 8s ease-in-out infinite;
  /* Makes the black logo white and blends away any solid white background */
  filter: invert(1);
  mix-blend-mode: screen; 
}
@keyframes horseFloat { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-18px); } }

.hero-badge-wrap {
  position: absolute; top: 140px; right: 56px;
  width: 100px; height: 100px;
}
.hero-badge-svg { animation: badgeSpin 30s linear infinite; }
@keyframes badgeSpin { from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } }
.hero-badge-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.85rem; font-style: italic;
  color: var(--gold);
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.65rem; font-weight: 300;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--emerald-g); margin-bottom: 28px;
  opacity: 0; animation: riseIn 1s 0.3s forwards;
  display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 32px; height: 1px; background: var(--emerald-g);
}
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 11vw, 12rem);
  font-weight: 900; line-height: 0.88;
  position: relative; z-index: 1;
}
.hero-h1 .row { display: block; overflow: hidden; }
.hero-h1 .row span {
  display: block; opacity: 0; transform: translateY(110%);
  animation: slideUp 1s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-h1 .row:nth-child(1) span { animation-delay: 0.5s; }
.hero-h1 .row:nth-child(2) span { animation-delay: 0.7s; color: var(--emerald-g); }
.hero-sub {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-top: 52px; opacity: 0; animation: riseIn 1s 1.2s forwards;
}
.hero-desc {
  max-width: 380px; font-size: 1.15rem; font-weight: 300;
  line-height: 1.8; color: var(--silver-d); font-style: italic;
}
.hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.btn-main {
  display: inline-flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-l));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 18px 40px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn-main:hover { transform: translate(-2px,-3px); box-shadow: 2px 3px 0 var(--gold), 4px 6px 20px rgba(26,107,74,0.3); }
.btn-alt {
  font-family: var(--font-sans); font-size: 0.63rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--silver-d); text-decoration: none;
  transition: color .2s;
}
.btn-alt:hover { color: var(--silver-l); }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: riseIn 1s 1.6s forwards;
}
.scroll-text { font-family: var(--font-sans); font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.scroll-chevrons { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.scroll-chevrons span {
  display: block; width: 10px; height: 10px;
  border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted);
  transform: rotate(45deg); animation: chevron 2s ease-in-out infinite;
}
.scroll-chevrons span:nth-child(2){ animation-delay:.2s; opacity:.6; }
.scroll-chevrons span:nth-child(3){ animation-delay:.4s; opacity:.3; }
@keyframes chevron { 0%,100%{ transform:rotate(45deg) translateY(0); } 50%{ transform:rotate(45deg) translateY(4px); } }
@keyframes riseIn { to { opacity:1; transform:none; } }
@keyframes slideUp { to { opacity:1; transform:translateY(0); } }

/* MARQUEE */
.marquee-wrap {
  border-top: 1px solid rgba(26,107,74,0.25);
  border-bottom: 1px solid rgba(26,107,74,0.25);
  padding: 18px 0; overflow: hidden;
  background: rgba(10,26,32,0.6);
}
.marquee-track {
  display: inline-flex;
  animation: marquee 24s linear infinite; white-space: nowrap;
}
.marquee-track span {
  font-family: var(--font-sans); font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--silver-d); padding: 0 48px;
}
.marquee-track .pip { color: var(--gold); padding: 0; margin: 0 -24px; }
@keyframes marquee { from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* SECTIONS */
section { padding: 120px 56px; }
.tag {
  font-family: var(--font-sans); font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--emerald-g); margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.tag::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--emerald-g); }

/* ABOUT */
#about { 
  background: linear-gradient(to right, rgba(5,12,14,0.95) 0%, rgba(5,12,14,0.7) 100%), 
              url('media/about-background.png');
  background-size: cover;
  background-position: center;
} 
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem,4.5vw,5rem);
  line-height: 1.0; font-weight: 700; margin-bottom: 36px;
}
.about-left h2 em { display: block; font-style: italic; color: var(--emerald-g); }
.about-divider { width: 60px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); margin-bottom: 36px; }
.about-left p { font-size: 1.1rem; font-weight: 300; line-height: 1.9; color: var(--silver-d); }
.about-frame {
  border: 1px solid rgba(61,191,130,0.15);
  padding: 56px 48px;
  background: linear-gradient(135deg, rgba(26,107,74,0.06), transparent);
  position: relative;
}
.about-frame::before {
  content: ''; position: absolute; top:10px; left:10px; right:-10px; bottom:-10px;
  border: 1px solid rgba(201,168,76,0.1); pointer-events: none;
}
.about-quote { font-family: var(--font-serif); font-size: 1.55rem; font-style: italic; line-height: 1.6; color: var(--silver-l); margin-bottom: 28px; }
.about-quote-mark { font-size: 5rem; line-height: 0.5; color: var(--emerald); font-family: var(--font-serif); display: block; margin-bottom: 16px; }
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(61,191,130,0.12); }
.stat-n {
  font-family: var(--font-serif); font-size: 3.2rem; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--emerald-g), var(--blue-g));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-l { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* SERVICES */
#services { background: var(--bg); }
.services-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.services-top h2 { font-family: var(--font-serif); font-size: clamp(2.8rem,4.5vw,5rem); line-height: 0.95; font-weight: 700; }
.services-top h2 em { font-style: italic; color: var(--emerald-g); }
.services-top p { max-width: 300px; font-size: 1rem; font-weight: 300; font-style: italic; color: var(--silver-d); line-height: 1.7; }
.services-list { display: flex; flex-direction: column; gap: 1px; background: rgba(61,191,130,0.08); border: 1px solid rgba(61,191,130,0.1); }
.svc {
  background: var(--bg); padding: 40px 48px;
  display: grid; grid-template-columns: 80px 1fr auto;
  align-items: center; gap: 48px;
  transition: background .3s; position: relative; overflow: hidden;
}
.svc::before {
  content: ''; position: absolute; left:0; top:0; bottom:0; width:0;
  background: linear-gradient(90deg, rgba(26,107,74,0.2), transparent);
  transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
}
.svc:hover::before { width: 100%; }
.svc:hover { background: rgba(10,26,32,0.8); }
.svc-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; font-style: italic; color: rgba(61,191,130,0.25); transition: color .3s; }
.svc:hover .svc-num { color: var(--emerald-g); }
.svc-body h3 { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 8px; }
.svc-body p { font-size: 0.95rem; font-weight: 300; line-height: 1.7; color: var(--silver-d); }
.svc-arrow { font-size: 1.5rem; color: var(--emerald); opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .3s; }
.svc:hover .svc-arrow { opacity: 1; transform: translateX(0); }

/* WORK */
#work { background: var(--bg2); }
.work-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.work-header h2 { font-family: var(--font-serif); font-size: clamp(2.8rem,4.5vw,5rem); line-height: 0.95; font-weight: 700; }
.work-header h2 em { font-style: italic; color: var(--gold); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.work-card { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--surface); }
.work-card:first-child { grid-column: 1/-1; aspect-ratio: 16/6; }
.wc-bg { position: absolute; inset: 0; transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.work-card:hover .wc-bg { transform: scale(1.05); }
.wc-bg-1 {
  background: linear-gradient(to bottom, rgba(5,12,14,0.2) 0%, rgba(5,12,14,0.8) 100%), 
              url('media/abdull.gif');
  background-size: cover;
  background-position: center;
}

.wc-bg-2 {
  background: linear-gradient(to bottom, rgba(5,12,14,0.2) 0%, rgba(5,12,14,0.8) 100%), 
              url('media/my-property-masters.gif');
  background-size: cover;
  background-position: center;
}

.wc-bg-3 {
  background: linear-gradient(to bottom, rgba(5,12,14,0.2) 0%, rgba(5,12,14,0.8) 100%), 
              url('media/first-call-handyman.gif');
  background-size: cover;
  background-position: center;
}
.wc-deco { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0.12; }
.wc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,12,14,0.92) 0%, rgba(5,12,14,0.2) 50%, transparent 100%);
  padding: 32px; display: flex; flex-direction: column; justify-content: flex-end;
}
.wc-tag { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--emerald-g); margin-bottom: 8px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; }
.work-card:hover .wc-tag { opacity: 1; transform: translateY(0); }
.wc-title { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; line-height: 1.1; transform: translateY(10px); transition: transform .4s; }
.work-card:hover .wc-title { transform: translateY(0); }
.wc-corner { position: absolute; top: 24px; right: 24px; font-family: var(--font-sans); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(200,216,224,0.3); }

/* PROCESS */
#process { background: var(--surface); }
.process-top { margin-bottom: 72px; }
.process-top h2 { font-family: var(--font-serif); font-size: clamp(2.8rem,4.5vw,5rem); line-height: 0.95; font-weight: 700; }
.process-top h2 em { font-style: italic; color: var(--blue-g); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid rgba(61,191,130,0.1); }
.p-step {
  padding: 56px 40px; border-right: 1px solid rgba(61,191,130,0.1);
  position: relative; transition: background .4s;
}
.p-step:last-child { border-right: none; }
.p-step::after {
  content: ''; position: absolute; bottom:0; left:40px; right:40px; height:2px;
  background: linear-gradient(90deg, var(--emerald), var(--blue-l));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.p-step:hover::after { transform: scaleX(1); }
.p-step:hover { background: rgba(10,26,32,0.6); }
.p-num { font-family: var(--font-serif); font-size: 5rem; font-weight: 900; line-height: 1; color: rgba(61,191,130,0.08); margin-bottom: 28px; transition: color .4s; }
.p-step:hover .p-num { color: rgba(61,191,130,0.18); }
.p-icon { font-size: 1.6rem; margin-bottom: 20px; display: block; }
.p-step h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 14px; }
.p-step p { font-size: 0.95rem; font-weight: 300; line-height: 1.75; color: var(--silver-d); }

/* TESTIMONIAL */
.testimonial-section {
  background: linear-gradient(135deg, #071a24 0%, #0a2818 50%, #071a24 100%);
  border-top: 1px solid rgba(61,191,130,0.15);
  border-bottom: 1px solid rgba(61,191,130,0.15);
  padding: 100px 56px; text-align: center; position: relative; overflow: hidden;
}
.test-deco {
  position: absolute; font-family: var(--font-serif); font-size: 30rem;
  color: rgba(26,107,74,0.04); top:-80px; left:50%;
  transform: translateX(-50%); pointer-events: none; line-height:1; font-style:italic;
}
.test-stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 6px; margin-bottom: 36px; position: relative; z-index:1; }
.test-quote { font-family: var(--font-serif); font-size: clamp(1.6rem,3.5vw,3.2rem); font-style: italic; font-weight: 400; line-height: 1.4; color: var(--silver-l); max-width: 860px; margin: 0 auto 40px; position: relative; z-index:1; }
.test-author { font-family: var(--font-sans); font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--emerald-g); position: relative; z-index:1; }

/* PRICING */
#pricing { background: var(--bg); }
.pricing-head { margin-bottom: 64px; }
.pricing-head h2 { font-family: var(--font-serif); font-size: clamp(2.8rem,4.5vw,5rem); line-height: 0.95; font-weight: 700; }
.pricing-head h2 em { font-style: italic; color: var(--gold); }
.pricing-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.p-card { border: 1px solid rgba(61,191,130,0.12); padding: 52px 44px; position: relative; background: var(--bg2); transition: border-color .3s, transform .3s; }
.p-card:hover { border-color: rgba(61,191,130,0.35); transform: translateY(-6px); }
.p-card.featured { border-color: rgba(61,191,130,0.4); background: linear-gradient(160deg, rgba(26,107,74,0.12), rgba(7,18,23,0.8)); }
.p-card.featured::before { content: 'Recommended'; position: absolute; top:-1px; right:36px; background: linear-gradient(90deg, var(--emerald), var(--emerald-l)); color: #fff; font-family: var(--font-sans); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 14px; }
.p-tier { font-family: var(--font-sans); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver-d); margin-bottom: 28px; }
.p-price { font-family: var(--font-serif); font-size: 3.8rem; font-weight: 700; line-height: 1; margin-bottom: 6px; background: linear-gradient(135deg, var(--silver-l), var(--silver-d)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.p-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.p-feats { list-style: none; margin-bottom: 44px; }
.p-feats li { padding: 10px 0; border-bottom: 1px solid rgba(61,191,130,0.08); font-size: 0.95rem; font-weight: 300; color: var(--silver-d); display: flex; align-items: center; gap: 12px; }
.p-feats li::before { content: '⬦'; color: var(--emerald-g); font-size: 0.7rem; }
.p-btn { display: block; text-align: center; font-family: var(--font-sans); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 16px; border: 1px solid currentColor; text-decoration: none; color: var(--emerald-g); transition: background .25s, color .25s; }
.p-btn:hover, .p-card.featured .p-btn { background: linear-gradient(135deg, var(--emerald), var(--emerald-l)); color: #fff; border-color: transparent; }

/* CONTACT */
#contact { background: var(--bg2); }

/* Increased horizontal gap between the left text and right form from 100px to 140px */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 140px; } 

/* Fixed class names: Changed .contact-l to .contact-wrap .rv-l so the styles actually apply */
.contact-wrap .rv-l h2 { font-family: var(--font-serif); font-size: clamp(2.8rem,4.5vw,5rem); line-height: 0.95; font-weight: 700; margin-bottom: 32px; }
.contact-wrap .rv-l h2 em { font-style: italic; color: var(--emerald-g); }
.contact-wrap .rv-l > p:not(.tag) { font-size: 1.05rem; font-weight: 300; font-style: italic; color: var(--silver-d); line-height: 1.8; margin-bottom: 52px; }

.contact-links { display: flex; flex-direction: column; gap: 16px; }
.contact-links a { font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver-d); text-decoration: none; display: flex; align-items: center; gap: 12px; transition: color .25s; }
.contact-links a::before { content: ''; display: block; width: 20px; height: 1px; background: currentColor; transition: width .3s; }
.contact-links a:hover { color: var(--emerald-g); }
.contact-links a:hover::before { width: 32px; }

/* Form Spacing Enhancements */
.cform { display: flex; flex-direction: column; gap: 32px; } /* Increased from 22px to space out form rows */
.fg { display: flex; flex-direction: column; gap: 12px; } /* Increased from 8px to separate labels from inputs */
.fg label { font-family: var(--font-sans); font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* Increased padding slightly for a less crowded feel inside the inputs */
.fg input, .fg textarea, .fg select { background: rgba(10,26,32,0.5); border: 1px solid rgba(61,191,130,0.12); border-bottom-color: rgba(61,191,130,0.3); color: var(--text); font-family: var(--font-body); font-size: 1.05rem; font-weight: 300; padding: 18px 20px; outline: none; width: 100%; transition: border-color .25s, background .25s; }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: rgba(61,191,130,0.5); background: rgba(26,107,74,0.06); }

.fg textarea { min-height: 140px; resize: none; } /* Increased min-height from 110px */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } /* Increased from 20px */

/* Added cursor: pointer and a small top margin to distance the button from the textarea */
.submit { margin-top: 12px; cursor: pointer; align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; background: linear-gradient(135deg, var(--emerald), var(--emerald-l)); color: #fff; font-family: var(--font-sans); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; padding: 18px 44px; border: none; transition: transform .2s, box-shadow .2s; }
.submit:hover { transform: translate(-2px,-3px); box-shadow: 2px 3px 0 var(--gold); }

/* FOOTER */
footer { background: var(--bg); border-top: 1px solid rgba(61,191,130,0.12); padding: 64px 56px 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 64px; }
.footer-brand .flogo { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: var(--silver-l); margin-bottom: 16px; }
.footer-brand .flogo em { font-style: normal; color: var(--emerald-g); }
.footer-brand p { font-size: 0.95rem; font-style: italic; color: var(--muted); max-width: 240px; line-height: 1.7; }
.footer-cols { display: flex; gap: 72px; }
.fc h4 { font-family: var(--font-sans); font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.fc ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fc ul a { font-size: 0.95rem; font-weight: 300; color: var(--silver-d); text-decoration: none; transition: color .2s; }
.fc ul a:hover { color: var(--emerald-g); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(61,191,130,0.08); }
.footer-bottom p { font-family: var(--font-sans); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.footer-bottom p a {
  color: inherit; /* Inherits the --muted color and font settings from the p tag */
  text-decoration: none; /* Removes the default underline */
  transition: color 0.25s ease; /* Smooth transition for the hover effect */
}

.footer-bottom p a:hover {
  color: var(--emerald-g); /* Gives it the same green hover effect as your other footer links */
}
.footer-horse { font-size: 1.5rem; opacity: 0.3; }

/* SCROLL REVEAL */
.rv { opacity:0; transform:translateY(36px); transition:opacity .9s cubic-bezier(0.16,1,0.3,1),transform .9s cubic-bezier(0.16,1,0.3,1); }
.rv-l { opacity:0; transform:translateX(-36px); transition:opacity .9s cubic-bezier(0.16,1,0.3,1),transform .9s cubic-bezier(0.16,1,0.3,1); }
.rv-r { opacity:0; transform:translateX(36px); transition:opacity .9s cubic-bezier(0.16,1,0.3,1),transform .9s cubic-bezier(0.16,1,0.3,1); }
.rv.show,.rv-l.show,.rv-r.show { opacity:1; transform:none; }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s}
.d4{transition-delay:.4s} .d5{transition-delay:.5s} .d6{transition-delay:.6s}

/* --- MOBILE MENU DEFAULT STYLES --- */
.menu-toggle { display: none; cursor: pointer; color: var(--silver-l); }
.mobile-only-btn { display: none; margin-top: 16px; text-align: center; }

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 992px) {
  /* Global Adjustments */
  section { padding: 60px 24px; }
  .tag { font-size: 0.55rem; }

  /* Navigation */
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .desktop-btn { display: none; }
  .menu-toggle { display: block; }
  
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(5,12,14,0.98); backdrop-filter: blur(16px);
    flex-direction: column; gap: 20px; padding: 24px;
    border-bottom: 1px solid rgba(26,107,74,0.2);
    display: none; /* Hidden by default on mobile */
  }
  .nav-links.active { display: flex; }
  .mobile-only-btn { display: inline-block; }

  /* Hero Section Mobile Fixes */
  .hero { padding: 0 24px 80px; } /* Slightly more padding so content breathes */
  .hero-h1 { font-size: clamp(3.5rem, 12vw, 5rem); }
  .hero-sub { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-badge-wrap { display: none; } /* Hide spinning badge on small screens to save space */
  .hero-horse { width: 120%; right: -20%; opacity: 0.04; }
  
  /* Buttons and Scroll Fix */
  .hero-actions { 
    align-items: flex-start; /* Align buttons to the left */
    width: 100%; 
  }
  .btn-main { 
    width: 100%; 
    justify-content: center; /* Center the text inside the full-width button */
  }
  .btn-alt { margin-top: 8px; } /* Give the text link a little breathing room */
  .hero-scroll { display: none; } /* Hide the jumping scroll indicator to prevent overlapping */

  /* Layout Grids Stacking */
  .about-wrap, 
  .stats-row, 
  .work-grid, 
  .process-grid, 
  .pricing-cards, 
  .contact-wrap, 
  .two-col {
    grid-template-columns: 1fr !important; 
    gap: 32px;
  }

  /* Specific Section Tweaks */
  .about-frame { padding: 32px 24px; }
  .services-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  
  .svc { grid-template-columns: auto 1fr; gap: 24px; padding: 24px 20px; }
  .svc-arrow { display: none; }
  
  .work-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .work-card:first-child { aspect-ratio: 4/3; }
  
  .p-step { padding: 32px 0; border-right: none; border-bottom: 1px solid rgba(61,191,130,0.1); }
  .p-step:last-child { border-bottom: none; }
  .p-step::after { bottom: 0; left: 0; right: 0; }

  .testimonial-section { padding: 60px 24px; }
  .test-quote { font-size: 1.4rem; }

  .footer-top { flex-direction: column; gap: 40px; }
  .footer-cols { flex-direction: column; gap: 32px; }
  footer { padding: 48px 24px 24px; }
}

.footer-bottom { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding-top: 32px; 
  border-top: 1px solid rgba(61,191,130,0.08); 
}
.footer-bottom p { font-family: var(--font-sans); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.footer-horse { font-size: 1.5rem; opacity: 0.3; }
@media (max-width: 992px) {
  


  .footer-top { flex-direction: column; gap: 40px; }
  .footer-cols { flex-direction: column; gap: 32px; }
  footer { padding: 48px 24px 24px; }
  .footer-bottom { 
    flex-direction: column; 
    text-align: center; 
    gap: 20px; 
  }

  .buttomlogo-img {
    order: -1;
  }
}